Remove __ASSUME_OFF_DIFF_OFF64 definition
[glibc.git] / ChangeLog
blob8406319c656fcb30ae9502b9842f7e91ea979f43
1 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4         (__ASSUME_OFF_DIFF_OFF64): Remove define.
5         * sysdeps/unix/sysv/linux/pread.c
6         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
7         __OFF_T_MATCHES_OFF64_T.
8         * sysdeps/unix/sysv/linux/pread64.c
9         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
10         * sysdeps/unix/sysv/linux/preadv.c
11         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
12         * sysdeps/unix/sysv/linux/preadv64.c
13         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
14         * sysdeps/unix/sysv/linux/pwrite.c
15         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
16         * sysdeps/unix/sysv/linux/pwrite64.c
17         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
18         * sysdeps/unix/sysv/linux/pwritev.c
19         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
20         * sysdeps/unix/sysv/linux/pwritev64.c
21         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
23 2016-07-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
25         * Makeconfig (build-hardcoded-path-in-tests): Set to 'yes'
26         for shared builds if tests-need-hardcoded-path is defined.
27         (all-subdirs): Add pretty-printers.
28         * Makerules ($(py-const)): New rule.
29         * Rules (others): Add $(py-const), if defined.
30         * nptl/Makefile (gen-py-const-headers): Define.
31         * nptl/nptl-printers.py: New file.
32         * nptl/nptl_lock_constants.pysym: Likewise.
33         * pretty-printers/Makefile: Likewise.
34         * pretty-printers/README: Likewise.
35         * pretty-printers/test-condvar-attributes.c: Likewise.
36         * pretty-printers/test-condvar-attributes.p: Likewise.
37         * pretty-printers/test-condvar-printer.c: Likewise.
38         * pretty-printers/test-condvar-printer.py: Likewise.
39         * pretty-printers/test-mutex-attributes.c: Likewise.
40         * pretty-printers/test-mutex-attributes.py: Likewise.
41         * pretty-printers/test-mutex-printer.c: Likewise.
42         * pretty-printers/test-mutex-printer.py: Likewise.
43         * pretty-printers/test-rwlock-attributes.c: Likewise.
44         * pretty-printers/test-rwlock-attributes.py: Likewise.
45         * pretty-printers/test-rwlock-printer.c: Likewise.
46         * pretty-printers/test-rwlock-printer.py: Likewise.
47         * pretty-printers/test_common.py: Likewise.
48         * scripts/gen-py-const.awk: Likewise.
50 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
52         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
55 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
57         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
59 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
61         [BZ #20240]
62         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
63         (CFLAGS-s_modf-ppc32.c): New variable.
64         (CFLAGS-s_modff-ppc32.c): Likewise.
65         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
66         (CFLAGS-s_modf-ppc64.c): Likewise.
67         (CFLAGS-s_modff-ppc64.c): Likewise.
69 2016-07-07  Andreas Schwab  <schwab@suse.de>
71         [BZ #20263]
72         * nptl/tst-robust10.c: New test.
73         * nptl/Makefile (tests): Add tst-robust10.
75 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
77         [BZ #20263]
78         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
80 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
82         * sysdeps/s390/linkmap.h (struct link_map_machine):
83         Remove member gotplt and add member jmprel.
84         * sysdeps/s390/s390-32/dl-machine.h
85         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
86         instead of gotplt with &got[3].
87         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
88         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
90 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
92         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
94 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
96         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
97         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
98         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
99         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
100         * libio/vtables.c (_IO_vtable_check)
101         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
102         * libio/libioP.h (IO_set_accept_foreign_vtables)
103         [!PTR_MANGLE]: Do not call PTR_MANGLE.
105 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
107         [BZ #20314]
108         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
109         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
110         $(common-objpfx)cmath.
111         ($(common-objpfx)cstdlib): New target.
112         ($(common-objpfx)cmath): Likewise.
114 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
116         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
118 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
120         [BZ #20327]
121         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
122         are not part of the string.
124 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
126         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
127         * nptl/tst-cancel4-common.h (fifoname): New variable.
128         (fifofd): Likewise.
129         (cl_fifo): New function.
130         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
131         SIGINT.
132         (tf_open): Add early cancel test.
134 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
136         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
138 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
140         * sysdeps/generic/ldsodefs.h
141         (dl_symbol_visibility_binds_local_p): New inline function.
142         * elf/dl-addr.c (determine_info): Treat hidden and internal
143         symbols as local.
144         * elf/dl-lookup.c (do_lookup_x): Likewise.
145         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
147 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
149         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
150         invalid exception for a sNaN input.
151         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
152         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
153         (__nearbyint_vis3): Likewise
154         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
155         (__nearbyintf_vis3): Likewise
156         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
157         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
158         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
159         Likewise.
160         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
161         Likewise.
163 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
165         [BZ #20139]
166         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
167         (HAVE_AVX512DQ_ASM_SUPPORT): This.
168         * sysdeps/x86_64/configure.ac: Require assembler from binutils
169         2.24 or above.
170         (HAVE_AVX512_ASM_SUPPORT): Removed.
171         (HAVE_AVX512DQ_ASM_SUPPORT): New.
172         * sysdeps/x86_64/configure: Regenerated.
173         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
174         check unconditional.
175         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
176         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
177         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
178         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
179         Likewise.
180         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
181         Likewise.
182         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
183         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
184         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
185         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
186         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
187         Likewise.
188         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
189         Likewise.
190         * sysdeps/x86_64/multiarch/memset.S: Likewise.
191         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
192         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
193         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
194         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
195         Likewise.
196         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
197         Likewise.
198         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
199         Likewise.
200         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
201         Likewise.
202         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
203         Likewise.
204         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
205         Likewise.
206         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
207         Likewise.
208         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
209         Likewise.
210         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
211         Likewise.
212         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
213         Likewise.
214         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
215         Likewise.
217 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
219         [BZ #20024]
220         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
221         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
222         of this implementation of vector function.
223         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
224         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
225         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
226         Likewise.
227         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
228         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
229         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
230         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
231         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
232         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
233         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
234         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
235         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
236         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
237         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
238         for testing vector sincos with fixed ABI.
239         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
240         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
241         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
242         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
243         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
244         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
245         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
246         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
247         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
248         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
249         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
250         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
251         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
252         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
253         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
254         * sysdeps/x86_64/fpu/Makefile: Added new tests.
256 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
258         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
260 2016-06-30  Anton Blanchard  <anton@samba.org>
262         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
263         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
264         s_sinf-ppc64.
265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
268         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
270 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
273         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
274         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
275         e_expf-ppc64.
276         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
277         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
278         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
279         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
281 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
283         [BZ #20277]
284         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
285         when SHARED is defined.
287 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
289         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
290         (index_arch_Prefer_ERMS): Likewise.
291         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
292         __memcpy_erms for Prefer_ERMS.
293         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
294         (__memmove_erms): Enabled for libc.a.
295         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
296         __memmove_erms or Prefer_ERMS.
297         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
298         __mempcpy_erms for Prefer_ERMS.
299         * sysdeps/x86_64/multiarch/memset.S (memset): Return
300         __memset_erms for Prefer_ERMS.
302 2016-06-30  Andreas Schwab  <schwab@suse.de>
304         [BZ #20262]
305         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
306         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
307         of memory.
309 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
311         [BZ #18645]
312         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
313         (test-extras): Add tst-cleanupx4aux.
314         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
315         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
316         tst-cleanupx4aux.o.
317         * nptl/tst-cleanupx4aux.c: New file.
319 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
321         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
323 2016-06-29  Andreas Schwab  <schwab@suse.de>
325         [BZ #20260]
326         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
327         address before the beginning of the string as an integer to avoid
328         array-bounds warning.
330 2016-06-28  Richard Henderson  <rth@redhat.com>
332         * elf/elf.h (EM_BPF): New.
333         (EM_NUM): Update.
334         (R_BPF_NONE, R_BPF_MAP_FD): New.
336         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
337         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
338         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
339         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
340         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
341         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
342         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
343         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
344         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
345         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
346         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
347         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
348         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
349         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
350         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
351         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
352         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
353         (EM_NUM): Update.
355 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
357         [BZ #18960]
358         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
359         Set _nl_current_LC_CATEGORY_used to two instead of one.
361 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
363         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
364         (do_test): ... this.
365         (TEST_FUNCTION): New macro.
366          Include test-skeleton.c.
367         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
368         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
370 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
372         [BZ #15479]
373         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
374         floating-point environment rather than just control word.
375         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
376         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
377         floating-point environment, with "invalid" exceptions merged in,
378         rather than just control word.
379         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
380         * math/libm-test.inc (trunc_test_data): Do not allow spurious
381         "inexact" exceptions.
383         [BZ #15479]
384         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
385         floating-point environment rather than just control word.
386         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
387         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
388         floating-point environment, with "invalid" exceptions merged in,
389         rather than just control word.
390         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
391         * math/libm-test.inc (floor_test_data): Do not allow spurious
392         "inexact" exceptions.
394         [BZ #15479]
395         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
396         floating-point environment rather than just control word.
397         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
398         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
399         floating-point environment, with "invalid" exceptions merged in,
400         rather than just control word.
401         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
402         * math/libm-test.inc (ceil_test_data): Do not allow spurious
403         "inexact" exceptions.
405 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
407         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
408         __libc_vfork.
409         (__vfork) [IS_IN (libc)]: Remove alias.
410         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
411         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
412         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
414 2016-06-24  Torvald Riegel  <triegel@redhat.com>
416         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
417         of atomic_compare_and_exchange_bool_rel.
418         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
419         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
420         catomic_compare_and_exchange_bool_rel): Remove.
421         * sysdeps/aarch64/atomic-machine.h
422         (atomic_compare_and_exchange_bool_rel): Likewise.
423         * sysdeps/alpha/atomic-machine.h
424         (atomic_compare_and_exchange_bool_rel): Likewise.
425         * sysdeps/arm/atomic-machine.h
426         (atomic_compare_and_exchange_bool_rel): Likewise.
427         * sysdeps/mips/atomic-machine.h
428         (atomic_compare_and_exchange_bool_rel): Likewise.
429         * sysdeps/microblaze/atomic-machine.h
430         ( __arch_compare_and_exchange_bool_8_rel,
431         __arch_compare_and_exchange_bool_16_rel): Likewise.
432         * sysdeps/powerpc/atomic-machine.h
433         ( __arch_compare_and_exchange_bool_8_rel,
434         __arch_compare_and_exchange_bool_16_rel): Likewise.
435         * sysdeps/powerpc/powerpc32/atomic-machine.h
436         ( __arch_compare_and_exchange_bool_32_rel,
437         __arch_compare_and_exchange_bool_64_rel): Likewise.
438         * sysdeps/powerpc/powerpc64/atomic-machine.h
439         ( __arch_compare_and_exchange_bool_32_rel,
440         __arch_compare_and_exchange_bool_64_rel): Likewise.
441         * sysdeps/tile/atomic-machine.h
442         (atomic_compare_and_exchange_bool_rel): Likewise.
444 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
446         [BZ #20296]
447         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
448         when either argument is a NaN.
449         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
450         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
452         * math/libm-test.inc (snan_value_ld): New macro.
453         (isgreater_test_data): Add sNaN tests.
454         (isgreaterequal_test_data): Likewise.
455         (isless_test_data): Likewise.
456         (islessequal_test_data): Likewise.
457         (islessgreater_test_data): Likewise.
458         (isunordered_test_data): Likewise.
459         (nextafter_test_data): Likewise.
460         (nexttoward_test_data): Likewise.
461         (remainder_test_data): Likewise.
462         (remquo_test_data): Likewise.
463         (significand_test_data): Likewise.
464         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
466 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
468         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
469         environment macros are defined.
470         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
472 2016-06-23  Florian Weimer  <fweimer@redhat.com>
474         [BZ #20191]
475         Implement vtable verification in libio.
476         * Makerules (shlib.lds): Place __libc_IO_vtables section.
477         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
478         * debug/vdprintf_chk.c (__vdprintf_chk): Call
479         _IO_new_file_init_internal instead of _IO_file_init.
480         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
481         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
482         * libio/Makefile (routines): Add vtables.
483         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
484         (_IO_init): Remove, not for internal use.
485         (_IO_init_internal): Declare, internal replacement for _IO_init.
486         (_IO_file_init): Remove, not for internal use.
487         (_IO_new_file_init): Remove, not for internal use.
488         (_IO_new_file_init_internal): Declare, internal replacement for
489         _IO_new_file_init.
490         (_IO_old_file_init): Remove, not for internal use.
491         (_IO_old_file_init_internal): Declare, internal replacement for
492         _IO_old_file_init.
493         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
494         internal use.
495         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
496         Declare.
497         (libio_vtable): New macro.
498         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
499         functions.
500         * libio/fileops.c (_IO_new_file_init_internal): Rename from
501         _IO_new_file_init.
502         (_IO_new_file_init): New externally visible wrapper which disables
503         vtable verification.
504         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
505         Define as vtables.
506         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
507         (_IO_init): New externally visible wrapper which disables
508         vtable verification.
509         * libio/iofdopen.c (_IO_new_fdopen): Call
510         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
511         comment.
512         * libio/iofopen.c (__fopen_internal): Call
513         _IO_new_file_init_internal instead of _IO_file_init.
514         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
515         Define as vtables.
516         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
517         _IO_new_file_init_internal instead of _IO_file_init.
518         * libio/iopopen.c (_IO_new_popen): Likewise.
519         (_IO_proc_jumps): Define as vtable.
520         * libio/iovdprintf.c (_IO_vdprintf): Call
521         _IO_new_file_init_internal instead of _IO_file_init.
522         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
523         (__open_memstream): Call _IO_init_internal instead of _IO_init.
524         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
525         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
526         _IO_old_file_init.
527         (_IO_old_file_init): New externally visible wrapper which disables
528         vtable verification.
529         (_IO_old_file_jumps): Define as vtable.
530         * libio/oldiofdopen.c (_IO_old_fdopen): Call
531         _IO_old_file_init_internal instead of _IO_old_file_init.
532         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
533         * libio/oldiopopen.c (_IO_old_popen): Likewise.
534         (_IO_old_proc_jumps): Define as vtable.
535         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
536         Define as vtables.
537         * libio/vtables.c: New file.
538         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
539         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
540         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
541         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
542         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
543         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
544         instead of _IO_init.
546 2016-06-23  Florian Weimer  <fweimer@redhat.com>
548         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
550 2016-06-23  Florian Weimer  <fweimer@redhat.com>
552         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
553         potentially unused.
555 2016-06-22  Florian Weimer  <fweimer@redhat.com>
557         * test-skeleton.c (write_message): New function.
558         * malloc/tst-mallocfork2.c (write_message): Remove.
559         * debug/tst-longjmp_chk2.c (write_indented): New function.
560         (write_message): Remove.
561         (stackoverflow_handler): Call write_indented.
563 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
565         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
566         "inexact" exceptions after fnstenv.
567         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
568         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
569         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
571 2015-06-22  Zack Weinberg  <zackw@panix.com>
573         * sysdeps/generic/bits/hwcap.h: Moved to ...
574         * bits/hwcap.h: Here.
576 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
578         * sysdeps/aarch64/memcpy.S (memcpy):
579         Further tuning for performance.
581 2016-06-21  Florian Weimer  <fweimer@redhat.com>
583         [BZ #20284]
584         * malloc/arena.c (reused_arena): Do not return NULL if we start
585         out with a non-corrupted arena.
587 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
589         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
590         * misc/tst-preadvwritev.c: New file.
591         * misc/tst-preadvwritev64.c: Likewise.
592         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
593         usage.
594         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
595         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
596         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
597         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
599 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
601         [BZ #19654]
602         * sysdeps/x86_64/fpu/Makefile: Added new tests.
603         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
604         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
605         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
606         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
607         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
608         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
609         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
610         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
611         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
612         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
613         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
614         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
615         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
616         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
617         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
618         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
619         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
620         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
621         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
622         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
623         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
624         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
625         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
626         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
627         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
629 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
631         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
632         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
634 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
636         * sysdeps/aarch64/memcpy.S (memcpy):
637         Rewrite of optimized memcpy and memmove.
638         * sysdeps/aarch64/memmove.S (memmove): Remove
639         memmove code (merged into memcpy.S).
641 2016-06-20  Florian Weimer  <fweimer@redhat.com>
643         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
644         * sysdeps/generic/dl-dtv.h: New file.
645         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
646         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
647         (dtv_t): Remove.
648         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
649         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
650         (dtv_t): Remove.
651         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
652         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
653         (dtv_t): Remove.
654         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
655         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
656         (dtv_t): Remove.
657         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
658         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
659         (dtv_t): Remove.
660         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
661         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
662         (dtv_t): Remove.
663         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
664         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
665         (dtv_t): Remove.
666         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
667         (dtv_t): Remove.
668         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
669         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
670         (dtv_t): Remove.
671         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
672         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
673         (dtv_t): Remove.
674         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
675         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
676         (dtv_t): Remove.
677         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
678         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
679         (dtv_t): Remove.
680         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
681         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
682         (dtv_t): Remove.
683         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
684         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
685         (dtv_t): Remove.
686         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
687         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
688         (dtv_t): Remove.
689         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
690         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
691         (dtv_t): Remove.
693 2016-06-20  Florian Weimer  <fweimer@redhat.com>
695         Revert symbol poisoning of  __malloc_initialize_hook.
696         * include/stdc-predef.h (__malloc_initialize_hook): Remove
697         poisoning.
698         * malloc/Makefile: Remove un-poisoning.
699         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
700         instead of old__malloc_initialize_hook.
701         * malloc/malloc-hooks.h: Likewise.
702         * malloc/malloc.c: Likewise.
703         * malloc/mcheck-init.c: Likewise.
705 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
707         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
709 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
711         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
712         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
713         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
714         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
716 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
718         * NEWS: Mention addition of nextup and nextdown.
719         * manual/arith.texi: Document nextup and nextdown.
720         * manual/libm-err-tab.pl: Add nextup and nextdown.
721         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
722         * math/Versions (libm): Add GLIBC_2.24.
723         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
724         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
725         Add new test.
726         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
727         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
728         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
729         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
730         (nextup_test_data): Likewise.
731         (nextdown_test_data): Likewise.
732         * math/s_nextdown.c: New file.
733         * math/s_nextdownf.c: Likewise.
734         * math/s_nextdownl.c: Likewise.
735         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
736         F(nextup): New function.
737         F(nextdown): Likewise.
738         * math/tgmath.h: Add nextup and nextdown.
739         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
740         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
741         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
742         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
743         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
744         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
745         Add nextup and nextdown.
746         (CFLAGS-nldbl-nextup.c): New variable.
747         (CFLAGS-nldbl-nextdown.c): Likewise.
748         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
749         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
750         * sysdeps/nacl/libm.abilist: Update.
751         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
752         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
753         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
754         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
755         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
756         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
757         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
758         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
759         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
760         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
761         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
762         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
765         Likewise.
766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
768         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
769         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
770         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
771         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
772         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
775         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
776         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
777         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
778         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
780 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
782         * manual/pattern.texi: Fix typos & grammar errors.
784 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
786         * manual/search.texi: Fix typos & grammar errors.
788 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
790         * manual/message.texi: Fix typos & grammar errors.
792 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
794         * manual/contrib.texi: Fix spelling typos.
795         * manual/crypt.texi: Likewise.
796         * manual/filesys.texi: Likewise.
797         * manual/locale.texi: Likewise.
798         * manual/message.texi: Likewise.
799         * manual/nss.texi: Likewise.
800         * manual/string.texi: Likewise.
802 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
804         * manual/locale.texi: Fix typos & grammar errors.
806 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
808         * manual/charset.texi: Fix typos & grammar errors.
810 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
812         * manual/string.texi: Fix typos.
814 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
816         * manual/ctype.texi: Fix typos.
818 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
820         * manual/memory.texi: Fix various typos & grammar errors.
822 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
824         [BZ #20255]
825         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
826         * math/libm-test.inc (fdim_test_data): Add another test.
828         [BZ #6796]
829         [BZ #20255]
830         [BZ #20256]
831         * math/s_fdim.c: Include <math_private.h>.
832         (__fdim): Use math_narrow_eval on result.
833         * math/s_fdimf.c: Include <math_private.h>.
834         (__fdimf): Use math_narrow_eval on result.
835         * sysdeps/i386/fpu/s_fdim.S: Remove file.
836         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
837         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
838         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
839         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
840         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
841         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
842         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
843         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
844         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
845         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
846         * math/libm-test.inc (fdim_test_data): Expect errno setting on
847         overflow.  Add sNaN tests.
849         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
850         fpclassify.
851         * math/s_fdimf.c (__fdimf): Likewise.
852         * math/s_fdiml.c (__fdiml): Likewise.
854 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
856         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
857         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
858         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
859         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
860         ifunc'ed strcasecmp/strncasecmp.
861         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
862         [EALIGN]: Removed.
863         [END]: Likewise.
864         [__strcasecmp]: Define instead of the above to control symbol name.
865         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
866         for __strcasecmp_power8.
867         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
868         for __strncasecmp_power8.
869         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
870         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
871         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
872         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
873         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
874         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
876 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
878         [BZ #20252]
879         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
880         arguments when second argument is a NaN.
881         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
882         qNaN tests.
884         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
885         (conj_test_data): Likewise.
886         (copysign_test_data): Likewise.
887         (creal_test_data): Likewise.
888         (fma_test_data): Likewise.
889         (fmod_test_data): Likewise.
891         [BZ #20250]
892         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
893         itself.
894         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
895         zero input to itself.
896         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
897         Likewise.
898         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
899         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
900         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
901         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
902         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
904 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
906         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
907         * nptl/tst-cancel4-common.c: New file.
908         * nptl/tst-cancel4-common.h: Likewise.
909         * nptl/tst-cancel4.c: Move common definitions to
910         tst-cancel4-common.{c,h} file.
911         * nptl/tst-cancel4_1.c: New test.
912         * nptl/tst-cancel4_2.c: New test.
914 2016-06-13  Florian Weimer  <fweimer@redhat.com>
916         [BZ #20248]
917         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
918         (write_message): New function.
919         (stackoverflow_handler): Call it instead of printf, to avoid
920         excessive stack usage by printf.
921         (do_test): Restore SIGSEGV, SIGBUS default handlers.
923 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
925         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
926         (prio_inherit_missing): Remove define.
927         * sysdeps/unix/sysv/linux/arm/kernel-features.h
928         (__ASSUME_FUTEX_LOCK_PI): Likewise.
929         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
930         Likewise.
931         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
932         (__ASSUME_FUTEX_LOCK_PI): Likewise.
933         * sysdeps/unix/sysv/linux/mips/kernel-features.h
934         (__ASSUME_FUTEX_LOCK_PI): Likewise.
935         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
936         (__ASSUME_FUTEX_LOCK_PI): Likewise.
938 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
940         [BZ #19670]
941         [BZ #19672]
943         * io/test-lfs.c (do_prepare): Use xmalloc.
944         * io/tst-fcntl.c (do_prepare): Likewise.
945         * libio/tst-fopenloc.c (do_bz17916): Likewise.
946         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
947         * login/tst-utmp.c (do_prepare): Likewise.
948         * posix/tst-exec.c (do_prepare): Likewise.
949         * posix/tst-pathconf.c (prepare): Likewise.
950         * posix/tst-spawn.c (do_prepare): Likewise.
951         * posix/tst-truncate.c (do_prepare): Likewise.
952         * rt/tst-aio.c (do_prepare): Likewise.
953         * rt/tst-aio64.c (do_prepare): Likewise.
955 2016-06-11  Florian Weimer  <fweimer@redhat.com>
957         [BZ #20237]
958         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
959         (get*ent): Set entidx to NULL during initialization.  If entidx is
960         NULL, start iteration from the beginning.
962 2016-06-11  Florian Weimer  <fweimer@redhat.com>
964         * malloc/malloc.c (musable): Return correct size for dumped fake
965         mmapped chunk.
967 2016-06-11  Florian Weimer  <fweimer@redhat.com>
969         [BZ #20222]
970         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
971         (_IO_cookie_write): Likewise.
972         (_IO_cookie_seek): Likewise.
973         (_IO_cookie_close): Likewise.
974         (_IO_old_cookie_seek): Likewise.
975         (set_callbacks): New function.
976         (_IO_cookie_init): Call set_callbacks to copy callbacks.
978 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
980         * locale/programs/localedef.c (oldstyle_tables): Remove.
981         * locale/programs/localedef.h (oldstyle_tables): Likewise.
983 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
985         [BZ #20240]
986         * math/Makefile (CFLAGS-s_modf.c): New variable.
987         (CFLAGS-s_modff.c): Likewise.
988         (CFLAGS-s_modfl.c): Likewise.
989         * math/libm-test.inc (modf_test_data): Add sNaN tests.
991 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
993         [BZ #20215]
994         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
995         [!__GNUC_PREREQ (3,2)]: Likewise.
997 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
999         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
1000         (msghdr.msg_controllen): Likewise.
1001         (cmsghdr.cmsg_len): Likewise.
1002         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
1003         ptw-oldsendmsg.
1004         (CFLAGS-oldrecvmsg.c): Remove rule.
1005         (CFLAGS-oldsendmsg.c): Likewise.
1006         (CFLAGS-recvmsg.c): Add rule.
1007         (CFLAGS-sendmsg.c): Likewise.
1008         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1009         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
1010         (CFLAGS-recvmsg.c): Remove rule.
1011         (CFLAGS-sendmsg.c): Likewise.
1012         (CFLAGS-oldrecvmsg.c): Likewise.
1013         (CFLAGS-oldsendmsg.c): Likewise.
1014         (CFLAGS-recvmmsg.c): Likewise.
1015         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
1016         to kernel defined interfaces.
1017         (msghdr.msg_controllen): Likewise.
1018         (cmsghdr.cmsg_len): Likewise.
1019         (msghdr.__glibc_reserved1): Remove member.
1020         (msghdr.__glibc_reserved2): Likewise.
1021         (cmsghdr.__glibc_reserved1): Likewise.
1022         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
1023         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
1024         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1025         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1026         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
1027         version.
1028         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1029         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
1030         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1031         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
1032         Remove recvmsg and sendmsg.
1033         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
1034         Likewise.
1035         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1036         Likewise.
1037         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1038         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1039         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1040         Likewise.
1041         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1042         Likewise.
1043         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
1044         [libc] (GLIBC_2.24): Likewise.
1045         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1046         Likewise.
1047         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1048         Likewise.
1049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1050         [libc] (GLIBC_2.24): Likewise.
1051         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1052         Likewise.
1053         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1054         Likewise.
1055         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1056         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1057         Likewise.
1058         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1059         Likewise.
1060         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1061         Likewise.
1062         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
1063         Likewise.
1064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
1065         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
1066         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
1067         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
1068         version for {recv,send,recm,sendm}msg.
1069         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1070         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1071         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1072         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1073         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1074         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1075         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1076         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1077         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1078         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1079         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1080         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1082         Likewise.
1083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1084         Likewise.
1085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1087         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1088         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1089         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1090         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1091         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1092         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1095         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1096         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1097         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1099 2016-06-10  Florian Weimer  <fweimer@redhat.com>
1101         [BZ #19564]
1102         Remove __malloc_initialize_hook from the API.
1103         * malloc/malloc.h (__malloc_initialize_hook): Remove.
1104         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
1105         #pragma GCC poison.
1106         * malloc/malloc-hooks.h: New file.
1107         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
1108         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
1109         (old__malloc_initialize_hook): Rename from
1110         __malloc_initialize_hook to evade poisoning.  Turn into compat
1111         symbol.
1112         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
1113         __malloc_initialize_hook.
1114         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
1115         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
1116         * manual/memory.texi (Hooks for Malloc): Remove
1117         __malloc_initialize_hook.  Adjust hook example.
1119 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
1121         [BZ #20235]
1122         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
1123         itself.
1124         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1125         * math/libm-test.inc (log2_test_data): Add sNaN tests.
1127         [BZ #20234]
1128         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
1129         infinity or NaN input to itself.
1131         [BZ #20233]
1132         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
1133         to itself.
1135         [BZ #20232]
1136         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
1137         itself.
1139 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1141         * sysdeps/x86_64/start.S (_start): Always indirect branch to
1142         __libc_start_main via GOT.
1144 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1146         * sysdeps/x86_64/memcopy.h: New file.
1147         * sysdeps/x86_64/wordcopy.c: Likewise.
1149 2016-06-09  Florian Weimer  <fweimer@redhat.com>
1151         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1152         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1153         <cstdlib>.
1154         (optimization_barrier): New.
1155         (do_test): Use it.  Call quick_exit in the global namespace.
1156         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1157         instead of <cstdlib>, <thread>.
1158         (optimization_barrier): New.
1159         (non_main_thread): Adjust declaration.  Call optimization_barrier.
1160         Call quick_exit in the global namespace.
1161         (do_test): Call optimization_barrier.  Use pthread_create,
1162         pthread_join instead of std::thread.
1164 2016-06-09  Andreas Schwab  <schwab@suse.de>
1166         [BZ #19755]
1167         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1168         new entries in auto-propagate mode.
1169         * nscd/grpcache.c (cache_addgr): Likewise.
1171 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1173         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1174         New functions.
1175         (add_temp_file): Use them.
1177 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
1179         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1181 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
1183         [BZ #20229]
1184         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
1185         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1186         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
1188         [BZ #20228]
1189         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
1190         itself.
1191         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1192         * math/libm-test.inc (log10_test_data): Add sNaN tests.
1194         [BZ #20227]
1195         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
1196         itself.
1197         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1198         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1199         * math/libm-test.inc (log_test_data): Add sNaN tests.
1201         [BZ #20226]
1202         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
1203         itself.
1204         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1205         * math/libm-test.inc (exp_test_data): Add sNaN tests.
1206         (exp10_test_data): Likewise.
1207         (expm1_test_data): Likewise.
1209         [BZ #20225]
1210         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
1211         itself.
1212         * math/s_ldexpf.c (__ldexpf): Likewise.
1213         * math/s_ldexpl.c (__ldexpl): Likewise.
1214         * math/w_scalbln.c (__w_scalbln): Likewise.
1215         * math/w_scalblnf.c (__w_scalblnf): Likewise.
1216         * math/w_scalblnl.c (__w_scalblnl): Likewise.
1217         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
1218         (scalbln_test_data): Likewise.
1220         [BZ #20224]
1221         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
1222         argument to itself.
1223         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
1225 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1227         [BZ #19776]
1228         * sysdeps/x86_64/memcpy.S: Make it dummy.
1229         * sysdeps/x86_64/mempcpy.S: Likewise.
1230         * sysdeps/x86_64/memmove.S: New file.
1231         * sysdeps/x86_64/memmove_chk.S: Likewise.
1232         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1233         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1234         * sysdeps/x86_64/memmove.c: Removed.
1235         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1236         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1237         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
1238         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1239         Likewise.
1240         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1241         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1242         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1243         memcpy-sse2-unaligned, memmove-avx-unaligned,
1244         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
1245         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1246         (__libc_ifunc_impl_list): Replace
1247         __memmove_chk_avx512_unaligned_2 with
1248         __memmove_chk_avx512_unaligned.  Remove
1249         __memmove_chk_avx_unaligned_2.  Replace
1250         __memmove_chk_sse2_unaligned_2 with
1251         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
1252         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
1253         with __memmove_avx512_unaligned.  Replace
1254         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
1255         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
1256         with __memcpy_chk_avx512_unaligned.  Remove
1257         __memcpy_chk_avx_unaligned_2.  Replace
1258         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1259         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
1260         Replace __memcpy_avx512_unaligned_2 with
1261         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
1262         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
1263         with __mempcpy_chk_avx512_unaligned.  Remove
1264         __mempcpy_chk_avx_unaligned_2.  Replace
1265         __mempcpy_chk_sse2_unaligned_2 with
1266         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
1267         Replace __mempcpy_avx512_unaligned_2 with
1268         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
1269         Replace __mempcpy_sse2_unaligned_2 with
1270         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
1271         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1272         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1273         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1274         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
1275         (ENTRY): Removed.
1276         (END): Likewise.
1277         (ENTRY_CHK): Likewise.
1278         (libc_hidden_builtin_def): Likewise.
1279         Don't include ../memcpy.S.
1280         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1281         __memcpy_chk_avx512_unaligned_erms and
1282         __memcpy_chk_avx512_unaligned.  Use
1283         __memcpy_chk_avx_unaligned_erms and
1284         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1285         Default to __memcpy_chk_sse2_unaligned.
1286         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1287         Change function suffix from unaligned_2 to unaligned.
1288         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1289         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1290         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1291         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
1292         (ENTRY): Removed.
1293         (END): Likewise.
1294         (ENTRY_CHK): Likewise.
1295         (libc_hidden_builtin_def): Likewise.
1296         Don't include ../mempcpy.S.
1297         (mempcpy): New.  Add a weak alias.
1298         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1299         __mempcpy_chk_avx512_unaligned_erms and
1300         __mempcpy_chk_avx512_unaligned.  Use
1301         __mempcpy_chk_avx_unaligned_erms and
1302         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1303         Default to __mempcpy_chk_sse2_unaligned.
1305 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1307         [BZ #19881]
1308         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1309         into ...
1310         * sysdeps/x86_64/memset.S: This.
1311         (__bzero): Removed.
1312         (__memset_tail): Likewise.
1313         (__memset_chk): Likewise.
1314         (memset): Likewise.
1315         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1316         defined.
1317         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1318         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1319         (__memset_zero_constant_len_parameter): Check SHARED instead of
1320         PIC.
1321         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1322         memset-avx2 and memset-sse2-unaligned-erms.
1323         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1324         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1325         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1326         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1327         (__bzero): Enabled.
1328         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1329         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1330         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
1331         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
1332         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1333         (memset): Removed.
1334         (__memset_chk): Likewise.
1335         (MEMSET_SYMBOL): New.
1336         (libc_hidden_builtin_def): Replace __memset_sse2 with
1337         __memset_sse2_unaligned.
1338         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
1339         __memset_chk_sse2 and __memset_chk_avx2 with
1340         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
1341         Use __memset_chk_sse2_unaligned_erms or
1342         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
1343         __memset_chk_avx512_unaligned_erms and
1344         __memset_chk_avx512_unaligned.
1346 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1348         * math/gen-auto-libm-test.c (fp_format_desc): remove
1349         suffix member.
1350         (output_generic_value): Remove usage of suffix member,
1351         and the resulting unuse of the fp_format argument.
1352         (output_for_one_input_case): Remove unused fp_format
1353         parameter.
1355         * math/auto-libm-test-out: Regenerate.
1357         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
1358         usage with TEST_COND_ibm128.
1359         (TEST_COND_flt_32): Remove.
1360         (TEST_COND_dbl_64): Remove.
1361         (TEST_COND_ldbl_96_intel): Remove.
1362         (TEST_COND_ldbl_96_m68k): Remove.
1363         (TEST_COND_ldbl_128): Remove.
1365 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1367         * auto-libm-test-in:
1368         Replace flt-32 usage with binary32.
1369         Replace dbl-64 usage with binary64.
1370         Replace ldbl-intel-96 usage with intel96.
1371         Replace ldbl-m68k-96 usage with m68k96.
1372         Replace ldbl-128ibm usage with ibm128.
1373         Replace ldbl-128 usage with binary128.
1375         * auto-libm-test-out: Regenerate.
1377 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1379         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
1380         (parse_ulps): Dynamically generate type name matching
1381         string from all_floats.
1382         (get_ulps): Generate the ulps as an array instead.
1383         (output_ulps): Dynamically compose the type based
1384         on the number of supported formats, and print
1385         the indices as type specific helper macros.
1387         * math/libm-test.inc: Remove comment about CHOOSE.
1388         (ulp_data): Generate the type in libm-test-ulps.h.
1389         (ULP_IDX): New macro.
1390         (find_ulps): Update usage of max_ulp.
1392         * math/test-double-vlen2.h (CHOOSE): Remove.
1393         * math/test-double-vlen4.h (CHOOSE): Likewise.
1394         * math/test-double-vlen8.h (CHOOSE): Likewise.
1395         * math/test-float.c (CHOOSE): Likewise.
1396         * math/test-float-finite.c (CHOOSE): Likewise.
1397         * math/test-double.c (CHOOSE): Likewise.
1398         * math/test-double-finite.c (CHOOSE): Likewise.
1399         * math/test-idouble.c (CHOOSE): Likewise.
1400         * math/test-ifloat.c (CHOOSE): Likewise.
1401         * math/test-ildoubl.c (CHOOSE): Likewise.
1402         * math/test-ldouble-finite.c (CHOOSE): Likewise.
1403         * math/test-ldouble.c (CHOOSE): Likewise.
1405         * math/test-float.h (TEST_FLOAT): Remove.
1406         * math/test-double.h (TEST_DOUBLE): Likewise.
1407         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
1409 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1411         * math/gen-libm-test.pl: (apply_lit): New subroutine.
1412         (parse_args): Strip C suffix from floating point literals
1413         typed with 'f' and wrap them with LIT().
1415         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
1416         (test_ff_f_data_nexttoward): Rename to
1417         (test_fj_f_data): New struct.
1418         (nexttoward_test_data): Relabel tests as
1419         TEST_fj_f instead of TEST_ff_f.
1421 2016-06-08  Florian Weimer  <fweimer@redhat.com>
1423         Emacs bug 23726.
1424         * malloc/malloc.c (dumped_main_arena_start): Update comment.
1425         (__libc_realloc): Correct size computation for dumped fake mmapped
1426         chunks.
1428 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
1430         [BZ #20219]
1431         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
1432         to itself.
1433         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
1435         [BZ #20218]
1436         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
1437         to itself.
1438         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
1440 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1442         [BZ #20195]
1443         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
1444         check to ...
1445         (init_cpu_features): Here.
1447 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
1449         [BZ #20214]
1450         * sysdeps/unix/sysv/linux/bits/in.h
1451         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1452          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
1453         Define to 1.
1454         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1455          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
1456         Define to 0.
1457         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
1458         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
1460 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
1462         [BZ #20198]
1463         * stdlib/Makefile (tests): Add tst-quick_exit, and
1464         tst-thread-quick_exit.
1465         [ifeq ($(have-cxx-thread_local),yes)]
1466         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
1467         (CFLAGS-tst-thread-quick_exit.o): Likewise.
1468         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
1469         (LDLIBS-tst-thread-quick_exit): Likewise.
1470         [ifneq ($(have-cxx-thread_local),yes)]
1471         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
1472         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
1473         If run_dtors is true call __call_tls_dtors.
1474         (exit): Call __run_exit_handlers with run_dtors set to true.
1475         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
1476         definition.
1477         * stdlib/quick_exit.c (quick_exit): Remove function.
1478         (__new_quick_exit): New function.
1479         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
1480         function.
1481         * stdlib/tst-quick_exit.cc: New file.
1482         * stdlib/tst-thread-quick_exit.cc: New file.
1483         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
1484         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
1485         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
1486         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
1487         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
1488         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
1489         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
1490         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
1491         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
1492         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
1493         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
1494         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
1495         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
1496         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
1497         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
1498         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
1500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
1501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
1502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
1503         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
1504         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
1505         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
1506         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
1507         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
1508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
1509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
1510         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
1511         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
1512         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
1514 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1516         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
1517         a typo in comments.
1519 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1521         [BZ #20213]
1522         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
1523         argument to itself.
1524         * math/libm-test.inc (asin_test_data): Add sNaN tests.
1526 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1528         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
1529         required flags.
1530         (CFLAGS-pwritev64.c): Likewise.
1531         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
1532         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1533         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
1534         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1535         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
1536         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
1537         syscall from auto-generation.
1538         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
1539         [WORDSIZE == 64] (pwritev64): Remove macro.
1540         [!PWRITEV] (PWRITEV): Likewise.
1541         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1542         [!PWRITEV] (PWRITE): Likewise.
1543         [!PWRITEV] (OFF_T): Likewise.
1544         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1545         (LO_HI_LONG): Remove macro.
1546         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
1547         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
1548         (PWRITEV): Remove macro.
1549         (PWRITEV_REPLACEMENTE): Likewise.
1550         (PWRITE): Likewise.
1551         (OFF_T): Likewise.
1552         (pwritev64): New function.
1553         * nptl/tst-cancel4.c (tf_writev): Add test.
1555         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
1556         required flags.
1557         (CFLAGS-preadv64.c): Likewise.
1558         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
1559         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1560         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
1561         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
1562         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
1563         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
1564         syscall from auto-generation.
1565         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
1566         [WORDSIZE == 64] (preadv64): Remove macro.
1567         [!PREADV] (PREADV): Likewise.
1568         [!PREADV] (PREADV_REPLACEMENT): Likewise.
1569         [!PREADV] (PREAD): Likewise.
1570         [!PREADV] (OFF_T): Likewise.
1571         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
1572         (LO_HI_LONG): Remove macro.
1573         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
1574         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
1575         (PREADV): Remove macro.
1576         (PREADV_REPLACEMENTE): Likewise.
1577         (PREAD): Likewise.
1578         (OFF_T): Likewise.
1579         (preadv64): New function.
1580         * nptl/tst-cancel4.c (tf_preadv): Add test.
1582 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1584         [BZ #20212]
1585         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
1586         argument to itself.
1587         * math/libm-test.inc (acos_test_data): Add sNaN tests.
1589 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1591         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
1592         New symbol defined as libc_hidden_def.
1593         (strcasestr): Became a weak alias to __strcasestr.
1594         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
1595         according to multi-arch support.  Move __stpncpy hidden
1596         definition from here to...
1597         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
1598         symbol stpncpy.
1599         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
1600         libc_hidden_builtin_def.
1601         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
1602         memset symbol to use when multi-arch support is available.
1604 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1606         * dlfcn/tst-rec-dlopen.c: Include string.h.
1608 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1610         * manual/install.texi: Remove mention of --without-tls
1611         * INSTALL: Regenerate.
1613 2016-06-05  Florian Weimer  <fweimer@redhat.com>
1615         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
1616         Remove.
1617         (call_function, interposed_malloc_called): New variables.
1618         (malloc): New function.
1619         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
1620         and clear call_function as needed.
1622 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
1624         * include/wchar.h (__wmemset): Use __typeof.
1626 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
1628         * include/wchar.h (__wmemset): Declare function without typeof.
1630 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
1632         [BZ #20205]
1633         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
1634         exponent when incrementing negative subnormal with low mantissa
1635         word zero.
1636         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1637         Add another test.
1639 2016-06-03  Florian Weimer  <fweimer@redhat.com>
1641         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
1642         __wmemset instead of wmemset.
1644 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
1646         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
1647         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
1648         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
1649         __USE_KERNEL_IPV6_DEFS to 0.
1650         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
1651         Update comment.
1653 2016-06-01  Florian Weimer  <fweimer@redhat.com>
1655         [BZ #19861]
1656         Do not use IFUNC resolver with potentially unrelocated symbol.
1657         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
1658         (DEFINE_FORK): Remove macro and inline definition.
1659         (fork_alias): Renamed from fork_ifunc.
1660         (__fork_alias): Renamed from __fork_ifunc.
1662 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
1664         [BZ 19653]
1665         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
1666         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
1668 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1670         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
1671         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
1672         i386-linux-gnu).
1673         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
1674         Set to no.
1675         * sysdeps/mach/hurd/configure: Refresh.
1677 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1679         [BZ #20178]
1680         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
1681         on failure instead of exit.
1683 2016-05-30  Roland McGrath  <roland@hack.frob.com>
1685         [BZ #3629]
1686         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
1687         of POSIX.1-2008.
1689 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1691         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
1692           Use PLT entry for calling _hurd_self_sigstate.
1694 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1696         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
1697         available logical processors with SMT level type sharing L2
1698         cache for Intel processors.
1700 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1702         [BZ #20160]
1703         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
1704         argument to itself before returning the result.
1705         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1706         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1707         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1708         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1709         Likewise.
1710         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1711         Likewise.
1712         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
1713         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
1714         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1715         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1716         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1717         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1719         [BZ #20160]
1720         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
1721         argument to itself before returning the result.
1722         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1723         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1724         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1725         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
1726         Likewise.
1727         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1728         Likewise.
1729         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
1730         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
1731         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
1732         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1733         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1734         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1736 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1738         * libm-test.inc: Replace usage of M_El with
1739         (lit_e): New macro.
1741 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1743         * libm-test.inc: Replace usage of M_PI_4l with
1744         (lit_pi_4_d): New macro.
1746 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1748         * libm-test.inc: Replace usage of M_PIl with
1749         (lit_pi): New macro.
1751 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1753         * libm-test.inc: Replace usage of M_PI2l with
1754         (lit_pi_2_d): New macro.
1756         * math/test-double.h (LITM): New macro.
1757         * math/test-float.h (LITM): Likewise.
1758         * math/test-ldouble.h (LITM): Likewise.
1760 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1762         * libm-test.inc (M_PI_34l): Rename to
1763         (lit_pi_3_m_4_d): New Macro.
1764         (M_PI_34_LOG10El): Rename to
1765         (lit_pi_3_m_4_ln10_m_d): New Macro.
1766         (M_PI2_LOG10El): Rename to
1767         (lit_pi_2_ln10_m_d):  New Macro.
1768         (M_PI4_LOG10El): Rename to
1769         (lit_pi_4_ln10_m_d):  New Macro.
1770         (M_PI_LOG10El): Rename to
1771         (lit_pi_ln10_d):  New Macro.
1773 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1775         [BZ #20157]
1776         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
1777         determine whether to negate low half if [_ARCH_PPCGR], and integer
1778         comparison otherwise.
1779         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
1780         determine whether to negate low half.
1782         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
1783         (NO_TEST_INLINE_DOUBLE): Likewise.
1784         (TEST_COND_x86_64): Likewise.
1785         (TEST_COND_x86): Likewise.
1786         (M_PI_6l): Likewise.
1788 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1790         * math/libm-test.inc:
1791         (TEST_FLOAT): Change usage to TEST_COND_binary32.
1792         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
1793         (TEST_LDOUBLE): Update usage to evaluate as true if
1794         the guarded tests match the property being tested.
1795         (LDBL_MAX_EXP): Change to MAX_EXP.
1796         (LDBL_MIN_EXP): Change to MIN_EXP.
1797         (LDBL_MANT_DIG): Change to MANT_DIG, except for
1798         nexttoward tests.
1800 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1802         * math/libm-test.inc:
1803         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
1804         (TYPE_MIN): Likewise.
1805         (TYPE_TRUE_MIN): Likewise.
1806         (TYPE_MAX): Likewise.
1807         (MIN_EXP): Likewise.
1808         (MAX_EXP): Likewise.
1809         (MANT_DIG): Likewise.
1811         (FSTR_MAX): New macro.
1812         (__CONCATX): Likewise.
1813         (QTYPE_STR): Likewise.
1814         (TEST_COND_binary32): Likewise.
1815         (TEST_COND_binary64): Likewise.
1816         (TEST_COND_binary128): Likewise.
1817         (TEST_COND_ibm128): Likewise.
1818         (TEST_COND_intel96): Likewise.
1819         (TEST_COND_m68k96): Likewise.
1821         (TEST_COND_flt_32): Redefine as equivalent format test macro.
1822         (TEST_COND_dbl_64): Likewise.
1823         (TEST_COND_ldbl_96_intel): Likewise.
1824         (TEST_COND_ldbl_96_m68k): Likewise.
1825         (TEST_COND_ldbl_128): Likewise.
1826         (TEST_COND_ldbl_128ibm): Likewise.
1828         (plus_zero): Redefine using LIT macro.
1829         (minus_zero): Likewise.
1830         (plus_infty): Redefine as (INF).
1831         (minux_infty): Redefine as (-INF).
1832         (max_value): Redefine as TYPE_MAX.
1833         (min_value): Redefine as TYPE_MIN.
1834         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
1836         (print_float): Refactor to use snprintf to convert FLOAT values
1837         to string. This brings it closer to dropin replacement of strtof
1838         for the TS 18661 defined types.
1839         (update_stats): Likewise.
1840         (print_complex_function_ulps): Likewise.
1841         (print_max_error): Likewise.
1842         (print_complex_max_error): Likewise.
1843         (check_float_internal): Likewise.
1845         * math/test-float.h (PREFIX): New macro.
1846         (LIT): Likewise.
1847         (TYPE_STR): Likewise.
1848         (FTOSTR): Likewise.
1850         * math/test-double.h (PREFIX): New macro.
1851         (LIT): Likewise.
1852         (TYPE_STR): Likewise.
1853         (FTOSTR): Likewise.
1855         * math/test-ldouble.h (PREFIX): New macro.
1856         (LIT): Likewise.
1857         (TYPE_STR): Likewise.
1858         (FTOSTR): Likewise.
1860 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1862         [BZ #20156]
1863         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
1864         to itself when zero or not finite.
1865         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
1866         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1867         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
1868         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
1870 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
1872         [BZ #20153]
1873         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
1874         x * x + x for infinities and NaNs.
1876         [BZ #20151]
1877         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
1878         argument to itself before returning result.
1879         (__ieee754_y0l): Likewise.
1880         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1881         (__ieee754_y1l).
1883         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
1884         (atan_test_data): Likewise.
1885         (ceil_test_data): Likewise.
1886         (cos_test_data): Likewise.
1887         (cosh_test_data): Likewise.
1888         (erf_test_data): Likewise.
1889         (exp2_test_data): Likewise.
1890         (fabs_test_data): Likewise.
1891         (floor_test_data): Likewise.
1892         (ilogb_test_data): Likewise.
1893         (j0_test_data): Likewise.
1894         (j1_test_data): Likewise.
1895         (jn_test_data): Likewise.
1896         (lgamma_test_data): Likewise.
1897         (lrint_test_data): Likewise.
1898         (llrint_test_data): Likewise.
1899         (logb_test_data): Likewise.
1900         (lround_test_data): Likewise.
1901         (llround_test_data): Likewise.
1902         (nearbyint_test_data): Likewise.
1903         (rint_test_data): Likewise.
1904         (round_test_data): Likewise.
1905         (sin_test_data): Likewise.
1906         (sincos_test_data): Likewise.
1907         (sinh_test_data): Likewise.
1908         (sqrt_test_data): Likewise.
1909         (tan_test_data): Likewise.
1910         (tanh_test_data): Likewise.
1911         (tgamma_test_data): Likewise.
1912         (trunc_test_data): Likewise.
1913         (y0_test_data): Likewise.
1914         (y1_test_data): Likewise.
1915         (yn_test_data): Likewise.
1917         * math/libm-test.inc: Update comment about NaN testing.
1918         (TEST_SNAN): New macro.
1919         (snan_value): Likewise.
1920         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
1921         (fpclassify_test_data): Add sNaN tests.
1922         (isfinite_test_data): Likewise.
1923         (isinf_test_data): Likewise.
1924         (isnan_test_data): Likewise.
1925         (isnormal_test_data): Likewise.
1926         (issignaling_test_data): Likewise.
1927         (signbit_test_data): Likewise.
1928         * math/gen-libm-test.pl (%beautify): Add snan_value.
1929         (show_exceptions): Add argument $test_snan.
1930         (parse_args): Handle snan_value as non-finite.  Update call to
1931         show_exceptions.
1932         * math/Makefile (libm-test-no-inline-cflags): Add
1933         -fsignaling-nans.
1935 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1937         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
1938         (CFLAGS-oldsendmsg.c): Add rule.
1939         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1940         Correct recvmsg symbol name.
1941         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
1942         Likewise.
1944 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1946         * sysdeps/unix/sysv/linux/Makefile
1947         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
1948         oldsendmmsg.
1949         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
1950         sendmmsg.
1951         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1952         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1953         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1954         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1956         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1957         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1959         Likewise.
1960         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1961         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
1962         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1963         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
1964         iovlen and controllen fields to adjust to POSIX specification.
1965         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1967         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
1968         and change to correct expected type.
1969         (msghdr.msg_controllen): Likewise.
1970         (cmsghdr.cmsg_len): Likewise.
1971         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
1972         expected POSIX assumption about the size.
1973         (msghdr.msg_controllen): Likewise.
1974         (msghdr.__glibc_reserved1): Likewise.
1975         (msghdr.__glibc_reserved2): Likewise.
1976         (cmsghdr.cmsg_len): Likewise.
1977         (cmsghdr.__glibc_reserved1): Likewise.
1978         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
1979         Add ptw-oldrecvmsg and ptw-oldsendmsg.
1980         (CFLAGS-sendmsg.c): Remove rule.
1981         (CFLAGS-recvmsg.c): Likewise.
1982         (CFLAGS-oldsendmsg.c): Add rule.
1983         (CFLAGS-oldrecvmsg.c): Likewise.
1984         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
1985         recvmsg and sendmsg.
1986         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
1987         Likewise.
1988         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
1989         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
1990         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1991         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
1992         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1993         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1994         Likewise.
1995         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1996         Likewise.
1997         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
1998         Likewise.
1999         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
2000         Likewise.
2001         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2002         Likewise.
2003         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2004         Likewise.
2005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
2006         (GLIBC_2.24): Likewise.
2007         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2008         Likewise.
2009         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2010         Likewise.
2011         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2012         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2013         Likewise.
2014         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2015         Likewise.
2016         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2017         Likewise.
2018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
2019         (GLIBC_2.24): Likewise.
2020         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
2021         Likewise.
2022         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
2023         Likewise.
2024         * sysdeps/unix/sysv/linux/Makefile
2025         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
2026         (CFLAGS-sendmsg.c): Add rule.
2027         (CFLAGS-recvmsg.c): Likewise.
2028         (CFLAGS-oldsendmsg.c): Likewise.
2029         (CFLAGS-oldrecvmsg.c): Likewise.
2030         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
2031         initialization.
2032         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2033         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2034         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
2035         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2036         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
2037         iovlen and controllen fields to adjust to POSIX specification.
2038         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
2039         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
2040         added recvmsg and sendmsg.
2041         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2042         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2043         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2044         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2045         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2046         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2047         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2048         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2049         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2050         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2051         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2052         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2054         Likewise.
2055         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2057         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2058         Likewise.
2059         Likewise.
2060         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2061         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2062         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2063         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2064         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2065         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2067         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2069         Likewise.
2070         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2071         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2073         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
2074         from auto-generation.
2075         (sendmsg): Likewise.
2076         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
2077         (sendmsg): Likewise.
2078         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
2079         (sendmsg): Likewise.
2080         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
2081         (sendmsg): Likewise.
2082         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
2083         (sendmsg): Likewise.
2084         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
2085         (sendmsg): Likewise.
2086         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
2087         Likewise.
2088         (sendmsg): Likewise.
2089         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
2090         (sendmsg): Likewise.
2091         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2092         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2093         Remove.
2094         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2095         Likewise.
2096         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2097         Undefine.
2098         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2099         Likewise.
2100         * sysdeps/unix/sysv/linux/kernel-features.h
2101         (__ASSUME_SENDMSG_SYSCALL): Define.
2102         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2103         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2104         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2105         Remove.
2106         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2107         Likewise.
2108         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2109         Undefine.
2110         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2111         Likewise.
2112         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2113         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2114         Remove.
2115         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2116         Likewise.
2117         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2118         Undefine.
2119         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2120         Likewise.
2121         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2122         (__ASSUME_SENDMSG_SYSCALL): Undefine.
2123         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2124         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2125         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2126         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2127         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2128         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2129         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2131 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2133         * stdlib/gen-tst-strtod-round.c: Add backslash to
2134         compile command in comment.
2135         (printfp): Remove the literal suffix, and define an infinite
2136         value as INF to avoid expansion clash with INFINITY.
2137         (round_str): Remove the literal suffix.
2138         (round_for_all): Likewise, remove the now duplicate ldbl-64
2139         entry, and remove some magic constants.
2141         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
2142         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
2143         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
2144         (_CONCAT): New macro.
2145         (CONCAT): Likewise.
2146         (CHOOSE_ld): Likewise.
2147         (CHOOSE_f): Likewise.
2148         (CHOOSE_d): Likewise.
2149         (FTYPE_MEMBER): Likewise.
2150         (BOOL_MEMBER): Likewise.
2151         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2152         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2153         (_XNTRY): Likewise.
2154         (XNTRY): Likewise.
2155         (_ENTRY): Likewise.
2156         (ENTRY): Likewise.
2157         (test_exactness): Generate members via macro.
2158         (test_results): Likewise.
2159         (test): Update members.
2160         (TEST): Redefine using new macros.
2161         (INF): New macro.
2162         (fetestmodes): New structure.
2163         (do_test): Refactor to be type generic.
2164         (test_in_one_mode): Refactor duplicate code into
2165         (GEN_ONE_TEST): New macro.
2167         * stdlib/tst-strtod-round-data.h: Regenerate.
2169         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2170         Extend to pass additional arbitrary parameters to
2171         generators.
2173 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
2175         [BZ #15479]
2176         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2177         floating-point state after first floating-point operation on
2178         input.  Restore full floating-point state instead of just rounding
2179         mode.
2180         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2181         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2182         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2183         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2184         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2186         [BZ #15479]
2187         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
2188         floating-point state after first floating-point operation on
2189         input.  Restore full floating-point state instead of just rounding
2190         mode.
2191         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2192         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2193         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2194         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2195         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2197 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2199         [BZ #19727]
2200         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
2201         valid high surrogate.
2202         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
2203         of an utf16 surrogate.
2204         * iconv/gconv_simple.c (BODY): Likewise.
2205         * iconvdata/bug-iconv12.c: New file.
2206         * iconvdata/Makefile (tests): Add bug-iconv12.
2208 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2210         [BZ #19726]
2211         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
2212         outptrp in case of an illegal input.
2213         * iconv/tst-iconv6.c: New file.
2214         * iconv/Makefile (tests): Add tst-iconv6.
2216 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2218         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
2219         an error in case of a value in range of an utf16 low surrogate.
2221 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2223         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
2224         an error in case of a value in range of an utf16 low surrogate.
2226 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2228         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
2229         Move to ...
2230         * sysdeps/s390/Makefile: ... here.
2231         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
2232         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
2233         (BRANCH_ON_COUNT): New define.
2234         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
2235         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
2236         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
2237         run on s390-32, too.
2238         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
2239         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
2240         run on s390-32, too.
2241         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
2242         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
2243         run on s390-32, too.
2245 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2247         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
2248         etf3eh or new vector loop-variant.
2250 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2252         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
2253         etf3eh or new vector loop-variant.
2255 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2257         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
2258         or new vector loop-variant.
2260 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2262         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2263         Rename to TR_LOOP and usage of tr instead of troo instruction.
2265 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2267         * sysdeps/s390/multiarch/gconv_simple.c: New File.
2268         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2270 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2272         * sysdeps/s390/multiarch/8bit-generic.c: New File.
2273         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2274         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2275         New override define.
2276         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2278 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2280         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2281         * sysdeps/s390/configure.ac: Add test for S390 vector register
2282         support in gcc.
2283         * sysdeps/s390/configure: Regenerated.
2285 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2287         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2288         Install file from $(objpfx)gconv-modules.
2289         ($(objpfx)gconv-modules): Concatenate architecture specific file
2290         in variable sysdeps-gconv-modules and gconv-modules in src dir.
2291         * sysdeps/s390/gconv-modules: New file.
2292         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2293         Deleted.
2294         ($(objpfx)gconv-modules-s390): Deleted.
2295         (sysdeps-gconv-modules): New variable.
2297 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2299         [BZ #15479]
2300         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2301         of immediate operand to rounding instruction.
2302         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2303         Likewise.
2304         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2305         Likewise.
2306         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2307         Likewise.
2309 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2311         * math/libm-test.inc (MIN_EXP): Directly define as
2312         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2314 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2316         * math/libm-test.inc (MANT_DIG): Directly define as
2317         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2319 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2321         * stdlib/gen-tst-strtod-round.c (main):
2322           Change usage to more closely match the generated
2323           output.  Add usage and compilation instructions.
2324           (string_to_fp): Add and use FILE* parameter as
2325           output target.
2326           (print_fp): Likewise.
2327           (round_str): Likewise.
2328           (round_for_all): Likewise.
2329         * stdlib/tst-strtod-round.c (tests): Move into
2330         * stdlib/tst-strtod-round-data.h: New file.
2332 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2334         [BZ #15479]
2335         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2336         (__round): Do not force "inexact" exception.
2337         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
2338         variable.
2339         (__round): Do not force "inexact" exception.
2340         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
2341         (__roundf): Do not force "inexact" exception.
2342         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
2343         (__roundl): Do not force "inexact" exception.
2344         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
2345         (__roundl): Do not force "inexact" exception.
2346         * math/libm-test.inc (round_test_data): Do not allow spurious
2347         "inexact" exceptions.
2349         [BZ #15479]
2350         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
2351         exception in comment.
2352         (huge): Remove variable.
2353         (__floor): Do not force "inexact" exception.
2354         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
2355         "inexact" exception in comment.
2356         (huge): Remove variable.
2357         (__floor): Do not force "inexact" exception.
2358         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
2359         exception in comment.
2360         (huge): Remove variable.
2361         (__floorf): Do not force "inexact" exception.
2362         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
2363         exception in comment.
2364         (huge): Remove variable.
2365         (__floorl): Do not force "inexact" exception.
2367         [BZ #15479]
2368         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
2369         exception in comment.
2370         (huge): Remove variable.
2371         (__ceil): Do not force "inexact" exception.
2372         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
2373         "inexact" exception in comment.
2374         (huge): Remove variable.
2375         (__ceil): Do not force "inexact" exception.
2376         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
2377         (__ceilf): Do not force "inexact" exception.
2378         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
2379         exception in comment.
2380         (huge): Remove variable.
2381         (__ceill): Do not force "inexact" exception.
2383 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2385         * config.h.in (BIND_NOW): New.
2386         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
2387         * configure: Regenerated.
2388         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2389         indirect branch via the GOT slot.
2391 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2393         [BZ #19765]
2394         * sysdeps/s390/mempcpy.S: New File.
2395         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2396         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
2397         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2398         Add mempcpy variants.
2399         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
2400         (memcpy): Adjust to be usable from mempcpy entry point.
2401         (__memcpy_mvcle): Likewise.
2402         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2403         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
2404         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
2405         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
2406         (__memcpy_z10): Likewise.
2407         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2409 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2411         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
2412         Remove __GI_ symbol.
2413         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
2414         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
2415         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
2416         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2417         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
2418         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
2420 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2422         * sysdeps/s390/s390-64/memcpy.S (memcpy):
2423         Use cghi instead of chi to compare 64bit value.
2425 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2427         * sysdeps/s390/s390-32/memcpy.S (memcpy):
2428         Jump to 1MB check before executing mvc-loop.
2430 2016-05-24  Florian Weimer  <fweimer@redhat.com>
2432         [BZ #6527]
2433         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
2434         unconditionally.
2435         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
2437 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2439         * stdlib/tst-strtod6.c (do_test): Use new type generic
2440         invocation of the test function.
2441         (test): Refactor into ...
2442         (TEST_STRTOD): New macro base function.
2444 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2446         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
2447         (TEST_STRTOD): New macro.
2448         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
2450 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2452         * stdlib/tst-strtod6.c (do_test): Use new type generic
2453         invocation of the test function.
2454         (test): Refactor into ...
2455         (TEST_STRTOD): New macro base function.
2457 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2459         CVE-2016-4429
2460         [BZ #20112]
2461         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
2462         payload.
2464 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2466         [BZ #20111]
2467         * bits/sockaddr.h (_SS_SIZE): Define.
2468         * bits/socket.h (_SS_SIZE): Remove.
2469         (_SS_PADSIZE): Adjust to account for all padding.
2470         (struct sockaddr_storage): Update comment.  Avoid implicit
2471         padding.
2472         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
2473         (_SS_PADSIZE): Adjust to account for all padding.
2474         (struct sockaddr_storage): Update comment.  Avoid implicit
2475         padding.
2476         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
2477         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
2478         (_SS_PADSIZE): Adjust to account for all padding.
2479         (struct sockaddr_storage): Update comment.  Avoid implicit
2480         padding.
2481         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
2482         __SS_SIZE is 126 in this version.
2483         * inet/tst-sockaddr.c: New file.
2484         * inet/Makefile (tests): Add tst-sockaddr.c
2485         (tst-sockaddr.c): Compile with non-strict aliasing.
2487 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
2489         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
2490         [XPG3 || XPG4].
2491         (NL_ARGMAX): Also expect for [XPG3].
2492         (NL_LANGMAX): Likewise.
2493         (NL_MSGMAX): Likewise.
2494         (NL_NMAX): Likewise.
2495         (NL_SETMAX): Likewise.
2496         (NL_TEXTMAX): Likewise.
2497         (NZERO): Likewise.
2498         (TMP_MAX): Likewise.
2499         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
2500         variable.
2502         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
2503         (PF_MAX): Update value.
2504         (AF_KCM): New macro.
2505         (SOL_NETBEUI): Likewise.
2506         (SOL_LLC): Likewise.
2507         (SOL_DCCP): Likewise.
2508         (SOL_NETLINK): Likewise.
2509         (SOL_TIPC): Likewise.
2510         (SOL_RXRPC): Likewise.
2511         (SOL_PPPOL2TP): Likewise.
2512         (SOL_BLUETOOTH): Likewise.
2513         (SOL_PNPIPE): Likewise.
2514         (SOL_RDS): Likewise.
2515         (SOL_IUCV): Likewise.
2516         (SOL_CAIF): Likewise.
2517         (SOL_ALG): Likewise.
2518         (SOL_NFC): Likewise.
2519         (SOL_KCM): Likewise.
2520         (MSG_BATCH): New enum value and macro.
2522 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2524         [BZ #18185]
2525         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
2526         sharing L2 cache to 2 for Knights Landing.
2528 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
2530         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
2531         (FTW_DP): Do not expect for [XPG3 || XPG4].
2532         (FTW_SL): Do not expect for [XPG3].
2533         (FTW_SLN): Likewise.
2534         (FTW_PHYS): Likewise.
2535         (FTW_MOUNT): Likewise.
2536         (FTW_DEPTH): Likewise.
2537         (FTW_CHDIR): Likewise.
2538         (nftw): Likewise.
2539         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
2540         variable.
2542 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2544         * manual/errno.texi: Fix various typos & grammar errors.
2546 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2548         * manual/intro.texi: Fix duplicated typo.
2550 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2552         [BZ #13304]
2553         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
2554         <float.h>, <math_private.h> and <stdlib.h>.
2555         (add_split): New function.
2556         (mul_split): Likewise.
2557         (ext_val): New typedef.
2558         (store_ext_val): New function.
2559         (mul_ext_val): New function.
2560         (compare): New function.
2561         (add_split_ext): New function.
2562         (__fmal): After checking for Inf, NaN and zero, compute result as
2563         an exact sum of scaled double values in round-to-nearest before
2564         adding those up and adjusting for other rounding modes.
2565         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
2566         tests of fma.
2567         * math/auto-libm-test-out: Regenerated.
2569 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2571         [BZ #20119]
2572         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
2573         processor level type mask for CPUID with EAX == 11.
2575 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2577         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
2578         logical threads if the HTT bit is 0.
2579         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
2580         (index_cpu_HTT): Likewise.
2581         (reg_HTT): Likewise.
2583 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2585         [BZ #20115]
2586         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
2587         Remove alignments on jump targets.
2589 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2591         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
2592         (getpwent): Likewise.
2593         (setpwent): Likewise.
2594         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
2595         variable.
2597         * conform/data/search.h-data (insque): Do not expect for [XPG3].
2598         (remque): Likewise.
2599         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
2600         variable.
2602 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2604         * math/libm-test.inc: Update comment not to refer to signs of NaNs
2605         not being tested.
2607 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2609         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2610         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
2611         call.
2612         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2613         (__condvar_cleanup1): Likewise.
2615 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2617         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
2618         New
2619         (__pthread_unwind): Renamed to ...
2620         (PTHREAD_UNWIND): This.
2621         (__pthread_enable_asynccancel): Replace
2622         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
2624 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2626         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
2627         (CLONE_NEWCGROUP): New macro.
2629         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
2630         (Q_GETNEXTQUOTA): New macro.
2632 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2634         [BZ #19907]
2635         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
2636         buffer updated by the previous run.
2637         * string/test-memcpy.c (do_one_test): Likewise.
2638         * benchtests/bench-memmove.c (do_one_test): Add a comment.
2639         * string/test-memmove.c (do_one_test): Likewise.
2641 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
2643         [BZ #20094]
2644         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
2645         not [__USE_XOPEN].
2646         (unlockpt): Likewise.
2647         (ptsname): Likewise.
2648         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
2649         variable.
2651         [BZ #20076]
2652         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
2653         instead of [__USE_UNIX98].
2654         (S_ISSOCK): Likewise.
2655         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
2656         variable.
2658         [BZ #20074]
2659         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
2660         [__USE_POSIX].
2661         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
2662         variable.
2664         [BZ #20051]
2665         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
2666         (ttyslot): Do not declare.
2667         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
2668         (ttyslot): New prototype.
2669         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
2670         variable.
2671         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2673 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2675         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
2677 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2679         Fix race condition in tst-mallocfork2, use fewer resources.
2680         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
2681         to current process group.
2682         (signal_sender): Yield in the non-sleeping case.
2684 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
2686         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
2687         (ecvt): Likewise.
2688         (fcvt): Likewise.
2689         (gcvt): Likewise.
2690         (getsubopt): Likewise.
2691         (grantpt): Likewise.
2692         (initstate): Likewise.
2693         (l64a): Likewise.
2694         (mktemp): Likewise.
2695         (mkstemp): Likewise.
2696         (ptsname): Likewise.
2697         (random): Likewise.
2698         (realpath): Likewise.
2699         (setstate): Likewise.
2700         (srandom): Likewise.
2701         (ttyslot): Likewise.
2702         (unlockpt): Likewise.
2703         (valloc): Likewise.
2705         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
2706         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
2707         variable.
2709 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2711         [BZ #20072]
2712         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
2713         init_cpu_features only if SHARED is defined.
2714         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2716 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2718         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
2719         non-inclusive caches on Intel processors.
2721 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2723         * malloc/malloc.c (dumped_main_arena_start)
2724         (dumped_main_arena_end): New variables.
2725         (DUMPED_MAIN_ARENA_CHUNK): New macro.
2726         (do_check_chunk): Skip dumped fake mmapped chunks.
2727         (munmap_chunk): Likewise.
2728         (__libc_free): Do not adjust statistics for fake mmapped chunks.
2729         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
2730         mmapped chunks.
2731         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
2732         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
2733         and dumped_main_arena_end to cover the dumped heap.
2735 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
2737         * conform/data/time.h-data (getdate_err): Do not expect for
2738         [XPG3].
2739         (getdate): Likewise.
2740         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
2741         variable.
2743         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
2744         (F_ULOCK): Likewise.
2745         (F_TEST): Likewise.
2746         (F_TLOCK): Likewise.
2747         (useconds_t): Likewise.
2748         (intptr_t): Do not expect for [XPG3] or [XPG4].
2749         (brk): Do not expect for [XPG3]
2750         (fchown): Likewise.
2751         (fchdir): Likewise.
2752         (ftruncate): Likewise.
2753         (getdtablesize): Likewise.
2754         (gethostid): Likewise.
2755         (getpagesize): Likewise.
2756         (getpgid): Likewise.
2757         (getsid): Likewise.
2758         (getwd): Likewise.
2759         (lchown): Likewise.
2760         (lockf): Likewise.
2761         (readlink): Likewise.
2762         (sbrk): Likewise.
2763         (setpgrp): Likewise.
2764         (setregid): Likewise.
2765         (setreuid): Likewise.
2766         (symlink): Likewise.
2767         (sync): Likewise.
2768         (truncate): Likewise.
2769         (ualarm): Likewise.
2770         (usleep): Likewise.
2771         (vfork): Likewise.
2772         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
2773         variable.
2775         [BZ #20054]
2776         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
2777         not [__USE_UNIX98].
2778         * conform/data/unistd.h-data (gethostname): Do not expect for
2779         [XPG3].
2781         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
2782         [!POSIX] (S_IFBLK): Likewise.
2783         [!POSIX] (S_IFCHR): Likewise.
2784         [!POSIX] (S_IFIFO): Likewise.
2785         [!POSIX] (S_IFREG): Likewise.
2786         [!POSIX] (S_IFDIR): Likewise.
2787         [!POSIX] (S_IFLNK): Likewise.
2788         [!POSIX] (S_IFSOCK): Likewise.
2789         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
2790         variable.
2791         (test-xfail-XPG4/fcntl.h/conform): Likewise.
2793 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
2795         * sysdeps/aarch64/memset.S (__memset):
2796         Rewrite of optimized memset.
2798 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2800         [BZ #19703]
2801         Partially async-signal-safe fork for single-threaded processes.
2802         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
2803         variable.  Do not acquire and reset/release malloc and libio locks
2804         in single-threaded processes.
2805         * malloc/tst-mallocfork2.c: New file.
2806         * malloc/Makefile (tests): Add it.
2808 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2810         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
2811         argument.  Use scratch buffer instead of extend_alloca.
2812         (gethosts): Use scratch buffer instead of extend_alloca.
2813         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
2814         extend_alloca.
2815         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
2817 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
2819         [BZ #20055]
2820         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
2821         instead of [__USE_UNIX98].
2822         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
2823         [__USE_UNIX98].
2824         * conform/data/termios.h-data (tcgetsid): Do not expect for
2825         [XPG3].
2826         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
2827         variable.
2828         (test-xfail-XPG4/termios.h/conform): Likewise.
2830 2016-05-11  Florian Weimer  <fweimer@redhat.com>
2832         Do not use mcheck in localedef.
2833         * locale/programs/localedef.c (turn_on_mcheck)
2834         (__malloc_initialize_hook): Remove.
2836 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2838         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
2839         * sysdeps/s390/s390-64/Makefile: Likewise.
2841 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2843         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
2844         Remove ifunc-defines.sym.
2845         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
2846         Likewise.
2847         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
2848         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2849         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
2850         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
2851         rtld-global-offsets.sym.
2852         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
2853         * sysdeps/x86/cpu-features-offsets.sym: This.
2854         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
2855         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
2857 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
2859         [BZ #20073]
2860         * io/sys/stat.h (fchmod): Declare for
2861         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
2862         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
2863         variable.
2865         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
2866         [XPG3] (S_IFSOCK): Likewise.
2867         [XPG3] (S_ISVTX): Likewise.
2868         [XPG3] (S_ISLNK): Likewise.
2869         [XPG3] (S_ISSOCK): Likewise.
2870         [XPG3] (fchmod): Likewise.
2871         [XPG3] (lstat): Likewise.
2872         [XPG3] (mknod): Likewise.
2874         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
2875         [XPG3].  Expect type long and XFAIL for [XPG4].
2876         (st_blocks): Likewise.
2878         [BZ #20044]
2879         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
2880         (pthread_atfork): New prototype.
2881         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
2882         variable.
2884         [BZ #20043]
2885         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
2886         prototype.
2888 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2890         [BZ #20017]
2891         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
2892         gmtime.
2894 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2896         [BZ #19994]
2897         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
2898         flag in _res.options.
2900 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
2902         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
2903         [XPG3 || XPG4].
2904         (blksize_t): Likewise.
2905         (clockid_t): Likewise.
2906         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
2907         variable.
2908         (test-xfail-XPG4/sys/types.h/conform): Likewise.
2910 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2912         * sysdeps/unix/sysv/linux/s390/init-first.c:
2913         Add VDSO_SYMBOL(getcpu).
2914         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
2915         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
2916         Add VDSO_SYMBOL(getcpu).
2917         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
2918         New define HAVE_GETCPU_VSYSCALL.
2919         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2921 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
2923         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
2924         instead of <sysdeps/x86_64/cacheinfo.c>.
2925         * sysdeps/x86_64/cacheinfo.c: Moved to ...
2926         * sysdeps/x86/cacheinfo.c: Here.
2928 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2930         * malloc/malloc-internal.h: Adjust header file guard.
2932 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2934         [BZ #19787]
2935         * inet/getnameinfo.c (check_sprintf_result): New function.
2936         (CHECKED_SNPRINTF): New macro.
2937         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
2938         to the host buffer.
2939         (gni_host_local): Use checked_copy to copy the host name.
2940         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
2941         (gni_serv_local): Use checked_copy to copy the service name.
2942         (getnameinfo): Remove unnecessary truncation of result buffers.
2944 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2946         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
2947         in case of inet_ntop failure.
2949 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2951         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
2952         avoid long lines.
2953         (gni_host_inet_numeric): Likewise.  Reduce scope of local
2954         variables.
2955         (gni_host_inet, gni_host_local): Add comment.
2956         (gni_host): Add comment.  Use temporary to avoid long lines.
2958 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2960         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
2961         registers specifiers where general purpose registers specifiers should
2962         have been used.
2964 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2966         [BZ #19779]
2967         CVE-2016-1234
2968         Avoid copying names of directory entries.
2969         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
2970         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
2971         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
2972         (struct readdir_result): New type.
2973         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
2974         (GL_READDIR): New macros.
2975         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
2976         (convert_dirent, convert_dirent64): New functions.
2977         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
2978         convert_dirent64.  Adjust references to the readdir result.
2979         * sysdeps/unix/sysv/linux/i386/glob64.c:
2980         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
2981         * posix/bug-glob2.c (LONG_NAME): Define.
2982         (filesystem): Add LONG_NAME.
2983         (my_DIR): Increase the size of room_for_dirent.
2985 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
2987         [BZ #20041]
2988         * misc/sys/select.h (__need_timespec): Only define if
2989         [__USE_XOPEN2K].
2990         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
2991         variable.
2992         (test-xfail-XPG4/utmpx.h/conform): Likewise.
2993         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2994         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2996 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2997             Segher Boessenkool  <segher@gcc.gnu.org>
2999         [BZ #20004]
3000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
3001         (__novec_swapcontext): Add missing load.
3003 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
3005         [BZ #20023]
3006         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
3007         <time.h>.
3008         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
3009         variable.
3010         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3012 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
3015         flags CLONE_VM compare.
3017 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3019         [BZ #20031]
3020         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
3021         completely empty.
3023 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3025         [BZ #19573]
3026         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
3027         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
3028         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
3029         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
3030         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
3031         (hesiod_free_list): Mark as hidden.
3032         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
3033         res_set, res_get.
3034         * hesiod/hesiod.c: Remove unnecessary forward declarations.
3035         (init, __hesiod_res_get, __hesiod_res_set): Remove.
3036         (hesiod_init): Remove obsolete res_ninit call.
3037         (hesiod_end): Do not free resolver state.  Do not invoke callback.
3038         (hesiod_bind): Do not call init.
3039         (get_txt_records): Use res_mkquery, res_send instead of
3040         res_nmkquery, res_nsend.
3041         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
3042         instead of _nss_hesiod_init.
3043         (_nss_hesiod_initgroups_dyn): Likewise.
3044         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
3045         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
3046         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
3048 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3050         * hesiod/hesiod_p.h (DEF_RHS): Remove.
3051         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
3053 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3055         * hesiod/hesiod.h: Remove RCS keyword.
3056         * hesiod/hesiod_p.h: Likewise.
3058         * hesiod/hesiod.c: Likewise.
3060 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
3062         [BZ #12450]
3063         * locale/iso-639.def: Add Samogitian/sgs.
3065 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
3067         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
3069         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
3071 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
3072             Carlos O'Donell  <carlos@redhat.com>
3074         [BZ #19072]
3075         * grp/Makefile (headers): Add grp-merge.h
3076         (routines): Add grp-merge.
3077         * grp/getgrgid_r.c: Include grp-merge.h.
3078         (DEEPCOPY_FN): Define.
3079         (MERGE_FN): Define.
3080         * grp/getgrname_r.c: Include grp-merge.h.
3081         (DEEPCOPY_FN): Define.
3082         (MERGE_FN): Define.
3083         * grp/grp-merge.c: New file.
3084         * grp/grp-merge.h: New file.
3085         * include/grp-merge.h: New file.
3086         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
3087         __copy_grp@GLIBC_PRIVATE.
3088         * manual/nss.texi (Actions in the NSS configuration): Describe
3089         return, continue, and merge.
3090         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
3091         (DEEPCOPY_FN): Define.
3092         (MERGE_FN): Define.
3093         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
3094         (DEEPCOPY_FN): Define.
3095         (MERGE_FN): Define.
3096         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
3097         [!MERGE_FN]: Define __merge_einval.
3098         (CHECK_MERGE): Define.
3099         (REENTRANT_NAME): Process merge if do_merge is true.
3100         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
3101         (__nss_getent_r): Likewise.
3102         * nss/nsswitch.c (nss_parse_service_list): Likewise.
3103         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
3105 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3107         [BZ #20012]
3108         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
3109         length to calculate the buffer to read.
3110         (fmemopen_write): Set the buffer position based on bytes written.
3111         (fmemopen_seek): Return EINVAL for invalid whence modes.
3113         [BZ #19957]
3114         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
3115         tst-getpid2.
3116         (test): Add tst-clone2.
3117         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
3118         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
3119         pid/tid fields for CLONE_VM.
3120         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3121         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3122         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3123         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
3124         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3125         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3126         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3127         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3129         Likewise.
3130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3131         Likewise.
3132         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3133         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3134         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3135         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3136         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3137         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3138         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3139         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
3141 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3143         [BZ #19642]
3144         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
3145         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3146         (gni_serv_local, gni_serv): New functions extracted from
3147         getnameinfo.
3148         (getnameinfo): Call gni_host and gni_serv to perform the
3149         processing.  Always free scratch buffer.
3151 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3153         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3154         remaining bytes in the dest string, with zeros.
3156 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3158         [BZ #20010]
3159         CVE-2016-3706
3160         * sysdeps/posix/getaddrinfo.c
3161         (convert_hostent_to_gaih_addrtuple): New function.
3162         (gethosts): Call convert_hostent_to_gaih_addrtuple.
3163         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3164         AF_INET data.
3166 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3168         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3169         callback function gl_readdir.
3170         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3171         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3172         (glob_in_dir): Remove len.  Use strdup instead of malloc and
3173         memcpy to copy the name.
3174         * manual/pattern.texi (Calling Glob): Document requirements for
3175         implementations of the gl_readdir callback function.
3176         * manual/examples/mkdirent.c: New example.
3177         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3178         per the manual guidance.
3179         * posix/tst-gnuglob.c (my_readdir): Likewise.
3181 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
3183         [BZ #20014]
3184         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
3185         not [__USE_POSIX].
3186         (getchar_unlocked): Likewise.
3187         (putc_unlocked): Likewise.
3188         (putchar_unlocked): Likewise.
3189         (flockfile): Likewise.
3190         (ftrylockfile): Likewise.
3191         (funlockfile): Likewise.
3192         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
3193         variable.
3194         (test-xfail-XPG4/stdio.h/conform): Likewise.
3196         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
3197         Expect constant.
3198         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
3199         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
3200         variable.
3201         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3202         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3204         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
3205         [__USE_LARGEFILE64] (off64_t): Likewise.
3206         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
3207         variable.
3209 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3211         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
3213 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3215         * resolv/inet_addr.c: Reindent preprocessor conditionals.
3216         * resolv/res_init.c: Likewise.
3217         * resolv/res_mkquery.c: Likewise.
3219 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3221         * resolv/res_init.c (isascii): Do not define.  Use definition in
3222         <ctype.h>.
3223         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
3224         (LOG_AUTH): Remove.
3225         (SPRINTF): Remove, adjust caller.
3226         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
3228 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3230         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
3231         SUNSECURITY conditional.
3232         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3234 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3236         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
3237         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
3238         Remove BSD-related preprocessor conditionals.
3239         * conf/portability.h: Remove.
3241 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3243         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
3244         * resolv/res_data.c: Likewise.
3246 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3248         * resolv/res_comp.c: Remove code conditional on __ultrix__.
3249         * resolv/res_data.c: Remove code conditional on ultrix.
3251 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3253         * resolv/res_init.c (RFC1535): Do not define.  Remove
3254         RFC1535 preprocessor conditionals.
3255         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
3256         because there configuration options which make the resolver
3257         behavior different.
3259 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3261         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
3262         RESOLVSORT preprocessor conditionals.
3263         * resolv/nss_dns/dns-host.c: Likewise.
3264         * resolv/res_init.c: Likewise.
3266 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3268         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
3269         is never defined.
3271 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3273         * inet/inet_lnaof.c: Remove SCSS keyword.
3274         * inet/inet_mkadr.c: Likewise.
3275         * inet/inet_net.c: Likewise.
3276         * inet/inet_netof.c: Likewise.
3277         * inet/rcmd.c: Likewise.
3278         * inet/rexec.c: Likewise.
3279         * inet/ruserpass.c: Likewise.
3281 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3283         * resolv/inet_addr.c: Remove _LIBC conditionals.
3284         * resolv/res_data.c: Likewise.
3285         * resolv/res_init.c: Likewise.
3286         * resolv/res_mkquery.c: Likewise.
3287         * resolv/res_libc.c: Update comment.
3288         * resolv/README: Update.
3290 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3292         * resolv/gethnamaddr.c: Remove SCSS keyword.
3293         * resolv/herror.c: Likewise.
3294         * resolv/inet_addr.c: Likewise.
3295         * resolv/inet_net_ntop.c: Likewise.
3296         * resolv/inet_net_pton.c: Likewise.
3297         * resolv/inet_neta.c: Likewise.
3298         * resolv/inet_ntop.c: Likewise.
3299         * resolv/inet_pton.c: Likewise.
3300         * resolv/ns_date.c: Remove RCS keyword.
3301         * resolv/ns_name.c: Likewise.
3302         * resolv/ns_netint.c: Likewise.
3303         * resolv/ns_parse.c: Likewise.
3304         * resolv/ns_print.c: Likewise.
3305         * resolv/ns_samedomain.c: Likewise.
3306         * resolv/ns_ttl.c: Likewise.
3307         * resolv/nsap_addr.c: Likewise.
3308         * resolv/res_comp.c: Remove SCSS and RCS keyword.
3309         * resolv/res_data.c: Remove RCS keyword.
3310         * resolv/res_debug.c: Remove SCSS and RCS keyword.
3311         * resolv/res_init.c: Likewise.
3312         * resolv/res_mkquery.c: Likewise.
3313         * resolv/res_query.c: Likewise.
3314         * resolv/res_send.c: Likewise.
3316 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3318         * conform/data/stdio.h-data (fdopen): Expect also for
3319         [XPG3 || XPG4].
3321         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3322         (fseeko): Likewise.
3323         (ftello): Likewise.
3324         (ftrylockfile): Likewise.
3325         (funlockfile): Likewise.
3326         (getc_unlocked): Likewise.
3327         (getchar_unlocked): Likewise.
3328         (putc_unlocked): Likewise.
3329         (putchar_unlocked): Likewise.
3331 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3333         [BZ #19868]
3334         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3335         DNS packet syntax checks (which were not needed before).  Skip
3336         over non-PTR records.
3338 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3340         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
3341         definition.  Include <stddef.h> instead.
3343 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3345         [BZ #19831]
3346         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
3347         function.
3348         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
3349         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
3351 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3353         [BZ #19862]
3354         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
3355         (getanswer_r): Do not call syslog.
3356         (gaih_getanswer_slice): Likewise.
3357         * resolv/gethnamaddr.c (AskedForGot): Remove.
3358         (getanswer): Do not call syslog.
3359         (gethostbyaddr): Likewise.
3361 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3363         * conform/data/signal.h-data (union sigval): Expect also if
3364         [XOPEN2K].
3365         (struct sigevent): Likewise.
3366         (SIGEV_NONE): Likewise.
3367         (SIGEV_SIGNAL): Likewise.
3368         (SIGEV_THREAD): Likewise.
3369         (SIGRTMIN): Likewise.
3370         (SIGRTMAX): Likewise.
3371         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
3372         variable.
3373         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3375 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3377         [BZ #19830]
3378         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
3379         (gaih_getanswer_slice): Likewise.
3380         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
3381         Also check for availability of RR metadata.
3383 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3385         [BZ #19825]
3386         * resolv/res_send.c (send_vc): Remove early *resplen2
3387         initialization.  Set *resplen2 on socket error.  Call
3388         close_and_return_error for other errors.
3390 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3392         * sysdeps/unix/sysv/linux/netiucv/iucv.h
3393         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
3394         (SCM_IUCV_TRGCLS): New define.
3396 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3398         [BZ #20005]
3399         * libio/fmemopen.c (fmemopen_write): Update internal position after
3400         write.
3401         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
3402         * stdio-common/tst-fmemopen4.c: New file..
3404 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
3406         [BZ #19996]
3407         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
3408         not [__USE_XOPEN2K].
3409         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
3410         variable.
3412         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
3413         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
3414         variable.
3416         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
3417         [__USE_XOPEN2K8].
3418         [__USE_LARGEFILE64] (off64_t): Likewise.
3419         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
3420         variable.
3422 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
3424         [BZ #19989]
3425         * libio/stdio.h (cuserid): Do not declare if
3426         [__USE_XOPEN2K && !__USE_GNU].
3427         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
3428         variable.
3430 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3432         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3433         (sysdep_routines): Add P8 and PPC64 strcspn targets.
3434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3435         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3436         ifunc'ed strcspn.
3437         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3438         [EALIGN]: Removed.
3439         [END]: Likewise
3440         [STRSPN]: Define instead of the above to control symbol name.
3441         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
3442         New file.
3443         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
3444         Likewise.
3445         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
3446         Likewise.
3447         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
3448         Likewise.
3449         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3450         [INITIAL_MASK]: New macro.
3451         [STRCSPN]: Likewise.
3452         [UPDATE_MASK]: Likewise.
3453         [USE_AS_STRCSPN]: Lisewise.
3455 2016-04-25  Florian Weimer  <fweimer@redhat.com>
3457         [BZ #19931]
3458         * stdio-common/tst-vfprintf-width-prec.c: New file.
3459         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
3460         (tests-special): Add tst-vfprintf-width-prec-mem.out.
3461         (generated): Add mtrace-related files.
3462         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
3463         (tst-%-mem.out): New pattern rule, replaces
3464         tst-printf-bz18872-mem.out.
3465         * stdio-common/vfprintf.c (vfprintf): When handling a precision
3466         specifier, deallocate any previously allocated work buffer.
3468 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
3470         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
3471         Add nop before __startcontext, add explaining comments.
3473 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
3475         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
3476         any more. Notably since IPV6_PKTINFO has been reintroduced with a
3477         completely different API.
3479         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
3480         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
3481         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
3482         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
3483         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
3484         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
3485         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
3486         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
3487         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
3488         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
3490 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
3492         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
3494 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
3496         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
3497         when it is the default of 0.
3499 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3501         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
3502         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3503         (sysdep_routines): Add new strcasestr targets.
3504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3505         (__libc_ifunc_impl_list): Likewise.
3506         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
3507         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
3508         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
3509         * sysdeps/powerpc/powerpc64/power8/Makefile:
3510         New file to add strcasestr-ppc64 to sysdep_routines.
3511         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
3512         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
3514 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
3516         * benchtests/Makefile (wcsmbs-benchset): Include only for
3517         native builds and runs.
3518         (LOCALES): Likewise.
3519         (bench-build): Build timing-type here instead of the bench
3520         target.  Generate locale only for native builds.
3521         * benchtests/README: Add note for cross-building.
3523         * benchtests/Makefile (bench-clean): Clean up extra-objs.
3525         * benchtests/README: Update README to include instructions on
3526         using bench-build.
3528         * Makefile.in (bench-build): New target.
3529         * Rules (PHONY): Add bench-build target.
3530         * benchtests/Makefile (bench): Depend on bench-build.
3531         (bench-build): New target.
3533 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3535         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
3536         profil_reply_port.
3537         (profile_waiter): Do not initialize profil_reply_port.
3538         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
3539         frequency instead of tick length in us.
3541 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
3543         [BZ #18712]
3544         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
3545         (__old_mempcpy_small): Likewise.
3546         (__old_strcpy_small): Likewise.
3547         (__old_stpcpy_small): Likewise.
3548         (__old_strpbrk_c2): Fix compat symbol name.
3549         (__old_strpbrk_c3): Likewise.
3550         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
3551         (__mempcpy_small): Remove.
3552         (__strcpy_small): Remove.
3553         (__stpcpy_small): Remove.
3555 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
3557         [BZ #19400]
3558         * locale/iso-639.def: Add the Talossan/tzl language.
3560 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3562         [BZ #16983]
3563         * locale/programs/ld-address.c (address_finish): Update postal_fmt
3564         comment.  Add "ln" to strchr check on postal_fmt.
3566 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3568         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
3569         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
3570         tel_dom_fmt.
3572 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3574         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3575         (sysdep_routines): Added __strlen_power8.
3576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
3577         __strlen_power8 entry.
3578         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
3579         Implementation for POWER8.
3580         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
3581         for __strlen_power8.
3582         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
3583         Implementation for POWER8.
3585 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
3587         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
3589 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
3591         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
3592         Goldmont and Airmont processors.
3594 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
3596         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
3597         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
3598         (__STRING2_SMALL_GET32): Remove.
3599         (memset): Remove.
3600         (__memset_1): Remove.
3601         (__memset_gc): Remove.
3602         (__mempcpy): Remove.
3603         (mempcpy): Remove.
3604         (__mempcpy_args): Remove.
3605         (strchr): Remove.
3606         (strcpy): Remove.
3607         (strcpy_args): Remove.
3608         (__stpcpy_args): Remove.
3609         (__strcmp_cc): Remove.
3610         (__strcmp_gc): Remove.
3611         (strstr): Remove.
3613 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
3615         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
3616         * nis/nis_call.c (nis_server_cache_add): Likewise.
3618 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3620         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
3622 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3624         * malloc/arena.c (__malloc_fork_lock_parent)
3625         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
3626         internal_function attribute.
3628 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
3630         * stdio-common/printf_fp.c (__printf_fp_l):
3631         Rename ___printf_fp_l to __printf_fp_l and
3632         remove strong alias. Use libc_hidden_def instead
3633         of ldbl_hidden_def macro.
3635 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3637         Remove malloc hooks from fork handler.  They are no longer needed
3638         because malloc runs right before fork, and no malloc calls from
3639         other fork handlers are not possible anymore.
3640         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
3641         declarations.
3642         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
3643         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
3644         (atfork_recursive_cntr): Remove.
3645         (__malloc_fork_lock_parent): Do not override malloc hooks and
3646         thread_arena.
3647         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
3648         thread_arena.
3649         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
3650         thread_arena instead of save_arena.
3652 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3654         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
3655         (thread_atfork, thread_atfork_static): Remove.
3656         * sysdeps/mach/hurd/malloc-machine.h:
3657         (thread_atfork, thread_atfork_static): Remove.
3659 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3661         [BZ #19431]
3662         Run the malloc fork handler as late as possible to avoid deadlocks.
3663         * malloc/malloc-internal.h: New file.
3664         * malloc/malloc.c: Include it.
3665         * malloc/arena.c (ATFORK_MEM): Remove.
3666         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
3667         Update comment.
3668         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
3669         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
3670         Remove outdated comment.
3671         (ptmalloc_init): Do not call thread_atfork.  Remove
3672         thread_atfork_static.
3673         * malloc/tst-malloc-fork-deadlock.c: New file.
3674         * Makefile (tests): Add tst-malloc-fork-deadlock.
3675         (tst-malloc-fork-deadlock): Link against libpthread.
3676         * manual/memory.texi (Aligned Memory Blocks): Update safety
3677         annotation comments.
3678         * sysdeps/nptl/fork.c (__libc_fork): Call
3679         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3680         __malloc_fork_unlock_child.
3681         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3683 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3685         [BZ #19613]
3686         Remove union wait.
3687         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
3688         (w_stopsig, w_stopval): Remove.
3689         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
3690         stat_loc argument.
3691         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
3692         (__WAIT_STATUS_DEFN): Remove.
3693         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3694         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
3695         (wait, wait3, wait4): Use int * for the stat_loc argument.
3696         * posix/wait.c (__wait): Likewise.
3697         * posix/wait3.c (__wait3): Likewise.
3698         * posix/wait4.c (__wait4): Likewise.
3699         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
3700         (__WAIT_STATUS_DEFN): Remove.
3701         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3702         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
3703         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
3704         argument.
3705         * sysdeps/posix/wait.c (__libc_wait): Likewise.
3706         * sysdeps/posix/wait3.c (__wait3): Likewise.
3707         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
3708         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3709         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
3710         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
3711         stat_loc argument.
3712         * manual/process.texi (BSD Wait Functions): Remove union wait.
3714 2016-04-13  Andreas Schwab  <schwab@suse.de>
3716         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
3717         (test-extras): Add tst-tlsalign-vars.
3718         * math/Makefile: Wrap long lines.
3719         (libm-vec-test-wrappers): Define.
3720         (test-extras): Add $(libm-vec-test-wrappers).
3721         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
3722         * nss/Makefile (extra-test-objs): Add nss_test1.os.
3723         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
3724         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
3725         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
3726         (extra-test-objs): Add corresponding objects.
3728 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
3730         [BZ #19928]
3731         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
3732         New.
3733         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
3734         times of shared cache size.
3735         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
3736         (VMOVNT): New.
3737         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
3738         (VMOVNT): Likewise.
3739         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
3740         (VMOVNT): Likewise.
3741         (VMOVU): Changed to movups for smaller code sizes.
3742         (VMOVA): Changed to movaps for smaller code sizes.
3743         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
3744         comments.
3745         (PREFETCH): New.
3746         (PREFETCH_SIZE): Likewise.
3747         (PREFETCHED_LOAD_SIZE): Likewise.
3748         (PREFETCH_ONE_SET): Likewise.
3749         Rewrite to use forward and backward loops, which move 4 vector
3750         registers at a time, to support overlapping addresses and use
3751         non temporal store if size is above the threshold and there is
3752         no overlap between destination and source.
3754 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
3756         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
3757         Include dl-vdso.
3758         * sysdeps/unix/sysv/linux/mips/Versions: Add
3759         __vdso_clock_gettime.
3760         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
3761         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
3762         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
3763         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
3764         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
3765         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
3766         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3767         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3768         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3770 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3772         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
3773         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3774         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3775         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3776         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3777         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3780         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
3781         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
3782         syscalls generation.
3783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3784         [__NR_pwrite64] (__NR_write): Remove define.
3785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3786         [__NR_pwrite64] (__NR_write): Remove define.
3787         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
3788         Remove define.
3789         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
3790         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
3791         Remove define.
3792         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
3793         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
3794         Linux implementation as base.
3795         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3797         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
3798         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3799         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3800         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
3802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3803         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
3804         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
3805         syscall generation.
3806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3807         [__NR_pread64] (__NR_pread): Remove define.
3808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3809         [__NR_pread64] (__NR_pread): Likewise.
3810         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
3811         define.
3812         (__libc_pread): Use SYSCALL_LL macro on offset argument.
3813         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
3814         Remove define.
3815         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
3816         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
3817         Linux implementation as base.
3818         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3819         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3820         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3822         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
3823         definition.
3824         (__ALIGNMENT_COUNT): Likewise.
3825         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
3826         (__ALIGNMENT_COUNT): Likewise.
3827         (SYSCALL_LL): New define.
3828         (SYSCALL_LL64): Likewise.
3829         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
3830         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
3831         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
3832         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
3834         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3835         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
3836         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3837         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3838         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3839         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3841 2016-04-11  Florian Weimer  <fweimer@redhat.com>
3843         [BZ #19865]
3844         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
3845         original buffer before retry.
3847 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3849         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
3850         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
3851         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
3852         GLRO(dl_auxv) list.
3853         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
3854         including <ldsodefs.h>.
3855         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
3857 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
3859         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
3860         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
3861         $(CPPFLAGS).
3863 2016-04-09  Khem Raj  <raj.khem@gmail.com>
3865         [BZ #17950]
3866         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
3867         Add -mfpmath=387.
3869 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
3871         * sysdeps/i386/configure.ac: Change == to = when calling test.
3872         * sysdeps/x86_64/configure.ac: Likewise.
3873         * sysdeps/i386/configure: Regenerated.
3874         * sysdeps/x86_64/configure: Likewise.
3876 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
3878         [BZ #16137]
3879         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
3880         * benchtests/bench-strcoll.c (input_files): Likewise.
3881         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3882         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
3883         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
3885 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
3887         [BZ #19929]
3888         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
3889         [__USE_XOPEN2K8 && !__USE_GNU].
3890         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
3891         variable.
3893         [BZ #19925]
3894         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
3895         define if [!__USE_MISC && __USE_XOPEN2K].
3896         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
3897         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
3898         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
3899         Likewise.
3900         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
3901         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
3902         variable.
3903         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3905 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3907         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3908         (sysdep_routines): Add new strspn targets.
3909         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3910         (__libc_ifunc_impl_list): Add strspn.
3911         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3912         New file.
3913         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
3914         Likewise.
3915         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
3916         Likewise.
3917         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3918         Likewise.
3920 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3922         * misc/hsearch_r.c: Include <limits.h>.
3924 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3926         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
3928 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3930         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3931         (MEMCPY_SYMBOL): New.
3932         (MEMPCPY_SYMBOL): Likewise.
3933         (MEMMOVE_CHK_SYMBOL): Likewise.
3934         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
3935         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
3936         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
3937         Provide alias for memcpy in libc.a and ld.so.
3939 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3941         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3942         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
3943         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
3944         Disabled fro now.
3945         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
3946         symbols.  Properly check USE_MULTIARCH on __memset symbols.
3948 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3950         * benchtests/Makefile (string-benchset): Add memcpy-large,
3951         memmove-large and memset-large.
3952         * benchtests/bench-memcpy-large.c: New file.
3953         * benchtests/bench-memmove-large.c: Likewise.
3954         * benchtests/bench-memmove-large.c: Likewise.
3955         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
3957 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3959         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
3960         32-bit displacement to avoid long nop between instructions.
3962 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3964         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
3965         a comment on VMOVU and VMOVA.
3967 2016-04-04  Florian Weimer  <fweimer@redhat.com>
3969         [BZ #19633]
3970         Use specified locale for number formatting in strfmon_l.
3971         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
3972         (__nl_lookup_word): New inline functions.
3973         * include/printf.h (__print_fp_l): Declare.
3974         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
3975         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
3976         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
3977         (___printf_fp): New function.
3978         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
3979         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
3980         * stdlib/tst-strfmon_l.c (do_test): New test.
3981         * stdlib/Makefile (tests): Add kt.
3982         (LOCALES): Build additional locales.
3983         (tst-strfmon_l.out): Require locales.
3985 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3987         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
3988         if not in libc.
3989         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3990         Likewise.
3991         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
3992         Likewise.
3993         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3994         Likewise.
3996 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3998         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3999         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
4000         with unaligned_erms.
4001         (__memmove_erms): Skip if source == destination.
4002         (__memmove_unaligned_erms): Don't check source == destination
4003         first.
4005 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4007         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
4008         bit_arch_Fast_Copy_Backward for Intel Core proessors.
4010 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4012         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
4013         * string/strspn.c (strspn): Likewise.
4015 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4017         * benchtests/bench-memset.c (do_test): Support 64-byte
4018         alignment.
4019         (test_main): Test 64-byte alignment.
4021 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4023         * benchtests/bench-memmove.c (test_main): Test 64-byte
4024         alignment.
4026 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4028         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
4030 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4032         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
4033         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
4034         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
4036         * string/strpbrk.c (strpbrk): Rewrite function.
4037         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
4038         (__strpbrk_c2): Likewise.
4039         (__strpbrk_c3): Likewise.
4040         * string/string-inlines.c
4041         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
4042         Likewise.
4043         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
4044         Likewise.
4046         * string/strspn.c (strcspn): Rewrite function.
4047         * string/bits/string2.h (strspn): Use __builtin_strcspn.
4048         (__strspn_c1): Remove inline function.
4049         (__strspn_c2): Likewise.
4050         (__strspn_c3): Likewise.
4051         * string/string-inlines.c
4052         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
4053         compatibility symbol.
4054         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
4055         Likewise.
4056         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
4057         Likewise.
4058         * string/string-inlines.c: Include generic version.
4060 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
4061             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4063         * string/Version (libc): Add GLIBC_2.24.
4064         * string/strcspn.c (strcspn): Rewrite function.
4065         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
4066         (__strcspn_c1): Remove inline function.
4067         (__strcspn_c2): Likewise.
4068         (__strcspn_c3): Likewise.
4069         * string/string-inline.c
4070         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
4071         compatibility symbol.
4072         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
4073         Likewise.
4074         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
4075         Likewise.
4076         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
4078 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4080         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4081         Use ahi instead of aghi to adjust stack pointer.
4083 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4085         [BZ #19853]
4086         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
4087         TEST to take significant digits as second parameter.
4088         [TEST]: Redefine in terms of TEST_N taking 30
4089         significant digits.
4090         (do_test): Add test case to demonstrate precision
4091         failure in the ldbl-128ibm printf.
4092         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
4093         (__mpn_extract_long_double): Carry 7 extra intermediate
4094         bits of precision to aide computing difference when
4095         signs differ.
4097 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4099         [BZ #19881]
4100         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4101         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
4102         memset-avx512-unaligned-erms.
4103         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4104         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
4105         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
4106         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
4107         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
4108         __memset_sse2_unaligned_erms, __memset_erms,
4109         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
4110         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4111         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
4112         file.
4113         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4114         Likewise.
4115         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
4116         Likewise.
4117         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
4118         Likewise.
4120 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4122         [BZ #19776]
4123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4124         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
4125         memmove-avx512-unaligned-erms.
4126         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4127         (__libc_ifunc_impl_list): Test
4128         __memmove_chk_avx512_unaligned_2,
4129         __memmove_chk_avx512_unaligned_erms,
4130         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
4131         __memmove_chk_sse2_unaligned_2,
4132         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
4133         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
4134         __memmove_avx512_unaligned_erms, __memmove_erms,
4135         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
4136         __memcpy_chk_avx512_unaligned_2,
4137         __memcpy_chk_avx512_unaligned_erms,
4138         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
4139         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
4140         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
4141         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
4142         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
4143         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
4144         __mempcpy_chk_avx512_unaligned_erms,
4145         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4146         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4147         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4148         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4149         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4150         __mempcpy_erms.
4151         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4152         file.
4153         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4154         Likwise.
4155         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4156         Likwise.
4157         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4158         Likwise.
4160 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4162         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4163         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4164         (La_s390_64_regs): Likewise.
4165         (La_s390_32_retval): Append vector register lrv_v24.
4166         (La_s390_64_retval): Likeweise.
4167         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4168         Handle extended structs La_s390_32_regs and La_s390_32_retval.
4169         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4170         Handle extended structs La_s390_64_regs and La_s390_64_retval.
4172 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4174         [BZ #19916]
4175         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4176         to create a non-vector/vector version for _dl_runtime_resolve and
4177         _dl_runtime_profile. Move implementation to ...
4178         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4179         (_dl_runtime_resolve) Save and restore fpr/vrs.
4180         (_dl_runtime_profile) Save and restore vrs and fix some issues
4181         if _dl_call_pltexit is called.
4182         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
4183         Choose the correct resolver function if running on a machine with vx.
4184         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
4185         to create a non-vector/vector version for _dl_runtime_resolve and
4186         _dl_runtime_profile. Move implementation to ...
4187         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
4188         (_dl_runtime_resolve) Save and restore fpr/vrs.
4189         (_dl_runtime_profile) Save and restore vrs and fix some issues
4190         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
4191         Choose the correct resolver function if running on a machine with vx.
4193 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4195         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
4197 2016-03-31  Florian Weimer  <fweimer@redhat.com>
4199         [BZ #19509]
4200         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
4201         skip_map != NULL.
4202         * elf/tst-dlsym-error.c: New file.
4203         * elf/Makefile (tests): Add tst-dlsym-error.
4204         (tst-dlsym-error): Link against libdl.
4206 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
4208         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4209         (__ASSUME_FUTIMESAT): Remove macro.
4210         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
4212 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4214         [BZ #19879]
4215         CVE-2016-3075
4216         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
4217         copy name.
4219 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4221         [BZ #19837]
4222         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
4223         error if parse_line fails.
4225 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4227         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
4228         (index_cpu_ERMS): Likewise.
4229         (reg_ERMS): Likewise.
4231 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
4233         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
4234         PER_LINUX_FDPIC): Add.
4236 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4238         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4239         memcpy-avx512-no-vzeroupper.
4240         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
4241         to ...
4242         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
4243         (MEMCPY): Don't define.
4244         (MEMCPY_CHK): Likewise.
4245         (MEMPCPY): Likewise.
4246         (MEMPCPY_CHK): Likewise.
4247         (MEMPCPY_CHK): Renamed to ...
4248         (__mempcpy_chk_avx512_no_vzeroupper): This.
4249         (MEMPCPY_CHK): Renamed to ...
4250         (__mempcpy_chk_avx512_no_vzeroupper): This.
4251         (MEMCPY_CHK): Renamed to ...
4252         (__memmove_chk_avx512_no_vzeroupper): This.
4253         (MEMCPY): Renamed to ...
4254         (__memmove_avx512_no_vzeroupper): This.
4255         (__memcpy_avx512_no_vzeroupper): New alias.
4256         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
4258 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4260         [BZ #18858]
4261         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4262         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4263         and mempcpy-avx512-no-vzeroupper.
4264         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4265         New.
4266         (MEMPCPY): Likewise.
4267         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4268         (MEMPCPY_CHK): New.
4269         (MEMPCPY): Likewise.
4270         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4271         (MEMPCPY): Likewise.
4272         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4273         (MEMPCPY): Likewise.
4274         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4275         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4276         Likewise.
4277         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4278         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4280 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4281              Amit Pawar  <Amit.Pawar@amd.com>
4283         [BZ #19583]
4284         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4285         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4286         processors.  Set Fast_Copy_Backward for AMD Excavator
4287         processors.
4288         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4289         New.
4290         (index_arch_Fast_Unaligned_Copy): Likewise.
4291         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4292         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4294 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4296         [BZ #19791]
4297         * resolv/res_send.c (close_and_return_error): New function.
4298         (send_dg): Initialize *resplen2 after reopen failure.  Call
4299         close_and_return_error for error returns.  On error paths without
4300         __res_iclose, initialze *resplen2 explicitly.  Update comment for
4301         successful return.
4303 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4305         [BZ# 19860]
4306         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4307         zero if the compiler does not provide the AVX512F bit.
4309 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
4311         [BZ #19848]
4312         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4313         from 8 to 4.
4314         (__ieee754_powl): Compare integer exponent against 4 not 8.
4315         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4316         from 8 to 4.
4317         (__ieee754_powl): Compare integer exponent against 4 not 8.
4318         * math/auto-libm-test-in: Add more tests of pow.
4319         * math/auto-libm-test-out: Regenerated.
4320         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4323 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4325         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4326         Make code unconditional.
4327         [!__NR_utimensat]: Remove conditional code.
4328         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4329         Make code unconditional.
4330         [!__NR_utimensat]: Remove conditional code.
4331         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4332         Make code unconditional.
4333         [!__NR_utimensat]: Remove conditional code.
4335 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4337         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
4338         Make code unconditional.
4340 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
4342         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
4343         call-clobbered %eax on retry path.
4344         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4346 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4348         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
4349         Don't set %rcx twice before "rep movsb".
4351 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4353         [BZ #19583]
4354         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
4355         inline.  Check family before setting family, model and
4356         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
4357         bits here.
4358         (init_cpu_features): Replace HAS_CPU_FEATURE and
4359         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
4360         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
4361         for Intel processors with usable AVX2.  Call get_common_indeces
4362         for other processors with family == NULL.
4363         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
4364         (CPU_FEATURES_ARCH_P): Likewise.
4365         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
4366         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
4368 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4370         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4371         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
4372         $(shared-thread-library) instead of hardcoding the path to libpthread.
4374 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
4376         * sysdeps/unix/sysv/linux/kernel-features.h
4377         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
4378         * sysdeps/unix/sysv/linux/getdents.c
4379         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
4380         [!have_no_getdents64_defined]: Likewise.
4381         (__GETDENTS): Remove __have_no_getdents64 conditional.
4383 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
4385         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
4386         Remove macro.
4387         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
4388         <kernel-features.h>.
4389         (signalfd) [__NR_signalfd4]: Make code unconditional.
4390         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
4392 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4394         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
4395         style.
4397 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4399         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
4400         (__pthread_enable_asynccancel): Use JUMPTARGET to call
4401         __pthread_unwind.
4402         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4403         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
4404         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4405         (__condvar_cleanup1): Likewise.
4407 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
4409         [BZ #19822]
4410         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
4411         move it to the final $@ location.
4413 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4415         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
4416         access where posix_spawn success and pid argument is null.
4417         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
4418         success case.
4420 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
4422         * sysdeps/mach/hurd/i386/c++-types.data: New file.
4424         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
4426         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
4427         and __fcntl.
4428         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
4429         __fcntl only.
4430         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
4431         adding attribute_hidden to __open and __fcntl.
4433         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
4434         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
4435         depend on libc-modules.h,
4436         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
4438 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
4440         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
4441         Remove macro.
4442         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
4443         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
4444         entry.
4446         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
4447         Remove macro.
4448         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
4449         include <kernel-features.h>.
4450         [!__ASSUME_FALLOCATE]: Remove conditional code.
4451         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
4453 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4455         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
4456         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
4457         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
4458         (_ZGVdN4v_cos_avx2): Likewise.
4459         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
4460         (_ZGVdN4v_cos): Likewise.
4461         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
4462         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
4463         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
4464         (_ZGVdN4v_exp_avx2): Likewise.
4465         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
4466         (_ZGVdN4v_exp): Likewise.
4467         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
4468         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
4469         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
4470         (_ZGVdN4v_log_avx2): Likewise.
4471         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
4472         (_ZGVdN4v_log): Likewise.
4473         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
4474         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
4475         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
4476         (_ZGVdN4vv_pow_avx2): Likewise.
4477         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
4478         (_ZGVdN4vv_pow): Likewise.
4479         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
4480         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
4481         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
4482         (_ZGVdN4v_sin_avx2): Likewise.
4483         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
4484         (_ZGVdN4v_sin): Likewise.
4485         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
4486         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
4487         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
4488         (_ZGVdN4vvv_sincos_avx2): Likewise.
4489         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
4490         (_ZGVdN4vvv_sincos): Likewise.
4491         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
4492         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
4493         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
4494         (_ZGVbN4v_cosf_sse4): Likewise.
4495         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
4496         (_ZGVdN8v_cosf_avx2): Likewise.
4497         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
4498         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
4499         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
4500         (_ZGVbN4v_expf_sse4): Likewise.
4501         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
4502         (_ZGVdN8v_expf_avx2): Likewise.
4503         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
4504         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
4505         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
4506         (_ZGVbN4v_logf_sse4): Likewise.
4507         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
4508         (_ZGVdN8v_logf_avx2): Likewise.
4509         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
4510         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
4511         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
4512         (_ZGVbN4vv_powf_sse4): Likewise.
4513         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
4514         (_ZGVdN8vv_powf_avx2): Likewise.
4515         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4516         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
4517         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4518         (_ZGVbN4vvv_sincosf_sse4): Likewise.
4519         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4520         (_ZGVdN8vvv_sincosf_avx2): Likewise.
4521         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
4522         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
4523         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
4524         (_ZGVbN4v_sinf_sse4): Likewise.
4525         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
4526         (_ZGVdN8v_sinf_avx2): Likewise.
4527         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4528         Use JUMPTARGET to call callee.
4529         (WRAPPER_IMPL_SSE2_ff): Likewise.
4530         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4531         (WRAPPER_IMPL_AVX): Likewise.
4532         (WRAPPER_IMPL_AVX_ff): Likewise.
4533         (WRAPPER_IMPL_AVX_fFF): Likewise.
4534         (WRAPPER_IMPL_AVX512): Likewise.
4535         (WRAPPER_IMPL_AVX512_ff): Likewise.
4536         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4537         Likewise.
4538         (WRAPPER_IMPL_SSE2_ff): Likewise.
4539         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4540         (WRAPPER_IMPL_AVX): Likewise.
4541         (WRAPPER_IMPL_AVX_ff): Likewise.
4542         (WRAPPER_IMPL_AVX_fFF): Likewise.
4543         (WRAPPER_IMPL_AVX512): Likewise.
4544         (WRAPPER_IMPL_AVX512_ff): Likewise.
4545         (WRAPPER_IMPL_AVX512_fFF): Likewise.
4547 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4549         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
4550         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
4551         qualifier.
4552         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
4553         internal_function qualifiers.
4555 2016-03-15  Carlos O'Donell <carlos@redhat.com>
4557         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
4558         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
4559         * math/atest-exp.c (exp_mpn): Mark chk unused.
4560         * math/atest-exp2.c (exp_mpn): Likwise.
4561         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
4562         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
4564 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
4566         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
4567         Remove macro.
4568         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
4569         <kernel-features.h>.
4570         [__NR_ppoll]: Make code unconditional.
4571         [!__ASSUME_PPOLL]: Remove conditional code.
4573         * sysdeps/unix/sysv/linux/kernel-features.h
4574         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
4575         (__ASSUME_ACCEPT4): Likewise.
4576         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4577         Define.
4578         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
4579         Likewise.
4580         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4581         Likewise.
4582         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
4583         Likewise.
4584         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
4585         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
4586         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4587         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4588         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4589         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4590         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4591         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4592         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4593         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4594         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4595         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4596         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4597         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4598         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4599         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4600         Likewise.
4601         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4602         Likewise.
4603         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4604         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4605         0x040300].
4606         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4607         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4608         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4609         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4610         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4611         0x030300].
4612         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
4613         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4614         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4615         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4616         0x040300].
4617         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4618         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4619         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4620         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4621         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4622         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4623         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4624         0x030300].
4625         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4626         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4627         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4628         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4629         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4630         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4631         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4632         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4633         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4634         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4635         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4636         0x040300].
4637         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4638         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4639         * sysdeps/unix/sysv/linux/sh/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/sparc/kernel-features.h
4644         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4645         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4646         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4647         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4648         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4649         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4650         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4651         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4652         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4653         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4654         Likewise.
4655         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4656         Likewise.
4658 2016-03-15  Andreas Schwab  <schwab@suse.de>
4660         [BZ #19257]
4661         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
4662         statp->_u._ext.nscount as loop count.
4664 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4666         * math/test-signgam-finite-c99.c: Also #undef
4667         __LIBC_INTERNAL_MATH_INLINES.
4668         * math/test-signgam-main.c: Likewise.
4670 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
4672         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
4673         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
4674         (MADV_FREE): Likewise.
4675         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
4676         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
4677         EPOLLEXCLUSIVE.
4679 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
4681         * timezone/README: Remove mention of checktab.awk. Mention wiki
4682         SharedSourceFiles.
4684 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
4686         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
4687         WUNTRACED.
4689 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4691         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
4692         order to match the type of p when calling atomic_exchange_acq().
4694 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4696         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
4697         cfi_offset calls.
4698         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4699         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
4700         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
4701         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
4702         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
4704 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
4706         * timezone/checktab.awk: Removed.
4708 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
4710         * manual/math.texi (Errors in Math Functions): Document relaxed
4711         accuracy goals for IBM long double.
4712         * math/libm-test.inc (test_exceptions): Always allow spurious
4713         "underflow" and "inexact" exceptions for IBM long double.
4715 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
4717         [BZ #19762]
4718         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4719         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
4720         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4721         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
4722         (bit_arch_*): This for feature array.
4723         (bit_*): Renamed to ...
4724         (bit_cpu_*): This for cpu array.
4725         (index_*): Renamed to ...
4726         (index_arch_*): This for feature array.
4727         (index_*): Renamed to ...
4728         (index_cpu_*): This for cpu array.
4729         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
4730         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
4731         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
4732         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
4733         bit_##name with index_cpu_##name and bit_cpu_##name.
4734         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
4735         bit_##name with index_arch_##name and bit_arch_##name.
4737 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
4739         [BZ #19792]
4740         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4741         Terminate FDE before return label.
4743 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
4745         [BZ #19790]
4746         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
4747         (rintl): Define as macro.
4748         [USE_AS_NEARBYINTL] (__rintl): Likewise.
4749         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
4750         of fesetround.  Ensure results are evaluated before end of scope.
4751         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
4752         USE_AS_NEARBYINTL and include s_rintl.c.
4753         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
4754         Disable exception traps in new environment.
4755         (libc_feholdsetround_ppc_ctx): Likewise.
4757 2016-03-08  Roland McGrath  <roland@hack.frob.com>
4759         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
4760         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
4761         (tst_audit10_aux) [__AVX512F__]: ... here.
4763 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
4765         * include/sys/auxv.h: New file.
4767 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4769         [BZ #19759]
4770         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
4772 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4774         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
4775         operand modifier.
4776         (feclearexcept): Likewise.
4778 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4780         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
4781         to reflect the entire 32-bit HWCAP.
4782         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
4783         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
4785 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4787         [BZ #19783]
4788         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
4789         $(test-via-rtld-prefix).
4790         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
4792 2016-03-08  Florian Weimer  <fweimer@redhat.com>
4794         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
4795         union wait.  Report any non-zero exit status as error.
4797 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4799         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
4800         configured with --enable-hardcoded-path-in-tests.
4802 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
4804         [BZ #19677]
4805         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4806         (__ieee754_remainderl): Put zero low parts in canonical form.
4807         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
4808         file.  Based on
4809         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
4810         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
4811         with wrapper round test-fmodrem-ldbl-128ibm.c.
4812         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
4813         file.
4814         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
4815         Likewise.
4816         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
4817         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
4819 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4821         [BZ #19610]
4822         * elf/ldconfig.c (opt_link): Update comment.
4823         (options): Update help string for option -X.
4824         (search_dir): Unlink stale symbolic link only if updating symbolic
4825         links.
4826         * elf/tst-ldconfig-X.sh: New file.
4827         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
4828         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
4830 2016-03-07  Andreas Schwab  <schwab@suse.de>
4832         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
4833         needed arguments.
4835 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
4837         [BZ #15333]
4838         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
4839         to lstat64.
4841 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4843         * libio/filedoalloc.c (isatty): Remove.
4844         (local_isatty): Add comment.  Call __isatty directly.
4845         (_IO_file_doallocate): Update comment.  Assume _LIBC.
4846         * libio/wfiledoalloc.c (isatty): Remove.
4847         (_IO_wfile_doallocate): Update comment.
4849 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4851         [BZ #19269]
4852         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
4853         tst-audit4-aux.o.
4854         (tst-audit10): Depend on tst-audit10-aux.o.
4855         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
4856         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
4857         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
4858         instead of inline AVX code.
4859         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
4860         instead of inline AVX512 code.
4861         * sysdeps/x86_64/tst-audit4-aux.c: New file
4862         * sysdeps/x86_64/tst-audit10-aux.c: New file
4864         [BZ #19648]
4865         * test-skeleton.c (main): Do not set RLIMIT_DATA.
4867 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4869         [BZ #14750]
4870         [BZ #10354]
4871         [BZ #18433]
4872         * include/sched.h (__clone): Add hidden prototype.
4873         (__clone2): Likewise.
4874         * include/unistd.h (__dup): Likewise.
4875         * posix/Makefile (tests): Add tst-spawn2.
4876         * posix/tst-spawn2.c: New file.
4877         * sysdeps/posix/dup.c (__dup): Add hidden definition.
4878         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
4879         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4880         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4881         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4882         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4883         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
4884         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4885         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
4886         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4887         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4889         Likewise.
4890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4891         Likewise.
4892         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4893         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4894         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4895         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4896         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4897         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4898         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4899         * sysdeps/unix/sysv/linux/nptl-signals.h
4900         (____nptl_is_internal_signal): New function.
4901         * sysdeps/unix/sysv/linux/spawni.c: New file.
4903         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
4904         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
4905         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
4906         * posix/tst-execvp2.c (do_test): Likewise.
4907         * posix/tst-execvp3.c (do_test): Likewise.
4908         * posix/tst-execvp4.c (do_test): Likewise.
4909         * posix/tst-execvpe1.c: New file.
4910         * posix/tst-execvpe2.c: Likewise.
4911         * posix/tst-execvpe3.c: Likewise.
4912         * posix/tst-execvpe4.c: Likewise.
4913         * posix/tst-execvpe5.c: Likewise.
4914         * posix/tst-execvpe6.c: Likewise.
4916         [BZ #19534]
4917         * posix/execl.c (execl): Remove dynamic memory allocation.
4918         * posix/execle.c (execle): Likewise.
4919         * posix/execlp.c (execlp): Likewise.
4921 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4923         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
4924         Replace .text with .text.avx512.
4925         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4926         Likewise.
4928 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
4930         * sysdeps/generic/libnsl.abilist: New file.
4931         * sysdeps/generic/libutil.abilist: New file.
4933 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4935         [BZ #19762]
4936         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
4937         HAS_ARCH_FEATURE with Fast_Rep_String.
4938         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
4939         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
4940         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
4941         Likewise.
4942         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
4943         Likewise.
4944         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
4945         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
4946         Likewise.
4947         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
4948         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
4949         Likewise.
4951 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4953         [BZ #19745]
4954         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
4955         with *%rax in call.
4957 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4959         [BZ #19745]
4960         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
4961         with *__libc_start_main@GOTPCREL(%rip) in call.
4963 2016-03-04  Roland McGrath  <roland@hack.frob.com>
4965         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
4966         inside conditional for nonempty $(CXX).
4968         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
4969         nonempty.
4971         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
4972         to test for empty $(CXX) rather than $(CXX) of "no".
4974 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4976         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
4978 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
4979             H.J. Lu  <hongjiu.lu@intel.com>
4981         [BZ #18880]
4982         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
4983         instead of Slow_BSF, and also check for Fast_Copy_Backward to
4984         enable __memcpy_ssse3_back.
4986 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4988         [BZ #19758]
4989         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4990         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
4992 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4994         [BZ #19490]
4995         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
4996         (__fentry__): Likewise.
4998 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5000         * gmon/Makefile (noprof): Add $(sysdep_noprof).
5001         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
5003 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5005         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
5006         __mcount_internal directly.
5007         (C_LABEL(__fentry__)): Likewise.
5008         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
5009         directly.
5011 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5013         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5014         (__start_context): Call __setcontext directly.
5016 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
5018         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5019         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5020         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
5021         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5022         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5023         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5024         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
5025         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5026         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5027         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
5028         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5029         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5030         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5031         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5032         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5033         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5034         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
5035         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5036         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5037         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5038         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
5039         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5040         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5041         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5042         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
5043         Remove conditional code.
5044         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5045         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
5046         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5047         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5048         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
5049         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5050         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5051         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5052         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5053         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5054         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5055         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5057 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
5059         * NEWS (2.23): Fix typo in bug 19048 text.
5061 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
5063         [BZ #14259]
5064         * Makeconfig: Rename msgcatdir to localedir.
5065         Rename inst_msgcatdir to inst_localedir.
5066         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
5067         * config.make.in: Add localedir.
5068         * elf/Makefile ($(objpfx)sotruss): Use localedir.
5069         (ldd-rewrite): Likewise.
5070         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
5071         (install-others): Use inst_localedir.
5072         (CPPFLAGS): Use localedir.
5073         * locale/Makefile (locale-CPPFLAGS): Likewise.
5074         * po/Makefile (mo-installed): Use inst_localedir.
5076         [BZ #19575]
5077         * localedata/charmaps/GB18030: Update comments regarding PAU to
5078         non-PUA mappings.
5080 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
5082         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
5083         test for header.
5084         * sysdeps/unix/sysv/linux/configure: Regenerated.
5085         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
5086         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
5087         Remove conditional code.
5088         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
5090         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5091         Define to 3.2.0.
5092         (arch_minimum_kernel): Likewise.
5093         * sysdeps/unix/sysv/linux/configure: Regenerated.
5094         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5095         Define to 2.6.32.
5096         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5097         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5098         (arch_minimum_kernel): Define to 2.6.32.
5099         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5100         * README: Document Linux 3.2 requirement.
5101         * manual/install.texi (Linux): Document Linux 3.2 headers
5102         requirement.
5103         * INSTALL: Regenerated.
5105 2016-02-24  Andreas Schwab  <schwab@suse.de>
5107         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
5108         if !NO_LONG_DOUBLE.
5110 2016-02-22  Roland McGrath  <roland@hack.frob.com>
5112         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
5113         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
5115 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
5117         [BZ #19512]
5118         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
5120 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5122         * posix/tst-dir.c: Include libc-internal.h.
5124 2016-02-20  Florian Weimer  <fweimer@redhat.com>
5126         [BZ #19056]
5127         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
5128         * manual/filesys.texi (Reading/Closing Directory): Mention
5129         deprecaion.
5130         * posix/tst-dir.c (main): Disable deprecation warning in test.
5132 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
5134         [BZ #19679]
5135         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
5136         Renamed to ...
5137         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
5138         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5139         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
5140         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5141         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5142         * sysdeps/x86_64/dl-trampoline.h
5143         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5144         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5146 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5148         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5150 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5152         * elf/elf.h (R_386_GOT32X): New.
5153         (R_386_NUM): Update.
5154         (R_X86_64_GOTPCRELX: New.
5155         (R_X86_64_REX_GOTPCRELX): New.
5156         (R_X86_64_NUM): Update.
5158 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
5160         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5162 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
5164         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5165         assign attr->stackaddr to it, and adjust it down when
5166         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
5167         [_STACK_GROWS_UP]: Delete assert.
5168         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5169         Implement stack grows up logic.
5170         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5171         stack grows up logic.
5173 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5175         * NEWS: Update with 2.24 template.
5177 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5179         [BZ #19678]
5180         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5181         Ensure +0.0 is returned when taking the next value below the least
5182         positive value.
5184 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5186         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
5187         available.  Do not define NO_THREADS.
5188         * malloc/malloc.c: Do not check NO_THREADS.
5189         * malloc/arena.c: Likewise.
5191 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5193         * malloc/malloc.c (__libc_mallinfo): Update comment.
5194         (struct malloc_par): Remove max_total_mem member, it was always 0.
5195         (int_mallinfo): Store 0 into usmblks (no functional change).
5196         * malloc/hooks.c (struct malloc_state): Document that
5197         max_total_mem is always 0.
5198         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
5199         always 0.
5200         * manual/memory.texi (Statistics of Malloc): Likewise.
5202 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5204         * malloc/malloc.c (sysmalloc): Do not update arena_max.
5205         * malloc/arena.c (arena_max): Remove.
5206         (heap_trim, _int_new_arena): Do not update arena_max.
5208 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5210         * resolv/res_init.c (res_ninit): Update comment.
5212 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5214         [BZ #19505]
5215         * posix/spawn_int.h: Add headers and include guard.
5216         (__spawn_valid_fd): New function.
5217         * posix/spawn_faction_addopen.c
5218         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
5219         * posix/spawn_faction_addclose.c
5220         (posix_spawn_file_actions_addclose): Likewise.
5221         * posix/spawn_faction_adddup2.c
5222         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
5223         second file descriptor.
5224         * posix/spawn_valid_fd.c: New file.
5225         * posix/tst-posix_spawn-fd.c: New file.
5226         * posix/Makefile (routines): Add spawn_valid_fd.
5227         (tests): Add tst-posix_spawn-fd.
5229 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5231         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
5232         (do_test): Limit the number of arenas, so that we can use fewer
5233         outer threads.  Limit timeout to 3 seconds, in preparation for a
5234         larger TIMEOUT value.
5236 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5238         [BZ #19674]
5239         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
5240         sign in overflowing and underflowing results when overflow or
5241         underflow is detected early.  Include sign in result before rather
5242         than after scaling.
5244         [BZ #19603]
5245         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5246         (__ieee754_remainderl): Adjust sign of integer version of low part
5247         when taking absolute value of high part.
5248         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5249         * math/libm-test.inc (remainder_test_data): Add another test.
5250         (remquo_test_data): Likewise.
5252 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
5254         [BZ #19602]
5255         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5256         equal high parts and both low parts zero specially.
5257         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
5258         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5259         Add test-fmodl-ldbl-128ibm.
5261         [BZ #19595]
5262         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5263         common logic for all cases of shifting subnormal results.  Do not
5264         insert sign bit in shifted mantissa.  Always pass -1023 as biased
5265         exponent to ldbl_insert_mantissa in subnormal case.
5267         [BZ #19594]
5268         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5269         on high and low parts then adjust result and use
5270         ldbl_canonicalize_int if needed.
5272         [BZ #19593]
5273         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5274         on high part and __floor or __ceil on low part then use
5275         ldbl_canonicalize_int if needed.
5277         [BZ #19592]
5278         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5279         high and low parts then use ldbl_canonicalize_int if needed.
5281         [BZ #17899]
5282         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5283         New function.
5284         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5285         on high and low parts then use ldbl_canonicalize_int if needed.
5287 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5289         * configure: Regenerated.
5291         * po/libc.pot: Regenerated.
5293         * po/be.po: Updated translation.
5294         * po/bg.po: Likewise.
5295         * po/ca.po: Likewise.
5296         * po/cs.po: Likewise.
5297         * po/da.po: Likewise.
5298         * po/el.po: Likewise.
5299         * po/eo.po: Likewise.
5300         * po/es.po: Likewise.
5301         * po/fi.po: Likewise.
5302         * po/fr.po: Likewise.
5303         * po/gl.po: Likewise.
5304         * po/hr.po: Likewise.
5305         * po/hu.po: Likewise.
5306         * po/ia.po: Likewise.
5307         * po/id.po: Likewise.
5308         * po/it.po: Likewise.
5309         * po/ja.po: Likewise.
5310         * po/lt.po: Likewise.
5311         * po/nb.po: Likewise.
5312         * po/nl.po: Likewise.
5313         * po/pt_BR.po: Likewise.
5314         * po/rw.po: Likewise.
5315         * po/sk.po: Likewise.
5316         * po/sl.po: Likewise.
5317         * po/sv.po: Likewise.
5318         * po/tr.po: Likewise.
5319         * po/zh_CN.po: Likewise.
5320         * po/zh_TW.po: Likewise.
5322         * version.h (RELEAES): Set to "development".
5323         (VERSION): Set to 2.23.90.
5325         * version.h (RELEASE): Set to "stable".
5326         (VERSION): Set to 2.23.
5327         * include/feature.h (__GLIBC_MINOR__): Set to 23.
5329         * NEWS: Updated fixed bugs.
5331 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
5332             Wilco Dijkstra  <wdijkstr@arm.com>
5334         [BZ #19462]
5335         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5336         (_STRING_INLINE_unaligned): This.
5337         * include/string.h: Include <string_private.h>.
5338         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
5339         _STRING_INLINE_unaligned.
5340         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
5341         (_STRING_INLINE_unaligned): New.
5342         * sysdeps/aarch64/string_private.h: New file.
5343         * sysdeps/generic/string_private.h: Likewise.
5344         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
5345         * sysdeps/s390/string_private.h: Likewise.
5346         * sysdeps/x86/string_private.h: Likewise.
5347         * sysdeps/m68k/m680x0/m68020/bits/string.h
5348         (_STRING_ARCH_unaligned): Renamed to ...
5349         (_STRING_INLINE_unaligned): This.
5350         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
5351         to ...
5352         (_STRING_INLINE_unaligned): This.
5353         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
5354         to ...
5355         (_STRING_INLINE_unaligned): This.
5356         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
5357         to ...
5358         (_STRING_INLINE_unaligned): This.
5360 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
5361             H.J. Lu  <hongjiu.lu@intel.com>
5363         [BZ #19590]
5364         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
5365         relocation.
5367 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
5369         [BZ #18665]
5370         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
5371         *herrno_p.
5372         (gaih_getanswer): Document functional behviour. Return tryagain
5373         if any result is tryagain.
5374         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
5375         when freed.
5376         * resolv/res_send.c: Add copyright text.
5377         (__libc_res_nsend): Document that MAXPACKET is expected.
5378         (send_vc): Document. Remove buffer reuse.
5379         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
5380         size of the buffer. Add Dprint for truncated UDP buffer.
5382 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
5384         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
5385         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
5386         * INSTALL: Regenerate.
5388 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
5389             Jonathan Wakely  <jwakely@redhat.com>
5390             Carlos O'Donell  <carlos@redhat.com>
5392         [BZ 19439]
5393         * math/Makefile (tests): Add test-math-isinff.
5394         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
5395         * math/bits/mathcalls.h [__USE_MISC]: Use
5396         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
5397         functions not in C++11 and which don't conflict e.g. isinff,
5398         isinfl etc.
5399         * math/test-math-isinff.cc: New file.
5401 2016-02-12  Florian Weimer  <fweimer@redhat.com>
5403         * misc/bug18240.c (do_test): Set RLIMIT_AS.
5405 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5407         [BZ #19529]
5408         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
5410 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5412         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5414 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
5416         [BZ #19550]
5417         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
5418         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
5419         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
5420         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
5421         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
5422         New syscall entry.
5423         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
5424         New syscall entry.
5425         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
5426         syscall entry.
5428 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
5430         [BZ #18240]
5431         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
5432         unsigned int wraparound.
5434 2016-01-27  Florian Weimer  <fweimer@redhat.com>
5436         [BZ #18240]
5437         * misc/bug18240.c: New test.
5438         * misc/Makefile (tests): Add it.
5440 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
5441             Joseph Myers  <joseph@codesourcery.com>
5443         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
5444         load in branch delay slot when less than a word of input left.
5446 2016-01-27  Andreas Schwab  <schwab@suse.de>
5448         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
5449         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
5450         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
5451         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
5453 2016-01-26  David S. Miller  <davem@davemloft.net>
5455         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
5457 2016-01-25  David S. Miller  <davem@davemloft.net>
5459         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
5460         __sqrtl_finite.
5461         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
5462         instead using versioned_symbol.
5463         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
5464         of entries.
5466         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
5467         __sqrtl_finite to GLIBC_2.23
5469 2016-01-25  Ricchard Henderson  <rth@redhat.com>
5471         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5473 2016-01-25  Andreas Schwab  <schwab@suse.de>
5475         [BZ #17514]
5476         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
5477         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
5478         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
5479         * nptl/tst-mutex-errorcheck.c: New file.
5481 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5483         [BZ #18560]
5484         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
5485         (IPCOP_semop): Likewise.
5486         (IPCOP_semget): Likewise.
5487         (IPCOP_semctl): Likewise.
5488         (IPCOP_msgsnd): Likewise.
5489         (IPCOP_msgrcv): Likewise.
5490         (IPCOP_msgget): Likewise.
5491         (IPCOP_msgctl): Likewise.
5492         (IPCOP_shmat): Likewise.
5493         (IPCOP_shmdt): Likewise.
5494         (IPCOP_shmget): Likewise.
5495         (IPCOP_shmctl): Likewise.
5497 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5499         * string/tst-endian.c: Include <libc-internal.h>.
5500         (do_test): Ignore tautological-compare warnings around
5501         "htobeXX (beXXtoh (i)) != i" and
5502         "htoleXX (leXXtoh (i)) != i" if-statements.
5504 2016-01-24  David S. Miller  <davem@davemloft.net>
5506         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
5507         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
5508         alias.
5509         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5510         __sqrtl_finite.
5512         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5514 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
5516         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
5517         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
5518         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5520 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5522         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
5523         (thread_func): Use new function to simplify barrier check.
5524         (do_test): Use new function to simplify checking barrier exit
5525         code, and actually join the child thread.
5527 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5529         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
5530         semicolon.
5531         (__libc_tend): Likewise.
5532         (__libc_tabort): Likewise.
5534 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
5536         * sysdeps/nios2/libm-test-ulps: Update.
5537         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
5538         (__gtsf2): Likewise.
5539         (__unorddf2): Likewise.
5540         (__unordsf2): Likewise.
5541         (__ledf2): Likewise.
5543 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
5545         * nis/nis_table.c (__follow_path): Disable diagnostic for
5546         uninitialized variable that is a false positive for gcc 4.7.
5547         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
5549 2016-01-20  Roland McGrath  <roland@hack.frob.com>
5551         * sysdeps/nacl/lowlevellock-futex.h
5552         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
5553         Always evaluate PRIVATE argument.
5555 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
5557         [BZ #19490]
5558         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
5559         (pthread_cond_broadcast): Use ENTRY/END
5560         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
5561         (pthread_cond_signal): Likewise.
5562         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
5563         Likewise.
5564         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
5565         Likewise.
5566         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
5567         Likewise.
5569 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
5571         * sysdeps/ieee754/dbl-64/s_finite.c
5572         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
5573         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
5574         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
5575         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
5576         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
5578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5579         (__gtsf2): Add as optional for libc.so.
5580         (__unordsf2): Likewise.
5581         (__signbit): Remove for libc.so.
5582         (__signbitl): Likewise.
5584 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5586         * iconvdata/bug-iconv11.c (test_ibm93x):
5587         Use %zu printf format specifier for size_t argument.
5589 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
5591         * math/gen-libm-test.pl (parse_ulps): Do not reduce
5592         already-recorded ulps.
5593         * sysdeps/arm/libm-test-ulps: Regenerated.
5594         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5595         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5596         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5598 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5599             Paul Pluzhnikov  <ppluzhnikov@google.com>
5601         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
5602         assembler not supporting AVX-512.
5604 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5606         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5608 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
5610         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5611         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5613         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5615         * sysdeps/arm/libm-test-ulps: Regenerated.
5617 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
5619         [BZ #19451]
5620         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
5622 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
5624         [BZ #19486]
5625         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
5626         * sysdeps/generic/fix-fp-int-convert-overflow.h
5627         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
5628         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
5629         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
5630         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
5631         Likewise.
5632         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
5633         Avoid conversions to long int where inexact exceptions
5634         could be raised.
5635         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
5636         Likewise.
5637         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
5638         Avoid conversions to long long int where inexact exceptions
5639         could be raised.
5640         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
5641         Likewise.
5643 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
5645         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
5646         * configure: Regenerated.
5648 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5650         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
5652 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
5654         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
5655         outside of comment.
5657 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5659         * nptl/tst-barrier1.c: Add description on first line.
5660         * nptl/tst-barrier2.c: Likewise.
5661         * nptl/tst-barrier3.c: Likewise.
5662         * nptl/tst-barrier4.c: Likewise.
5663         * nptl/tst-barrier5.c: Likewise.
5665 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5667         [BZ #18868]
5668         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
5670 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5672         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
5673         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5674         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
5675         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
5676         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
5677         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
5678         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5679         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5680         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5681         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5682         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5684 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5686         [BZ #13065]
5687         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
5688         new implementation.
5689         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
5690         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
5691         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
5692         (BARRIER_IN_THRESHOLD): New macro.
5693         * nptl/pthread_barrierattr_setpshared.c
5694         (pthread_barrierattr_setpshared): Clean up.
5695         * nptl/tst-barrier4.c: Correct comment.
5696         * nptl/tst-barrier5.c: New file.
5697         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
5698         (gen-as-const-headers): Remove lowlevelbarrier.sym.
5699         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
5700         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
5701         * nptl/lowlevelbarrier.sym: Remove.
5702         * nptl/DESIGN-barrier.txt: Remove.
5703         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
5704         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
5705         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
5706         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
5707         error.
5708         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
5709         implementation.
5711 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5713         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
5714         (do_child): Mask SIGRTMIN while thr is running.
5716 2016-01-15  Martin Sebor  <msebor@redhat.com>
5718         [BZ #19432]
5719         * iconvdata/Makefile: Add bug-iconv11.
5720         * iconvdata/bug-iconv11.c: New test.
5721         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
5722         * iconvdata/ibm933.c: Same.
5723         * iconvdata/ibm935.c: Same.
5724         * iconvdata/ibm937.c: Same.
5725         * iconvdata/ibm939.c: Same.
5727 2016-01-15  Martin Sebor  <msebor@redhat.com>
5729         [BZ #19443]
5730         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
5731         [DEBUG] (_ufc_set_bits): Declare used.
5732         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
5733         [DEBUG] (print_all): Declare used.
5734         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
5735         operands of the ternary ?: expression to target type.
5736         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
5737         calling the undeclared abort.
5738         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
5740 2016-01-15  Martin Sebor  <msebor@redhat.com>
5742         [BZ #18755]
5743         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
5744         warnings.
5745         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
5746         (__gai_create_helper_thread): Same.
5747         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
5748         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
5749         to suppress -Wmaybe-uninitialized warnings.
5751 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
5753         [BZ #19465]
5754         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
5755         inside if.
5756         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5757         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5758         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5760 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
5762         [BZ #19466]
5763         * time/tst-mktime2.c (time_t_max): Removed.
5764         (time_t_min): Likewise.
5765         (TYPE_SIGNED): New.
5766         (TYPE_MINIMUM): Likewise.
5767         (TYPE_MAXIMUM): Likewise.
5768         (TIME_T_MIN): Likewise.
5769         (TIME_T_MAX): Likewise.
5770         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
5771         and TIME_T_MIN.
5772         (do_test): Likewise.
5774 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
5776         [BZ #19467]
5777         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5778         index_Fast_Unaligned_Load flag for Excavator family CPUs.
5780 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
5782         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
5784 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
5786         * benchtests/Makefile (PYTHON): Define.
5787         (bench-func): Use $(PYTHON) to run python scripts.
5788         ($(objpfx)bench-%.c): Likewise.
5790 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
5792         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
5793         leading slash when `file_name' is "/".
5795 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
5797         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
5798         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
5799         Likewise.
5800         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
5801         Likewise.
5802         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
5803         Likewise.
5804         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
5805         enum constant and macro.
5806         (PTRACE_SETSIGMASK): Likewise.
5807         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5808         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5809         (PTRACE_GETSIGMASK): Likewise.
5810         (PTRACE_SETSIGMASK): Likewise.
5811         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5812         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
5813         Likewise.
5814         (PTRACE_SETSIGMASK): Likewise.
5815         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5816         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5817         (PTRACE_GETSIGMASK): Likewise.
5818         (PTRACE_SETSIGMASK): Likewise.
5819         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5820         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
5821         Likewise.
5822         (PTRACE_SETSIGMASK): Likewise.
5823         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5824         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
5825         Likewise.
5826         (PTRACE_SETSIGMASK): Likewise.
5827         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5828         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
5829         Likewise.
5830         (PTRACE_SETSIGMASK): Likewise.
5831         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5833 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
5834             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5836         [BZ #19439]
5837         * math/bits/mathcalls.h
5838         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
5839         prototype.
5840         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
5842 2016-01-11  Andreas Schwab  <schwab@suse.de>
5844         [BZ #19253]
5845         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
5846         cache when TZDEFRULES was used.
5847         * time/tst-tzname.c: New file.
5848         * time/Makefile (test): Add tst-tzname.
5849         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
5850         * timezone/Makefile (test-zones): Add $(posixrules-file).
5851         ($(testdata)/$(posixrules-file)): New rule.
5853 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
5855         Fix doc quoting problems with Texinfo 5
5856         Without this change, in the info file output, Texinfo 5 quotes code
5857         in text with undirected single quotes 'like this' and generates
5858         code examples that with many PDF readers cannot be cut out of PDFs
5859         and pasted into code.
5860         * manual/libc.texinfo: Configure the libc manual like the GNU
5861         Emacs manual, by using @documentencoding and setting
5862         txicodequoteundirected and txicodequotebacktick.  This way,
5863         Texinfo 5 quotes code in text with directed single quotes ‘like
5864         this’ and produces examples that can be cut out of PDFs.  This
5865         change causes Texinfo 5 to generate info files that contain UTF-8
5866         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
5867         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
5869 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5871         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
5872         __libc_tabort, __libc_tend): New wrappers that enforce compiler
5873         barriers to their respective compiler built-ins.
5874         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
5875         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
5876         * sysdeps/powerpc/sysdep.h: Likewise.
5877         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
5878         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
5879         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
5881 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
5883         * scripts/config.guess: Revert previous shebang change.
5884         * scripts/config.sub: Likewise.
5885         * scripts/mkinstalldirs: Likewise.
5887 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5889         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
5890         PPC_FEATURE2_HAS_IEEE128.
5891         * sysdeps/powerpc/dl-procinfo.c:
5892         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
5894 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
5896         [BZ #19415]
5897         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
5898         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
5899         (_dl_lookup_address): Rewrite using function resolver trampoline.
5900         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
5901         two bits in address.
5903 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5905         * longlong.h: Change !__SHMEDIA__ to
5906         (!defined (__SHMEDIA__) || !__SHMEDIA__).
5907         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
5909 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
5910             Joseph Myers  <joseph@codesourcery.com>
5911             Mark Shinwell  <shinwell@codesourcery.com>
5912             Andrew Stubbs  <ams@codesourcery.com>
5913             Rich Felker <dalias@libc.org>
5915         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
5917 2016-01-07  Richard Henderson  <rth@redhat.com>
5919         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
5921 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5923         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
5924         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
5925         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5926         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5927         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
5929 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
5930             Joseph Myers  <joseph@codesourcery.com>
5932         * timezone/private.h: Update from tzcode 2015g.
5933         * timezone/tzfile.h: Likewise.
5934         * timezone/tzselect.ksh: Likewise.
5935         * timezone/zdump.c: Likewise.
5936         * timezone/zic.c: Likewise.
5937         * timezone/ialloc.c: Remove file.
5938         * timezone/scheck.c: Likewise.
5939         * timezone/Makefile (extra-objs): Remove variable.
5940         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
5941         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
5942         -Wno-maybe-uninitialized.
5943         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
5944         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
5945         (CFLAGS-ialloc.c): Remove variable.
5946         (CFLAGS-scheck.c): Likewise.
5947         * timezone/README: Update list of files from tzcode.
5949 2016-01-07  Khem Raj  <raj.khem@gmail.com>
5951         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
5952         instead of __fxprintf when _LIBC is undefined.
5954 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
5956         * catgets/test-gencat.sh: Remove space after shebang.
5957         * conform/GlibcConform.pm: Likewise.
5958         * conform/check-header-lists.sh: Likewise.
5959         * conform/conformtest.pl: Likewise.
5960         * conform/linknamespace.pl: Likewise.
5961         * conform/list-header-symbols.pl: Likewise.
5962         * debug/catchsegv.sh: Likewise.
5963         * elf/genrtldtbl.awk: Likewise.
5964         * elf/tst-pathopt.sh: Likewise.
5965         * elf/tst-rtld-load-self.sh: Likewise.
5966         * grp/tst_fgetgrent.sh: Likewise.
5967         * iconvdata/gen-8bit-gap-1.sh: Likewise.
5968         * iconvdata/gen-8bit-gap.sh: Likewise.
5969         * iconvdata/gen-8bit.sh: Likewise.
5970         * iconvdata/run-iconv-test.sh: Likewise.
5971         * intl/tst-gettext.sh: Likewise.
5972         * intl/tst-gettext2.sh: Likewise.
5973         * intl/tst-gettext4.sh: Likewise.
5974         * intl/tst-gettext6.sh: Likewise.
5975         * intl/tst-translit.sh: Likewise.
5976         * io/ftwtest-sh: Likewise.
5977         * libio/test-freopen.sh: Likewise.
5978         * locale/gen-translit.pl: Likewise.
5979         * malloc/tst-mtrace.sh: Likewise.
5980         * manual/check-safety.sh: Likewise.
5981         * manual/libc-texinfo.sh: Likewise.
5982         * manual/tsort.awk: Likewise.
5983         * manual/xtract-typefun.awk: Likewise.
5984         * nptl/tst-cancel-wrappers.sh: Likewise.
5985         * nptl/tst-tls6.sh: Likewise.
5986         * posix/globtest.sh: Likewise.
5987         * posix/tst-getconf.sh: Likewise.
5988         * posix/wordexp-tst.sh: Likewise.
5989         * scripts/check-c++-types.sh: Likewise.
5990         * scripts/check-local-headers.sh: Likewise.
5991         * scripts/config.guess: Likewise.
5992         * scripts/config.sub: Likewise.
5993         * scripts/cpp: Likewise.
5994         * scripts/cross-test-ssh.sh: Likewise.
5995         * scripts/documented.sh: Likewise.
5996         * scripts/evaluate-test.sh: Likewise.
5997         * scripts/gen-libc-abis: Likewise.
5998         * scripts/gen-sorted.awk: Likewise.
5999         * scripts/list-fixed-bugs.py: Likewise.
6000         * scripts/merge-test-results.sh: Likewise.
6001         * scripts/mkinstalldirs: Likewise.
6002         * scripts/rellns-sh: Likewise.
6003         * scripts/test-installation.pl: Likewise.
6004         * scripts/update-copyrights: Likewise.
6005         * stdio-common/tst-printf.sh: Likewise.
6006         * stdio-common/tst-unbputc.sh: Likewise.
6007         * stdlib/tst-fmtmsg.sh: Likewise.
6008         * stdlib/tst-setcontext3.sh: Likewise.
6009         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
6010         * sysdeps/unix/make-syscalls.sh: Likewise.
6012 2016-01-06  John David Anglin  <dave.anglin@bell.net>
6014         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
6015         asm stw with atomic_exchange_rel.  Add explanatory comment.
6016         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
6017         Likewise.
6019 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6021         [BZ #19122]
6022         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
6023         * sysdeps/generic/dl-unistd.h: New file.
6024         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
6026 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6028          [BZ #19122]
6029          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
6030          * sysdeps/generic/dl-mman.h: New file.
6031          * sysdeps/mach/hurd/dl-mman.h: Likewise.
6033 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
6035         * manual/texinfo.tex: Update to version 2016-01-04.21 with
6036         trailing whitespace removed.
6037         * scripts/config.guess: Update to version 2016-01-01.
6038         * scripts/config.sub: Update to version 2016-01-01.
6039         * scripts/move-if-change: Update from gnulib.
6041 2016-01-04  Anton Blanchard  <anton@samba.org>
6043         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
6044         for array indices.
6045         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
6047 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
6049         * NEWS: Update copyright dates.
6050         * catgets/gencat.c (print_version): Likewise.
6051         * csu/version.c (banner): Likewise.
6052         * debug/catchsegv.sh: Likewise.
6053         * debug/pcprofiledump.c (print_version): Likewise.
6054         * debug/xtrace.sh (do_version): Likewise.
6055         * elf/ldconfig.c (print_version): Likewise.
6056         * elf/ldd.bash.in: Likewise.
6057         * elf/pldd.c (print_version): Likewise.
6058         * elf/sotruss.sh: Likewise.
6059         * elf/sprof.c (print_version): Likewise.
6060         * iconv/iconv_prog.c (print_version): Likewise.
6061         * iconv/iconvconfig.c (print_version): Likewise.
6062         * locale/programs/locale.c (print_version): Likewise.
6063         * locale/programs/localedef.c (print_version): Likewise.
6064         * login/programs/pt_chown.c (print_version): Likewise.
6065         * malloc/memusage.sh (do_version): Likewise.
6066         * malloc/memusagestat.c (print_version): Likewise.
6067         * malloc/mtrace.pl: Likewise.
6068         * manual/libc.texinfo: Likewise.
6069         * nptl/version.c (banner): Likewise.
6070         * nscd/nscd.c (print_version): Likewise.
6071         * nss/getent.c (print_version): Likewise.
6072         * nss/makedb.c (print_version): Likewise.
6073         * posix/getconf.c (main): Likewise.
6074         * scripts/test-installation.pl: Likewise.
6075         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6077         * All files with FSF copyright notices: Update copyright dates
6078         using scripts/update-copyrights.
6079         * intl/plural.c: Regenerated.
6080         * locale/programs/charmap-kw.h: Likewise.
6081         * locale/programs/locfile-kw.h: Likewise.
6083 2016-01-02  Helge Deller  <deller@gmx.de>
6085         [BZ #19285]
6086         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
6087         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6088         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
6089         (MADV_xxK_PAGES): Remove.
6091 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
6093         [BZ #15421]
6094         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
6095         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
6096         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
6097         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
6099 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
6101         [BZ #19408]
6102         * sysdeps/unix/sysv/linux/personality.c: New file.
6103         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6104         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
6105         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
6106         (sysdep_routines): Add personality.
6107         (tests): Add tst-personality.
6108         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
6109         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
6110         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
6111         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
6112         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
6113         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
6114         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
6115         Likewise.
6116         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
6117         Likewise.
6118         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
6119         Likewise.
6120         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
6121         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
6122         Likewise.
6124 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
6126         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
6127         (PATH_ARM_SYSTYPE): Remove.
6128         (PATH_CPUINFO): Likewise.
6129         (IO_BASE_FOOTBRIDGE): Likewise.
6130         (IO_SHIFT_FOOTBRIDGE): Likewise.
6131         (struct platform): Likewise.
6132         (init_iosys): Remove compatibility code for 2.4 kernels.
6133         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
6135 2015-12-29  Florian Weimer  <fweimer@redhat.com>
6137         * malloc/tst-malloc-thread-fail.c: New file.
6138         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
6139         (tst-malloc-thread-fail): Link against libpthread.
6141 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
6143         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
6144         (get_parser): New function.
6145         (main): New function.
6147 2015-12-29  Rob Wu  <rob@robwu.nl>
6149         [BZ #19369]
6150         * resolv/res_init.c (__res_vinit): Reset defdname before use.
6152 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
6154         [BZ #19270]
6155         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6157 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
6159         [BZ #15421]
6160         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6162 2015-12-23  Torvald Riegel  <triegel@redhat.com>
6164         [BZ #13690]
6165         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6166         after releasing it.
6167         (__lll_robust_unlock): Likewise.
6168         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6169         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6170         (lll_robust_unlock): Likewise.
6171         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6172         Prevent warnings in callers.
6174 2015-12-23  Florian Weimer  <fweimer@redhat.com>
6176         * malloc/arena.c (list_lock): Update comment.
6178 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6180         * sysdeps/powerpc/hwcapinfo.c: Export symbol
6181         __parse_hwcap_and_convert_at_platform to libc.a.
6183 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6185         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
6186         platform and feature support for POWER9.
6187         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6188         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
6189         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
6190         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
6191         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
6192         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
6193         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
6194         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
6196 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6198         Harmonize generic stdio-lock support with nptl
6200         This fixes build when _IO_funlockfile is a macro, fixes build where
6201         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
6202         stack unwind.
6204         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
6205         _IO_release_lock ): Use cleanup attribute on new
6206         _IO_acquire_lock_file variable instead of assuming that
6207         _IO_release_lock will be called.
6208         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
6209         _IO_acquire_lock_needs_exceptions_enabled.
6210         (_IO_acquire_lock_clear_flags2): New macro.
6212 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6214         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6216 2015-12-21  Florian Weimer  <fweimer@redhat.com>
6218         [BZ #19182]
6219         * malloc/arena.c (list_lock): Document lock ordering requirements.
6220         (free_list_lock): New lock.
6221         (ptmalloc_lock_all): Comment on free_list_lock.
6222         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
6223         (detach_arena): Update comment.  free_list_lock is now needed.
6224         (_int_new_arena): Use free_list_lock around detach_arena call.
6225         Acquire arena lock after list_lock.  Add comment, including FIXME
6226         about incorrect synchronization.
6227         (get_free_list): Switch to free_list_lock.
6228         (reused_arena): Acquire free_list_lock around detach_arena call
6229         and attached threads counter update.  Add two FIXMEs about
6230         incorrect synchronization.
6231         (arena_thread_freeres): Switch to free_list_lock.
6232         * malloc/malloc.c (struct malloc_state): Update comments to
6233         mention free_list_lock.
6235 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6237         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
6238         Remove functions.
6239         (sloww, sloww1): Accept argument to offset quadrant.
6240         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
6241         quadrant.
6242         (__sin, __cos): Consolidate common code into new functions.
6243         (reduce_sincos_1, do_sincos_1): New functions.
6244         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6246         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
6247         code to new functions.
6248         (reduce_sincos_2, do_sincos_2): New functions.
6249         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6251         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
6252         common code for sincos.
6253         (__cos) [!IN_SINCOS]: Likewise.
6254         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
6255         New function.
6256         (__sincos): Use it.
6258 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
6260         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6261         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6262         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6264 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6266         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6267         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6268         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6269         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6270         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6271         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6272         index_Prefer_No_VZEROUPPER): New feature.
6273         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6274         Prefer_No_VZEROUPPER for Knights Landing.
6276 015-12-18  Torvald Riegel  <triegel@redhat.com>
6278         * math/atest-exp2.c (mp_exp_m1): Remove.
6280 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6282         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6283         syscalls.
6284         (__SYSCALL0): New macro.
6285         (__SYSCALL1): Likewise.
6286         (__SYSCALL2): Likewise.
6287         (__SYSCALL3): Likewise.
6288         (__SYSCALL4): Likewise.
6289         (__SYSCALL5): Likewise.
6290         (__SYSCALL6): Likewise.
6291         (__SYSCALL_CONCAT_X): Likewise.
6292         (__SYSCALL_CONCAT): Likewise.
6293         (__SYSCALL_DIST): Likewise.
6294         (__SYSCALL_CALL): Likewise.
6296 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
6298         [BZ #19363]
6299         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6301 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6303         [BZ #19375]
6304         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6305         negative subnormals.
6307 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
6309         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6310         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6311         (INTERNAL_SYSCALL_NCS): Use it.
6312         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6314 2015-12-16  Florian Weimer  <fweimer@redhat.com>
6316         [BZ #19243]
6317         * malloc/arena.c (get_free_list): Remove assert and adjust
6318         reference count handling.  Add comment about reused_arena
6319         interaction.
6320         (reused_arena): Add comments abount get_free_list interaction.
6321         * malloc/tst-malloc-thread-exit.c: New file.
6322         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6323         (tst-malloc-thread-exit): Link against libpthread.
6325 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6327         [BZ #19367]
6328         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6329         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6330         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6331         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6332         (index_Prefer_MAP_32BIT_EXEC): Likewise.
6334 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6336         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6337         Silvermont optimizations for Knights Landing.
6339 2015-12-15  Andreas Schwab  <schwab@suse.de>
6341         [BZ #17197]
6342         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
6343         immediately after emitting SI.
6344         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
6345         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
6346         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
6347         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
6348         * iconvdata/bug-iconv10.c: New file.
6349         * iconvdata/Makefile (tests): Add bug-iconv10.
6350         ($(objpfx)bug-iconv10.out): New rule.
6352 2015-12-15  Florian Weimer  <fweimer@redhat.com>
6354         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
6355         aliasing violation.
6357 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
6359         [BZ #18472]
6360         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
6361         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
6362         conditionals for them.
6363         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
6364         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
6365         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
6366         sys/kdaemon.h.
6367         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
6368         compat-only syscall, obsoleted in glibc 2.23.
6369         (create_module): Likewise.
6370         (get_kernel_syms): Likewise.
6371         (query_module): Likewise.
6372         (uselib): Likewise.
6373         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
6375 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
6377         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
6378         <linux/version.h>.
6379         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
6380         conditional code.
6381         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
6382         and ioshift_name initialization.
6384 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6386         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6387         Fix indentation.
6389 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6391         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
6393 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6395         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
6397 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
6398             Jakub Wilk  <jwilk@debian.org>
6400         [BZ #19347]
6401         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
6402         to change the group of the device to the tty group.
6404 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
6406         Split large string section; add truncation advice
6407         * manual/examples/strncat.c: Remove.
6408         This example was misleading, as the code would have undefined
6409         behavior if "hello" was longer than SIZE.  Anyway, the manual
6410         shouldn't encourage strncpy+strncat for this sort of thing.
6411         * manual/string.texi (Copying Strings and Arrays): Split into
6412         three sections Copying Strings and Arrays, Concatenating Strings,
6413         and Truncating Strings, as this section was way too long.  All
6414         cross-referenced changed.  Add advice about string-truncation
6415         functions.  Remove misleading strncat example.
6417 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
6419         * manual/nss.texi (NSS Modules Interface): Document
6420         NSS_STATUS_NOTFOUND and SUCCESS.
6422 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6424         [BZ 18568]
6425         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6426         201505L, for Unicode 8.
6428 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
6430         * locale/C-translit.h: Regenerate.
6432 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6434         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
6435         and U+0153.
6437 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
6439         [BZ #19351]
6440         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
6441         expanding log(1+z), compare z rather than its square with epsilon
6442         to determine when to avoid evaluating the expansion.
6444         [BZ #19350]
6445         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6446         Increase overflow threshold.
6448         [BZ #19349]
6449         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
6450         when small.
6452         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6453         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6454         New macro.
6455         [__LINUX_KERNEL_VERSION >= 0x040300]
6456         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6457         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6458         Likewise.
6459         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6460         Likewise.
6461         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6462         Likewise.
6463         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6464         Likewise.
6465         [__LINUX_KERNEL_VERSION >= 0x040300]
6466         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6467         [__LINUX_KERNEL_VERSION >= 0x040300]
6468         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6469         [__LINUX_KERNEL_VERSION >= 0x040300]
6470         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6471         [__LINUX_KERNEL_VERSION >= 0x040300]
6472         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6473         [__LINUX_KERNEL_VERSION >= 0x040300]
6474         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6475         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6476         Likewise.
6477         [__LINUX_KERNEL_VERSION >= 0x040300]
6478         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6479         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6480         Likewise.
6481         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6482         Likewise.
6483         [__LINUX_KERNEL_VERSION >= 0x040300]
6484         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6485         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6486         Likewise.
6487         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6488         Likewise.
6489         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6490         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
6491         Likewise.
6492         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
6493         Likewise.
6494         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6495         Likewise.
6496         [__LINUX_KERNEL_VERSION >= 0x040300]
6497         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6498         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6499         Likewise.
6500         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6501         Likewise.
6502         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6503         Likewise.
6504         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6505         Likewise.
6506         [__LINUX_KERNEL_VERSION >= 0x040300]
6507         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6508         [__LINUX_KERNEL_VERSION >= 0x040300]
6509         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6510         [__LINUX_KERNEL_VERSION >= 0x040300]
6511         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6512         [__LINUX_KERNEL_VERSION >= 0x040300]
6513         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6514         [__LINUX_KERNEL_VERSION >= 0x040300]
6515         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6516         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6517         Likewise.
6518         [__LINUX_KERNEL_VERSION >= 0x040300]
6519         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6520         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6521         Likewise.
6522         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6523         Likewise.
6524         [__LINUX_KERNEL_VERSION >= 0x040300]
6525         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6526         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6527         Likewise.
6528         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6529         Likewise.
6530         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6531         (__ASSUME_SOCKET_SYSCALL): Likewise.
6532         (__ASSUME_BIND_SYSCALL): Likewise.
6533         (__ASSUME_CONNECT_SYSCALL): Likewise.
6534         (__ASSUME_LISTEN_SYSCALL): Likewise.
6535         (__ASSUME_ACCEPT_SYSCALL): Likewise.
6536         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6537         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6538         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6539         (__ASSUME_SEND_SYSCALL): Likewise.
6540         (__ASSUME_SENDTO_SYSCALL): Likewise.
6541         (__ASSUME_RECV_SYSCALL): Likewise.
6542         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6543         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
6544         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6545         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6546         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6547         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6548         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6549         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
6550         Likewise.
6551         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
6552         Likewise.
6553         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
6554         Likewise.
6555         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
6556         Likewise.
6557         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
6558         Likewise.
6559         [__LINUX_KERNEL_VERSION >= 0x020625]
6560         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6561         [__LINUX_KERNEL_VERSION >= 0x020625]
6562         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6563         [__LINUX_KERNEL_VERSION >= 0x020625]
6564         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6565         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
6566         Likewise.
6567         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
6568         Likewise.
6569         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
6570         Likewise.
6571         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
6572         Likewise.
6573         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
6574         Likewise.
6575         [__LINUX_KERNEL_VERSION >= 0x020625]
6576         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6577         [__LINUX_KERNEL_VERSION >= 0x020625]
6578         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6579         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
6580         Likewise.
6581         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
6582         Likewise.
6584 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6586         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
6587         record the current if the current ABI and CPU support the FP64
6588         extension.
6589         (has-modd-spreg): Define to record the current if the current ABI and
6590         CPU support 32-bit floating point values in odd FPU registers.
6591         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6592         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
6593         $(has-modd-spreg) equals yes.
6594         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
6595         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
6596         $(has-modd-spreg) equal yes.
6598 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6600         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
6601         basename.
6603 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
6605         * benchtests/Makefile (bench-math): Move ffs and ffsll...
6606         (bench-string): ... here.
6607         (bench): Add bench-string.
6608         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
6609         to *-benchset to reflect what they are.
6610         (benchset): Adjust.
6612         * benchtests/sincos-inputs: Add inputs from sin-inputs and
6613         cos-inputs.
6615 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
6617         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
6618         __attribute__ ((__simd__)) for vector math function declarations.
6620 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6622         Fix typo in strncat, wcsncat manual entries
6623         * manual/string.texi (Copying and Concatenation): Fix typos in
6624         sample implementations of strncat and wcsncat, by having them use
6625         the old value of the destination length, not the new one.
6627 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
6629         [BZ #16961]
6630         [BZ #16962]
6631         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
6632         string on the stack for strtod.
6633         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
6634         a string on the stack for strtof.
6635         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
6636         constructing a string on the stack for strtold.
6637         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
6638         __strtold_nan to GLIBC_PRIVATE.
6639         * math/test-nan-overflow.c: New file.
6640         * math/test-nan-payload.c: Likewise.
6641         * math/Makefile (tests): Add test-nan-overflow and
6642         test-nan-payload.
6644 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6646         Consistency about byte vs character in string.texi
6647         * manual/string.texi (String and Array Utilities):
6648         Distinguish more carefully among bytes, multibyte characters,
6649         and wide characters.  Use "byte" when talking about C 'char',
6650         to distinguish it more clearly from multibyte characters.
6651         Say "wide character" or "multibyte character" instead of
6652         "character", when a wide or multibyte character is intended.
6653         Similarly for "multibyte string" versus "string".
6654         Define these terms more carefully.
6656 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
6658         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
6659         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
6660         Likewise.
6661         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6662         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6663         * sysdeps/sh/math_private.h: New file.
6664         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
6665         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
6666         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
6667         long double function name.
6668         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6669         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6670         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6671         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6672         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6674         Remove __finitel, __isinfl, and __isnanl.
6675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6676         Likewise.
6677         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6679         Remove __finitel.
6680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6681         Likewise.
6682         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6684 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
6686         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
6687         installed libmvec_nonshared.a.
6689 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6691         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
6692         (sysdep_routines): Likewise.
6693         (sysdep-rtld-routines): Likewise.
6694         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
6695         [$(subdir) = nptl](tests-static): test-get_hwcap-static
6696         * sysdeps/powerpc/Versions: Added new
6697         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
6698         * sysdeps/powerpc/hwcapinfo.c: New file.
6699         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
6700         and parse hwcap, hwcap2 and platform number information.
6701         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
6702         to store HWCAP+HWCAP2 and platform number.
6703         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
6704         for HWCAP+HWCAP2 and platform number in the TCB.
6705         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
6706         the HWCAP, HWCAP2 and platform number in the TCB.
6707         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
6708         (TLS_INIT_TP): Included calls to add the hwcap and
6709         at_platform values in the TCB in TP initialization.
6710         (TLS_DEFINE_INIT_TP): Likewise.
6711         (THREAD_GET_HWCAP): New macro.
6712         (THREAD_SET_HWCAP): Likewise.
6713         (THREAD_GET_AT_PLATFORM): Likewise.
6714         (THREAD_SET_AT_PLATFORM): Likewise.
6715         * sysdeps/powerpc/powerpc32/dl-machine.h:
6716         (dl_platform_init): New function that calls
6717         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
6718         powerpc32.
6719         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
6720         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
6721         this functionality, static linking case.
6722         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
6723         linking case.
6724         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
6725         __parse_hwcap_and_convert_at_platform for the static linking case.
6726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
6727         Included the new __parse_hwcap_and_convert_at_platform symbol in the
6728         ABI list for GLIBC 2.23.
6729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
6730         Likewise.
6731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
6732         Likewise.
6734 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
6736         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
6737         * configure: Regenerate.
6738         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
6739         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
6741 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
6743         * iconvdata/ibm930.c: Add comment explaining encoding uses.
6744         * iconvdata/ibm933.c: Likewise.
6745         * iconvdata/ibm935.c: Likewise.
6746         * iconvdata/ibm937.c: Likewise.
6747         * iconvdata/ibm939.c: Likewise.
6749 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6751         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
6752         pthread_join.
6753         * nptl/tst-cancel21.c (tf): Likewise.
6755 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
6757         [BZ #19313]
6758         * bits/typesizes.h (__CPU_MASK_TYPE): New.
6759         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6760         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6761         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
6762         Likewise.
6763         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
6764         Likewise.
6765         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
6766         Likewise.
6767         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
6768         Likewise.
6769         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
6770         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
6771         unsigned long int with __CPU_MASK_TYPE.
6773 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6775         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6777 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
6779         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
6780         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
6781         t512.x.
6782         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
6784 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
6786         [BZ #19214]
6787         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
6788         argument to return extended model.  Update family and model
6789         with extended family and model when family == 0x0f.
6790         (init_cpu_features): Updated.
6792 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6794         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
6795         signed off_t, so 32bit bigger than 2GiB values are fine actually.
6797         * sysdeps/mach/hurd/mmap64.c: New file.
6799 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
6801         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
6802         rights for its main user thread in NEWTASK.
6804 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
6806         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
6807         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
6809 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
6811         [BZ #14259]
6812         * Makeconfig: Rename localedir to complocaledir.
6813         Rename inst_localedir to inst_complocaledir.
6814         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
6815         * config.make.in: Use complocaledir and libc_cv_complocaledir.
6816         * configure.ac: Use libc_cv_complocaledir.
6817         * configure: Regenerate.
6818         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
6819         -DCOMPLOCALEDIR.
6820         * locale/findlocale.c: Use COMPLOCALEDIR.
6821         * locale/loadarchive.c: Likewise.
6822         * locale/programs/locale.c: Likewise.
6823         * locale/programs/localedef.c: Likewise.
6824         * locale/programs/locarchive.c: Likewise.
6825         * localedata/Makefile: Use inst_complocaledir.
6826         * sysdeps/gnu/configure: Regenerate.
6827         * sysdeps/hppa/configure: Regenerate.
6828         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
6829         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6831         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
6832         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
6833         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
6834         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
6836 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
6838         [BZ #19058]
6839         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
6840         AS_NEEDED.
6841         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
6842         workaround.
6843         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
6844         libmvec-static-only-routines): Added new file.
6845         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
6847 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6849         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
6850         of interrupted RPC instead of restoring it.
6852         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
6853         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
6854         libc_hidden_def.
6855         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
6856         into initialized data instead of common. Define rtld_hidden_data_def.
6857         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
6858         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
6859         libc_hidden_def.
6860         (if_freenameindex): Add libc_hidden_weak.
6861         (if_nameindex): Add libc_hidden_weak.
6862         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
6863         __open64.
6864         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
6865         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
6866         * sysdeps/mach/nanosleep.c: Include <time.h>
6867         (__nanosleep): Rename to __libc_nanosleep.
6868         (__nanosleep): Add weak_alias.
6869         (nanosleep): Update alias.
6871 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
6873         * stdlib/strtod_nan.c: New file.
6874         * stdlib/strtod_nan_double.h: Likewise.
6875         * stdlib/strtod_nan_float.h: Likewise.
6876         * stdlib/strtod_nan_main.c: Likewise.
6877         * stdlib/strtod_nan_narrow.h: Likewise.
6878         * stdlib/strtod_nan_wide.h: Likewise.
6879         * stdlib/strtof_nan.c: Likewise.
6880         * stdlib/strtold_nan.c: Likewise.
6881         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
6882         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
6883         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
6884         * wcsmbs/wcstod_nan.c: Likewise.
6885         * wcsmbs/wcstof_nan.c: Likewise.
6886         * wcsmbs/wcstold_nan.c: Likewise.
6887         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
6888         strtold_nan.
6889         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
6890         wcstof_nan.
6891         * include/stdlib.h (__strtof_nan): Declare and use
6892         libc_hidden_proto.
6893         (__strtod_nan): Likewise.
6894         (__strtold_nan): Likewise.
6895         (__wcstof_nan): Likewise.
6896         (__wcstod_nan): Likewise.
6897         (__wcstold_nan): Likewise.
6898         * include/wchar.h (____wcstoull_l_internal): Declare.
6899         * stdlib/strtod_l.c: Do not include <ieee754.h>.
6900         (____strtoull_l_internal): Remove declaration.
6901         (STRTOF_NAN): Define macro.
6902         (SET_MANTISSA): Remove macro.
6903         (STRTOULL): Likewise.
6904         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
6905         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
6906         (STRTOF_NAN): Define macro.
6907         (SET_MANTISSA): Remove macro.
6908         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
6909         (SET_MANTISSA): Remove macro.
6910         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
6911         macro.
6912         (SET_MANTISSA): Remove macro.
6913         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
6914         macro.
6915         (SET_MANTISSA): Remove macro.
6916         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
6917         (SET_MANTISSA): Remove macro.
6918         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
6919         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
6920         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
6922         [BZ #19266]
6923         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
6924         upper case and lower case letters inside NAN(), not using TOLOWER.
6925         * stdlib/tst-strtod-nan-locale-main.c: New file.
6926         * stdlib/tst-strtod-nan-locale.c: Likewise.
6927         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
6928         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
6929         Depend on $(gen-locales).
6930         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
6931         * wcsmbs/tst-wcstod-nan-locale.c: New file.
6932         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
6933         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
6934         Depend on $(gen-locales).
6935         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
6937 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
6939         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
6941         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
6943         __finitel, __isinfl, and __isnanl.
6944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6945         Likewise.
6946         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
6948         __finitel.
6949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6950         Likewise.
6951         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6953 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6955         * malloc/memusage.c (me): Remove redundant getenv call.
6957 2015-10-24  Florian Weimer  <fweimer@redhat.com>
6959         [BZ #19143]
6960         [BZ #19164]
6961         * nptl/check-cpuset.h: Remove.
6962         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6963         Remove CPU set size check.
6964         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6965         Likewise.
6966         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
6967         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6968         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
6969         (__pthread_setaffinity_new): Remove CPU set size check.
6970         * sysdeps/unix/sysv/linux/sched_setaffinity.c
6971         (__kernel_cpumask_size): Remove.
6972         (__sched_setaffinity_new): Remove CPU set size check.
6973         * manual/threads.texi (Default Thread Attributes): Remove stale
6974         reference to check_cpuset_attr, determine_cpumask_size in comment.
6975         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
6976         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
6977         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
6978         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
6979         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
6980         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
6981         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
6982         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
6983         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
6984         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
6985         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
6986         skeleton test file.
6987         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
6988         tst-affinity-pid.
6990 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6992         * scripts/update-abilist.sh: New file.
6993         * Makefile (+subdir_targets): Add subdir_update-all-abi.
6994         * Makerules (update-all-abi-%, update-all-abi)
6995         (subdir_update-all-abi): New targets.
6996         * elf/Makefile (update-all-abi): New target.
6998 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7000         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
7001         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
7002         (__libc_lock_define_initialized): Use it.
7003         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
7004         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
7005         * malloc/malloc.c (main_arena): Likewise.
7006         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7007         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7009 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
7011         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7012         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
7013         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7014         (PTRACE_O_MASK): Update value.
7015         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
7016         New value in enum __ptrace_setoptions.
7017         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7018         (PTRACE_O_MASK): Update value.
7019         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7020         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7021         (PTRACE_O_MASK): Update value.
7022         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
7023         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7024         (PTRACE_O_MASK): Update value.
7025         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
7026         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7027         (PTRACE_O_MASK): Update value.
7028         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
7029         New value in enum __ptrace_setoptions.
7030         (PTRACE_O_MASK): Update value.
7031         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
7032         New value in enum __ptrace_setoptions.
7033         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7034         (PTRACE_O_MASK): Update value.
7036         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
7037         New macro.
7038         (PACKET_AUXDATA): Likewise.
7039         (PACKET_ORIGDEV): Likewise.
7040         (PACKET_VERSION): Likewise.
7041         (PACKET_HDRLEN): Likewise.
7042         (PACKET_RESERVE): Likewise.
7043         (PACKET_TX_RING): Likewise.
7044         (PACKET_LOSS): Likewise.
7045         (PACKET_VNET_HDR): Likewise.
7046         (PACKET_TX_TIMESTAMP): Likewise.
7047         (PACKET_TIMESTAMP): Likewise.
7048         (PACKET_FANOUT): Likewise.
7049         (PACKET_TX_HAS_OFF): Likewise.
7050         (PACKET_QDISC_BYPASS): Likewise.
7051         (PACKET_ROLLOVER_STATS): Likewise.
7052         (PACKET_FANOUT_DATA): Likewise.
7053         (PACKET_MR_UNICAST): Likewise.
7055         [BZ #19242]
7056         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
7057         (TOUPPER): Likewise.
7058         * stdlib/tst-strtol-locale-main.c: New file.
7059         * stdlib/tst-strtol-locale.c: Likewise.
7060         * stdlib/Makefile (tests): Add tst-strtol-locale.
7061         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
7062         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
7063         Depend on $(gen-locales).
7064         * wcsmbs/tst-wcstol-locale.c: New file.
7065         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
7066         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
7067         tr_TR.ISO-8859-9.
7068         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
7069         Depend on $(gen-locales).
7071 2015-11-20  Roland McGrath  <roland@hack.frob.com>
7073         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
7074         __glibc_likely instead of __builtin_expect.  After falling back to
7075         dyncode_create in a non-ET_DYN case, use the allocate_code_data
7076         system interface to register the code pages as occupied.
7078 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
7080         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7081         [!ARM_MATH_PRIVATE_H].
7082         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
7083         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7084         [!HPPA_MATH_PRIVATE_H].
7085         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
7086         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
7087         to [!I386_MATH_PRIVATE_H].
7088         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
7089         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
7090         Change guard to [!M68K_MATH_PRIVATE_H].
7091         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
7092         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
7093         guard to [!MICROBLAZE_MATH_PRIVATE_H].
7094         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
7095         macro.
7096         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7097         [!MIPS_MATH_PRIVATE_H].
7098         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
7099         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7100         [!NIO2_MATH_PRIVATE_H].
7101         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
7102         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7103         [!TILE_MATH_PRIVATE_H].
7104         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
7106         [BZ #15421]
7107         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
7108         initialize with 0 and define as weak alias of __signgam.
7109         * include/math.h [!_ISOMAC] (__signgam): Declare.
7110         * math/Makefile (libm-calls): Add w_lgamma_compat.
7111         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
7112         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
7113         test-signgam-ullong-init.
7114         (tests-static): Add test-signgam-uchar-static,
7115         test-signgam-uchar-init-static, test-signgam-uint-static,
7116         test-signgam-uint-init-static, test-signgam-ullong-static and
7117         test-signgam-ullong-init-static.
7118         (CFLAGS-test-signgam-uchar.c): New variable.
7119         (CFLAGS-test-signgam-uchar-init.c): Likewise.
7120         (CFLAGS-test-signgam-uchar-static.c): Likewise.
7121         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
7122         (CFLAGS-test-signgam-uint.c): Likewise.
7123         (CFLAGS-test-signgam-uint-init.c): Likewise.
7124         (CFLAGS-test-signgam-uint-static.c): Likewise.
7125         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
7126         (CFLAGS-test-signgam-ullong.c): Likewise.
7127         (CFLAGS-test-signgam-ullong-init.c): Likewise.
7128         (CFLAGS-test-signgam-ullong-static.c): Likewise.
7129         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
7130         * math/Versions (libm): Add GLIBC_2.23.
7131         * math/lgamma-compat.h: New file.
7132         * math/test-signgam-main.c: Likewise.
7133         * math/test-signgam-uchar-init-static.c: Likewise.
7134         * math/test-signgam-uchar-init.c: Likewise.
7135         * math/test-signgam-uchar-static.c: Likewise.
7136         * math/test-signgam-uchar.c: Likewise.
7137         * math/test-signgam-uint-init-static.c: Likewise.
7138         * math/test-signgam-uint-init.c: Likewise.
7139         * math/test-signgam-uint-static.c: Likewise.
7140         * math/test-signgam-uint.c: Likewise.
7141         * math/test-signgam-ullong-init-static.c: Likewise.
7142         * math/test-signgam-ullong-init.c: Likewise.
7143         * math/test-signgam-ullong-static.c: Likewise.
7144         * math/test-signgam-ullong.c: Likewise.
7145         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7146         wrapper of w_lgamma_main.c.
7147         * math/w_lgamma_compat.c: New file.
7148         * math/w_lgamma_compatf.c: Likewise.
7149         * math/w_lgamma_compatl.c: Likewise.
7150         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
7151         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7152         defining compatibility symbols.
7153         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
7154         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7155         wrapper of w_lgammaf_main.c.
7156         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
7157         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7158         defining compatibility symbols.
7159         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
7160         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7161         wrapper of w_lgammal_main.c.
7162         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
7163         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7164         defining compatibility symbols.
7165         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
7166         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7167         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7168         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
7169         <lgamma-compat.h>.
7170         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
7171         (__ieee754_gamma): Define as alias.
7172         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7173         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
7174         <lgamma-compat.h>.
7175         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
7176         (__ieee754_gammaf): Define as alias.
7177         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7178         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
7179         <lgamma-compat.h>.
7180         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
7181         (__ieee754_gammal): Define as alias.
7182         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
7183         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
7184         <math/w_lgamma_compat.c>.
7185         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
7186         Define as alias of __lgamma_compat and use in defining lgammal.
7187         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
7188         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
7189         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
7190         (USE_AS_COMPAT): New macro.
7191         (LGAMMA_OLD_VER): Undefine and redefine.
7192         (lgammal): Do not define here.
7193         (gammal): Only define here if [GAMMA_ALIAS].
7194         * conform/linknamespace.pl (@whitelist): Remove signgam.
7195         * sysdeps/nacl/libm.abilist: Update.
7196         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7197         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7198         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7199         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7200         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7201         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7202         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7203         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7204         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7205         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7206         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7207         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7209         Likewise.
7210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7211         Likewise.
7212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7213         Likewise.
7214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7215         Likewise.
7216         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7217         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7218         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7219         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7220         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7222         Likewise.
7223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7224         Likewise.
7225         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7226         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7227         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7229 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7231         [BZ #16364]
7232         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
7233         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
7235 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7237         * sysdeps/s390/fpu/bits/mathinline.h:
7238         Use __asm__ [__volatile__] instead of asm [volatile].
7239         * sysdeps/s390/abort-instr.h: Likewise.
7240         * sysdeps/s390/atomic-machine.h: Likewise.
7241         * sysdeps/s390/bits/string.h: Likewise.
7242         * sysdeps/s390/dl-tls.h: Likewise.
7243         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7244         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7245         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7246         * sysdeps/s390/fpu/fesetround.c: Likewise.
7247         * sysdeps/s390/fpu/fpu_control.h: Likewise.
7248         * sysdeps/s390/fpu/s_fma.c: Likewise.
7249         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
7250         * sysdeps/s390/memusage.h: Likewise.
7251         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
7252         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
7253         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
7254         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
7255         * sysdeps/s390/nptl/tls.h: Likewise.
7256         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
7257         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7258         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7259         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7260         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7261         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7262         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7263         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7264         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7265         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7266         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7267         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7268         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7269         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7270         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7271         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7272         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7273         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7274         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7275         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7276         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7277         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7278         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7280 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7281             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7283         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7284         Add lwarx hint, and use macro for acquire instruction.
7285         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7286         Likewise.
7287         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7288         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7289         update to use new atomic macros.
7291 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7293         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7294         (__lll_trylock_elision): Fix setting of adapt_count.
7295         * sysdeps/unix/sysv/linux/powerpc/htm.h
7296         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7297         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7298         (_ABORT_SYSCALL): Renumber, and clarify definition.
7299         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7301 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7303         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7304         after system headers to prevent MIN/MAX redefinition.  Define
7305         HAVE_ALLOCA to preserve builtin alloca usage.
7307 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7309         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7310         static and don't set or restore rounding.
7311         (__cos)[IN_SINCOS]: Likewise.
7312         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7313         (__sincos): Set and restore rounding mode.  Remove check for infinite
7314         or NaN input.
7316         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7318         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7319         as used.
7321 2015-11-16  Florian Weimer  <fweimer@redhat.com>
7323         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7325 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
7327         * config.make.in (have-glob-dat-reloc): New.
7328         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
7329         target supports GLOB_DAT relocaton. AC_SUBST.
7330         * configure: Regenerated.
7331         * elf/Makefile (tests): Add tst-prelink.
7332         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7333         (tst-prelink-ENV): New.
7334         ($(objpfx)tst-prelink-conflict.out): Likewise.
7335         ($(objpfx)tst-prelink-cmp.out): Likewise.
7336         * sysdeps/x86/tst-prelink.c: Moved to ...
7337         * elf/tst-prelink.c: Here.
7338         * sysdeps/x86/tst-prelink.exp: Moved to ...
7339         * elf/tst-prelink.exp: Here.
7340         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
7341         (tst-prelink-ENV): Removed.
7342         ($(objpfx)tst-prelink-conflict.out): Likewise.
7343         ($(objpfx)tst-prelink-cmp.out): Likewise.
7344         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
7346 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
7348         [BZ #14551]
7349         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
7350         (__mpn_construct_long_double): If high part overflows to infinity,
7351         set errno and recompute overflowed result of the correct sign.
7352         * sysdeps/ieee754/ldbl-128ibm/Makefile
7353         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
7354         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
7355         $(libm).
7356         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
7358 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
7360         [BZ #15479]
7361         [BZ #19238]
7362         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
7363         floating-point state after first operation on input.  Restore full
7364         state rather than just rounding mode.
7365         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7366         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7367         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7369         [BZ #19235]
7370         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
7371         add 0.5 to integer arguments.
7372         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
7373         Likewise.
7374         (.LC2): New object.
7376 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
7378         * scripts/pylintrc (reports): Set to no.
7380 2015-11-10  Roland McGrath  <roland@hack.frob.com>
7382         * elf/dl-load.c (open_verify): Take new argument FD.
7383         Skip __open call if passed FD is not -1.
7384         (_dl_map_object, open_path): Update callers.
7385         * elf/dl-sysdep-open.h: New file.
7386         * elf/dl-load.c: Include it.
7387         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
7388         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
7389         * sysdeps/nacl/dl-sysdep-open.h: New file.
7390         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
7391         from libc to rtld.
7393 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7395         [BZ #19228]
7396         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
7397         and restore full floating-point state.
7398         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7399         Likewise.
7400         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7401         Likewise.
7402         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7403         Likewise.
7404         * math/test-nearbyint-except-2.c: New file.
7405         * math/Makefile (tests): Add test-nearbyint-except-2.
7407 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
7409         [BZ #19178]
7410         * sysdeps/x86/Makefile (tests): Add tst-prelink.
7411         (tst-prelink-ENV): New.
7412         ($(objpfx)tst-prelink-conflict.out): Likewise.
7413         ($(objpfx)tst-prelink-cmp.out): Likewise.
7414         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7415         * sysdeps/x86/tst-prelink.c: New file.
7416         * sysdeps/x86/tst-prelink.exp: Likewise.
7418 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7420         * math/auto-libm-test-in: Add another test of pow.
7421         * math/auto-libm-test-out: Regenerated.
7422         * math/libm-test.inc (pow_test_data): Add another test.
7424 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7426         [BZ #19219]
7427         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
7428         weak_alias to nearbyintl.
7430 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7432         * sysdeps/aarch64/bits/string.h: New file.
7433         (_STRING_ARCH_unaligned): Define.
7435 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7437         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
7438         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7439         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7440         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
7441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
7443 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
7445         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
7446         for original name of the DSO.  Add it to the name list of the DSO
7447         if it is actually given.
7448         (_dl_map_object): Keep track of whether an audit module rewrote
7449         the file name.  If yes, pass the original name to
7450         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
7451         debugging is enabled, log the change of the file name.
7452         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
7453         _dl_map_object_from_fd.
7454         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
7455         * elf/tst-audit11.c: New file
7456         * elf/tst-auditmod11.c: New file.
7457         * elf/tst-audit11mod1.c: New file.
7458         * elf/tst-audit11mod2.c: New file.
7459         * elf/tst-audit11mod2.map: New file.
7460         * elf/tst-audit12.c: New file
7461         * elf/tst-auditmod12.c: New file.
7462         * elf/tst-audit12mod1.c: New file.
7463         * elf/tst-audit12mod2.c: New file.
7464         * elf/tst-audit12mod2.map: New file.
7465         * elf/tst-audit12mod3.c: New file.
7467 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7469         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
7470         Don't create weak aliases,
7471         because versioned symbols are created later.
7472         * sysdeps/s390/s390-32/setjmp.S
7473         (setjmp, _setjmp): Remove weak and rename to an unique name
7474         in SHARED case due to existing versioned symbols.
7475         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7476         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
7477         (getcontext): Create weak alias only in non SHARED case.
7478         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7480 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7482         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
7483         (__ASSUME_*_SYSCALL) Define new macros.
7484         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
7485         Remove socketcall syscalls.
7486         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
7487         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
7488         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
7489         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
7490         * sysdeps/unix/sysv/linux/send.c (__libc_send):
7491         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
7493 2015-11-09  Florian Weimer  <fweimer@redhat.com>
7495         [BZ #12926]
7496         Terminate process on invalid netlink response.
7497         * sysdeps/unix/sysv/linux/netlinkaccess.h
7498         (__netlink_assert_response): Declare.
7499         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
7500         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
7501         (sysdep_routines): Add netlink_assert_response.
7502         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
7503         __netlink_assert_response.
7504         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7505         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7506         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
7507         __netlink_assert_response.
7509 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
7511         [BZ #19178]
7512         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
7513         (RTYPE_CLASS_PLT): Likewise.
7514         (RTYPE_CLASS_COPY): Likewise.
7515         (RTYPE_CLASS_TLS): Likewise.
7516         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
7517         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
7518         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
7519         DL_DEBUG_PRELINK.
7521 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
7523         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
7524         calls with argument -0.5.
7525         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
7527         * configure.ac (libc_cv_z_nodelete): Remove configure test.
7528         (libc_cv_z_nodlopen): Likewise.
7529         (libc_cv_z_initfirst): Likewise.
7530         * configure: Regenerated.
7532 2015-11-06  Florian Weimer  <fweimer@redhat.com>
7534         Simplify abilist format to be line-based.
7535         * scripts/abilist.awk: Collect descriptors in the descs variable.
7536         (emit): Write descs variable and sort it
7537         externally, with sort.
7538         * sysdeps/**/*.abilist: Convert to new format.
7540 2015-11-06  Mark Wielaard  <mjw@redhat.com>
7542         [BZ #11460]
7543         * io/Makefile (routines): Add fts64.
7544         (tests): Add tst-fts and tst-fts-lfs.
7545         (CFLAGS-fts64.c): New.
7546         * io/Versions (GLIBC_2.23): New.
7547         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
7548         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
7549         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
7550         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
7551         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
7552         (FTSENT64): Likewise.
7553         (fts64_children): Likewise.
7554         (fts64_close): Likewise.
7555         (fts64_open): Likewise.
7556         (fts64_read): Likewise.
7557         (fts64_set): Likewise.
7558         * io/fts64.c: New file.
7559         * io/tst-fts.c: New test.
7560         * io/tst-fts-lfs.c: Likewise.
7561         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
7562         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
7563         fts64_set.
7564         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7565         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7566         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7567         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7568         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7569         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7570         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7571         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7572         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7573         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7574         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7575         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7576         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7578         Likewise.
7579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7580         Likewise.
7581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7583         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7584         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7585         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7586         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7587         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7590         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7591         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7592         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7593         * sysdeps/wordsize-64/fts.c: New file.
7594         * sysdeps/wordsize-64/fts64.c: Likewise.
7595         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
7596         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
7597         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
7598         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
7600 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7602         * math/libm-test.inc (NON_FINITE): New macro.
7603         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
7604         * math/gen-libm-test.pl (show_exceptions): Add argument
7605         $non_finite.
7606         (parse_args): Update call to show_exceptions.
7607         * math/test-math-finite.h: New file.
7608         * math/test-math-no-finite.h: Likewise.
7609         * math/test-double-finite.c: Likewise.
7610         * math/test-float-finite.c: Likewise.
7611         * math/test-ldouble-finite.c: Likewise.
7612         * math/test-double.c: Include "test-math-no-finite.h".
7613         * math/test-float.c: Include "test-math-no-finite.h".
7614         * math/test-ldouble.c: Include "test-math-no-finite.h".
7615         * math/test-math-inline.h (TEST_FINITE): New macro.
7616         * math/test-math-vector.h (TEST_FINITE): Likewise.
7617         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
7618         (libm-tests): Add test-float-finite and test-double-finite.
7619         ($(objpfx)test-float-finite.o): New dependency on
7620         $(objpfx)libm-test.stmp.
7621         ($(objpfx)test-double-finite.o): Likewise.
7622         ($(objpfx)test-ldouble-finite.o): Likewise.
7623         (libm-test-no-inline-cflags): New variable.
7624         (libm-test-finite-cflags): Likewise.
7625         (CFLAGS-test-float-finite.c): Likewise.
7626         (CFLAGS-test-double-finite.c): Likewise.
7627         (CFLAGS-test-ldouble-finite.c): Likewise.
7628         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
7629         (CFLAGS-test-double.c): Likewise.
7630         (CFLAGS-test-ldouble.c): Likewise.
7632 2015-11-05  Roland McGrath  <roland@hack.frob.com>
7634         * io/fcntl.c (__fcntl): Add ... to prototype.
7635         * misc/ioctl.c (__ioctl): Likewise.
7636         * misc/syscall.c (syscall): Likewise.
7638 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7640         * scripts/list-fixed-bugs.py: New file.
7642         [BZ #19213]
7643         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
7644         returned for argument 1.
7645         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
7646         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
7647         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
7648         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
7649         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
7650         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
7652         [BZ #19211]
7653         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
7654         __USE_XOPEN], not if [!__USE_ISOC99].
7655         (lgammaf): Likewise.
7656         (lgammal): Likewise.
7657         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
7658         (gammaf): Likewise.
7659         (gammal): Likewise.
7660         * math/test-signgam-finite-c11.c: New file.
7661         * math/test-signgam-finite-c99.c: Likewise.
7662         * math/test-signgam-finite.c: Likewise.
7663         * math/Makefile (tests): Add test-signgam-finite,
7664         test-signgam-finite-c99 and test-signgam-finite-c11.
7665         (CFLAGS-test-signgam-finite.c): New variable.
7666         (CFLAGS-test-signgam-finite-c99.c): Likewise.
7667         (CFLAGS-test-signgam-finite-c11.c): Likewise.
7669         [BZ #19212]
7670         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
7671         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
7672         500].
7673         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
7674         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
7675         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
7676         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
7677         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
7678         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
7679         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
7680         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
7681         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
7682         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
7684         [BZ #19209]
7685         * math/bits/math-finite.h (ldexp): Remove declaration.
7686         (ldexpf): Likewise.
7687         (ldexpl): Likewise.
7689         [BZ #19205]
7690         * math/bits/math-finite.h (acosf): Condition declaration on
7691         [__USE_ISOC99].
7692         (acosl): Likewise.
7693         (acoshf): Likewise.
7694         (acoshl): Likewise.
7695         (asinf): Likewise.
7696         (asinl): Likewise.
7697         (atan2f): Likewise.
7698         (atan2l): Likewise.
7699         (atanhf): Likewise.
7700         (atanhl): Likewise.
7701         (coshf): Likewise.
7702         (coshl): Likewise.
7703         (expf): Likewise.
7704         (expl): Likewise.
7705         (fmodf): Likewise.
7706         (fmodl): Likewise.
7707         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
7708         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
7709         (j0l): Likewise.
7710         (y0f): Likewise.
7711         (y0l): Likewise.
7712         (j1f): Likewise.
7713         (j1l): Likewise.
7714         (y1f): Likewise.
7715         (y1l): Likewise.
7716         (jnf): Likewise.
7717         (jnl): Likewise.
7718         (ynf): Likewise.
7719         (ynl): Likewise.
7720         (lgammaf_r): Condition declaration on [__USE_ISOC99].
7721         (lgammal_r): Likewise.
7722         (__lgamma_r_finite): New declaration.
7723         (__lgammaf_r_finite): Likewise.
7724         (__lgammal_r_finite): Likewise.
7725         (lgamma): Use __lgamma_r_finite.
7726         (lgammaf): Condition definition on [__USE_ISOC99].  Use
7727         __lgammaf_r_finite.
7728         (lgammal): Condition definition on [__USE_ISOC99].  Use
7729         __lgammal_r_finite.
7730         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
7731         __lgamma_r_finite.
7732         (gammaf): Condition definition on [__USE_ISOC99].  Use
7733         __lgammaf_r_finite.
7734         (gammal): Condition definition on [__USE_ISOC99].  Use
7735         __lgammal_r_finite.
7736         (logf): Condition declaration on [__USE_ISOC99].
7737         (logl): Likewise.
7738         (log10f): Likewise.
7739         (log10l): Likewise.
7740         (ldexpf): Likewise.
7741         (ldexpl): Likewise.
7742         (powf): Likewise.
7743         (powl): Likewise.
7744         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
7745         __USE_ISOC99].
7746         (remainderf): Condition declaration on [__USE_ISOC99].
7747         (remainderl): Likewise.
7748         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
7749         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
7750         (scalbl): Likewise.
7751         (sinhf): Condition declaration on [__USE_ISOC99].
7752         (sinhl): Likewise.
7753         (sqrtf): Likewise.
7754         (sqrtl): Likewise.
7756 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7758         * sysdeps/arm/atomic-machine.h
7759         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7760         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7761         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
7762         Remove conditional code.
7763         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7764         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7765         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
7766         Change conditional to [__ASSEMBLER__].
7767         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7768         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
7769         [!__ASSEMBLER__].
7770         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
7771         code.
7772         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
7773         conditional macro definitions.
7774         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
7775         (__arch_compare_and_exchange_val_16_acq): Likewise.
7776         (__arch_compare_and_exchange_val_32_acq): Likewise.
7777         (atomic_exchange_and_add): Likewise.
7778         (atomic_add): Likewise.
7779         (atomic_add_negative): Likewise.
7780         (atomic_add_zero): Likewise.
7781         (atomic_bit_set): Likewise.
7782         (atomic_bit_test_set): Likewise.
7783         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
7784         code unconditional.
7785         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7787         * math/test-math-errno.h: New file.
7788         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
7789         empty.
7790         (TEST_ERRNO): New macro.
7791         (TEST_EXCEPTIONS): Likewise.
7792         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
7793         (TEST_EXCEPTIONS): Likewise.
7794         * math/test-math-vector.h (TEST_ERRNO): Likewise.
7795         * math/test-double.c: Include "test-math-errno.h".
7796         * math/test-float.c: Likewise.
7797         * math/test-ldouble.c: Likewise.
7798         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
7799         code unconditional.
7800         (test_exceptions): Only run code if TEST_EXCEPTIONS.
7801         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
7802         unconditional.
7803         (test_errno): Only run code if TEST_ERRNO.
7804         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
7806 2015-11-04  Florian Weimer  <fweimer@redhat.com>
7808         * nptl/tst-once5.cc: Remove attribution.
7810 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7812         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
7813         sqrt, tan, tanh, y0, y1 and yn.
7814         * math/auto-libm-test-out: Regenerated.
7815         * math/libm-test.inc (scalb_test_data): Add more tests.
7816         (scalbn_test_data): Likewise.
7817         (scalbln_test_data): Likewise.
7818         (signbit_test_data): Likewise.
7819         (sin_test_data): Likewise.
7820         (sincos_test_data): Likewise.
7821         (sinh_test_data): Likewise.
7822         (sqrt_test_data): Likewise.
7823         (tan_test_data): Likewise.
7824         (tanh_test_data): Likewise.
7825         (tgamma_test_data): Likewise.
7826         (y0_test_data): Likewise.
7827         (y1_test_data): Likewise.
7828         (yn_test_data): Likewise.
7829         (significand_test_data): Likewise.
7830         * sysdeps/i386/fpu/libm-test-ulps: Update.
7832 2015-11-03  David Kastrup  <dak@gnu.org>
7834         [BZ #18604]
7835         * assert/assert.h (assert): Don't macro-expand failed assertion
7836         expression in error message.
7837         * malloc/malloc.c (assert): Likewise.
7839 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
7841         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
7842         test.
7843         * configure: Regenerated.
7845 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
7847         * math/libm-test.inc (modf_test_data): Add more tests.
7848         (nearbyint_test_data): Likewise.
7849         (nextafter_test_data): Likewise.
7850         (nexttoward_test_data): Likewise.
7851         (pow_test_data): Likewise.
7852         (remainder_test_data): Likewise.
7853         (remquo_test_data): Likewise.
7854         (rint_test_data): Likewise.
7856         [BZ #19201]
7857         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7858         Check for zero remainder in case of large exponents and ensure
7859         correct sign of result in that case.
7860         * math/libm-test.inc (remainder_test_data): Add more tests.
7862         [BZ #6799]
7863         * math/s_nextafter.c: Include <errno.h>.
7864         (__nextafter): Set errno on overflow and underflow.
7865         * math/s_nexttowardf.c: Include <errno.h>.
7866         (__nexttowardf): Set errno on overflow and underflow.
7867         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
7868         (__nextafterl): Set errno on overflow and underflow.
7869         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
7870         (__nexttoward): Set errno on overflow and underflow.
7871         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
7872         (__nexttowardf): Set errno on overflow and underflow.
7873         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
7874         (__nextafterf): Set errno on overflow and underflow.
7875         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
7876         (__nextafterl): Set errno on overflow and underflow.
7877         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
7878         (__nexttoward): Set errno on overflow and underflow.
7879         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
7880         (__nexttowardf): Set errno on overflow and underflow.
7881         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
7882         (__nextafterl): Set errno on overflow and underflow.
7883         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
7884         (__nexttoward): Set errno on overflow and underflow.
7885         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
7886         (__nexttowardf): Set errno on overflow and underflow.
7887         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
7888         (__nexttoward): Set errno on overflow and underflow.
7889         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
7890         (__nexttowardf): Set errno on overflow and underflow.
7891         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
7892         (__nldbl_nexttowardf): Set errno on overflow and underflow.
7893         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
7894         (__nextafterl): Set errno on overflow and underflow.
7895         * math/libm-test.inc (nextafter_test_data): Do not allow errno
7896         setting to be missing on overflow.  Add more tests.
7897         (nexttoward_test_data): Likewise.
7899         * configure.ac (libc_cv_initfini_array): Remove configure test.
7900         * configure: Regenerated.
7902 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
7904         [BZ #19189]
7905         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
7906         non-finite argument handle arguments with negative sign.
7908         * math/libm-test.inc (j0_test_data): Do not test sign of zero
7909         result from infinite argument.
7910         (j1_test_data): Likewise.
7911         (jn_test_data): Likewise.
7912         (y0_test_data): Likewise.
7913         (y1_test_data): Likewise.
7914         (yn_test_data): Likewise.
7916         [BZ #16171]
7917         * math/w_remainder.c (drem): Define as weak alias of __remainder.
7918         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
7919         * math/w_remainderf.c (dremf): Define as weak alias of
7920         __remainderf.
7921         * math/w_remainderl.c (dreml): Define as weak alias of
7922         __remainderl.
7923         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
7924         __remainder.
7925         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
7926         __remainderf.
7927         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
7928         __remainderl.
7929         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
7930         weak alias of remainderl.
7931         * sysdeps/ieee754/ldbl-opt/w_remainder.c
7932         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
7933         alias of __remainder.
7934         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
7935         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
7936         strong alias of __remainderl.
7937         (dreml): Use long_double_symbol.
7938         * math/Makefile (libm-calls): Remove w_drem.
7939         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
7940         (CFLAGS-nldbl-drem.c): Remove variable.
7941         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
7942         * math/w_drem.c: Remove file.
7943         * math/w_dremf.c: Likewise.
7944         * math/w_dreml.c: Likewise.
7945         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
7946         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
7947         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
7949         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
7950         * sysdeps/i386/configure: Regenerated.
7951         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
7952         * sysdeps/x86_64/configure: Regenerated.
7954         * configure.ac (libc_cv_asm_protected_directive): Remove configure
7955         test.
7956         (libc_cv_visibility_attribute): Likewise.
7957         (libc_cv_protected_data): Test unconditionally.
7958         (libc_cv_broken_visibility_attribute): Remove configure test.
7959         (libc_cv_have_sdata_section): Test unconditionally.
7960         * configure: Regenerated.
7962         * include/libc-internal.h (libc_max_align_t): Remove typedef.
7963         * include/scratch_buffer.h: Include <stddef.h> instead of
7964         <libc-internal.h>.
7965         (struct scratch_buffer): Use max_align_t instead of
7966         libc_max_align_t.
7968 2015-10-29  Florian Weimer  <fweimer@redhat.com>
7970         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
7971         instead of extend_alloca.  Change control flow to avoid a goto.
7972         Remove assert which is trivially always true.
7974 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7976         [BZ #16068]
7977         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
7978         (FE_ALL_EXCEPT_X86): New macro.
7979         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7980         FE_ALL_EXCEPT.  Ensure precision control is included in
7981         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7982         handle "denormal operand exception" and clear FZ and DAZ bits.
7983         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
7984         (FE_ALL_EXCEPT_X86): New macro.
7985         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7986         FE_ALL_EXCEPT.  Ensure precision control is included in
7987         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7988         handle "denormal operand exception" and clear FZ and DAZ bits.
7989         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
7990         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
7991         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7992         test-fenv-x87 and test-fenv-sse-2.
7993         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
7995         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
7996         * math/test-double.h (BUILD_COMPLEX): New macro.
7997         * math/test-float.h (BUILD_COMPLEX): Likewise.
7998         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
8000         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
8001         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
8002         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
8003         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
8004         instead of DBL_DENORM_MIN in comment.
8005         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
8006         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8007         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
8008         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
8009         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
8010         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8012 2015-10-28  Florian Weimer  <fweimer@redhat.com>
8014         [BZ# 19048]
8015         * malloc/malloc.c (struct malloc_state): Update comment.  Add
8016         attached_threads member.
8017         (main_arena): Initialize attached_threads.
8018         * malloc/arena.c (list_lock): Update comment.
8019         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
8020         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
8021         (deattach_arena): New function.
8022         (_int_new_arena): Initialize arena reference count and deattach
8023         replaced arena.
8024         (get_free_list, reused_arena): Update reference count and deattach
8025         replaced arena.
8026         (arena_thread_freeres): Update arena reference count and only put
8027         unreferenced arenas on the free list.
8029 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8031         [BZ #19181]
8032         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
8033         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
8034         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
8035         * math/test-fenv-clear-main.c: New file.
8036         * math/test-fenv-clear.c: Likewise.
8037         * math/Makefile (tests): Add test-fenv-clear.
8038         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
8039         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8040         test-fenv-clear-sse.
8041         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
8043         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
8044         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
8045         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
8047 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8049         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
8050         static libc.
8052 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8054         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
8055         test.
8056         * sysdeps/i386/configure: Regenerated.
8057         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
8058         test.
8059         * sysdeps/x86_64/configure: Regenerated.
8060         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
8061         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8062         memset-avx2 unconditionally instead of conditionally on
8063         [$(config-cflags-avx2) = yes].
8064         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8065         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
8066         unconditional.
8067         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
8068         * sysdeps/x86_64/multiarch/memset_chk.S
8069         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
8070         to [IS_IN (libc) && SHARED].
8072 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8074         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
8075         configure test.
8076         * sysdeps/arm/configure: Regenerated.
8077         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
8078         Define variable if not already defined.
8080         [BZ #17404]
8081         * sysdeps/mips/atomic-machine.h
8082         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
8083         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
8084         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8086         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
8087         unconditional.
8088         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
8089         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8090         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
8091         unconditional.
8092         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8093         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
8094         unconditional.
8095         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8096         * stdlib/setenv.c
8097         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
8098         code unconditional.
8099         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
8100         Remove conditional code.
8101         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8102         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
8103         unconditional.
8104         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8105         code.
8106         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8107         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
8108         unconditional.
8109         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8110         code.
8111         * sysdeps/ieee754/ldbl-128/k_tanl.c
8112         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8113         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8114         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8115         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8116         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8117         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8118         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
8119         unconditional.
8120         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8121         code.
8122         * sysdeps/ieee754/ldbl-96/k_tanl.c
8123         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8124         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8126         * nptl/tst-initializers1-c11.c: New file.
8127         * nptl/tst-initializers1-gnu11.c: Likewise.
8128         * nptl/Makefile (tests): Add these new tests.
8129         (CFLAGS-tst-initializers1-c11.c): New variable.
8130         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
8132         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
8133         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
8134         instead of -std=gnu99.
8135         * configure.ac (systemtap): Test with -std=gnu11 instead of
8136         -std=gnu99.
8137         * configure: Regenerated.
8138         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
8139         in compilation command in comment.
8141         * sysdeps/nptl/configure.ac: Remove file.
8142         * sysdeps/nptl/configure: Remove generated file.
8143         * configure.ac (libc_cv_forced_unwind): Do not substitute.
8144         * configure: Regenerated.
8145         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8146         * config.make.in (have-forced-unwind): Remove variable.
8147         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8148         unconditional.
8149         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8150         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8151         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8152         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8153         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8154         unconditional.
8156 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8158         [BZ #19174]
8159         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8160         .skip_lock_out_of_tbegin_retries.
8161         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8162         (__lll_lock_elision): Likewise, and respect a value of
8163         try_tbegin <= 0.
8165 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8167         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8168         statement.
8170 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8172         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8173         variable.
8174         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8175         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8177         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8178         of -std=c1x -D_ISOC11_SOURCE.
8180         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8181         * configure: Regenerated.
8182         * manual/install.texi (Tools for Compilation): Document
8183         requirement for GCC 4.7 or later.
8184         * INSTALL: Regenerated.
8186 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
8188         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
8189         on CNT to a conditional jump to 'puntdata'.
8191 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8193         * configure.ac (libc_cv_gcc___thread): Remove configure test.
8194         (libc_cv_gcc_tls_model_attr): Likewise.
8195         * configure: Regenerated.
8197         * configure.ac (libc_cv_need_minus_P): Remove configure test.
8198         * configure: Regenerated.
8199         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
8201 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
8203         * configure.ac (old_glibc_headers): Remove configure test.
8204         * configure: Regenerated.
8205         * config.make.in (old-glibc-headers): Remove variable.
8206         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
8207         (install): Remove dependency on remove-old-headers.
8208         (headers2_0): Remove variable.
8209         (remove-old-headers): Remove rule.
8211         * configure.ac (libc_cv_dot_text): Remove configure test.
8212         (libc_cv_asm_set_directive): Use .text instead of
8213         ${libc_cv_dot_text} in configure test.
8214         * configure: Regenerated.
8216 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8218         [BZ #19168]
8219         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8221 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8223         * configure.ac (CXX): Clear the variable if the C++ toolchain does
8224         not support static linking.
8225         * configure: Regenerate.
8227 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
8229         * math/libm-test.inc (check_float_internal): Do not special-case
8230         errors up to 0.5 ulp.
8232         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8233         log2.
8234         * math/auto-libm-test-out: Regenerated.
8235         * math/libm-test.inc (MAX_EXP): New macro.
8236         (ilogb_test_data): Add more tests.
8237         (isfinite_test_data): Likewise.
8238         (isgreater_test_data): Likewise.
8239         (isgreaterequal_test_data): Likewise.
8240         (isinf_test_data): Likewise.
8241         (isless_test_data): Likewise.
8242         (islessequal_test_data): Likewise.
8243         (islessgreater_test_data): Likewise.
8244         (isnan_test_data): Likewise.
8245         (isnormal_test_data): Likewise.
8246         (issignaling_test_data): Likewise.
8247         (isunordered_test_data): Likewise.
8248         (j0_test_data): Likewise.
8249         (j1_test_data): Likewise.
8250         (jn_test_data): Likewise.
8251         (lgamma_test_data): Likewise.
8252         (log_test_data): Likewise.
8253         (log10_test_data): Likewise.
8254         (log1p_test_data): Likewise.
8255         (log2_test_data): Likewise.
8256         (logb_test_data): Likewise.
8257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8259         [BZ #18611]
8260         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8261         avoid excess range and precision on underflow.
8262         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8263         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8264         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8265         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8266         underflow.
8267         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8268         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8269         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8270         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8271         * math/auto-libm-test-in: Do not allow missing errno setting for
8272         tests of j1 and jn.
8273         * math/auto-libm-test-out: Regenerated.
8275 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
8277         [BZ #15491]
8278         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8279         floating-point environment instead of clearing all exceptions.
8280         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8281         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8282         merging in "invalid" exceptions from frndint.
8283         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8284         * math/test-nearbyint-except.c: New file.
8285         * math/Makefile (tests): Add test-nearbyint-except.
8287 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
8289         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8291         * sysdeps/tile/libm-test-ulps: Regenerated.
8293 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8296         (__NR_sync_file_range2): Assume it is always defined.
8297         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8298         (__NR_sync_file_range): Assume it is always defined.
8300 2015-10-22  Andreas Schwab  <schwab@suse.de>
8302         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8303         INTERNAL_SYSCALL_ERRNO.
8304         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8305         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8306         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8307         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8308         Likewise.
8309         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8311 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8313         * io/tst-fcntl.c (fd): New static variable.
8314         (do_prepare): Open temporary file here....
8315         (do_test): ...not here.
8317         * io/ftwtest-sh: Also trap on exit to remove temporary files.
8319 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8321         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8322         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8323         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8324         Moved before "#ifdef __ASSEMBLER__".
8326 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8328         [BZ #19156]
8329         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8330         arguments very close to 0.
8332 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
8334         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8335         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8337 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8339         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8340         New.  Defined for GCC 5 and above when not compiling for
8341         profiling.
8342         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8344         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8345         Renamed to ...
8346         (CFLAGS-epoll_pwait.o): This.
8347         (CFLAGS-mmap.c): Renamed to ...
8348         (CFLAGS-mmap.o): This.
8349         (CFLAGS-mmap64.c): Renamed to ...
8350         (CFLAGS-mmap64.o): This.
8351         (CFLAGS-epoll_pwait.os): New.
8352         (CFLAGS-mmap.os): Likewise.
8353         (CFLAGS-mmap64.os): Likewise.
8354         (CFLAGS-semtimedop.os): Likewise.
8355         (CFLAGS-semtimedop.c): Renamed to ...
8356         (CFLAGS-semtimedop.o): This.
8358 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8360         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
8361         warning message.
8363 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8365         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
8366         * Makefile ($(objpfx)c++-types-check.out): Filter out
8367         $(+gccwarn-c) instead of -Wstrict-prototypes.
8369         * io/fts.c (fts_open): Convert to prototype-style function
8370         definition.
8371         * malloc/mcheck.c (mcheck): Likewise.
8372         (mcheck_pedantic): Likewise.
8373         * posix/regexec.c (re_search_2_stub): Likewise.  Use
8374         internal_function.
8375         (re_search_internal): Likewise.
8376         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
8377         prototype-style function definition.
8378         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8379         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8380         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
8381         (xdr_utmpptr): Likewise.
8382         (xdr_utmparr): Likewise.
8383         (xdr_utmpidle): Likewise.
8384         (xdr_utmpidleptr): Likewise.
8385         (xdr_utmpidlearr): Likewise.
8387         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
8388         log, log10 and log2.
8389         * math/auto-libm-test-out: Regenerated.
8390         * math/libm-test.inc (fmod_test_data): Add more tests.
8391         (fpclassify_test_data): Likewise.
8392         (frexp_test_data): Likewise.
8393         (hypot_test_data): Likewise.
8394         (ilogb_test_data): Likewise.
8396 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
8398         * debug/fortify_fail.c (__fortify_fail): Convert to
8399         prototype-style function definition.  Use internal_function.
8400         * libio/genops.c (save_for_backup): Convert to prototype-style
8401         function definition.
8402         * libio/wgenops.c (save_for_wbackup): Likewise.
8403         * login/grantpt.c (grantpt): Likewise.
8404         * login/ptsname.c (ptsname): Likewise.
8405         (__ptsname_r): Likewise.
8406         * login/unlockpt.c (unlockpt): Likewise.
8407         * mach/msgserver.c (__mach_msg_server): Likewise.
8408         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
8409         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
8410         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
8411         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
8412         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
8413         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
8414         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
8415         Likewise.
8416         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
8417         internal_function.
8418         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
8419         prototype-style function definition.
8420         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
8421         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
8422         (__pthread_create_2_0): Likewise.
8423         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
8424         * nptl/register-atfork.c (__register_atfork): Likewise.
8425         * posix/glob.c (glob): Likewise.
8426         * posix/regcomp.c (re_comp): Likewise.
8427         * posix/regexec.c (re_exec): Likewise.
8428         * stdlib/add_n.c [__STDC__]: Make code unconditional.
8429         [!__STDC__]: Remove conditional code.
8430         * stdlib/cmp.c [__STDC__]: Make code unconditional.
8431         [!__STDC__]: Remove conditional code.
8432         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
8433         [!__STDC__]: Remove conditional code.
8434         * stdlib/divrem.c [__STDC__]: Make code unconditional.
8435         [!__STDC__]: Remove conditional code.
8436         * stdlib/lshift.c [__STDC__]: Make code unconditional.
8437         [!__STDC__]: Remove conditional code.
8438         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
8439         [!__STDC__]: Remove conditional code.
8440         * stdlib/mul.c [__STDC__]: Make code unconditional.
8441         [!__STDC__]: Remove conditional code.
8442         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
8443         [!__STDC__]: Remove conditional code.
8444         * stdlib/rshift.c [__STDC__]: Make code unconditional.
8445         [!__STDC__]: Remove conditional code.
8446         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
8447         function definition.
8448         (STRTOF): Likewise.
8449         * stdlib/strtod_l.c (__STRTOF): Likewise.
8450         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
8451         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
8452         (__strtol_l): Likewise.
8453         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
8454         [!__STDC__]: Remove conditional code.
8455         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
8456         definition.
8457         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8458         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8459         type.
8460         (__strcasecmp): Convert to prototype-style function definition.
8461         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
8462         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8463         type.
8464         (__strncasecmp): Convert to prototype-style function definition.
8465         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
8466         * sunrpc/xdr.c (xdr_union): Likewise.
8467         * sunrpc/xdr_array.c (xdr_array): Likewise.
8468         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
8469         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
8470         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
8471         Likewise.
8472         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
8473         Likewise.
8474         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
8475         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8476         Likewise.
8477         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
8478         (LOCALE_PARAM_PROTO): Likewise.
8479         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
8480         argument type.
8481         (ut_argument_spec): Remove macro.
8482         (ut_argument_spec_iso): Rename to ut_argument_spec.
8483         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
8484         prototype-style function definition.
8485         (memcpy_uppcase): Likewise.
8486         (__strftime_internal): Likewise.
8487         (my_strftime): Likewise.
8488         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
8489         (LOCALE_PARAM_DECL): Likewise.
8490         [_LIBC] (LOCALE_PARAM): Include argument type.
8491         (__strptime_internal): Convert to prototype-style function
8492         definition.
8493         (strptime): Likewise.
8494         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8495         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8496         type.
8497         (__wcscasecmp): Convert to prototype-style function definition.
8498         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
8499         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8500         type.
8501         (__wcsncasecmp): Convert to prototype-style function definition.
8503         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
8504         function definition.
8505         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8506         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8507         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
8508         * elf/dl-minimal.c (_itoa): Likewise.
8509         * hurd/hurdmalloc.c (malloc): Likewise.
8510         (free): Likewise.
8511         (realloc): Likewise.
8512         * inet/inet6_option.c (inet6_option_space): Likewise.
8513         (inet6_option_init): Likewise.
8514         (inet6_option_append): Likewise.
8515         (inet6_option_alloc): Likewise.
8516         (inet6_option_next): Likewise.
8517         (inet6_option_find): Likewise.
8518         * io/ftw.c (FTW_NAME): Likewise.
8519         (NFTW_NAME): Likewise.
8520         (NFTW_NEW_NAME): Likewise.
8521         (NFTW_OLD_NAME): Likewise.
8522         * libio/iofwide.c (_IO_fwide): Likewise.
8523         * libio/strops.c (_IO_str_init_static_internal): Likewise.
8524         (_IO_str_init_static): Likewise.
8525         (_IO_str_init_readonly): Likewise.
8526         (_IO_str_overflow): Likewise.
8527         (_IO_str_underflow): Likewise.
8528         (_IO_str_count): Likewise.
8529         (_IO_str_seekoff): Likewise.
8530         (_IO_str_pbackfail): Likewise.
8531         (_IO_str_finish): Likewise.
8532         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
8533         (_IO_wstr_overflow): Likewise.
8534         (_IO_wstr_underflow): Likewise.
8535         (_IO_wstr_count): Likewise.
8536         (_IO_wstr_seekoff): Likewise.
8537         (_IO_wstr_pbackfail): Likewise.
8538         (_IO_wstr_finish): Likewise.
8539         * locale/programs/localedef.c (normalize_codeset): Likewise.
8540         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8541         (add_locales_to_archive): Likewise.
8542         (delete_locales_from_archive): Likewise.
8543         * malloc/malloc.c (__libc_mallinfo): Likewise.
8544         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
8545         * misc/tsearch.c (__tfind): Likewise.
8546         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
8547         * nptl/pthread_attr_getdetachstate.c
8548         (__pthread_attr_getdetachstate): Likewise.
8549         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8550         Likewise.
8551         * nptl/pthread_attr_getinheritsched.c
8552         (__pthread_attr_getinheritsched): Likewise.
8553         * nptl/pthread_attr_getschedparam.c
8554         (__pthread_attr_getschedparam): Likewise.
8555         * nptl/pthread_attr_getschedpolicy.c
8556         (__pthread_attr_getschedpolicy): Likewise.
8557         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
8558         Likewise.
8559         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
8560         Likewise.
8561         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8562         Likewise.
8563         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8564         Likewise.
8565         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
8566         (__pthread_attr_init_2_0): Likewise.
8567         * nptl/pthread_attr_setdetachstate.c
8568         (__pthread_attr_setdetachstate): Likewise.
8569         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
8570         Likewise.
8571         * nptl/pthread_attr_setinheritsched.c
8572         (__pthread_attr_setinheritsched): Likewise.
8573         * nptl/pthread_attr_setschedparam.c
8574         (__pthread_attr_setschedparam): Likewise.
8575         * nptl/pthread_attr_setschedpolicy.c
8576         (__pthread_attr_setschedpolicy): Likewise.
8577         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
8578         Likewise.
8579         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
8580         Likewise.
8581         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
8582         Likewise.
8583         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
8584         Likewise.
8585         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
8586         Likewise.
8587         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
8588         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
8589         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
8590         use internal_function.
8591         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
8592         prototype-style function definition.
8593         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
8594         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
8595         internal_function.
8596         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
8597         Convert to prototype-style function definition.
8598         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8599         Likewise.
8600         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
8601         Likewise.
8602         (__pthread_mutex_unlock): Likewise.
8603         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
8604         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
8605         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
8606         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
8607         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
8608         * nss/makedb.c (process_input): Likewise.
8609         * posix/fnmatch.c (__strchrnul): Likewise.
8610         (__wcschrnul): Likewise.
8611         (fnmatch): Likewise.
8612         * posix/fnmatch_loop.c (FCT): Likewise.
8613         * posix/glob.c (globfree): Likewise.
8614         (__glob_pattern_type): Likewise.
8615         (__glob_pattern_p): Likewise.
8616         * posix/regcomp.c (re_compile_pattern): Likewise.
8617         (re_set_syntax): Likewise.
8618         (re_compile_fastmap): Likewise.
8619         (regcomp): Likewise.
8620         (regerror): Likewise.
8621         (regfree): Likewise.
8622         * posix/regexec.c (regexec): Likewise.
8623         (re_match): Likewise.
8624         (re_search): Likewise.
8625         (re_match_2): Likewise.
8626         (re_search_2): Likewise.
8627         (re_search_stub): Likewise.  Use internal_function
8628         (re_copy_regs): Likewise.
8629         (re_set_registers): Convert to prototype-style function
8630         definition.
8631         (prune_impossible_nodes): Likewise.  Use internal_function.
8632         * resolv/inet_net_pton.c (inet_net_pton): Convert to
8633         prototype-style function definition.
8634         (inet_net_pton_ipv4): Likewise.
8635         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8636         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
8637         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8638         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
8639         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8640         Make variadic.
8641         * time/strptime_l.c (localtime_r): Convert to prototype-style
8642         function definition.
8643         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8644         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8645         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8646         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8648         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
8649         definition.
8650         (_ufc_doit_r): Likewise.
8651         * crypt/crypt_util.c (_ufc_copymem): Likewise.
8652         (_ufc_output_conversion_r): Likewise.
8653         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
8654         * inet/rcmd.c (rcmd_af): Likewise.
8655         (rcmd): Likewise.
8656         (ruserok_af): Likewise.
8657         (ruserok): Likewise.
8658         (ruserok2_sa): Likewise.
8659         (ruserok_sa): Likewise.
8660         (iruserok_af): Likewise.
8661         (iruserok): Likewise.
8662         (__ivaliduser): Likewise.
8663         (__validuser2_sa): Likewise.
8664         * inet/rexec.c (rexec_af): Likewise.
8665         (rexec): Likewise.
8666         * inet/ruserpass.c (ruserpass): Likewise.
8667         * locale/programs/xmalloc.c (xcalloc): Likewise.
8668         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
8669         * math/w_drem.c (__drem): Likewise.
8670         * math/w_dremf.c (__dremf): Likewise.
8671         * math/w_dreml.c (__dreml): Likewise.
8672         * misc/daemon.c (daemon): Likewise.
8673         * resolv/res_debug.c (p_fqnname): Likewise.
8674         * stdlib/div.c (div): Likewise.
8675         * string/memcmp.c (memcmp_bytes): Likewise.
8676         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
8677         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
8679         * crypt/cert.c (main): Convert to prototype-style function
8680         definition.
8681         * io/pipe.c (__pipe): Likewise.
8682         * io/pipe2.c (__pipe2): Likewise.
8683         * misc/futimesat.c (futimesat): Likewise.
8684         * misc/utimes.c (__utimes): Likewise.
8685         * posix/execve.c (__execve): Likewise.
8686         * posix/execvp.c (execvp): Likewise.
8687         * posix/execvpe.c (__execvpe): Likewise.
8688         * posix/fexecve.c (fexecve): Likewise.
8689         * socket/socketpair.c (socketpair): Likewise.
8690         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8691         * stdlib/erand48.c (erand48): Likewise.
8692         * stdlib/erand48_r.c (__erand48_r): Likewise.
8693         * stdlib/jrand48.c (jrand48): Likewise.
8694         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
8695         * stdlib/lcong48.c (lcong48): Likewise.
8696         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
8697         * stdlib/nrand48.c (nrand48): Likewise.
8698         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
8699         * stdlib/seed48.c (seed48): Likewise.
8700         * stdlib/seed48_r.c (__seed48_r): Likewise.
8701         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
8702         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
8703         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
8705 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8707         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
8708         * configure: Regenerated.
8709         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
8710         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
8711         unconditional.
8712         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8713         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8714         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8715         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
8716         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
8717         unconditional.
8718         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8720         * posix/Makefile (CFLAGS-regex.c): Remove variable.
8721         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
8723         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
8724         function definition.
8725         * crypt/crypt_util.c (__encrypt_r): Likewise.
8726         * libio/genops.c (_IO_no_init): Likewise.
8727         * libio/iofopncook.c (_IO_fopencookie): Likewise.
8728         (_IO_old_fopencookie): Likewise.
8729         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8730         * libio/iogetline.c (_IO_getline): Likewise.
8731         (_IO_getline_info): Likewise.
8732         * libio/iogetwline.c (_IO_getwline): Likewise.
8733         (_IO_getwline_info): Likewise.
8734         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
8735         * libio/vswprintf.c (_IO_vswprintf): Likewise.
8736         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
8737         (find_entry): Likewise.
8738         (iterate_table): Likewise.
8739         (lookup): Likewise.
8740         * login/forkpty.c (forkpty): Likewise.
8741         * misc/hsearch_r.c (__hsearch_r): Likewise.
8742         * misc/select.c (__select): Likewise.
8743         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
8744         Likewise.
8745         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
8746         Likewise.
8747         * nptl/old_pthread_cond_timedwait.c
8748         (__pthread_cond_timedwait_2_0): Likewise.
8749         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
8750         * nptl/pthread_barrierattr_getpshared.c
8751         (pthread_barrierattr_getpshared): Likewise.
8752         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8753         Likewise.
8754         * nptl/pthread_mutex_setprioceiling.c
8755         (pthread_mutex_setprioceiling): Likewise.
8756         * nptl/pthread_mutexattr_getprioceiling.c
8757         (pthread_mutexattr_getprioceiling): Likewise.
8758         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
8759         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8760         Likewise.
8761         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8762         Likewise.
8763         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
8764         Likewise.
8765         * socket/recvfrom.c (__recvfrom): Likewise.
8766         * socket/sendto.c (__sendto): Likewise.
8767         * socket/setsockopt.c (__setsockopt): Likewise.
8768         * stdio-common/_itoa.c (_itoa): Likewise.
8769         * stdio-common/_itowa.c (_itowa): Likewise.
8770         * stdio-common/reg-printf.c (__register_printf_specifier):
8771         Likewise.
8772         (__register_printf_function): Likewise.
8773         * stdio-common/tempname.c (__path_search): Likewise.
8774         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
8775         * stdlib/mul_1.c (mpn_mul_1): Likewise.
8776         * stdlib/random_r.c (__initstate_r): Likewise.
8777         * stdlib/setenv.c (__add_to_environ): Likewise.
8778         * stdlib/submul_1.c (mpn_submul_1): Likewise.
8779         * streams/getpmsg.c (getpmsg): Likewise.
8780         * streams/putmsg.c (putmsg): Likewise.
8781         * streams/putpmsg.c (putpmsg): Likewise.
8782         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
8783         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8784         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
8785         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
8786         * sunrpc/pm_getport.c (pmap_getport): Likewise.
8787         * sunrpc/svc_udp.c (cache_get): Likewise.
8788         * sunrpc/xdr_array.c (xdr_vector): Likewise.
8789         * sysdeps/mach/hurd/getcwd.c
8790         (__canonicalize_directory_name_internal): Likewise.
8791         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
8792         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
8793         * sysdeps/mach/hurd/select.c (__select): Likewise.
8794         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
8795         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
8796         * sysdeps/sparc/nptl/pthread_barrier_init.c
8797         (__pthread_barrier_init): Likewise.
8798         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
8799         (__pthread_cond_timedwait): Likewise.
8800         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
8801         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
8802         Likewise.
8803         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
8804         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
8805         Likewise.
8806         * sysvipc/semtimedop.c (semtimedop): Likewise.
8807         * time/setitimer.c (__setitimer): Likewise.
8808         * time/strftime_l.c (emacs_strftime): Likewise.
8810 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8812         * config.make.in (have-ssp): Delete.
8813         (stack-protector): New variable.
8814         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
8815         cache test for -fstack-protector-strong.  Export stack_protector to
8816         the best ssp flag.
8817         * configure: Regenerated.
8818         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
8819         * nscd/Makefile (CFLAGS-nscd): Likewise.
8820         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8822 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
8824         [BZ #19122]
8825         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
8826         attribute_hidden.
8828 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8830         [BZ #18743]
8831         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
8832         code to...
8833         (ELIDE_LOCK): ...here.
8834         (__get_new_count): New function with part of the code from
8835         __elide_lock that updates the value of adapt_count after a
8836         transaction abort.
8837         (__elided_trylock): Moved this code to...
8838         (ELIDE_TRYLOCK): ...here.
8840 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8842         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
8843         * configure: Regenerate.
8844         * INSTALL: Regenerate.
8845         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
8846         and tweak grammar.
8848 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
8850         * login/programs/pt_chown.c: Include signal.h
8851         (main): Clear any signal mask from the parent process.
8853 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8855         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
8856         * configure: Regenerated.
8857         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
8858         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
8859         $(gnu89-inline-CFLAGS).
8861         * configure.ac (libc_cv_asm_weak_directive): Remove configure
8862         test.
8863         (libc_cv_asm_weakext_directive): Likewise.
8864         * configure: Regenerated.
8865         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
8866         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
8867         * include/libc-symbols.h
8868         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
8869         #error.
8870         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
8871         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
8873         * sysdeps/arm/backtrace.c (__backtrace): Convert to
8874         prototype-style function definition.
8875         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8876         * sysdeps/i386/ffs.c (__ffs): Likewise.
8877         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8878         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
8879         Likewise.
8880         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8881         Likewise.
8882         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8883         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8884         Likewise.
8885         * sysdeps/m68k/ffs.c (__ffs): Likewise.
8886         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
8887         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
8888         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
8889         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
8890         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
8891         * sysdeps/mach/hurd/access.c (__access): Likewise.
8892         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
8893         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
8894         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
8895         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
8896         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
8897         (cthread_getspecific): Likewise.
8898         (cthread_setspecific): Likewise.
8899         (__libc_getspecific): Likewise.
8900         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
8901         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
8902         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
8903         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
8904         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
8905         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
8906         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
8907         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
8908         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
8909         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
8910         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
8911         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8912         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
8913         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
8914         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
8915         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
8916         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
8917         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
8918         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
8919         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
8920         * sysdeps/mach/hurd/link.c (__link): Likewise.
8921         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
8922         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
8923         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
8924         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
8925         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8926         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
8927         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
8928         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
8929         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8930         * sysdeps/mach/hurd/rename.c (rename): Likewise.
8931         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
8932         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8933         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
8934         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
8935         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
8936         * sysdeps/mach/hurd/send.c (__send): Likewise.
8937         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
8938         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
8939         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
8940         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
8941         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
8942         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
8943         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
8944         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
8945         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
8946         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
8947         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
8948         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
8949         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
8950         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
8951         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
8952         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
8953         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
8954         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
8955         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
8956         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8957         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
8958         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
8959         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
8960         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
8961         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
8962         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
8963         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
8964         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8965         * sysdeps/posix/alarm.c (alarm): Likewise.
8966         * sysdeps/posix/cuserid.c (cuserid): Likewise.
8967         * sysdeps/posix/dirfd.c (dirfd): Likewise.
8968         * sysdeps/posix/dup.c (__dup): Likewise.
8969         * sysdeps/posix/dup2.c (__dup2): Likewise.
8970         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
8971         (main): Likewise.
8972         * sysdeps/posix/flock.c (__flock): Likewise.
8973         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
8974         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8975         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
8976         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
8977         * sysdeps/posix/isatty.c (__isatty): Likewise.
8978         * sysdeps/posix/killpg.c (killpg): Likewise.
8979         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8980         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
8981         * sysdeps/posix/raise.c (raise): Likewise.
8982         * sysdeps/posix/remove.c (remove): Likewise.
8983         * sysdeps/posix/rename.c (rename): Likewise.
8984         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
8985         * sysdeps/posix/seekdir.c (seekdir): Likewise.
8986         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
8987         * sysdeps/posix/sigignore.c (sigignore): Likewise.
8988         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
8989         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
8990         * sysdeps/posix/sigset.c (sigset): Likewise.
8991         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
8992         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8993         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
8994         * sysdeps/posix/time.c (time): Likewise.
8995         * sysdeps/posix/ttyname.c (getttyname): Likewise.
8996         (ttyname): Likewise.
8997         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
8998         * sysdeps/posix/utime.c (utime): Likewise.
8999         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
9000         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9001         Likewise.
9002         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
9003         (pthread_spin_trylock): Likewise.
9004         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
9005         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
9006         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
9007         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
9008         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
9009         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
9010         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
9011         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
9012         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
9013         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
9014         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
9015         * sysdeps/s390/ffs.c (__ffs): Likewise.
9016         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
9017         Likewise.
9018         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9019         Likewise.
9020         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
9021         Likewise.
9022         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
9023         (pthread_barrier_destroy): Likewise.
9024         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9025         (__pthread_barrier_wait): Likewise.
9026         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
9027         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9028         (__pthread_barrier_wait): Likewise.
9029         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
9030         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
9031         (memcmp_not_common_alignment): Likewise.
9032         (MEMCMP): Likewise.
9033         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
9034         (_wordcopy_fwd_dest_aligned): Likewise.
9035         (_wordcopy_bwd_aligned): Likewise.
9036         (_wordcopy_bwd_dest_aligned): Likewise.
9037         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
9038         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
9039         * sysdeps/unix/bsd/stty.c (stty): Likewise.
9040         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
9041         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
9042         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
9043         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
9044         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
9045         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
9046         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
9047         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
9048         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9049         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
9050         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
9051         * sysdeps/unix/stime.c (stime): Likewise.
9052         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
9053         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
9054         Likewise.  Use internal_function.
9055         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
9056         Convert to prototype-style function definition.
9057         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9058         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9059         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
9060         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9061         Likewise.  Use internal_function.
9062         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
9063         prototype-style function definition
9064         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9065         Likewise.
9066         (__getlogin_r): Likewise.
9067         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
9068         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
9069         (__pthread_cond_broadcast): Likewise.
9070         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
9071         (__pthread_cond_destroy): Likewise.
9072         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
9073         (__pthread_cond_init): Likewise.
9074         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
9075         (__pthread_cond_signal): Likewise.
9076         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9077         (__pthread_cond_wait): Likewise.
9078         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
9079         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9080         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
9081         Likewise.
9082         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
9083         Likewise.
9084         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9085         Likewise.
9086         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
9087         Likewise.
9088         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
9089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9090         (__ftruncate64): Likewise.
9091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9092         (truncate64): Likewise.
9093         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
9094         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
9095         (pthread_getcpuclockid): Likewise.
9096         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9097         Likewise.
9098         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9099         Likewise.
9100         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
9101         Likewise.
9102         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9103         Likewise.
9104         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
9105         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
9106         (__libc_sigaction): Likewise.
9107         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
9108         Likewise.
9109         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9110         (__sigprocmask): Likewise.
9111         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
9112         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
9113         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
9114         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9115         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9116         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
9117         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9118         Likewise.
9119         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
9120         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
9121         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9122         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
9123         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
9124         Likewise.
9125         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9126         (__sigprocmask): Likewise.
9127         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
9128         (cfgetispeed): Likewise.
9129         (cfsetospeed): Likewise.
9130         (cfsetispeed): Likewise.
9131         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
9132         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
9133         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9134         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9135         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
9136         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
9137         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
9138         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
9139         Likewise.
9140         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
9141         Likewise.
9142         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
9143         Likewise.
9144         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9145         Likewise.
9146         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9148 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9150         sunrpc: Rewrite with explicit TLS access using __thread.
9151         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9152         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9153         directly.
9154         (__rpc_thread_variables): Access thread_rpc_vars directly.
9155         Eliminate redundant assignment of the tvp variable.
9157 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9159         malloc: Rewrite with explicit TLS access using __thread.
9160         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9161         (tsd_setspecific, tsd_getspecific): Remove.
9162         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9163         (tsd_setspecific, tsd_getspecific): Likewise.
9164         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9165         (tsd_setspecific, tsd_getspecific): Likewise.
9166         * malloc/arena.c (thread_arena): New TLS variable.
9167         (arena_key): Remove variable.
9168         (arena_get): Use thread_arena.
9169         (arena_lookup): Remove macro.
9170         (malloc_atfork, free_atfork, ptmalloc_lock_all)
9171         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9172         (_int_new_arena, get_free_list, reused_arena)
9173         (arena_thread_freeres): Use thread_arena.
9174         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9175         tsd_getspecific, tsd_setspecific from safety annotations.
9176         (Allocating Cleared Space): Remove arena_lookup from safety
9177         annotations.
9179 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9181         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
9182         struct scratch_buffer instead of extend_alloca.
9184 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9186         * sysdeps/unix/sysv/linux/kernel-features.h
9187         (__ASSUME_SOCK_CLOEXEC): Remove.
9188         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
9189         (__have_paccept): Remove unused macro.
9190         * include/unistd.h (__have_sock_cloexec): Remove declaration.
9191         * misc/syslog.c (openlog_internal): Remove fallback code for
9192         !__ASSUME_SOCK_CLOEXEC.
9193         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
9194         missing SOCK_CLOEXEC.
9195         * nscd/connections.c (have_sock_cloexec): Remove definition.
9196         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9197         * nscd/nscd_helper.c (open_socket): Remove fallback code for
9198         !__ASSUME_SOCK_CLOEXEC.
9199         * resolv/res_send.c (__have_o_nonblock): Remove definition.
9200         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9201         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
9202         definition.
9203         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
9204         code for !__ASSUME_SOCK_CLOEXEC.
9206 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9208         [BZ #18982]
9209         * manual/stdio.texi (Variable Arguments Output): Add portability
9210         note, explaining that vfprintf clobbers the va_list pointer.
9212 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9214         * math/libm-test.inc (fabs_test_data): Add more tests.
9215         (fdim_test_data): Likewise.
9216         (fma_test_data): Likewise.
9217         (fmax_test_data): Likewise.
9218         (fmin_test_data): Likewise.
9219         (fmod_test_data): Likewise.
9221 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
9223         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
9224         data.
9226 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9228         * math/libm-test.inc (ceil_test_data): Add more tests and more
9229         expectations for "inexact".
9230         (floor_test_data): Add more tests.
9231         (round_test_data): Likewise.
9232         (trunc_test_data): Likewise.
9234         * crypt/cert.c (good_bye): Convert to prototype-style function
9235         definition.
9236         (get8): Likewise.
9237         (put8): Likewise.
9238         * crypt/crypt-entry.c (crypt): Likewise.
9239         (__fcrypt): Likewise.
9240         * crypt/crypt_util.c (_ufc_prbits): Likewise.
9241         (_ufc_set_bits): Likewise.
9242         (_ufc_clearmem): Likewise.
9243         (__init_des_r): Likewise.
9244         (shuffle_sb): Likewise.
9245         (shuffle_sb): Likewise.
9246         (_ufc_setup_salt_r): Likewise.
9247         (_ufc_mk_keytab_r): Likewise.
9248         (_ufc_dofinalperm_r): Likewise.
9249         (encrypt): Likewise.
9250         (__setkey_r): Likewise.
9251         (setkey): Likewise.
9252         * crypt/md5.c (md5_init_ctx): Likewise.
9253         (md5_read_ctx): Likewise.
9254         (md5_finish_ctx): Likewise.
9255         (md5_stream): Likewise.
9256         (md5_buffer): Likewise.
9257         (md5_process_bytes): Likewise.
9258         * crypt/sha256.c (__sha256_init_ctx): Likewise.
9259         (__sha256_finish_ctx): Likewise.
9260         (__sha256_process_bytes): Likewise.
9261         * crypt/sha512.c (__sha512_init_ctx): Likewise.
9262         (__sha512_finish_ctx): Likewise.
9263         (__sha512_process_bytes): Likewise.
9264         * ctype/isctype.c (__isctype): Likewise.
9265         * debug/backtrace.c (__backtrace): Likewise.
9266         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9267         * debug/fgets_chk.c (__fgets_chk): Likewise.
9268         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9269         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9270         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9271         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9272         * debug/memset_chk.c (__memset_chk): Likewise.
9273         * debug/strcat_chk.c (__strcat_chk): Likewise.
9274         * debug/strncat_chk.c (__strncat_chk): Likewise.
9275         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9276         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9277         * dirent/dirfd.c (dirfd): Likewise.
9278         * dirent/getdents.c (__getdirentries): Likewise.
9279         * dirent/getdents64.c (getdirentries64): Likewise.
9280         * dirent/rewinddir.c (__rewinddir): Likewise.
9281         * dirent/seekdir.c (seekdir): Likewise.
9282         * dirent/telldir.c (telldir): Likewise.
9283         * elf/sln.c (makesymlinks): Likewise.
9284         (makesymlink): Likewise.
9285         * gmon/gmon.c (__moncontrol): Likewise.
9286         (__monstartup): Likewise.
9287         (write_hist): Likewise.
9288         (write_call_graph): Likewise.
9289         (write_bb_counts): Likewise.
9290         * grp/setgroups.c (setgroups): Likewise.
9291         * inet/inet_lnaof.c (inet_lnaof): Likewise.
9292         * inet/inet_net.c (inet_network): Likewise.
9293         * inet/inet_netof.c (inet_netof): Likewise.
9294         * inet/rcmd.c (rresvport_af): Likewise.
9295         (rresvport): Likewise.
9296         * io/access.c (__access): Likewise.
9297         * io/chdir.c (__chdir): Likewise.
9298         * io/chmod.c (__chmod): Likewise.
9299         * io/chown.c (__chown): Likewise.
9300         * io/close.c (__close): Likewise.
9301         * io/creat.c (creat): Likewise.
9302         * io/creat64.c (creat64): Likewise.
9303         * io/dup.c (__dup): Likewise.
9304         * io/dup2.c (__dup2): Likewise.
9305         * io/dup3.c (__dup3): Likewise.
9306         * io/euidaccess.c (__euidaccess): Likewise.
9307         * io/faccessat.c (faccessat): Likewise.
9308         * io/fchmod.c (__fchmod): Likewise.
9309         * io/fchmodat.c (fchmodat): Likewise.
9310         * io/fchown.c (__fchown): Likewise.
9311         * io/fchownat.c (fchownat): Likewise.
9312         * io/fcntl.c (__fcntl): Likewise.
9313         * io/flock.c (__flock): Likewise.
9314         * io/fts.c (fts_load): Likewise.
9315         (fts_close): Likewise.
9316         (fts_read): Likewise.
9317         (fts_set): Likewise.
9318         (fts_children): Likewise.
9319         (fts_build): Likewise.
9320         (fts_stat): Likewise.
9321         (fts_sort): Likewise.
9322         (fts_alloc): Likewise.
9323         (fts_lfree): Likewise.
9324         (fts_palloc): Likewise.
9325         (fts_padjust): Likewise.
9326         (fts_maxarglen): Likewise.
9327         (fts_safe_changedir): Likewise.
9328         * io/getwd.c (getwd): Likewise.
9329         * io/isatty.c (__isatty): Likewise.
9330         * io/lchown.c (__lchown): Likewise.
9331         * io/link.c (__link): Likewise.
9332         * io/linkat.c (linkat): Likewise.
9333         * io/lseek.c (__libc_lseek): Likewise.
9334         * io/mkdir.c (__mkdir): Likewise.
9335         * io/mkdirat.c (mkdirat): Likewise.
9336         * io/mkfifo.c (mkfifo): Likewise.
9337         * io/mkfifoat.c (mkfifoat): Likewise.
9338         * io/open.c (__libc_open): Likewise.
9339         * io/open64.c (__libc_open64): Likewise.
9340         * io/readlink.c (__readlink): Likewise.
9341         * io/readlinkat.c (readlinkat): Likewise.
9342         * io/rmdir.c (__rmdir): Likewise.
9343         * io/symlink.c (__symlink): Likewise.
9344         * io/symlinkat.c (symlinkat): Likewise.
9345         * io/ttyname.c (ttyname): Likewise.
9346         * io/ttyname_r.c (__ttyname_r): Likewise.
9347         * io/umask.c (__umask): Likewise.
9348         * io/unlink.c (__unlink): Likewise.
9349         * io/unlinkat.c (unlinkat): Likewise.
9350         * io/utime.c (utime): Likewise.
9351         * libio/clearerr.c (clearerr): Likewise.
9352         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
9353         * libio/feof.c (_IO_feof): Likewise.
9354         * libio/feof_u.c (feof_unlocked): Likewise.
9355         * libio/ferror.c (_IO_ferror): Likewise.
9356         * libio/ferror_u.c (ferror_unlocked): Likewise.
9357         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9358         * libio/fileno.c (__fileno): Likewise.
9359         * libio/fputc.c (fputc): Likewise.
9360         * libio/fputc_u.c (fputc_unlocked): Likewise.
9361         * libio/fputwc.c (fputwc): Likewise.
9362         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
9363         * libio/freopen.c (freopen): Likewise.
9364         * libio/freopen64.c (freopen64): Likewise.
9365         * libio/fseek.c (fseek): Likewise.
9366         * libio/fseeko.c (fseeko): Likewise.
9367         * libio/fseeko64.c (fseeko64): Likewise.
9368         * libio/ftello.c (__ftello): Likewise.
9369         * libio/ftello64.c (ftello64): Likewise.
9370         * libio/fwide.c (fwide): Likewise.
9371         * libio/genops.c (_IO_un_link): Likewise.
9372         (_IO_link_in): Likewise.
9373         (_IO_least_marker): Likewise.
9374         (_IO_switch_to_main_get_area): Likewise.
9375         (_IO_switch_to_backup_area): Likewise.
9376         (_IO_switch_to_get_mode): Likewise.
9377         (_IO_free_backup_area): Likewise.
9378         (_IO_switch_to_put_mode): Likewise.
9379         (__overflow): Likewise.
9380         (__underflow): Likewise.
9381         (__uflow): Likewise.
9382         (_IO_setb): Likewise.
9383         (_IO_doallocbuf): Likewise.
9384         (_IO_default_underflow): Likewise.
9385         (_IO_default_uflow): Likewise.
9386         (_IO_default_xsputn): Likewise.
9387         (_IO_sgetn): Likewise.
9388         (_IO_default_xsgetn): Likewise.
9389         (_IO_sync): Likewise.
9390         (_IO_default_setbuf): Likewise.
9391         (_IO_default_seekpos): Likewise.
9392         (_IO_default_doallocate): Likewise.
9393         (_IO_init): Likewise.
9394         (_IO_old_init): Likewise.
9395         (_IO_default_sync): Likewise.
9396         (_IO_default_finish): Likewise.
9397         (_IO_default_seekoff): Likewise.
9398         (_IO_sputbackc): Likewise.
9399         (_IO_sungetc): Likewise.
9400         (_IO_set_column): Likewise.
9401         (_IO_set_column): Likewise.
9402         (_IO_adjust_column): Likewise.
9403         (_IO_get_column): Likewise.
9404         (_IO_init_marker): Likewise.
9405         (_IO_remove_marker): Likewise.
9406         (_IO_marker_difference): Likewise.
9407         (_IO_marker_delta): Likewise.
9408         (_IO_seekmark): Likewise.
9409         (_IO_unsave_markers): Likewise.
9410         (_IO_nobackup_pbackfail): Likewise.
9411         (_IO_default_pbackfail): Likewise.
9412         (_IO_default_seek): Likewise.
9413         (_IO_default_stat): Likewise.
9414         (_IO_default_read): Likewise.
9415         (_IO_default_write): Likewise.
9416         (_IO_default_showmanyc): Likewise.
9417         (_IO_default_imbue): Likewise.
9418         (_IO_iter_next): Likewise.
9419         (_IO_iter_file): Likewise.
9420         * libio/getc.c (_IO_getc): Likewise.
9421         * libio/getwc.c (_IO_getwc): Likewise.
9422         * libio/iofclose.c (_IO_new_fclose): Likewise.
9423         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9424         * libio/iofflush.c (_IO_fflush): Likewise.
9425         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
9426         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
9427         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
9428         * libio/iofgets.c (_IO_fgets): Likewise.
9429         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
9430         * libio/iofgetws.c (fgetws): Likewise.
9431         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9432         * libio/iofopen64.c (_IO_fopen64): Likewise.
9433         * libio/iofopncook.c (_IO_cookie_read): Likewise.
9434         (_IO_cookie_write): Likewise.
9435         (_IO_cookie_seek): Likewise.
9436         (_IO_cookie_close): Likewise.
9437         (_IO_cookie_seekoff): Likewise.
9438         (_IO_old_cookie_seek): Likewise.
9439         * libio/iofputs.c (_IO_fputs): Likewise.
9440         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
9441         * libio/iofputws.c (fputws): Likewise.
9442         * libio/iofputws_u.c (fputws_unlocked): Likewise.
9443         * libio/iofread.c (_IO_fread): Likewise.
9444         * libio/iofread_u.c (__fread_unlocked): Likewise.
9445         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
9446         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
9447         * libio/ioftell.c (_IO_ftell): Likewise.
9448         * libio/iofwrite.c (_IO_fwrite): Likewise.
9449         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9450         * libio/iogets.c (_IO_gets): Likewise.
9451         * libio/iopadn.c (_IO_padn): Likewise.
9452         * libio/iopopen.c (_IO_new_proc_open): Likewise.
9453         (_IO_new_popen): Likewise.
9454         (_IO_new_proc_close): Likewise.
9455         * libio/ioputs.c (_IO_puts): Likewise.
9456         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
9457         (_IO_seekoff): Likewise.
9458         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
9459         (_IO_seekpos): Likewise.
9460         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
9461         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
9462         * libio/ioungetc.c (_IO_ungetc): Likewise.
9463         * libio/ioungetwc.c (ungetwc): Likewise.
9464         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9465         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
9466         * libio/iowpadn.c (_IO_wpadn): Likewise.
9467         * libio/libc_fatal.c (__libc_fatal): Likewise.
9468         * libio/memstream.c (__open_memstream): Likewise.
9469         (_IO_mem_sync): Likewise.
9470         (_IO_mem_finish): Likewise.
9471         * libio/oldfileops.c (_IO_old_file_init): Likewise.
9472         (_IO_old_file_close_it): Likewise.
9473         (_IO_old_file_finish): Likewise.
9474         (_IO_old_file_fopen): Likewise.
9475         (_IO_old_file_attach): Likewise.
9476         (_IO_old_file_setbuf): Likewise.
9477         (_IO_old_do_write): Likewise.
9478         (old_do_write): Likewise.
9479         (_IO_old_file_underflow): Likewise.
9480         (_IO_old_file_overflow): Likewise.
9481         (_IO_old_file_sync): Likewise.
9482         (_IO_old_file_seekoff): Likewise.
9483         (_IO_old_file_write): Likewise.
9484         (_IO_old_file_xsputn): Likewise.
9485         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
9486         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9487         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
9488         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
9489         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9490         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
9491         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
9492         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9493         (_IO_old_popen): Likewise.
9494         (_IO_old_proc_close): Likewise.
9495         * libio/oldpclose.c (__old_pclose): Likewise.
9496         * libio/pclose.c (__new_pclose): Likewise.
9497         * libio/peekc.c (_IO_peekc_locked): Likewise.
9498         * libio/putc.c (_IO_putc): Likewise.
9499         * libio/putc_u.c (putc_unlocked): Likewise.
9500         * libio/putchar.c (putchar): Likewise.
9501         * libio/putchar_u.c (putchar_unlocked): Likewise.
9502         * libio/putwc.c (putwc): Likewise.
9503         * libio/putwc_u.c (putwc_unlocked): Likewise.
9504         * libio/putwchar.c (putwchar): Likewise.
9505         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
9506         * libio/rewind.c (rewind): Likewise.
9507         * libio/setbuf.c (setbuf): Likewise.
9508         * libio/setlinebuf.c (setlinebuf): Likewise.
9509         * libio/vasprintf.c (_IO_vasprintf): Likewise.
9510         * libio/vscanf.c (_IO_vscanf): Likewise.
9511         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
9512         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
9513         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9514         * libio/wgenops.c (_IO_least_wmarker): Likewise.
9515         (_IO_switch_to_main_wget_area): Likewise.
9516         (_IO_switch_to_wbackup_area): Likewise.
9517         (_IO_wsetb): Likewise.
9518         (_IO_wdefault_pbackfail): Likewise.
9519         (_IO_wdefault_finish): Likewise.
9520         (_IO_wdefault_uflow): Likewise.
9521         (__woverflow): Likewise.
9522         (__wuflow): Likewise.
9523         (__wunderflow): Likewise.
9524         (_IO_wdefault_xsputn): Likewise.
9525         (_IO_wdefault_xsgetn): Likewise.
9526         (_IO_wdoallocbuf): Likewise.
9527         (_IO_wdefault_doallocate): Likewise.
9528         (_IO_switch_to_wget_mode): Likewise.
9529         (_IO_free_wbackup_area): Likewise.
9530         (_IO_switch_to_wput_mode): Likewise.
9531         (_IO_sputbackwc): Likewise.
9532         (_IO_sungetwc): Likewise.
9533         (_IO_adjust_wcolumn): Likewise.
9534         (_IO_init_wmarker): Likewise.
9535         (_IO_wmarker_delta): Likewise.
9536         (_IO_seekwmark): Likewise.
9537         (_IO_unsave_wmarkers): Likewise.
9538         * libio/wmemstream.c (open_wmemstream): Likewise.
9539         (_IO_wmem_sync): Likewise.
9540         (_IO_wmem_finish): Likewise.
9541         * locale/nl_langinfo.c (nl_langinfo): Likewise.
9542         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
9543         * locale/programs/simple-hash.c (init_hash): Likewise.
9544         (delete_hash): Likewise.
9545         (insert_entry): Likewise.
9546         (set_entry): Likewise.
9547         (next_prime): Likewise.
9548         (is_prime): Likewise.
9549         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
9550         (xmalloc): Likewise.
9551         (xrealloc): Likewise.
9552         * locale/programs/xstrdup.c (xstrdup): Likewise.
9553         * localedata/collate-test.c (xstrcoll): Likewise.
9554         * localedata/xfrm-test.c (xstrcmp): Likewise.
9555         * login/getlogin_r.c (__getlogin_r): Likewise.
9556         * login/getpt.c (__posix_openpt): Likewise.
9557         * login/login_tty.c (login_tty): Likewise.
9558         * login/setlogin.c (setlogin): Likewise.
9559         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
9560         (mach_msg_destroy_port): Likewise.
9561         (mach_msg_destroy_memory): Likewise.
9562         * malloc/mcheck.c (flood): Likewise.
9563         * misc/acct.c (acct): Likewise.
9564         * misc/brk.c (__brk): Likewise.
9565         * misc/chflags.c (chflags): Likewise.
9566         * misc/chroot.c (chroot): Likewise.
9567         * misc/fchflags.c (fchflags): Likewise.
9568         * misc/fstab.c (getfsspec): Likewise.
9569         (getfsfile): Likewise.
9570         * misc/fsync.c (fsync): Likewise.
9571         * misc/ftruncate.c (__ftruncate): Likewise.
9572         * misc/ftruncate64.c (__ftruncate64): Likewise.
9573         * misc/getdomain.c (getdomainname): Likewise.
9574         (getdomainname): Likewise.
9575         * misc/gethostname.c (__gethostname): Likewise.
9576         * misc/getpass.c (getpass): Likewise.
9577         * misc/getttyent.c (skip): Likewise.
9578         (value): Likewise.
9579         * misc/gtty.c (gtty): Likewise.
9580         * misc/hsearch.c (hsearch): Likewise.
9581         (hcreate): Likewise.
9582         * misc/hsearch_r.c (__hcreate_r): Likewise.
9583         (__hdestroy_r): Likewise.
9584         * misc/ioctl.c (__ioctl): Likewise.
9585         * misc/mkdtemp.c (mkdtemp): Likewise.
9586         * misc/mkostemp.c (mkostemp): Likewise.
9587         * misc/mkostemp64.c (mkostemp64): Likewise.
9588         * misc/mkostemps.c (mkostemps): Likewise.
9589         * misc/mkostemps64.c (mkostemps64): Likewise.
9590         * misc/mkstemp.c (mkstemp): Likewise.
9591         * misc/mkstemp64.c (mkstemp64): Likewise.
9592         * misc/mkstemps.c (mkstemps): Likewise.
9593         * misc/mkstemps64.c (mkstemps64): Likewise.
9594         * misc/mktemp.c (__mktemp): Likewise.
9595         * misc/preadv.c (preadv): Likewise.
9596         * misc/preadv64.c (preadv64): Likewise.
9597         * misc/pwritev.c (pwritev): Likewise.
9598         * misc/pwritev64.c (pwritev64): Likewise.
9599         * misc/readv.c (__readv): Likewise.
9600         * misc/revoke.c (revoke): Likewise.
9601         * misc/setdomain.c (setdomainname): Likewise.
9602         * misc/setegid.c (setegid): Likewise.
9603         * misc/seteuid.c (seteuid): Likewise.
9604         * misc/sethostid.c (sethostid): Likewise.
9605         * misc/sethostname.c (sethostname): Likewise.
9606         * misc/setregid.c (__setregid): Likewise.
9607         * misc/setreuid.c (__setreuid): Likewise.
9608         * misc/sstk.c (sstk): Likewise.
9609         * misc/stty.c (stty): Likewise.
9610         * misc/syscall.c (syscall): Likewise.
9611         * misc/syslog.c (setlogmask): Likewise.
9612         * misc/truncate.c (__truncate): Likewise.
9613         * misc/truncate64.c (truncate64): Likewise.
9614         * misc/ualarm.c (ualarm): Likewise.
9615         * misc/usleep.c (usleep): Likewise.
9616         * misc/ustat.c (ustat): Likewise.
9617         * misc/writev.c (__writev): Likewise.
9618         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
9619         * nptl/old_pthread_cond_broadcast.c
9620         (__pthread_cond_broadcast_2_0): Likewise.
9621         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
9622         Likewise.
9623         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
9624         Likewise.
9625         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
9626         Likewise.
9627         * nptl/pt-raise.c (raise): Likewise.
9628         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
9629         Likewise.
9630         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
9631         * nptl/pthread_barrierattr_destroy.c
9632         (pthread_barrierattr_destroy): Likewise.
9633         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
9634         Likewise.
9635         * nptl/pthread_barrierattr_setpshared.c
9636         (pthread_barrierattr_setpshared): Likewise.
9637         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9638         Likewise.
9639         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9640         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9641         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9642         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
9643         Likewise.
9644         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
9645         Likewise.
9646         * nptl/pthread_condattr_getpshared.c
9647         (pthread_condattr_getpshared): Likewise.
9648         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
9649         Likewise.
9650         * nptl/pthread_condattr_setpshared.c
9651         (pthread_condattr_setpshared): Likewise.
9652         * nptl/pthread_detach.c (pthread_detach): Likewise.
9653         * nptl/pthread_equal.c (__pthread_equal): Likewise.
9654         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
9655         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
9656         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
9657         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
9658         Likewise.
9659         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9660         Likewise.
9661         * nptl/pthread_mutex_getprioceiling.c
9662         (pthread_mutex_getprioceiling): Likewise.
9663         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
9664         Likewise.
9665         * nptl/pthread_mutexattr_getprotocol.c
9666         (pthread_mutexattr_getprotocol): Likewise.
9667         * nptl/pthread_mutexattr_getpshared.c
9668         (pthread_mutexattr_getpshared): Likewise.
9669         * nptl/pthread_mutexattr_getrobust.c
9670         (pthread_mutexattr_getrobust): Likewise.
9671         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9672         Likewise.
9673         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
9674         Likewise.
9675         * nptl/pthread_mutexattr_setprioceiling.c
9676         (pthread_mutexattr_setprioceiling): Likewise.
9677         * nptl/pthread_mutexattr_setprotocol.c
9678         (pthread_mutexattr_setprotocol): Likewise.
9679         * nptl/pthread_mutexattr_setpshared.c
9680         (pthread_mutexattr_setpshared): Likewise.
9681         * nptl/pthread_mutexattr_setrobust.c
9682         (pthread_mutexattr_setrobust): Likewise.
9683         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
9684         Likewise.
9685         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
9686         Likewise.
9687         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
9688         Likewise.
9689         * nptl/pthread_rwlockattr_getkind_np.c
9690         (pthread_rwlockattr_getkind_np): Likewise.
9691         * nptl/pthread_rwlockattr_getpshared.c
9692         (pthread_rwlockattr_getpshared): Likewise.
9693         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
9694         Likewise.
9695         * nptl/pthread_rwlockattr_setkind_np.c
9696         (pthread_rwlockattr_setkind_np): Likewise.
9697         * nptl/pthread_rwlockattr_setpshared.c
9698         (pthread_rwlockattr_setpshared): Likewise.
9699         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
9700         Likewise.
9701         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
9702         Likewise.
9703         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
9704         Likewise.
9705         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9706         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
9707         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
9708         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
9709         * nptl/sem_close.c (sem_close): Likewise.
9710         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
9711         * nptl/sem_init.c (__old_sem_init): Likewise.
9712         * nptl/sigaction.c (__sigaction): Likewise.
9713         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9714         * posix/_exit.c (_exit): Likewise.
9715         * posix/alarm.c (alarm): Likewise.
9716         * posix/confstr.c (confstr): Likewise.
9717         * posix/fpathconf.c (__fpathconf): Likewise.
9718         * posix/getgroups.c (__getgroups): Likewise.
9719         * posix/getpgid.c (__getpgid): Likewise.
9720         * posix/group_member.c (__group_member): Likewise.
9721         * posix/pathconf.c (__pathconf): Likewise.
9722         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
9723         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
9724         * posix/setgid.c (__setgid): Likewise.
9725         * posix/setpgid.c (__setpgid): Likewise.
9726         * posix/setuid.c (__setuid): Likewise.
9727         * posix/sleep.c (__sleep): Likewise.
9728         * posix/sysconf.c (__sysconf): Likewise.
9729         * posix/times.c (__times): Likewise.
9730         * posix/uname.c (__uname): Likewise.
9731         * posix/waitid.c (__waitid): Likewise.
9732         * pwd/getpw.c (__getpw): Likewise.
9733         * resolv/base64.c (b64_pton): Likewise.
9734         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
9735         * resolv/gethnamaddr.c (Dprintf): Likewise.
9736         (gethostbyname): Likewise.
9737         (gethostbyname2): Likewise.
9738         (gethostbyaddr): Likewise.
9739         (_sethtent): Likewise.
9740         (_gethtbyname): Likewise.
9741         (_gethtbyname2): Likewise.
9742         (_gethtbyaddr): Likewise.
9743         (map_v4v6_address): Likewise.
9744         (map_v4v6_hostent): Likewise.
9745         (addrsort): Likewise.
9746         (ht_sethostent): Likewise.
9747         (ht_gethostbyname): Likewise.
9748         (ht_gethostbyaddr): Likewise.
9749         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
9750         (inet_net_ntop_ipv4): Likewise.
9751         * resolv/inet_neta.c (inet_neta): Likewise.
9752         * resolv/inet_ntop.c (inet_ntop): Likewise.
9753         (inet_ntop4): Likewise.
9754         (inet_ntop6): Likewise.
9755         * resolv/inet_pton.c (__inet_pton): Likewise.
9756         (inet_pton4): Likewise.
9757         (inet_pton6): Likewise.
9758         * resolv/res_debug.c (loc_aton): Likewise.
9759         (loc_ntoa): Likewise.
9760         * resource/getpriority.c (__getpriority): Likewise.
9761         * resource/getrusage.c (__getrusage): Likewise.
9762         * resource/nice.c (nice): Likewise.
9763         * resource/setpriority.c (__setpriority): Likewise.
9764         * resource/setrlimit64.c (setrlimit64): Likewise.
9765         * resource/vlimit.c (vlimit): Likewise.
9766         * resource/vtimes.c (vtimes): Likewise.
9767         * rt/aio_error.c (aio_error): Likewise.
9768         * rt/aio_return.c (aio_return): Likewise.
9769         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
9770         * signal/kill.c (__kill): Likewise.
9771         * signal/killpg.c (killpg): Likewise.
9772         * signal/raise.c (raise): Likewise.
9773         * signal/sigaction.c (__sigaction): Likewise.
9774         * signal/sigaddset.c (sigaddset): Likewise.
9775         * signal/sigaltstack.c (sigaltstack): Likewise.
9776         * signal/sigandset.c (sigandset): Likewise.
9777         * signal/sigblock.c (__sigblock): Likewise.
9778         * signal/sigdelset.c (sigdelset): Likewise.
9779         * signal/sigempty.c (sigemptyset): Likewise.
9780         * signal/sigfillset.c (sigfillset): Likewise.
9781         * signal/sighold.c (sighold): Likewise.
9782         * signal/sigignore.c (sigignore): Likewise.
9783         * signal/sigintr.c (siginterrupt): Likewise.
9784         * signal/sigisempty.c (sigisemptyset): Likewise.
9785         * signal/sigismem.c (sigismember): Likewise.
9786         * signal/signal.c (signal): Likewise.
9787         * signal/sigorset.c (sigorset): Likewise.
9788         * signal/sigpause.c (__sigpause): Likewise.
9789         * signal/sigpending.c (sigpending): Likewise.
9790         * signal/sigprocmask.c (__sigprocmask): Likewise.
9791         * signal/sigrelse.c (sigrelse): Likewise.
9792         * signal/sigreturn.c (__sigreturn): Likewise.
9793         * signal/sigset.c (sigset): Likewise.
9794         * signal/sigsetmask.c (__sigsetmask): Likewise.
9795         * signal/sigstack.c (sigstack): Likewise.
9796         * signal/sigsuspend.c (__sigsuspend): Likewise.
9797         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
9798         * signal/sysv_signal.c (__sysv_signal): Likewise.
9799         * socket/accept.c (accept): Likewise.
9800         * socket/accept4.c (__libc_accept4): Likewise.
9801         * socket/bind.c (__bind): Likewise.
9802         * socket/connect.c (__connect): Likewise.
9803         * socket/getpeername.c (getpeername): Likewise.
9804         * socket/getsockname.c (__getsockname): Likewise.
9805         * socket/getsockopt.c (getsockopt): Likewise.
9806         * socket/listen.c (__listen): Likewise.
9807         * socket/recv.c (__recv): Likewise.
9808         * socket/recvmsg.c (__recvmsg): Likewise.
9809         * socket/send.c (__send): Likewise.
9810         * socket/sendmsg.c (__sendmsg): Likewise.
9811         * socket/shutdown.c (shutdown): Likewise.
9812         * socket/sockatmark.c (sockatmark): Likewise.
9813         * socket/socket.c (__socket): Likewise.
9814         * stdio-common/ctermid.c (ctermid): Likewise.
9815         * stdio-common/cuserid.c (cuserid): Likewise.
9816         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
9817         * stdio-common/remove.c (remove): Likewise.
9818         * stdio-common/rename.c (rename): Likewise.
9819         * stdio-common/renameat.c (renameat): Likewise.
9820         * stdio-common/tempname.c (__gen_tempname): Likewise.
9821         * stdio-common/xbug.c (InitBuffer): Likewise.
9822         (AppendToBuffer): Likewise.
9823         (ReadFile): Likewise.
9824         * stdlib/a64l.c (a64l): Likewise.
9825         * stdlib/drand48_r.c (drand48_r): Likewise.
9826         * stdlib/getcontext.c (getcontext): Likewise.
9827         * stdlib/getenv.c (getenv): Likewise.
9828         * stdlib/l64a.c (l64a): Likewise.
9829         * stdlib/llabs.c (llabs): Likewise.
9830         * stdlib/lldiv.c (lldiv): Likewise.
9831         * stdlib/lrand48_r.c (lrand48_r): Likewise.
9832         * stdlib/mrand48_r.c (mrand48_r): Likewise.
9833         * stdlib/putenv.c (putenv): Likewise.
9834         * stdlib/random.c (__srandom): Likewise.
9835         (__initstate): Likewise.
9836         (__setstate): Likewise.
9837         * stdlib/random_r.c (__srandom_r): Likewise.
9838         (__setstate_r): Likewise.
9839         (__random_r): Likewise.
9840         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
9841         * stdlib/setcontext.c (setcontext): Likewise.
9842         * stdlib/setenv.c (setenv): Likewise.
9843         (unsetenv): Likewise.
9844         * stdlib/srand48.c (srand48): Likewise.
9845         * stdlib/srand48_r.c (__srand48_r): Likewise.
9846         * stdlib/swapcontext.c (swapcontext): Likewise.
9847         * stdlib/system.c (__libc_system): Likewise.
9848         * stdlib/tst-strtod.c (expand): Likewise.
9849         * stdlib/tst-strtol.c (expand): Likewise.
9850         * stdlib/tst-strtoll.c (expand): Likewise.
9851         * streams/fattach.c (fattach): Likewise.
9852         * streams/fdetach.c (fdetach): Likewise.
9853         * streams/getmsg.c (getmsg): Likewise.
9854         * streams/isastream.c (isastream): Likewise.
9855         * string/ffs.c (__ffs): Likewise.
9856         * string/ffsll.c (ffsll): Likewise.
9857         * string/memcmp.c (memcmp_common_alignment): Likewise.
9858         (memcmp_not_common_alignment): Likewise.
9859         (MEMCMP): Likewise.
9860         * string/memcpy.c (memcpy): Likewise.
9861         * string/memmove.c (MEMMOVE): Likewise.
9862         * string/memset.c (memset): Likewise.
9863         * string/rawmemchr.c (RAWMEMCHR): Likewise.
9864         * string/strchrnul.c (STRCHRNUL): Likewise.
9865         * string/strerror.c (strerror): Likewise.
9866         * string/strndup.c (__strndup): Likewise.
9867         * string/strverscmp.c (__strverscmp): Likewise.
9868         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
9869         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
9870         (clnttcp_freeres): Likewise.
9871         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
9872         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
9873         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
9874         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
9875         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
9876         (xdr_callhdr): Likewise.
9877         * sunrpc/rpcinfo.c (udpping): Likewise.
9878         (tcpping): Likewise.
9879         (pstatus): Likewise.
9880         (pmapdump): Likewise.
9881         (brdcst): Likewise.
9882         (deletereg): Likewise.
9883         (getprognum): Likewise.
9884         (getvers): Likewise.
9885         (get_inet_address): Likewise.
9886         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
9887         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9888         (svcudp_stat): Likewise.
9889         (svcudp_recv): Likewise.
9890         (svcudp_reply): Likewise.
9891         (svcudp_getargs): Likewise.
9892         (svcudp_freeargs): Likewise.
9893         (svcudp_destroy): Likewise.
9894         * sunrpc/xdr.c (xdr_bytes): Likewise.
9895         (xdr_netobj): Likewise.
9896         (xdr_string): Likewise.
9897         (xdr_wrapstring): Likewise.
9898         * sunrpc/xdr_float.c (xdr_float): Likewise.
9899         (xdr_double): Likewise.
9900         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
9901         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
9902         * sysvipc/ftok.c (ftok): Likewise.
9903         * sysvipc/msgctl.c (msgctl): Likewise.
9904         * sysvipc/msgget.c (msgget): Likewise.
9905         * sysvipc/msgrcv.c (msgrcv): Likewise.
9906         * sysvipc/msgsnd.c (msgsnd): Likewise.
9907         * sysvipc/semget.c (semget): Likewise.
9908         * sysvipc/semop.c (semop): Likewise.
9909         * sysvipc/shmat.c (shmat): Likewise.
9910         * sysvipc/shmctl.c (shmctl): Likewise.
9911         * sysvipc/shmdt.c (shmdt): Likewise.
9912         * sysvipc/shmget.c (shmget): Likewise.
9913         * termios/cfmakeraw.c (cfmakeraw): Likewise.
9914         * termios/speed.c (cfgetospeed): Likewise.
9915         (cfgetispeed): Likewise.
9916         (cfsetospeed): Likewise.
9917         (cfsetispeed): Likewise.
9918         * termios/tcflow.c (tcflow): Likewise.
9919         * termios/tcflush.c (tcflush): Likewise.
9920         * termios/tcgetattr.c (__tcgetattr): Likewise.
9921         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
9922         * termios/tcgetsid.c (tcgetsid): Likewise.
9923         * termios/tcsendbrk.c (tcsendbreak): Likewise.
9924         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
9925         * time/adjtime.c (__adjtime): Likewise.
9926         * time/dysize.c (dysize): Likewise.
9927         * time/ftime.c (ftime): Likewise.
9928         * time/getitimer.c (__getitimer): Likewise.
9929         * time/gettimeofday.c (__gettimeofday): Likewise.
9930         * time/gmtime.c (__gmtime_r): Likewise.
9931         (gmtime): Likewise.
9932         * time/localtime.c (__localtime_r): Likewise.
9933         (localtime): Likewise.
9934         * time/offtime.c (__offtime): Likewise.
9935         * time/settimeofday.c (__settimeofday): Likewise.
9936         * time/stime.c (stime): Likewise.
9937         * time/strftime_l.c (tm_diff): Likewise.
9938         (iso_week_days): Likewise.
9939         * time/strptime.c (strptime): Likewise.
9940         * time/time.c (time): Likewise.
9941         * time/timespec_get.c (timespec_get): Likewise.
9942         * time/tzset.c (tzset_internal): Likewise.
9943         (compute_change): Likewise.
9944         (__tz_compute): Likewise.
9945         * wcsmbs/btowc.c (__btowc): Likewise.
9946         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
9947         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
9948         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
9949         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
9950         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
9951         * wcsmbs/wcscat.c (__wcscat): Likewise.
9952         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9953         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
9954         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
9955         * wcsmbs/wcscspn.c (wcscspn): Likewise.
9956         * wcsmbs/wcsdup.c (wcsdup): Likewise.
9957         * wcsmbs/wcslen.c (__wcslen): Likewise.
9958         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
9959         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
9960         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
9961         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
9962         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9963         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
9964         * wcsmbs/wcsspn.c (wcsspn): Likewise.
9965         * wcsmbs/wcsstr.c (wcsstr): Likewise.
9966         * wcsmbs/wcstok.c (wcstok): Likewise.
9967         * wcsmbs/wctob.c (wctob): Likewise.
9968         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
9969         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9970         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
9971         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
9972         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
9973         * wcsmbs/wmemset.c (__wmemset): Likewise.
9974         * wctype/wcfuncs.c (__towlower): Likewise.
9975         (__towupper): Likewise.
9977         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
9978         (lll_unlock_elision): Add adapt_count parameter.
9980 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9982         * sysdeps/nptl/configure.ac: Do not give errors based on the
9983         results of top-level configure tests.
9984         * sysdeps/nptl/configure: Regenerated.
9986         * configure.ac (libc_cv_Bgroup): Remove configure test.
9987         * configure: Regenerated.
9988         * config.make.in (have-Bgroup): Remove variable.
9990         * configure.ac (sizeof_long_double): Remove configure test.
9991         * configure: Regenerated.
9992         * config.make.in (sizeof-long-double): Remove variable.
9994         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
9995         * configure: Regenerated.
9996         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
9997         variable.
9998         (exceptions): Likewise.
9999         * sysdeps/arm/configure: Regenerated.
10000         * config.make.in (exceptions): Remove variable.
10001         * Makeconfig (uses-callbacks): Use -fexceptions instead of
10002         $(exceptions).
10003         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
10004         (CFLAGS-vdprintf_chk.c): Likewise.
10005         (CFLAGS-printf_chk.c): Likewise.
10006         (CFLAGS-fprintf_chk.c): Likewise.
10007         (CFLAGS-vprintf_chk.c): Likewise.
10008         (CFLAGS-vfprintf_chk.c): Likewise.
10009         (CFLAGS-gets_chk.c): Likewise.
10010         (CFLAGS-fgets_chk.c): Likewise.
10011         (CFLAGS-fgets_u_chk.c): Likewise.
10012         (CFLAGS-fread_chk.c): Likewise.
10013         (CFLAGS-fread_u_chk.c): Likewise.
10014         (CFLAGS-wprintf_chk.c): Likewise.
10015         (CFLAGS-fwprintf_chk.c): Likewise.
10016         (CFLAGS-vwprintf_chk.c): Likewise.
10017         (CFLAGS-vfwprintf_chk.c): Likewise.
10018         (CFLAGS-fgetws_chk.c): Likewise.
10019         (CFLAGS-fgetws_u_chk.c): Likewise.
10020         * libio/Makefile (CFLAGS-fileops.c): Likewise.
10021         (CFLAGS-fputc.c): Likewise.
10022         (CFLAGS-fputwc.c): Likewise.
10023         (CFLAGS-freopen64.c): Likewise.
10024         (CFLAGS-freopen.c): Likewise.
10025         (CFLAGS-fseek.c): Likewise.
10026         (CFLAGS-fseeko64.c): Likewise.
10027         (CFLAGS-fseeko.c): Likewise.
10028         (CFLAGS-ftello64.c): Likewise.
10029         (CFLAGS-ftello.c): Likewise.
10030         (CFLAGS-fwide.c): Likewise.
10031         (CFLAGS-genops.c): Likewise.
10032         (CFLAGS-getc.c): Likewise.
10033         (CFLAGS-getchar.c): Likewise.
10034         (CFLAGS-getwc.c): Likewise.
10035         (CFLAGS-getwchar.c): Likewise.
10036         (CFLAGS-iofclose.c): Likewise.
10037         (CFLAGS-iofflush.c): Likewise.
10038         (CFLAGS-iofgetpos64.c): Likewise.
10039         (CFLAGS-iofgetpos.c): Likewise.
10040         (CFLAGS-iofgets.c): Likewise.
10041         (CFLAGS-iofgetws.c): Likewise.
10042         (CFLAGS-iofputs.c): Likewise.
10043         (CFLAGS-iofputws.c): Likewise.
10044         (CFLAGS-iofread.c): Likewise.
10045         (CFLAGS-iofsetpos64.c): Likewise.
10046         (CFLAGS-iofsetpos.c): Likewise.
10047         (CFLAGS-ioftell.c): Likewise.
10048         (CFLAGS-iofwrite.c): Likewise.
10049         (CFLAGS-iogetdelim.c): Likewise.
10050         (CFLAGS-iogetline.c): Likewise.
10051         (CFLAGS-iogets.c): Likewise.
10052         (CFLAGS-iogetwline.c): Likewise.
10053         (CFLAGS-ioputs.c): Likewise.
10054         (CFLAGS-ioseekoff.c): Likewise.
10055         (CFLAGS-ioseekpos.c): Likewise.
10056         (CFLAGS-iosetbuffer.c): Likewise.
10057         (CFLAGS-iosetvbuf.c): Likewise.
10058         (CFLAGS-ioungetc.c): Likewise.
10059         (CFLAGS-ioungetwc.c): Likewise.
10060         (CFLAGS-oldfileops.c): Likewise.
10061         (CFLAGS-oldiofclose.c): Likewise.
10062         (CFLAGS-oldiofgetpos64.c): Likewise.
10063         (CFLAGS-oldiofgetpos.c): Likewise.
10064         (CFLAGS-oldiofsetpos64.c): Likewise.
10065         (CFLAGS-oldiofsetpos.c): Likewise.
10066         (CFLAGS-peekc.c): Likewise.
10067         (CFLAGS-putc.c): Likewise.
10068         (CFLAGS-putchar.c): Likewise.
10069         (CFLAGS-putwc.c): Likewise.
10070         (CFLAGS-putwchar.c): Likewise.
10071         (CFLAGS-rewind.c): Likewise.
10072         (CFLAGS-wfileops.c): Likewise.
10073         (CFLAGS-wgenops.c): Likewise.
10074         (CFLAGS-oldiofopen.c): Likewise.
10075         (CFLAGS-iofopen.c): Likewise.
10076         (CFLAGS-iofopen64.c): Likewise.
10077         (CFLAGS-oldtmpfile.c): Likewise.
10078         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
10079         (CFLAGS-fprintf.c): Likewise.
10080         (CFLAGS-printf.c): Likewise.
10081         (CFLAGS-vfwprintf.c): Likewise.
10082         (CFLAGS-vfscanf.c): Likewise.
10083         (CFLAGS-vfwscanf.c): Likewise.
10084         (CFLAGS-fscanf.c): Likewise.
10085         (CFLAGS-scanf.c): Likewise.
10086         (CFLAGS-isoc99_vfscanf.c): Likewise.
10087         (CFLAGS-isoc99_vscanf.c): Likewise.
10088         (CFLAGS-isoc99_fscanf.c): Likewise.
10089         (CFLAGS-isoc99_scanf.c): Likewise.
10090         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
10091         (CFLAGS-isoc99_fwscanf.c): Likewise.
10092         (CFLAGS-isoc99_vwscanf.c): Likewise.
10093         (CFLAGS-isoc99_vfwscanf.c): Likewise.
10095         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
10096         after mkstemp64.
10097         * login/tst-utmp.c (do_prepare): Likewise.
10098         * rt/tst-aio.c (do_prepare): Likewise.
10099         * rt/tst-aio64.c (do_prepare): Likewise.
10101 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10103         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10104         (__lll_lock_elision): Remove adapt_count decrement...
10105         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10106         (__lll_trylock_elision): Likewise.
10107         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10108         (__lll_unlock_elision): ... to here. And utilize
10109         new adapt_count parameter.
10110         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10111         (__lll_unlock_elision): Update to include adapt_count
10112         parameter.
10113         (lll_unlock_elision): Pass pointer to adapt_count
10114         variable.
10116 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10118         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
10119         Add elision adapt_count parameter to list of arguments.
10120         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10121         (lll_unlock_elision): Update with new parameter list
10122         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10123         (lll_unlock_elision): Likewise.
10124         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10125         (lll_unlock_elision): Likewise.
10127 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10129         [BZ #19122]
10130         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
10131         attribute_hidden.
10133         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
10134         attribute_hidden.
10135         [IS_IN (rtld)] (__strdup): Likewise.
10136         [IS_IN (rtld)] (__strerror_r): Likewise.
10137         [IS_IN (rtld)] (__strsep_g): Likewise.
10138         [IS_IN (rtld)] (memchr): Likewise.
10139         [IS_IN (rtld)] (memcmp): Likewise.
10140         [IS_IN (rtld)] (memcpy): Likewise.
10141         [IS_IN (rtld)] (memmove): Likewise.
10142         [IS_IN (rtld)] (memset): Likewise.
10143         [IS_IN (rtld)] (rawmemchr): Likewise.
10144         [IS_IN (rtld)] (stpcpy): Likewise.
10145         [IS_IN (rtld)] (strchr): Likewise.
10146         [IS_IN (rtld)] (strcmp): Likewise.
10147         [IS_IN (rtld)] (strlen): Likewise.
10148         [IS_IN (rtld)] (strnlen): Likewise.
10149         [IS_IN (rtld)] (strsep): Likewise.
10151         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10152         attribute_hidden.
10153         [IS_IN (rtld)] (__strtoul_internal): Likewise.
10155         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10156         attribute_hidden.
10157         [IS_IN (rtld)] (__libc_sigaction): Likewise.
10159         * include/setjmp.h (__longjmp): Add attribute_hidden.
10160         [IS_IN (rtld)] (__sigsetjmp): Likewise.
10162         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10163         Add attribute_hidden.
10165         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10166         [IS_IN (rtld)] (__open): Likewise.
10167         [IS_IN (rtld)] (__fcntl): Likewise.
10169         * include/dirent.h (__opendirat): Add attribute_hidden.
10170         (__getdents): Likewise.
10171         (__getdents64): Likewise.
10172         (__alloc_dir): Likewise.
10173         [IS_IN (rtld)] (__closedir): Likewise.
10174         [IS_IN (rtld)] (__fdopendir): Likewise.
10175         [IS_IN (rtld)] (__readdir): Likewise.
10176         [IS_IN (rtld)] (__readdir64): Likewise.
10177         [IS_IN (rtld)] (__rewinddir): Likewise.
10179         * include/dlfcn.h (_dl_catch_error): Moved to ...
10180         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10181         attribute_hidden.
10183         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
10184         (_itoa_word): Likewise.
10186         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
10187         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10188         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10189         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
10190         (_dl_higher_prime_number): Likewise.
10191         (_dl_debug_printf_c): Likewise.
10192         (_dl_signal_cerror): Likewise.
10193         (_dl_receive_error): Likewise.
10194         (_dl_reloc_bad_type): Likewise.
10195         (_dl_resolve_conflicts): Likewise.
10196         (_dl_check_all_versions): Likewise.
10197         (_dl_check_map_versions): Likewise.
10198         (_dl_sort_fini): Likewise.
10199         (_dl_debug_initialize): Likewise.
10200         (_dl_init_paths): Likewise.
10201         (_dl_show_auxv): Likewise.
10202         (_dl_next_ld_env_entry): Likewise.
10203         (_dl_important_hwcaps): Likewise.
10204         (_dl_load_cache_lookup): Likewise.
10205         (_dl_update_slotinfo): Likewise.
10206         (_dl_show_scope): Likewise.
10208         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
10209         attribute_hidden.
10210         (_wordcopy_fwd_dest_aligned): Likewise.
10211         (_wordcopy_bwd_aligned): Likewise.
10212         (_wordcopy_bwd_dest_aligned): Likewise.
10214         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10215         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10216         Likewise.
10217         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10218         Likewise.
10219         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10221 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10223         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
10224         GCC 5 requirement.
10226 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10228         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
10229         test.
10230         * sysdeps/i386/configure: Regenerated.
10231         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
10232         code unconditional.
10234         * configure.ac (libc_cv_asm_previous_directive): Remove configure
10235         test.
10236         (libc_cv_asm_popsection_directive): Likewise.
10237         * configure: Regenerated.
10238         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
10239         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
10240         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
10241         (__make_section_unallocated): Make definition unconditional.
10242         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
10243         Remove conditional definition.
10244         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
10245         (__make_section_unallocated): Likewise.
10247         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
10248         * configure: Regenerated.
10249         * config.make.in (static-libgcc): Remove variable.
10250         * Makerules (build-shlib-helper): Use -static-libgcc instead of
10251         $(static-libgcc).
10252         (build-module-helper): Likewise.
10254         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
10255         * configure: Regenerated.
10257 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10259         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10260         (struct char_buffer): New type.
10261         (char_buffer_start, char_buffer_size, char_buffer_error)
10262         (char_buffer_rewind, char_buffer_add): New functions.
10263         (ADDW): Remove macro, replaced by the char_buffer_add function.
10264         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10265         of extend_alloca.  Make control flow more explicit.
10267 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10269         [BZ #19137]
10270         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10271         Add -fomit-frame-pointer.
10272         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10274 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10276         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10277         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10278         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10279         only if !__GNUC_PREREQ (5,0).
10280         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10281         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10282         (INTERNAL_SYSCALL_NCS): Likewise.
10283         (LOADREGS_0): New macro for GCC 5.
10284         (ASMARGS_0): Likewise.
10285         (LOADREGS_1): Likewise.
10286         (ASMARGS_1): Likewise.
10287         (LOADREGS_2): Likewise.
10288         (ASMARGS_2): Likewise.
10289         (LOADREGS_3): Likewise.
10290         (ASMARGS_3): Likewise.
10291         (LOADREGS_4): Likewise.
10292         (ASMARGS_4): Likewise.
10293         (LOADREGS_5): Likewise.
10294         (ASMARGS_5): Likewise.
10295         (LOADREGS_6): Likewise.
10296         (ASMARGS_6): Likewise.
10298 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10300         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10301         -fomit-frame-pointer.
10302         (CFLAGS-mmap64.c): Likewise.
10303         (CFLAGS-semtimedop.c): Likewise.
10304         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10305         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10306         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10307         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10309 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10311         [BZ #18928]
10312         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10313         _dl_pointer_guard member.
10314         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10315         initializer.
10316         (security_init): Always set up pointer guard.
10317         (process_envvars): Do not process LD_POINTER_GUARD.
10319 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
10321         [BZ #19134]
10322         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10323         (.LC2): Likewise.
10324         (.LC3): Likewise.
10325         (__lround): Do not add 0.5 to integer or out-of-range arguments.
10327 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10329         [BZ #19129]
10330         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10331         r0 and r1.
10333 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
10335         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10337 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
10339         * include/stap-probe.h: Fix macro definition formatting.
10341 2015-10-14  Florian Weimer  <fweimer@redhat.com>
10343         [BZ #19074]
10344         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
10345         load and store num_ifs.
10347 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10349         [BZ #18822]
10350         * sysdeps/unix/sysv/linux/sched_getaffinity.c
10351         (__sched_getaffinity_new): Add libc_hidden_proto and
10352         libc_hidden_def.
10354 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10356         [BZ #19007]
10357         * scripts/localplt.awk: Also allow GOT references.
10358         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
10359         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
10360         with "+ REL R_386_GLOB_DAT".
10361         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
10362         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
10364 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10366         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
10367         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10368         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
10369         Likewise.
10370         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10371         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
10372         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10373         INTERNAL_SYSCALLINTERNAL_SYSCALL and
10374         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10375         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10376         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10377         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10378         Likewise.
10379         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10381 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10383         [BZ #19125]
10384         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
10385         <math_private.h> and <stdint.h>.
10386         (__llround): Avoid conversions to and from long long int, and
10387         subtractions, where those might raise spurious exceptions.
10388         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10389         <math_private.h> and <stdint.h>.
10390         (__llroundf): Avoid conversions to and from long long int, and
10391         subtractions, where those might raise spurious exceptions.
10393 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10395         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10396         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10397         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10398         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
10399         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10400         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10401         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
10402         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
10403         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
10404         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10405         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10406         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10407         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
10408         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10409         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10410         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
10411         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
10412         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10413         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
10414         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
10415         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10416         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
10417         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
10418         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10419         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
10420         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10421         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
10422         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10423         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10424         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
10425         (__xstat64_conv): Likewise.
10426         (__xstat32_conv): Likewise.
10428 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10430         * sysdeps/unix/sysv/linux/sysdep.h: New file.
10431         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
10432         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
10433         <sysdeps/unix/sysv/linux/sysdep.h>.
10434         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10435         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
10436         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
10437         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10438         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10439         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
10440         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
10441         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10442         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10445         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10446         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10447         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10448         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10449         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10450         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
10451         (sysdep-dl-routines): Add sysdep.
10452         [$(subdir) == nptl] (libpthread-routines): Likewise.
10453         [$(subdir) == rt] (librt-routines): Likewise.
10454         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
10455         PIC when branching to SYSCALL_ERROR_LABEL.
10456         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
10457         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
10458         <sysdeps/unix/sysv/linux/sysdep.h>.
10459         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
10460         (SYSCALL_ERROR_ERRNO): Removed.
10461         (SYSCALL_ERROR_HANDLER): Changed to empty.
10462         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
10463         (__syscall_error): New prototype.
10464         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
10465         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
10467 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10469         [BZ #19124]
10470         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
10471         (_dl_runtime_resolve_avx512): Make it a hidden alias of
10472         _dl_runtime_resolve_avx.
10473         (_dl_runtime_profile_avx512): Make it a hidden alias of
10474         _dl_runtime_profile_avx.
10476 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10478         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
10479         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
10480         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
10481         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
10483         [BZ #16422]
10484         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
10485         New configure test.
10486         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
10487         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
10488         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
10489         <math_private.h> and <stdint.h>.
10490         (__llrint): Avoid conversions to long long int where those might
10491         raise spurious exceptions.
10492         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
10493         <math_private.h> and <stdint.h>.
10494         (__llrintf): Avoid conversions to long long int where those might
10495         raise spurious exceptions.
10497 2015-10-12  Andreas Schwab  <schwab@suse.de>
10499         [BZ #18969]
10500         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
10501         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
10502         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
10503         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
10504         $(gen-locales).
10505         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
10506         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
10507         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
10508         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
10509         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
10510         $(gen-locales).
10511         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
10512         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
10513         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
10514         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
10515         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
10516         ($(objpfx)tst-ftell-active-handler.out)
10517         ($(objpfx)tst-ftell-append.out)
10518         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
10519         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
10520         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
10521         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
10522         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
10523         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
10524         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
10525         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
10526         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
10527         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
10528         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
10529         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
10530         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
10531         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
10532         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
10533         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
10534         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
10535         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
10536         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
10537         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
10538         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
10539         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
10540         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
10541         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
10542         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
10543         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
10544         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
10545         $(gen-locales).
10546         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
10547         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
10548         $(gen-locales).
10549         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
10550         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
10551         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
10552         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
10553         $(gen-locales).
10554         * libio/tst_wprintf2.c (main): Use explicit locale.
10555         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
10557 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10559         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
10560         __msg_sig_post.
10561         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
10563 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10565         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10566         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10568         * sysdeps/arm/libm-test-ulps: Regenerated.
10570         [BZ #15470]
10571         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
10573         [BZ #16399]
10574         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
10575         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
10576         and <fix-fp-int-convert-overflow.h>.
10577         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10578         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10579         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
10580         and <fix-fp-int-convert-overflow.h>.
10581         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
10582         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10583         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
10584         <fix-fp-int-convert-overflow.h>.
10585         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10586         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10587         * sysdeps/ieee754/dbl-64/s_lround.c: Include
10588         <fix-fp-int-convert-overflow.h>.
10589         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
10590         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10591         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
10592         and <fix-fp-int-convert-overflow.h>.
10593         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10594         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10595         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
10596         <limits.h> and <fix-fp-int-convert-overflow.h>.
10597         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10598         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10599         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
10600         and <fix-fp-int-convert-overflow.h>.
10601         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10602         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10603         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
10604         and <fix-fp-int-convert-overflow.h>.
10605         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10606         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10607         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
10609 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
10611         [BZ #18589]
10612         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
10613         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
10614         $(gen-locales).
10616 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10617             Phil Blundell <pb@pbcl.net>
10619         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
10620         * nptl/tst-cancel26.c: New file.
10621         * nptl/tst-cancel27.c: Likewise.
10623 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
10625         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
10626         __ILP32__ isn't defined.
10627         (lrint): Likewise.
10628         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
10629         (lrintf): Likewise.
10630         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
10631         (lrintl): Likewise.
10632         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
10633         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
10634         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
10636 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10638         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10639         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10641         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
10642         file.
10643         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
10644         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10646 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10648         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
10649         configure test.
10650         * sysdeps/i386/configure: Regenerated.
10651         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
10652         configure test.
10653         * sysdeps/x86_64/configure: Regenerated.
10654         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
10655         Make code unconditional.
10657         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
10658         test.
10659         * sysdeps/i386/configure: Regenerated.
10660         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
10661         test.
10662         * sysdeps/x86_64/configure: Regenerated.
10663         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
10664         Make code unconditional.
10665         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
10666         Likewise.
10667         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
10668         Likewise.
10669         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10670         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
10671         code unconditional.
10672         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10673         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
10674         code unconditional.
10675         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10676         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
10677         code unconditional.
10678         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
10679         code unconditional.
10680         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10681         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
10682         code unconditional.
10683         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10684         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
10685         code unconditional.
10686         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10687         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
10688         code unconditional.
10689         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10690         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
10691         code unconditional.
10692         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10693         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
10695         [BZ #19095]
10696         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
10697         mantissa to long int before shifting left.
10699 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10701         [BZ #19094]
10702         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
10703         <limits.h>.
10704         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10705         when result overflows but exception would not result from cast.
10706         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
10707         <limits.h>.
10708         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10709         when result overflows but exception would not result from cast.
10710         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
10711         <limits.h>.
10712         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10713         when result overflows but exception would not result from cast.
10714         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
10715         <limits.h>.
10716         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10717         when result overflows but exception would not result from cast.
10718         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
10719         <limits.h>.
10720         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10721         when result overflows but exception would not result from cast.
10722         * math/libm-test.inc (lrint_test_data): Add more tests.
10723         (llrint_test_data): Likewise.
10725 2015-10-08  Roland McGrath  <roland@hack.frob.com>
10727         [BZ #18872]
10728         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
10729         Move out from under [$(run-built-tests) = yes] conditional.
10730         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
10731         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
10733 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
10735         [BZ #18589]
10736         * string/Makefile (tests): Add bug-strcoll2.
10737         (LOCALES): Add cs_CZ.UTF-8.
10738         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
10740         [BZ #18589]
10741         * string/bug-strcoll2.c: New file.
10742         * locale/categories.def: Revert commit
10743         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
10744         * locale/langinfo.h: Likewise.
10745         * locale/localeinfo.h: Likewise.
10746         * locale/C-collate.c: Likewise.
10747         * locale/programs/ld-collate.c (collate_output): Likewise.
10748         * string/strcoll_l.c (STRDIFF): Likewise.
10749         (STRCOLL): Likewise.
10750         * wcsmbs/wcscoll_l.c: Likewise.
10752 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10754         * math/libm-test.inc (lround_test_data): Do not expect the absence
10755         of "inexact" for some tests with non-integer arguments.
10756         (llround_test_data): Likewise.
10758         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
10759         test.
10760         (libc_cv_cc_sse2avx): Likewise.
10761         * sysdeps/i386/configure: Regenerated.
10762         * sysdeps/i386/i686/multiarch/Makefile
10763         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
10764         [$(subdir) = math].
10765         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
10766         code unconditional.
10767         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10768         Likewise.
10769         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
10770         Likewise.
10771         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10772         Likewise.
10773         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
10774         test.
10775         (libc_cv_cc_sse2avx): Likewise.
10776         * sysdeps/x86_64/configure: Regenerated.
10777         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
10778         unconditional.
10779         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
10780         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
10781         unconditional.
10782         (_dl_runtime_profile)
10783         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
10784         conditional code.
10785         * sysdeps/x86_64/fpu/multiarch/Makefile
10786         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
10787         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
10788         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10789         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10790         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10791         * sysdeps/x86_64/fpu/multiarch/e_log.c
10792         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10793         * sysdeps/x86_64/fpu/multiarch/s_atan.c
10794         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10795         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10796         Likewise.
10797         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10798         Likewise.
10799         * sysdeps/x86_64/fpu/multiarch/s_sin.c
10800         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10801         * sysdeps/x86_64/fpu/multiarch/s_tan.c
10802         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10803         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
10804         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
10805         (HAVE_SSE2AVX_SUPPORT): Likewise.
10807 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
10809         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
10810         instead of #pragma optimize.
10812 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10814         [BZ #17195]
10815         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
10816         as is similarly done in systrim and _int_free already.
10818 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10820         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
10822 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10824         [BZ #19088]
10825         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
10826         <limits.h>.
10827         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10828         overflows but exception would not result from cast.
10829         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
10830         and <limits.h>.
10831         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10832         overflows but exception would not result from cast.
10833         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
10834         <limits.h>.
10835         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10836         overflows but exception would not result from cast.
10837         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
10838         <limits.h>.
10839         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10840         overflows but exception would not result from cast.
10841         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
10842         <limits.h>.
10843         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10844         overflows but exception would not result from cast.
10845         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
10846         <limits.h>.
10847         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10848         overflows but exception would not result from cast.
10849         * math/libm-test.inc (lround_test_data): Add more tests.
10850         (llround_test_data): Likewise.
10852 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
10854         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
10855         (CFLAGS-ialloc.c): Ditto.
10856         (CFLAGS-scheck.c): Ditto.
10858 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10860         [BZ #19086]
10861         * manual/filesys.texi (Storage Allocation): Fix argument order for
10862         posix_fallocate64.
10864 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10866         [BZ #19085]
10867         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
10868         exponent below 48 inside case for non-overflowing exponent.
10869         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10871 2015-10-07  Florian Weimer  <fweimer@redhat.com>
10873         * iconvdata/cp737.h (from_idx): Add const.
10874         * iconvdata/cp775.h (from_idx): Likewise.
10876 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10878         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
10879         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10880         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
10882         [BZ #19079]
10883         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
10884         file, conditioned on [!_LP64].
10885         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
10886         [!_LP64] (__lround): Do not define as function or alias.
10887         [!_LP64] (lround): Likewise.
10888         [!_LP64] (__lroundl): Likewise.
10889         [!_LP64] (lroundl): Likewise.
10890         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
10891         macro.
10892         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10893         Likewise.
10895 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10897         * math/libm-test.inc (lrint_test_data): Add more tests.
10898         (llrint_test_data): Likewise.
10899         (lround_test_data): Likewise.
10900         (llround_test_data): Likewise.
10902         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
10903         (llrint_test_data): Add tests used for lrint.
10905         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
10906         test.
10907         * sysdeps/i386/configure: Regenerated.
10908         * sysdeps/i386/i686/multiarch/Makefile
10909         [$(config-cflags-sse4) = yes]: Make code unconditional.
10910         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10911         Likewise.
10912         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
10913         Likewise.
10914         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
10915         test.
10916         * sysdeps/x86_64/configure: Regenerated.
10917         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
10918         Make code unconditional.
10919         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10920         Likewise.
10921         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
10922         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
10924         * scripts/rpm2dynsym.sh: Remove file.
10926 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10928         * configure.ac (libc_cv_cxx_thread_local): Define.
10929         * configure: Regenerate.
10930         * config.make.in (have-cxx-thread_local): Define.
10931         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
10932         (LDLIBS-tst-thread_local1): Define.
10933         (tests): Add tst-thread_local1.
10934         [have-cxx-thread_local != yes] (tests-unsupported): Add
10935         tst-thread_local1.
10936         * nptl/tst-thread_local1.cc: New file.
10938 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10940         [BZ #19078]
10941         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
10942         (u_thres): Likewise.
10943         (__expl): Determine whether to call __kernel_standard_l based on
10944         value of result, not argument.
10946         * math/libm-test.inc (scalb_test_data): Add more expectations for
10947         the "inexact" exception.
10949         [BZ #19077]
10950         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
10951         0.0L for argument 1.0L.
10953         [BZ #19076]
10954         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
10955         constant 0.0L when computing infinite result.
10957 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10959         [BZ #10432]
10960         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
10961         malloc_usable_size.
10963 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10965         [BZ #19018]
10966         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10967         Mangle function pointer before storing it.
10968         (__call_tls_dtors): Demangle function pointer before calling it.
10970 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10972         [BZ #19012]
10973         * iconv/gconv_db.c (gen_steps): Check for additional errors.
10974         Clean up on failure.
10976 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
10978         [BZ #19071]
10979         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
10980         long int variable to store possibly incremented high part of
10981         mantissa.
10982         * math/libm-test.inc (lround_test_data): Add tests used for
10983         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
10984         for tests requiring 64-bit long.  Do not condition tests on
10985         [TEST_FLOAT] unnecessarily.
10986         (llround_test_data): Add tests used for lround.  Add another
10987         expectation for the "inexact" exception.  Do not condition tests
10988         on [TEST_FLOAT] unnecessarily.
10990         [BZ #887]
10991         [BZ #19049]
10992         [BZ #19050]
10993         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
10994         * sysdeps/ieee754/dbl-64/e_log10.c: Include
10995         <fix-int-fp-convert-zero.h>.
10996         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10997         * sysdeps/ieee754/dbl-64/e_log2.c: Include
10998         <fix-int-fp-convert-zero.h>.
10999         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11000         * sysdeps/ieee754/dbl-64/s_erf.c: Include
11001         <fix-int-fp-convert-zero.h>.
11002         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11003         * sysdeps/ieee754/dbl-64/s_logb.c: Include
11004         <fix-int-fp-convert-zero.h>.
11005         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11006         * sysdeps/ieee754/flt-32/e_log10f.c: Include
11007         <fix-int-fp-convert-zero.h>.
11008         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11009         * sysdeps/ieee754/flt-32/e_log2f.c: Include
11010         <fix-int-fp-convert-zero.h>.
11011         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11012         * sysdeps/ieee754/flt-32/s_erff.c: Include
11013         <fix-int-fp-convert-zero.h>.
11014         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11015         * sysdeps/ieee754/flt-32/s_logbf.c: Include
11016         <fix-int-fp-convert-zero.h>.
11017         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11018         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
11019         <fix-int-fp-convert-zero.h>.
11020         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11021         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
11022         <fix-int-fp-convert-zero.h>.
11023         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11024         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
11025         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
11026         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
11027         file.
11028         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
11030 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11032         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11034 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
11036         [BZ #19059]
11037         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
11038         overflowing computation.
11039         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11040         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11041         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11042         Likewise.
11043         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11044         Likewise.
11045         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11046         Likewise.
11047         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11048         Likewise.
11049         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11050         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11051         Likewise.
11052         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11053         Likewise.
11054         * math/libm-test.inc (nexttoward_test_data): Add more tests.
11056         * nss/rewrite_field.c (__nss_rewrite_field): Use
11057         internal_function.
11058         * nss/valid_field.c (__nss_valid_field): Likewise.
11059         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11061 2015-10-02  Florian Weimer  <fweimer@redhat.com>
11063         [BZ #18724]
11064         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
11065         (__nss_invalid_field_characters, __nss_valid_field)
11066         (__nss_valid_list_field, __nss_rewrite_field): Declare.
11067         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
11068         tst-field.c: New file.
11069         * nss/Makefile (routines): Add valid_field, rewrite_field.
11070         (tests-static): Define unconditionally.
11071         (tests): Include tests-static.
11072         [build-static-nss] (tests-static): Use append.
11073         [build-static-nss] (tests): Remove modification.
11074         * nss/getent.c (print_group): Call putgrent.  Report error.
11075         (print_gshadow): Call putsgent.  Report error.
11076         (print_passwd): Call putpwent.  Report error.
11077         (print_shadow): Call putspent.  Report error.
11078         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
11079         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
11080         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
11081         name, password, directory, shell fields for valid syntax.  Rewrite
11082         GECOS field to match syntax.
11083         * pwd/Makefile (tests): Add tst-putpwent.
11084         * pwd/tst-putpwent.c: New file.
11085         * grp/putgrent.c (putgrent): Convert to ISO function definition.
11086         Check grName, grpasswd, gr_mem fields for valid syntax.
11087         Change loop variable i to size_t.
11088         * grp/Makefile (tests): Add tst-putgrent.
11089         * grp/tst-putgrent.c: New file.
11090         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
11091         valid syntax.
11092         * shadow/Makefile (tests): Add tst-putspent.
11093         * shadow/tst-putspent.c: New file.
11094         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
11095         sg_mem fields for valid syntax.
11096         * gshadow/Makefile (tests): Add tst-putsgent.
11097         * gshadow/tst-putsgent.c: New file.
11099 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11101         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
11102         assembly instructions.
11104 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11106         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
11107         prefix from operands.
11109 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
11111         [BZ #16347]
11112         [BZ #19046]
11113         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11114         <libc-internal.h>.
11115         (MAXLGM): Do not use diagnostic control macros.
11116         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
11117         threshold for ldbl-128ibm.
11118         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
11119         instead of multiplying by log then subtracting.
11120         * math/auto-libm-test-in: Add more tests of lgamma.
11121         * math/auto-libm-test-out: Regenerated.
11123         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
11124         (TYPE_HEX_DIG): Likewise.
11125         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
11126         precisions when printing floating-point numbers.
11127         (check_float_internal): Likewise.
11129 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11131         [BZ #16620]
11132         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
11133         of log (10) rounded downward to 48 bits.
11134         (log10_low): Use corresponding low part of log (10).
11136         [BZ #19032]
11137         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
11138         compute result as (x - x) / (x - x) not as 0 / 0.
11139         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11140         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
11142         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11143         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
11144         and expm1.
11145         * math/auto-libm-test-out: Regenerated.
11146         * math/libm-test.inc (acos_test_data): Add more tests.
11147         (asin_test_data): Likewise.
11148         (asinh_test_data): Likewise.
11149         (atan_test_data): Likewise.
11150         (atanh_test_data): Likewise.
11151         (atan2_test_data): Likewise.
11152         (cbrt_test_data): Likewise.
11153         (ceil_test_data): Likewise.
11154         (copysign_test_data): Likewise.
11155         (cos_test_data): Likewise.
11156         (cosh_test_data): Likewise.
11157         (erf_test_data): Likewise.
11158         (erfc_test_data): Likewise.
11159         (exp_test_data): Likewise.
11160         (exp10_test_data): Likewise.
11161         (exp2_test_data): Likewise.
11162         (expm1_test_data): Likewise.
11163         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11165 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
11167         [BZ #19006]
11168         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11169         to ...
11170         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11171         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11172         to ...
11173         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11174         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11175         to ...
11176         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11177         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11178         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11179         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11180         to ...
11181         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
11182         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11183         Moved to ...
11184         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
11185         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11186         Moved to ...
11187         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
11188         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
11189         to ...
11190         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
11191         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11192         Moved to ...
11193         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
11194         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
11195         to ...
11196         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
11197         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
11198         Removed.
11199         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
11200         Likewise.
11201         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
11202         Likewise.
11203         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
11204         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
11205         Likewise.
11206         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11207         Likewise.
11208         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11209         Likewise.
11210         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11211         Likewise.
11212         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11213         Likewise.
11214         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
11215         Likewise.
11216         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
11217         Likewise.
11218         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
11219         Likewise.
11220         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
11221         Likewise.
11222         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
11223         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
11224         Likewise.
11225         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11226         Likewise.
11227         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11228         Likewise.
11229         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11230         Likewise.
11231         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
11232         Likewise.
11233         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11234         Replace ../i486/pthread_cond_timedwait.S with
11235         ../pthread_cond_timedwait.S.
11237 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11239         * math/libm-test.inc (acos_test_data): Refine expectations for
11240         errno and "inexact" exceptions.
11241         (acosh_test_data): Likewise.
11242         (asin_test_data): Likewise.
11243         (asinh_test_data): Likewise.
11244         (atan_test_data): Likewise.
11245         (atanh_test_data): Likewise.
11246         (atan2_test_data): Likewise.
11247         (cbrt_test_data): Likewise.
11248         (ceil_test_data): Likewise.
11249         (copysign_test_data): Likewise.
11250         (cosh_test_data): Likewise.
11251         (erf_test_data): Likewise.
11252         (erfc_test_data): Likewise.
11253         (exp_test_data): Likewise.
11254         (exp10_test_data): Likewise.
11255         (exp2_test_data): Likewise.
11256         (expm1_test_data): Likewise.
11257         (fabs_test_data): Likewise.
11258         (floor_test_data): Likewise.
11259         (fma_test_data): Likewise.
11260         (fmax_test_data): Likewise.
11261         (fmin_test_data): Likewise.
11262         (fmod_test_data): Likewise.
11263         (fpclassify_test_data): Likewise.
11264         (frexp_test_data): Likewise.
11265         (hypot_test_data): Likewise.
11266         (ilogb_test_data): Likewise.
11267         (isgreater_test_data): Likewise.
11268         (isgreaterequal_test_data): Likewise.
11269         (isinf_test_data): Likewise.
11270         (isless_test_data): Likewise.
11271         (islessequal_test_data): Likewise.
11272         (islessgreater_test_data): Likewise.
11273         (isnan_test_data): Likewise.
11274         (isnormal_test_data): Likewise.
11275         (issignaling_test_data): Likewise.
11276         (isunordered_test_data): Likewise.
11277         (j0_test_data): Likewise.
11278         (j1_test_data): Likewise.
11279         (jn_test_data): Likewise.
11280         (lgamma_test_data): Likewise.
11281         (lrint_test_data): Likewise.
11282         (llrint_test_data): Likewise.
11283         (log_test_data): Likewise.
11284         (log10_test_data): Likewise.
11285         (log1p_test_data): Likewise.
11286         (log2_test_data): Likewise.
11287         (logb_test_data): Likewise.
11288         (lround_test_data): Likewise.
11289         (llround_test_data): Likewise.
11290         (modf_test_data): Likewise.
11291         (nearbyint_test_data): Likewise.
11292         (nextafter_test_data): Likewise.
11293         (nexttoward_test_data): Likewise.
11294         (pow_test_data): Likewise.
11295         (remainder_test_data): Likewise.
11296         (remquo_test_data): Likewise.
11297         (rint_test_data): Likewise.
11298         (round_test_data): Likewise.
11299         (signbit_test_data): Likewise.
11300         (sinh_test_data): Likewise.
11301         (sqrt_test_data): Likewise.
11302         (tanh_test_data): Likewise.
11303         (tgamma_test_data): Likewise.
11304         (trunc_test_data): Likewise.
11305         (y0_test_data): Likewise.
11306         (y1_test_data): Likewise.
11307         (yn_test_data): Likewise.
11308         (significand_test_data): Likewise.
11310 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
11312         * manual/filesys.texi (Storage Allocation): Document that
11313         posix_fallocate emulation fails when fd is open with O_WRONLY.
11315 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
11317         [BZ #19016]
11318         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11319         allow more cases with X^2 + Y^2 >= 0.5.
11320         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
11321         normal element in sum instead of special-casing based on values of
11322         arguments.
11323         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11324         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
11325         -1 as normal element in sum instead of special-casing based on
11326         values of arguments.
11327         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11328         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11329         (__x2y2m1): Update comment.
11330         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
11331         as normal element in sum instead of special-casing based on values
11332         of arguments.
11333         * math/s_clog.c (__clog): Handle more cases using log1p without
11334         hypot.
11335         * math/s_clog10.c (__clog10): Likewise.
11336         * math/s_clog10f.c (__clog10f): Likewise.
11337         * math/s_clog10l.c (__clog10l): Likewise.
11338         * math/s_clogf.c (__clogf): Likewise.
11339         * math/s_clogl.c (__clogl): Likewise.
11340         * math/auto-libm-test-in: Add more tests of clog and clog10.
11341         * math/auto-libm-test-out: Regenerated.
11342         * sysdeps/i386/fpu/libm-test-ulps: Update.
11343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11345 2015-09-28  Martin Sebor  <msebor@redhat.com>
11347         [BZ #18969]
11348         * string/Makefile (LOCALES): Define.
11349         (gen-locales.mk): Include.
11350         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
11351         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
11352         * string/tst-strxfrm2.c (do_test): Print the name of the locale
11353         on setlocale failure.
11355 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11357         [BZ #18985]
11358         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
11359         (__strftime_internal): Likewise.
11360         * time/tst-strftime.c (do_bz18985): New test.
11361         (do_test): Call it.
11363 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
11365         [BZ #18956]
11366         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
11367         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
11368         extracting high part.
11369         * math/auto-libm-test-in: Add another test of pow.
11370         * math/auto-libm-test-out: Regenerated.
11371         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11373 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11375         [BZ #18825]
11376         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
11377         New macro.
11378         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
11379         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11380         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
11381         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
11382         DBL_NARROW_EVAL, reloading the PIC register as needed.
11383         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
11384         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
11385         FLT_NARROW_EVAL.  Use separate return path for case when first
11386         argument is NaN.
11387         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
11388         DEFINE_LDBL_MIN.
11389         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
11390         PIC register.
11391         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
11392         math_check_force_underflow_nonneg.
11393         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
11394         underflow for subnormal result.
11395         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11396         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
11397         math_check_force_underflow_nonneg.
11398         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
11399         math_check_force_underflow.
11400         * sysdeps/x86_64/fpu/x86_64-math-asm.h
11401         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
11402         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
11403         DEFINE_LDBL_MIN.
11404         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
11405         * math/auto-libm-test-in: Add more tests of pow.
11406         * math/auto-libm-test-out: Regenerated.
11408 2015-09-25  Florian Weimer  <fweimer@redhat.com>
11410         * nss/bug17079.c (init_test_items): Add diagnostic for
11411         inconsistent entries.
11412         (test_buffer_size): Skip inconsistent entries.
11414 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11416         [BZ #13304]
11417         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
11418         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
11419         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
11421         [BZ #13304]
11422         * sysdeps/microblaze/s_fma.c: New file.
11423         * sysdeps/microblaze/s_fmaf.c: Likewise.
11424         * sysdeps/microblaze/sfp-machine.h: Likewise.
11426 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
11428         [BZ #17250]
11429         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
11430         member.
11432 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11434         [BZ #18803]
11435         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
11436         (MO): New macro.
11437         (__ieee754_hypot) [PIC]: Load PIC register.
11438         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
11439         DBL_NARROW_EVAL.
11440         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
11441         math_check_force_underflow_nonneg in case where result might be
11442         tiny.
11443         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11444         Likewise.
11445         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11446         Likewise.
11447         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11448         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11449         * math/auto-libm-test-in: Add more tests of hypot.
11450         * math/auto-libm-test-out: Regenerated.
11452 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
11454         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
11456 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11458         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
11459         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
11460         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11461         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11462         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
11463         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11464         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11466         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
11467         LOAD_PIC_REG.
11469         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
11470         (FLT_CHECK_FORCE_UFLOW): Likewise.
11471         (DBL_CHECK_FORCE_UFLOW): Likewise.
11472         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
11473         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
11474         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
11475         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11476         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11477         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11478         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11479         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11480         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
11481         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11482         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
11483         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
11484         (flt_min): Replace with use of DEFINE_FLT_MIN.
11485         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
11486         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
11487         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11488         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
11489         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
11490         (flt_min): Replace with use of DEFINE_FLT_MIN.
11491         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
11492         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
11493         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11494         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
11495         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
11496         (flt_min): Replace with use of DEFINE_FLT_MIN.
11497         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
11498         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
11499         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11500         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11501         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
11502         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11503         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11504         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
11505         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11506         (__atan): Use DBL_CHECK_FORCE_UFLOW.
11507         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
11508         (flt_min): Replace with use of DEFINE_FLT_MIN.
11509         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
11510         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
11511         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11512         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
11513         main computation.
11514         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
11515         (flt_min): Replace with use of DEFINE_FLT_MIN.
11516         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
11517         main computation.
11518         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
11519         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11520         (MO): New macro.
11521         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
11522         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
11523         (flt_min): Replace with use of DEFINE_FLT_MIN.
11524         (MO): New macro.
11525         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
11526         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
11527         (__log1pl): Use MO.
11529         [BZ #19003]
11530         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
11531         $(config-cflags-nofma).
11533 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11535         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11537 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
11539         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
11540         (TWO127): Likewise.
11542         * sysdeps/generic/math_private.h (fabs_tg): New macro.
11543         (min_of_type): Likewise.
11544         (math_check_force_underflow): Likewise.
11545         (math_check_force_underflow_nonneg): Likewise.
11546         (math_check_force_underflow_complex): Likewise.
11547         * math/e_exp2l.c (__ieee754_exp2l): Use
11548         math_check_force_underflow_nonneg.
11549         * math/k_casinh.c (__kernel_casinh): Likewise.
11550         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11551         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11552         * math/s_catan.c (__catan): Use
11553         math_check_force_underflow_complex.
11554         * math/s_catanf.c (__catanf): Likewise.
11555         * math/s_catanh.c (__catanh): Likewise.
11556         * math/s_catanhf.c (__catanhf): Likewise.
11557         * math/s_catanhl.c (__catanhl): Likewise.
11558         * math/s_catanl.c (__catanl): Likewise.
11559         * math/s_ccosh.c (__ccosh): Likewise.
11560         * math/s_ccoshf.c (__ccoshf): Likewise.
11561         * math/s_ccoshl.c (__ccoshl): Likewise.
11562         * math/s_cexp.c (__cexp): Likewise.
11563         * math/s_cexpf.c (__cexpf): Likewise.
11564         * math/s_cexpl.c (__cexpl): Likewise.
11565         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
11566         * math/s_clog10.c (__clog10): Likewise.
11567         * math/s_clog10f.c (__clog10f): Likewise.
11568         * math/s_clog10l.c (__clog10l): Likewise.
11569         * math/s_clogf.c (__clogf): Likewise.
11570         * math/s_clogl.c (__clogl): Likewise.
11571         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
11572         * math/s_csinf.c (__csinf): Likewise.
11573         * math/s_csinh.c (__csinh): Likewise.
11574         * math/s_csinhf.c (__csinhf): Likewise.
11575         * math/s_csinhl.c (__csinhl): Likewise.
11576         * math/s_csinl.c (__csinl): Likewise.
11577         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
11578         * math/s_csqrtf.c (__csqrtf): Likewise.
11579         * math/s_csqrtl.c (__csqrtl): Likewise.
11580         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
11581         * math/s_ctanf.c (__ctanf): Likewise.
11582         * math/s_ctanh.c (__ctanh): Likewise.
11583         * math/s_ctanhf.c (__ctanhf): Likewise.
11584         * math/s_ctanhl.c (__ctanhl): Likewise.
11585         * math/s_ctanl.c (__ctanl): Likewise.
11586         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
11587         instead of volatile.
11588         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
11589         math_check_force_underflow.
11590         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11591         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
11592         volatile when forcing underflow.
11593         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11594         math_check_force_underflow_nonneg.
11595         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11596         Likewise.
11597         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
11598         math_check_force_underflow.
11599         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11600         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11601         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11602         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
11603         math_check_force_underflow_nonneg.
11604         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
11605         math_check_force_underflow.
11606         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
11607         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
11608         instead of volatile.
11609         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
11610         math_check_force_underflow.
11611         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11612         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11613         math_check_force_underflow_nonneg.
11614         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
11615         math_check_force_underflow.
11616         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
11617         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11618         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
11619         math_check_force_underflow_nonneg.
11620         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11621         Likewise.
11622         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
11623         math_check_force_underflow.
11624         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11625         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11626         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11627         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
11628         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11629         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
11630         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
11631         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
11632         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11633         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
11634         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
11635         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
11636         Likewise.
11637         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
11638         math_check_force_underflow_nonneg.
11639         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11640         Likewise.
11641         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
11642         math_check_force_underflow.
11643         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11644         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
11645         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11646         Likewise.
11647         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
11648         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
11649         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
11650         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
11651         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
11652         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11653         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
11654         instead of volatile.
11655         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
11656         math_check_force_underflow.
11657         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
11658         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
11659         math_check_force_underflow.
11660         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
11661         Likewise.
11662         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11663         Use math_check_force_underflow_nonneg.
11664         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
11665         math_check_force_underflow.
11666         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11667         Likewise.
11668         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11669         Likewise.
11670         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11671         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11672         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11673         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11674         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
11675         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11676         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11677         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
11678         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
11679         math_check_force_underflow_nonneg.
11680         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
11681         math_check_force_underflow.
11682         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11683         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
11684         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
11685         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
11686         math_check_force_underflow_nonneg.
11687         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
11688         math_check_force_underflow.
11689         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
11690         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
11691         instead of volatile.
11692         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
11693         math_check_force_underflow.
11695         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
11696         * stdlib/strtod_l.c: Include <math_private.h>.
11697         (overflow_value): Use math_narrow_eval.
11698         (underflow_value): Likewise.
11699         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11700         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11701         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
11702         (__ieee754_gamma_r): Likewise.
11703         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
11704         Likewise.
11705         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11706         Likewise.
11707         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11708         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
11709         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
11710         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
11711         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11712         (__ieee754_gammaf_r): Likewise.
11713         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11714         Likewise.
11715         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11716         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
11717         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
11718         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
11719         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
11720         volatile.
11721         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
11722         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
11723         math_narrow_eval.
11724         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11725         Likewise.
11726         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11727         Likewise.
11728         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
11729         Likewise.
11730         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
11731         volatile.
11732         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
11733         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
11734         math_narrow_eval.
11735         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11736         Likewise.
11737         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11738         Likewise.
11740 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
11742         * nptl/Versions: Remove ignored symbols.
11744 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11746         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
11747         * nss/Makefile (tests): Update.
11749 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11751         * nss/bug18287.c: New file.
11752         * nss/Makefile (tests): Add bug18287.
11754 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11756         * mach/Versions (__mach_host_self_): Add symbol.
11758 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11760         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
11761         vm_page_size.
11763 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11765         Really fix sysdeps/i386/fpu/s_scalbn.S build
11767         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
11768         (libc: GLIBC_2_22): Remove unused version set.
11770 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11772         * config.make.in (enable-timezone-tools): New variable.
11773         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
11774         (enable_timezone_tools): Export to generated files.
11775         * configure: Regenerate.
11776         * INSTALL: Regenerate.
11777         * manual/install.texi (--disable-timezone-tools): Document new flag.
11778         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
11779         ifeq ($(enable-timezone-tools),yes) check.
11781 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11783         * timezone/Makefile: Revert previous change.
11785         [BZ #18980]
11786         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
11787         (DEFINE_DBL_MIN): Likewise.
11788         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11789         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11790         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11791         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11792         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
11793         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11794         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11795         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
11796         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
11797         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11798         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11799         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
11800         (flt_min): Replace with use of DEFINE_FLT_MIN.
11801         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11802         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
11803         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11804         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11805         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
11806         (flt_min): Replace with use of DEFINE_FLT_MIN.
11807         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11808         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
11809         (flt_min): Replace with use of DEFINE_FLT_MIN.
11810         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11811         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
11812         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
11813         (__ieee754_hypot): Use DBL_NARROW_EVAL.
11814         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
11815         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
11816         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
11817         (__ieee754_pow): Use DBL_NARROW_EVAL.
11818         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
11819         (__ieee754_powf): Use FLT_NARROW_EVAL.
11820         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
11821         (__ieee754_expf_sse2): Convert double-precision result to single
11822         precision.
11823         * sysdeps/i386/fpu/libm-test-ulps: Update.
11825 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11827         * timezone/Makefile: Ignore unused variable errors due to private.h
11828         (time_t_min) and (time_t_max).
11829         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
11830         Likewise.
11832 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11834         [BZ #18981]
11835         * sysdeps/i386/fpu/i386-math-asm.h: New file.
11836         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
11837         (__ieee754_scalb): Use DBL_NARROW_EVAL.
11838         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
11839         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
11840         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
11841         (__scalbn): Use DBL_NARROW_EVAL.
11842         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
11843         (__scalbnf): Use FLT_NARROW_EVAL.
11845 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11847         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
11848         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
11849         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
11850         * stdio-common/printf_fp.c (___printf_fp):
11851         Use signbit to get the sign. Use isinf macro to allow inlining.
11852         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
11853         * stdio-common/printf_size.c (__printf_size): Likewise.
11855 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11857         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
11859 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11861         [BZ #18980]
11862         * sysdeps/generic/math_private.h: Include <float.h>.
11863         (math_narrow_eval): New macro.
11864         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11865         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
11866         math_narrow_eval on overflowing return value.
11867         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
11868         Likewise.
11869         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11870         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
11871         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
11872         Likewise.
11873         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11875 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11877         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
11878         * math/Makefile: Remove isinf_ns.c.
11879         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
11880         * math/multc3.c (__multc3): Likewise.
11881         * math/s_casin.c (__casin): Likewise.
11882         * math/s_casinf.c (__casinf): Likewise.
11883         * math/s_casinl.c (__casinl): Likewise.
11884         * math/s_cproj.c (__cproj): Likewise.
11885         * math/s_cprojf.c (__cprojf): Likewise.
11886         * math/s_cprojl.c (__cprofl): Likewise.
11887         * math/s_ctan.c (__ctan): Likewise.
11888         * math/s_ctanf.c (__ctanf): Likewise.
11889         * math/s_ctanh.c (__ctanh): Likewise.
11890         * math/s_ctanhf.c (__ctanhf): Likewise.
11891         * math/s_ctanhl.c (__ctanhl): Likewise.
11892         * math/s_ctanl.c (__ctanl): Likewise.
11893         * math/w_fmod.c (__fmod): Likewise.
11894         * math/w_fmodf.c (__fmodf): Likewise.
11895         * math/w_fmodl.c (_fmodl): Likewise.
11896         * math/w_remainder.c (__remainder): Likewise.
11897         * math/w_remainderf.c (__remainderf): Likewise.
11898         * math/w_remainderl.c (__remainderl): Likewise.
11899         * math/w_scalb.c (__scalb): Likewise.
11900         * math/w_scalbf.c (__scalbf): Likewise.
11901         * math/w_scalbl.c (__scalbl): Likewise.
11902         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
11903         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
11904         with isinf.
11905         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
11906         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
11907         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
11908         __isinf_nsf with isinf.
11909         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
11910         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
11911         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
11912         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
11913         with isinf.
11914         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
11915         __isinf_nsl with isinf.
11916         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
11917         with isinf.
11918         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
11919         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
11920         __isinf_nsl with isinf.
11921         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
11922         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
11923         with isinf.
11925 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11927         * resolv/base64.c (rcsid): Remove unused static.
11928         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
11929         static.  (tqpi1): Likewise.
11930         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
11931         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
11932         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
11933         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
11934         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
11935         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
11936         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
11937         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
11938         Likewise.
11940 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
11942         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
11943         <nptl/pthreadP.h>.
11944         (_longjmp_unwind): Use __libc_ptf_call.
11945         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
11947 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
11949         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
11950         * sysdeps/arm/__longjmp.S: Likewise.
11952 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11954         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
11955         Use __builtin_signbit.
11956         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
11957         Use __builtin_signbitf.
11958         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
11959         Use __builtin_signbitl.
11960         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11961         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
11963 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11965         [BZ #15367]
11966         [BZ #17441]
11968         * math/Makefile: Build test-snan.c with -fsignaling-nans.
11969         * math/math.h (fpclassify): Use __builtin_fpclassify when
11970         available.  (signbit): Use __builtin_signbit(f/l).
11971         (isfinite): Use__builtin_isfinite.  (isnormal): Use
11972         __builtin_isnormal.  (isnan): Use __builtin_isnan.
11973         (isinf): Use __builtin_isinf_sign.
11975 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11977         * benchtests/Makefile: Add bench-math-inlines, link with libm.
11978         * benchtests/bench-math-inlines.c: New benchmark.
11979         * benchtests/bench-util.h: New file.
11980         * benchtests/bench-util.c: New file.
11981         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
11983 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
11985         * elf/tst-dlmopen1.c: Define TEST_SO.
11986         (do_test): Use TEST_SO.
11988         * elf/dl-load.c: Include libc-internal.h.
11989         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
11991 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11993         [BZ #17887]
11994         * time/strptime_l.c (__strptime_internal): Make %z accept
11995         [+-]HH:MM time zones.
11997 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11999         [BZ #17886]
12000         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
12001         valid time zone.
12003 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
12005         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
12006         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
12007         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12008         (__ASSUME_FDATASYNC): Delete.
12010 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12012         * conform/linknamespace.pl: Require weak undefined symbols to be
12013         in the standard namespace.
12014         (%strong_syms): Rename to %seen_syms.
12015         (%strong_seen): Rename to %seen_where.
12017 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
12019         [BZ #18970]
12020         * misc/error.c (error): Replace pthread_setcancelstate with
12021         __pthread_setcancelstate.
12022         (error_at_line): Likewise.
12023         * posix/wordexp.c (parse_comm): Likewise.
12024         * stdlib/fmtmsg.c (fmtmsg): Likewise.
12025         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
12026         (__pthread_setcancelstate): This.
12027         (pthread_setcancelstate): Add an alias.
12028         * nptl/nptl-init.c (pthread_functions): Replace
12029         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
12030         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
12031         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
12032         hidden_proto.
12033         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
12034         it with hidden_def.
12035         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
12036         (pthread_setcancelstate): Renamed to ...
12037         (__pthread_setcancelstate): This.
12038         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
12039         __libc_ptf_call with __pthread_setcancelstate.
12041 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12042             Andreas Schwab  <schwab@suse.de>
12044         [BZ #17118]
12045         * math/s_ctan.c (__ctan): Determine sign of zero real part of
12046         result when imaginary part of argument is infinite using sine and
12047         cosine.
12048         * math/s_ctanf.c (__ctanf): Likewise.
12049         * math/s_ctanl.c (__ctanl): Likewise.
12050         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
12051         of result when real part of argument is infinite using sine and
12052         cosine.
12053         * math/s_ctanhf.c (__ctanhf): Likewise.
12054         * math/s_ctanhl.c (__ctanhl): Likewise.
12055         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
12056         (ctanh_test_data): Add more tests of ctanh.
12058 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12060         [BZ #15384]
12061         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
12062         bit-mask as in subtraction.
12063         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
12064         Likewise.
12065         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
12066         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
12067         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
12069         [BZ #18951]
12070         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
12071         underflow exception for small results.
12072         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12073         Likewise.
12074         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12075         Likewise.
12076         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12077         Likewise.
12078         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12079         Likewise.
12080         * math/auto-libm-test-in: Add more tests of tgamma.
12081         * math/auto-libm-test-out: Regenerated.
12083 2015-09-17  Andreas Schwab  <schwab@suse.de>
12085         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
12087 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12089         [BZ #18977]
12090         * math/bits/mathcalls.h
12091         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
12092         not declare.
12093         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12094         Likewise.
12095         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
12096         Likewise.
12097         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12098         Likewise.
12099         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
12100         Likewise.
12101         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
12102         Likewise.
12103         * conform/data/math.h-data
12104         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
12105         function.
12106         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
12107         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
12108         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
12109         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
12110         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
12111         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
12112         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
12113         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
12114         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
12115         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
12116         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
12118         [BZ #6803]
12119         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
12120         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
12121         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
12122         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
12123         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
12124         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
12125         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
12126         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
12127         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12128         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
12129         Likewise.
12130         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12131         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
12132         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
12133         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
12134         long_double_symbol calls.
12135         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
12136         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
12137         strong alias of __ldexpl.
12138         (scalbnl): Define using long_double_symbol.
12139         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
12140         Remove alias.
12141         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
12142         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
12143         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
12144         (scalbln_test_data): Add more errno expectations.
12146 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
12148         Cache the host port like we cache the task port.  This way we do not
12149         need to call the kernel just to get the port.  Furthermore, we no
12150         longer increase the reference count on every invocation of
12151         `mach_host_self'.
12153         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12154         Protect declarations against the macro expansion.
12155         * mach/mach_init.c (__mach_host_self_): New variable.
12156         (mach_init): Initialize `__mach_host_self_'.
12157         * mach/mach_init.h (__mach_host_self_): New declaration.
12158         (__mach_host_self, mach_host_self): New macros.
12159         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12160         Release reference.
12162 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12164         [BZ #4404]
12165         * po/de.po: Update from Translation Project.
12167         [BZ #16415]
12168         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12169         (__expm1l): Remove code to handle positive infinity and overflow.
12170         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12171         variable.
12172         (__expm1l): Remove code to handle positive infinity and overflow.
12174 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
12175             Paul Pluzhnikov  <ppluzhnikov@google.com>
12177         [BZ #18872]
12178         * stdio-common/Makefile (tst-printf-bz18872): New test.
12179         (tst-printf-bz18872-mem.out): Likewise.
12180         * stdio-common/tst-printf-bz18872.sh: Generate new test.
12181         * stdio-common/vfprintf.c: Fix memory leaks.
12183 2015-09-16  Andreas Schwab  <schwab@suse.de>
12185         [BZ #17244]
12186         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
12187         Remove extra va_start/va_end calls.
12189         [BZ #17243]
12190         * posix/execl.c (execl): Add missing va_end.
12191         * posix/execle.c (execle): Likewise.
12192         * posix/execlp.c (execlp): Likewise.
12194 2015-09-15  Roland McGrath  <roland@hack.frob.com>
12196         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
12197         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
12199 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
12201         [BZ #18967]
12202         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
12203         undefine around includes of <bits/mathcalls.h>.
12204         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
12205         not declare function.
12206         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
12207         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
12208         (scalb): Likewise.
12209         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
12210         not define macro.
12211         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
12212         variable.
12213         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12214         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12215         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12217         [BZ #18857]
12218         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
12219         return non-finite argument without doing ordered comparisons on
12220         it.
12222         [BZ #16296]
12223         * math/fenv.h (fegetround): Use __attribute_pure__.
12224         * include/fenv.h (__fegetround): Likewise.
12226         [BZ #18595]
12227         * math/s_ctan.c (__ctan): Force underflow exception for results
12228         whose real or imaginary part has small absolute value.
12229         * math/s_ctanf.c (__ctanf): Likewise.
12230         * math/s_ctanh.c (__ctanh): Likewise.
12231         * math/s_ctanhf.c (__ctanhf): Likewise.
12232         * math/s_ctanhl.c (__ctanhl): Likewise.
12233         * math/s_ctanl.c (__ctanl): Likewise.
12234         * math/auto-libm-test-in: Do not allow missing underflow for ctan
12235         and ctanh.  Add more tests of ctan and ctanh.
12237         [BZ #15918]
12238         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
12239         handling of cases where one argument is an infinity.
12241         [BZ #18875]
12242         [BZ #18966]
12243         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
12244         (MO): New macro.
12245         (__ieee754_exp10): For small results, force underflow exception
12246         and remove excess range and precision from return value.
12247         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
12248         (MO): New macro.
12249         (__ieee754_exp10f): For small results, force underflow exception
12250         and remove excess range and precision from return value.
12251         * math/auto-libm-test-in: Add more tests of exp10.
12252         * math/auto-libm-test-out: Regenerated.
12254 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
12256         [BZ #18875]
12257         [BZ #18961]
12258         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12259         (MO): New macro.
12260         (__ieee754_exp): For small results, force underflow exception and
12261         remove excess range and precision from return value.
12262         (__exp_finite): Likewise.
12263         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12264         (MO): New macro.
12265         (__ieee754_expf): For small results, force underflow exception and
12266         remove excess range and precision from return value.
12267         (__expf_finite): Likewise.
12268         * math/auto-libm-test-in: Add more tests of exp.
12269         * math/auto-libm-test-out: Regenerated.
12271         [BZ #16521]
12272         [BZ #18875]
12273         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12274         small results.
12275         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12276         (MO): New macro.
12277         (__ieee754_exp2): For small results, force underflow exception and
12278         remove excess range and precision from return value.
12279         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12280         (MO): New macro.
12281         (__ieee754_exp2f): For small results, force underflow exception
12282         and remove excess range and precision from return value.
12283         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12284         (MO): New macro.
12285         (__ieee754_exp2l): Force underflow exception for small results.
12286         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12287         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12288         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12289         (MO): New macro.
12290         (__ieee754_exp2l): Force underflow exception for small results.
12291         * math/auto-libm-test-in: Add more tests or exp2.
12292         * math/auto-libm-test-out: Regenerated.
12294 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
12296         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12298         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12299         /dev/null.
12301 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12303         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12304         io fs process)): Drop spurious backslash.
12306 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12308         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12309         Use sysinfo system call instead of parsing /proc/meminfo.
12310         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12311         Likewise.
12313 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
12315         [BZ #16985]
12316         * programs/localedef.c (main): Display argv[remaining] when
12317         output_path is NULL.
12319 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12321         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12322         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12323         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12324         tanh.
12325         * math/auto-libm-test-out: Regenerated.
12326         * sysdeps/i386/fpu/libm-test-ulps: Update.
12327         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12328         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12331 2015-09-11  Roland McGrath  <roland@hack.frob.com>
12333         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12334         Use 'override' keyword to freeze the value here, preventing
12335         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12337 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12339         [BZ #14912]
12340         * sysdeps/aarch64/bits/atomic.h: Move to ...
12341         * sysdeps/aarch64/atomic-machine.h: ...here.
12342         (_AARCH64_BITS_ATOMIC_H): Rename macro to
12343         _AARCH64_ATOMIC_MACHINE_H.
12344         * sysdeps/alpha/bits/atomic.h: Move to ...
12345         * sysdeps/alpha/atomic-machine.h: ...here.
12346         * sysdeps/arm/bits/atomic.h: Move to ...
12347         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
12348         * bits/atomic.h: Move to ...
12349         * sysdeps/generic/atomic-machine.h: ...here.
12350         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12351         * sysdeps/i386/bits/atomic.h: Move to ...
12352         * sysdeps/i386/atomic-machine.h: ...here.
12353         * sysdeps/ia64/bits/atomic.h: Move to ...
12354         * sysdeps/ia64/atomic-machine.h: ...here.
12355         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
12356         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
12357         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12358         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
12359         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
12360         * sysdeps/microblaze/bits/atomic.h: Move to ...
12361         * sysdeps/microblaze/atomic-machine.h: ...here.
12362         * sysdeps/mips/bits/atomic.h: Move to ...
12363         * sysdeps/mips/atomic-machine.h: ...here.
12364         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
12365         * sysdeps/powerpc/bits/atomic.h: Move to ...
12366         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
12367         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
12368         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
12369         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
12370         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
12371         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
12372         <atomic-machine.h> instead of <bits/atomic.h>.
12373         * sysdeps/s390/bits/atomic.h: Move to ...
12374         * sysdeps/s390/atomic-machine.h: ...here.
12375         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
12376         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
12377         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12378         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
12379         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
12380         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
12381         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
12382         * sysdeps/tile/bits/atomic.h: Move to ...
12383         * sysdeps/tile/atomic-machine.h: ...here.
12384         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
12385         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
12386         <sysdeps/tile/atomic-machine.h> instead of
12387         <sysdeps/tile/bits/atomic.h>.
12388         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12389         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
12390         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
12391         <sysdeps/tile/atomic-machine.h> instead of
12392         <sysdeps/tile/bits/atomic.h>.
12393         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12394         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
12395         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
12396         <sysdeps/arm/atomic-machine.h> instead of
12397         <sysdeps/arm/bits/atomic.h>.
12398         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
12399         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
12400         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12401         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
12402         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
12403         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12404         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
12405         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
12406         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
12407         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
12408         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
12409         * sysdeps/x86_64/bits/atomic.h: Move to ...
12410         * sysdeps/x86_64/atomic-machine.h: ...here.
12411         * include/atomic.h: Include <atomic-machine.h> instead of
12412         <bits/atomic.h>.
12414         * sysdeps/mips/mips32/libm-test-ulps: Update.
12415         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12417         [BZ #18952]
12418         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
12419         not convert non-integer negative arguments to int to determine the
12420         value of signgam.
12421         * math/auto-libm-test-in: Add more tests of lgamma.
12422         * math/auto-libm-test-out: Regenerated.
12424         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
12425         cosh, csqrt, erfc, expm1 and lgamma.
12426         * math/auto-libm-test-out: Regenerated.
12427         * sysdeps/i386/fpu/libm-test-ulps: Update.
12428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12430 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
12432         [BZ #2542]
12433         [BZ #2543]
12434         [BZ #2558]
12435         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
12436         __lgamma_neg for arguments from -28.0 to -2.0.
12437         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
12438         __lgamma_negf for arguments from -15.0 to -2.0.
12439         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12440         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
12441         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
12442         Call __lgamma_negl for arguments from -33.0 to -2.0.
12443         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
12444         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12445         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12446         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
12447         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12448         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12449         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12450         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
12451         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12452         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12453         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
12454         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
12455         (__lgamma_neg): Likewise.
12456         (__lgamma_negl): Likewise.
12457         (__lgamma_product): Likewise.
12458         (__lgamma_productl): Likewise.
12459         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
12460         * math/auto-libm-test-in: Add more tests of lgamma.
12461         * math/auto-libm-test-out: Regenerated.
12462         * sysdeps/i386/fpu/libm-test-ulps: Update.
12463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12465 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
12467         [BZ #18675]
12468         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
12470 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
12472         [BZ #14912]
12473         * bits/libc-lock.h: Move to ...
12474         * sysdeps/generic/libc-lock.h: ...here.
12475         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12476         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
12477         * sysdeps/mach/hurd/libc-lock.h: ...here.
12478         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12479         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
12480         * sysdeps/mach/bits/libc-lock.h: Move to ...
12481         * sysdeps/mach/libc-lock.h: ...here.
12482         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12483         * sysdeps/nptl/bits/libc-lock.h: Move to ...
12484         * sysdeps/nptl/libc-lock.h: ...here.
12485         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12486         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
12487         * sysdeps/nptl/libc-lockP.h: ...here.
12488         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
12489         * crypt/crypt_util.c: Include <libc-lock.h> instead of
12490         <bits/libc-lock.h>.
12491         * dirent/scandir-tail.c: Likewise.
12492         * dlfcn/dlerror.c: Likewise.
12493         * elf/dl-close.c: Likewise.
12494         * elf/dl-iteratephdr.c: Likewise.
12495         * elf/dl-lookup.c: Likewise.
12496         * elf/dl-open.c: Likewise.
12497         * elf/dl-support.c: Likewise.
12498         * elf/dl-writev.h: Likewise.
12499         * elf/rtld.c: Likewise.
12500         * grp/fgetgrent.c: Likewise.
12501         * gshadow/fgetsgent.c: Likewise.
12502         * gshadow/sgetsgent.c: Likewise.
12503         * iconv/gconv_conf.c: Likewise.
12504         * iconv/gconv_db.c: Likewise.
12505         * iconv/gconv_dl.c: Likewise.
12506         * iconv/gconv_int.h: Likewise.
12507         * iconv/gconv_trans.c: Likewise.
12508         * include/link.h: Likewise.
12509         * inet/getnameinfo.c: Likewise.
12510         * inet/getnetgrent.c: Likewise.
12511         * inet/getnetgrent_r.c: Likewise.
12512         * intl/bindtextdom.c: Likewise.
12513         * intl/dcigettext.c: Likewise.
12514         * intl/finddomain.c: Likewise.
12515         * intl/gettextP.h: Likewise.
12516         * intl/loadmsgcat.c: Likewise.
12517         * intl/localealias.c: Likewise.
12518         * intl/textdomain.c: Likewise.
12519         * libidn/idn-stub.c: Likewise.
12520         * libio/libioP.h: Likewise.
12521         * locale/duplocale.c: Likewise.
12522         * locale/freelocale.c: Likewise.
12523         * locale/newlocale.c: Likewise.
12524         * locale/setlocale.c: Likewise.
12525         * login/getutent_r.c: Likewise.
12526         * login/getutid_r.c: Likewise.
12527         * login/getutline_r.c: Likewise.
12528         * login/utmp-private.h: Likewise.
12529         * login/utmpname.c: Likewise.
12530         * malloc/mtrace.c: Likewise.
12531         * misc/efgcvt.c: Likewise.
12532         * misc/error.c: Likewise.
12533         * misc/fstab.c: Likewise.
12534         * misc/getpass.c: Likewise.
12535         * misc/mntent.c: Likewise.
12536         * misc/syslog.c: Likewise.
12537         * nis/nis_call.c: Likewise.
12538         * nis/nis_callback.c: Likewise.
12539         * nis/nss-default.c: Likewise.
12540         * nis/nss_compat/compat-grp.c: Likewise.
12541         * nis/nss_compat/compat-initgroups.c: Likewise.
12542         * nis/nss_compat/compat-pwd.c: Likewise.
12543         * nis/nss_compat/compat-spwd.c: Likewise.
12544         * nis/nss_nis/nis-alias.c: Likewise.
12545         * nis/nss_nis/nis-ethers.c: Likewise.
12546         * nis/nss_nis/nis-grp.c: Likewise.
12547         * nis/nss_nis/nis-hosts.c: Likewise.
12548         * nis/nss_nis/nis-network.c: Likewise.
12549         * nis/nss_nis/nis-proto.c: Likewise.
12550         * nis/nss_nis/nis-pwd.c: Likewise.
12551         * nis/nss_nis/nis-rpc.c: Likewise.
12552         * nis/nss_nis/nis-service.c: Likewise.
12553         * nis/nss_nis/nis-spwd.c: Likewise.
12554         * nis/nss_nisplus/nisplus-alias.c: Likewise.
12555         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
12556         * nis/nss_nisplus/nisplus-grp.c: Likewise.
12557         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
12558         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
12559         * nis/nss_nisplus/nisplus-network.c: Likewise.
12560         * nis/nss_nisplus/nisplus-proto.c: Likewise.
12561         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
12562         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
12563         * nis/nss_nisplus/nisplus-service.c: Likewise.
12564         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
12565         * nis/ypclnt.c: Likewise.
12566         * nptl/libc_pthread_init.c: Likewise.
12567         * nss/getXXbyYY.c: Likewise.
12568         * nss/getXXent.c: Likewise.
12569         * nss/getXXent_r.c: Likewise.
12570         * nss/nss_db/db-XXX.c: Likewise.
12571         * nss/nss_db/db-netgrp.c: Likewise.
12572         * nss/nss_db/nss_db.h: Likewise.
12573         * nss/nss_files/files-XXX.c: Likewise.
12574         * nss/nss_files/files-alias.c: Likewise.
12575         * nss/nsswitch.c: Likewise.
12576         * posix/regex_internal.h: Likewise.
12577         * posix/wordexp.c: Likewise.
12578         * pwd/fgetpwent.c: Likewise.
12579         * resolv/res_hconf.c: Likewise.
12580         * resolv/res_libc.c: Likewise.
12581         * shadow/fgetspent.c: Likewise.
12582         * shadow/lckpwdf.c: Likewise.
12583         * shadow/sgetspent.c: Likewise.
12584         * socket/opensock.c: Likewise.
12585         * stdio-common/reg-modifier.c: Likewise.
12586         * stdio-common/reg-printf.c: Likewise.
12587         * stdio-common/reg-type.c: Likewise.
12588         * stdio-common/vfprintf.c: Likewise.
12589         * stdio-common/vfscanf.c: Likewise.
12590         * stdlib/abort.c: Likewise.
12591         * stdlib/cxa_atexit.c: Likewise.
12592         * stdlib/fmtmsg.c: Likewise.
12593         * stdlib/random.c: Likewise.
12594         * stdlib/setenv.c: Likewise.
12595         * string/strsignal.c: Likewise.
12596         * sunrpc/auth_none.c: Likewise.
12597         * sunrpc/bindrsvprt.c: Likewise.
12598         * sunrpc/create_xid.c: Likewise.
12599         * sunrpc/key_call.c: Likewise.
12600         * sunrpc/rpc_thread.c: Likewise.
12601         * sysdeps/arm/backtrace.c: Likewise.
12602         * sysdeps/generic/ldsodefs.h: Likewise.
12603         * sysdeps/generic/stdio-lock.h: Likewise.
12604         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
12605         * sysdeps/i386/backtrace.c: Likewise.
12606         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12607         * sysdeps/m68k/backtrace.c: Likewise.
12608         * sysdeps/mach/hurd/cthreads.c: Likewise.
12609         * sysdeps/mach/hurd/dirstream.h: Likewise.
12610         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12611         * sysdeps/nptl/malloc-machine.h: Likewise.
12612         * sysdeps/nptl/stdio-lock.h: Likewise.
12613         * sysdeps/posix/dirstream.h: Likewise.
12614         * sysdeps/posix/getaddrinfo.c: Likewise.
12615         * sysdeps/posix/system.c: Likewise.
12616         * sysdeps/pthread/aio_suspend.c: Likewise.
12617         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12618         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12619         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12620         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12621         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
12622         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
12623         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
12624         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12625         * sysdeps/unix/sysv/linux/system.c: Likewise.
12626         * sysdeps/x86_64/backtrace.c: Likewise.
12627         * time/alt_digit.c: Likewise.
12628         * time/era.c: Likewise.
12629         * time/tzset.c: Likewise.
12630         * wcsmbs/wcsmbsload.c: Likewise.
12631         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
12632         instead of <bits/libc-lock.h> in comment.
12634 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
12636         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
12637         Only use .set mips2 if the current ISA is below mips2.
12638         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
12639         Likewise.
12640         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
12641         mips32r2 if the current ISA is below mips32r2.
12642         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
12643         (TLS_IE): Updated to use the TLD_RDHWR macro.
12644         (TLS_LE): Likewise.
12645         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
12646         __ASSEMBLER__ condition.
12648 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12650         Fix parallel build of before-compile targets.
12652         * sysdeps/mach/Makefile ($(patsubst
12653         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
12654         mach-before-compile target.
12655         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12656         io fs process)): Move rule to dedicated hurd-before-compile target.
12658 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12660         Fix rules generating headers in hurd/ and mach/ when initial make call
12661         has subdir= explicitly set.
12663         * sysdeps/mach/Makefile ($(patsubst
12664         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
12665         calling $(MAKE).
12666         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12667         io fs process)): Force subdir to hurd when calling $(MAKE).
12668         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
12669         subdir to mach when calling $(MAKE).
12671 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
12673         Check sysheaders when looking for Mach and Hurd headers
12675         * sysdeps/mach/configure.ac: Add sysheaders check.
12676         * sysdeps/mach/configure: Regenerate.
12677         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
12678         * sysdeps/mach/hurd/configure: Regenerate.
12680 2015-09-04  Roland McGrath  <roland@hack.frob.com>
12682         [BZ #18921]
12683         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
12684         Fix inverted sense of test of 'o_directory_works' value.
12685         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
12686         Bernhard Voelker <mail@bernhard-voelker.de>.
12688 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12690         [BZ #14912]
12691         * bits/linkmap.h: Move to ...
12692         * sysdeps/generic/linkmap.h: ...here.
12693         * sysdeps/aarch64/bits/linkmap.h: Move to ...
12694         * sysdeps/aarch64/linkmap.h: ...here.
12695         * sysdeps/arm/bits/linkmap.h: Move to ...
12696         * sysdeps/arm/linkmap.h: ...here.
12697         * sysdeps/hppa/bits/linkmap.h: Move to ...
12698         * sysdeps/hppa/linkmap.h: ...here.
12699         * sysdeps/ia64/bits/linkmap.h: Move to ...
12700         * sysdeps/ia64/linkmap.h: ...here.
12701         * sysdeps/mips/bits/linkmap.h: Move to ...
12702         * sysdeps/mips/linkmap.h: ...here.
12703         * sysdeps/s390/bits/linkmap.h: Move to ...
12704         * sysdeps/s390/linkmap.h: ...here.
12705         * sysdeps/sh/bits/linkmap.h: Move to ...
12706         * sysdeps/sh/linkmap.h: ...here.
12707         * sysdeps/x86/bits/linkmap.h: Move to ...
12708         * sysdeps/x86/linkmap.h: ...here.
12709         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
12711 2015-09-04  Andreas Schwab  <schwab@suse.de>
12713         [BZ #18635]
12714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
12715         (__makecontext): Terminate FDE before return label.
12716         (__novec_makecontext): Likewise.
12718 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12720         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
12721         first member of struct sv in syscall macro.
12723 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12725         [BZ #14912]
12726         * bits/stdio-lock.h: Move to ...
12727         * sysdeps/generic/stdio-lock.h: ...here.
12728         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12729         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
12730         * sysdeps/nptl/stdio-lock.h: ...here.
12731         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12732         * include/libio.h: Include <stdio-lock.h> instead of
12733         <bits/stdio-lock.h>.
12734         * sysdeps/nptl/fork.c: Likewise.
12735         * sysdeps/pthread/flockfile.c: Likewise.
12736         * sysdeps/pthread/ftrylockfile.c: Likewise.
12737         * sysdeps/pthread/funlockfile.c: Likewise.
12739         [BZ #14912]
12740         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
12741         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
12742         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
12743         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
12744         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
12745         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12746         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
12748 2015-09-03  Roland McGrath  <roland@hack.frob.com>
12750         * elf/Makefile (test-xfail-tst-protected1a): New variable.
12751         (test-xfail-tst-protected1b): New variable.
12753 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
12755         [BZ #14912]
12756         * bits/libc-tsd.h: Move to ...
12757         * sysdeps/generic/libc-tsd.h: ...here.
12758         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
12759         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
12760         * sysdeps/mach/hurd/libc-tsd.h: ...here.
12761         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
12762         * include/ctype.h: Include <libc-tsd.h> instead of
12763         <bits/libc-tsd.h>.
12764         * include/rpc/rpc.h: Likewise.
12765         * locale/localeinfo.h: Likewise.
12766         * sunrpc/rpc_thread.c: Likewise.
12767         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12768         * sysdeps/nptl/malloc-machine.h: Likewise.
12770         * Makefile (headers): Remove bits/libc-lock.h.
12771         * libio/Makefile (headers): Remove bits/stdio-lock.h.
12773         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
12774         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
12775         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
12776         <bits/stdio-lock.h>.
12777         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
12778         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
12780 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12782         [BZ #18757]
12783         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
12784         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
12785         BZ #18757.
12787 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12789         * malloc/mtrace.pl: Filter out NULL entries.
12791 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
12793         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
12794         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
12795         macro.
12797         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
12798         (TCP_CC_INFO): Likewise.
12799         (TCP_SAVE_SYN): Likewise.
12800         (TCP_SAVED_SYN): Likewise.
12802 2015-08-31  Brett Neumeier <brett@neumeier.us>
12804         [BZ #18870]
12805         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
12807 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
12809         [BZ #18873]
12810         Fix broken overflow check in posix_fallocate
12811         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
12812         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12813         Fix parenthesization typo.
12815 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
12817         [BZ #18887]
12818         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
12819         tst-mntent-blank-passno.
12820         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
12821         * misc/tst-mntent-blank-corrupt.c: New test.
12822         * misc/tst-mntent-blank-passno.c: New test ripped from ...
12823         * misc/tst-mntent.c (do_test): ... here.
12825 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
12827         [BZ #4404]
12828         * po/de.po: Fix SIGALRM typo.
12830 2015-08-28  James Perkins  <james@loowit.net>
12832         * time/tst-strptime2.c (tests): Replace short list of test
12833         strings for strptime %z specifier with code which exhaustively
12834         tests every combination of sign and 0 to 5 digits. Tests for
12835         rejection of invalid strings.
12837 2015-08-28  James Perkins  <james@loowit.net>
12839         [BZ #16141]
12840         * time/strptime_l.c (__strptime_internal): Fix %z minutes
12841         calculation, removing incorrect decimal time rounding, so that
12842         all minute values result in a valid seconds value.
12843         * time/strptime_l.c (__strptime_internal): Extend %z time zone
12844         offset range limits to UTC-99:59 through UTC+99:59 to parse
12845         current and historical use cases.
12846         * time/tst-strptime2.c (tests): Modify and add tests for the
12847         strptime %z input field descriptor, specifically conversion of
12848         minutes to seconds and validating an offset range of -9959 to
12849         +9959.
12851 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12852             Dmitry V. Levin  <ldv@altlinux.org>
12854         [BZ #18877]
12855         * posix/Makefile (tests): Add tst-mmap-offset.
12856         * posix/tst-mmap.c: New file.
12857         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
12858         offset calculation for negative values.
12860 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12862         * sysdeps/i386/init-arch.h: New file.
12863         * sysdeps/i386/i586/init-arch.h: Likewise.
12864         * sysdeps/i386/i686/init-arch.h: Likewise.
12865         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
12866         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
12867         * sysdeps/x86/cpu-features.h (bit_I586): New.
12868         (bit_I686): Likewise.
12869         (bit_CX8): Likewise.
12870         (bit_CMOV): Likewise.
12871         (index_CX8): Likewise.
12872         (index_CMOV): Likewise.
12873         (index_I586): Likewise.
12874         (index_I686): Likewise.
12875         (reg_CX8): Likewise.
12876         (reg_CMOV): Likewise.
12877         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
12878         available at compile-time.
12879         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
12880         available at compile-time.
12881         * sysdeps/x86/init-arch.h (USE_I586): New macro.
12882         (USE_I686): Likewise.
12884 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12886         * sysdeps/i386/bcopy.S: New file.
12887         * sysdeps/i386/bzero.S: Likewise.
12888         * sysdeps/i386/memcpy.S: Likewise.
12889         * sysdeps/i386/memmove.S: Likewise.
12890         * sysdeps/i386/mempcpy.S: Likewise.
12891         * sysdeps/i386/memset.S: Likewise.
12892         * sysdeps/i386/bzero.c: Removed.
12893         * sysdeps/i386/memset.c: Likewise.
12894         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
12895         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
12896         * sysdeps/i386/i586/memset_chk.S: Likewise.
12897         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
12898         * sysdeps/i386/memcpy_chk.S: Here.
12899         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
12900         * sysdeps/i386/memmove_chk.S: Here.
12901         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
12902         * sysdeps/i386/mempcpy_chk.S: Likewise.
12903         * sysdeps/i386/i686/memset_chk.S: Moved to ...
12904         * sysdeps/i386/memset_chk.S: Likewise.
12906 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
12908         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
12909         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
12910         file, move DIAG_POP_NEEDS_COMMENT to end of file.
12911         * soft-fp/fmadf4.c: Ditto.
12912         * soft-fp/fmatf4.c: Ditto.
12914 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12916         * sysdeps/i386/i586/Implies: Removed.
12917         * sysdeps/i386/i686/Implies: Likewise.
12919 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12921         * sysdeps/i386/i486/strlen.S: Moved to ...
12922         * sysdeps/i386/strlen.S: Here.
12924 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12926         * sysdeps/i386/i486/strcat.S: Moved to ...
12927         * sysdeps/i386/strcat.S: Here.
12929 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12931         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
12932         * sysdeps/i386/pthread_spin_trylock.S: Here.
12933         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
12934         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
12936 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12938         * sysdeps/i386/i486/string-inlines.c: Moved to ...
12939         * sysdeps/i386/string-inlines.c: Here.
12941 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12943         * sysdeps/i386/i486/htonl.S: Moved ...
12944         * sysdeps/i386/htonl.S: here.
12946 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12948         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
12949         * sysdeps/i386/bits/atomic.h: Here.
12951 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12953         * sysdeps/i386/i486/Versions: Removed.
12955 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12957         [BZ #2898]
12958         * misc/mktemp.c: Add mkdtemp to the link_warning message.
12959         Based on patch by Aurelien Jarno.
12961 2015-08-26  Stan Shebs  <stanshebs@google.com>
12963         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
12964         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12966 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12968         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
12969         * sysdeps/powerpc/dl-procinfo.c:
12970         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
12971         feature so it shows when LD_SHOW_AUXV=1.
12973 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12975         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12976         (__arch_compare_and_exchange_val_32_acq): Remove and use common
12977         definition.  ISA 2.07B no longer requires full sync.
12979 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
12981         [BZ #18863]
12982         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
12983         (si_call_addr): Define.
12984         (si_syscall): Define.
12985         (si_arch): Define.
12987 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12989         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
12990         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
12991         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
12992         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12993         (__memset_zero_constant_len_parameter): New.
12994         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
12995         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12996         (__memset_zero_constant_len_parameter): Don't define if
12997         __memset_chk or USE_AS_BZERO are defined.
12999         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
13000         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
13001         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
13003         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
13004         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
13005         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
13006         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
13007         comments.
13008         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
13009         -mno-mmx for $(all-rtld-routines).
13010         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
13011         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
13012         i386.
13014 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13016         * sysdeps/generic/unwind.h
13017         (_Unwind_Word): Use __mode__(__unwind_word__)
13018         instead of __mode__(__word__).
13019         (_Unwind_Sword): Likewise.
13021         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13022         (MAX_NEEDED_INPUT): New define.
13023         (MAX_NEEDED_OUTPUT): New define.
13025         * NEWS: New item for IBM z13 string optimizations.
13027         * sysdeps/s390/multiarch/memrchr-c.c: New File.
13028         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
13029         * sysdeps/s390/multiarch/memrchr.c: Likewise.
13030         * sysdeps/s390/multiarch/Makefile
13031         (sysdep_routines): Add memrchr functions.
13032         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13033         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
13035         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
13036         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
13037         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
13038         * sysdeps/s390/multiarch/Makefile
13039         (sysdep_routines): Add wmemcmp functions.
13040         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13041         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
13042         * benchtests/bench-wmemcmp.c: New File.
13043         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
13045         * sysdeps/s390/multiarch/wmemset-c.c: New File.
13046         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
13047         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13048         * sysdeps/s390/multiarch/Makefile
13049         (sysdep_routines): Add wmemset functions.
13050         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13051         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
13052         * wcsmbs/wmemset.c: Use WMEMSET if defined.
13053         * string/test-memset.c: Add wmemset support.
13054         * wcsmbs/test-wmemset.c: New File.
13055         * wcsmbs/Makefile (strop-tests): Add wmemset.
13056         * benchtests/bench-memset.c: Add wmemset support.
13057         * benchtests/bench-wmemset.c: New File.
13058         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
13060         * sysdeps/s390/multiarch/memccpy-c.c: New File.
13061         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
13062         * sysdeps/s390/multiarch/memccpy.c: Likewise.
13063         * sysdeps/s390/multiarch/Makefile
13064         (sysdep_routines): Add memccpy functions.
13065         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13066         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
13067         * string/memccpy.c: Use MEMCCPY if defined.
13069         * sysdeps/s390/multiarch/memchr-vx.S: New File.
13070         * sysdeps/s390/multiarch/memchr.c: Likewise.
13071         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
13072         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
13073         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13074         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
13075         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
13076         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13077         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
13078         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13079         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
13080         and rawmemchr functions.
13081         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13082         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
13083         and wmemchr.
13084         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
13085         * string/test-memchr.c: Add wmemchr support.
13086         * wcsmbs/test-wmemchr.c: New File.
13087         * wcsmbs/Makefile (strop-tests): Add wmemchr.
13088         * benchtests/bench-memchr.c: Add wmemchr support.
13089         * benchtests/bench-wmemchr.c: New File.
13090         * benchtests/Makefile (wcsmbs-bench): wmemchr.
13092         * sysdeps/s390/multiarch/strcspn-c.c: New File.
13093         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
13094         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13095         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
13096         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
13097         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
13098         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
13099         wcscspn functions.
13100         * sysdeps/s390/multiarch/ifunc-impl-list.c
13101         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
13102         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
13103         * string/test-strcspn.c: Add wcscspn support.
13104         * wcsmbs/test-wcscspn.c: New File.
13105         * wcsmbs/Makefile (strop-tests): Add wcscspn.
13106         * benchtests/bench-strcspn.c: Add wcscspn support.
13107         * benchtests/bench-wcscspn.c: New File.
13108         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
13110         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
13111         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
13112         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13113         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
13114         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
13115         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13116         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
13117         wcspbrk functions.
13118         * sysdeps/s390/multiarch/ifunc-impl-list.c
13119         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
13120         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
13121         * string/test-strpbrk.c: Add wcspbrk support.
13122         * wcsmbs/test-wcspbrk.c: New File.
13123         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
13124         * benchtests/bench-strpbrk.c: Add wcspbrk support.
13125         * benchtests/bench-wcspbrk.c: New File.
13126         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
13128         * sysdeps/s390/multiarch/strspn-c.c: New File.
13129         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
13130         * sysdeps/s390/multiarch/strspn.c: Likewise.
13131         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
13132         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
13133         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13134         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
13135         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
13136         wcsspn functions.
13137         * sysdeps/s390/multiarch/ifunc-impl-list.c
13138         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
13139         * string/test-strspn.c: Add wcsspn support.
13140         * wcsmbs/test-wcsspn.c: New File.
13141         * wcsmbs/Makefile (strop-tests): Add wcsspn.
13142         * benchtests/bench-strspn.c: Add wcsspn support.
13143         * benchtests/bench-wcsspn.c: New File.
13144         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13146         * sysdeps/s390/multiarch/strrchr-c.c: New File.
13147         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13148         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13149         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13150         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13151         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13152         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13153         wcsrchr functions.
13154         * sysdeps/s390/multiarch/ifunc-impl-list.c
13155         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13156         * benchtests/bench-wcsrchr.c: New File.
13157         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13159         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13160         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13161         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13162         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13163         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13164         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13165         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13166         wcschrnul functions.
13167         * sysdeps/s390/multiarch/ifunc-impl-list.c
13168         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13169         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13170         * string/test-strchr.c: Add wcschrnul support.
13171         * wcsmbs/test-wcschrnul.c: New File.
13172         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13173         * benchtests/bench-strchr.c: Add wcschrnul support.
13174         * benchtests/bench-wcschrnul.c: New File.
13175         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13177         * sysdeps/s390/multiarch/strchr-c.c: New File.
13178         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13179         * sysdeps/s390/multiarch/strchr.c: Likewise.
13180         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13181         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
13182         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13183         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
13184         wcschr functions.
13185         * sysdeps/s390/multiarch/ifunc-impl-list.c
13186         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13187         * string/strchr.c (STRCHR): Define and use macro.
13188         * benchtests/bench-wcschr.c: New File.
13189         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
13191         * sysdeps/s390/multiarch/strncmp-c.c: New File.
13192         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
13193         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13194         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
13195         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
13196         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
13197         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
13198         wcsncmp functions.
13199         * sysdeps/s390/multiarch/ifunc-impl-list.c
13200         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13201         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
13202         * benchtests/bench-strncmp.c: Add wcsncmp support.
13203         * benchtests/bench-wcsncmp.c: New File.
13204         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
13206         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
13207         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13208         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
13209         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
13210         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13211         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
13212         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
13213         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
13214         wcscmp functions.
13215         * sysdeps/s390/multiarch/ifunc-impl-list.c
13216         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
13217         * string/strcmp.c (STRCMP): Define and use macro.
13218         * benchtests/bench-wcscmp.c: New File.
13219         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
13220         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
13221         instead of _HAVE_STRING_ARCH_memchr.
13223         * sysdeps/s390/multiarch/strncat-c.c: New File.
13224         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
13225         * sysdeps/s390/multiarch/strncat.c: Likewise.
13226         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
13227         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
13228         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
13229         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
13230         wcsncat functions.
13231         * sysdeps/s390/multiarch/ifunc-impl-list.c
13232         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
13233         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
13234         * string/test-strncat.c: Add wcsncat support.
13235         * wcsmbs/test-wcsncat.c: New File.
13236         * wcsmbs/Makefile (strop-tests): Add wcsncat.
13237         * benchtests/bench-strncat.c: Add wcsncat support.
13238         * benchtests/bench-wcsncat.c: New File.
13239         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
13241         * sysdeps/s390/multiarch/strcat-c.c: New File.
13242         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
13243         * sysdeps/s390/multiarch/strcat.c: Likewise.
13244         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
13245         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
13246         * sysdeps/s390/multiarch/wcscat.c: Likewise.
13247         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
13248         wcscat functions.
13249         * sysdeps/s390/multiarch/ifunc-impl-list.c
13250         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
13251         * string/strcat.c (STRCAT): Define and use macro.
13252         * wcsmbs/wcscat.c: Use WCSCAT if defined.
13253         * string/test-strcat.c: Add wcscat support.
13254         * wcsmbs/test-wcscat.c: New File.
13255         * wcsmbs/Makefile (strop-tests): Add wcscat.
13256         * benchtests/bench-strcat.c: Add wcscat support.
13257         * benchtests/bench-wcscat.c: New File.
13258         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13260         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13261         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13262         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13263         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13264         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13265         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13266         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13267         wcpncpy functions.
13268         * sysdeps/s390/multiarch/ifunc-impl-list.c
13269         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13270         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13271         * string/test-stpncpy.c: Add wcpncpy support.
13272         * wcsmbs/test-wcpncpy.c: New File.
13273         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13274         * benchtests/bench-stpncpy.c: Add wcpncpy support.
13275         * benchtests/bench-wcpncpy.c: New File.
13276         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13278         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13279         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13280         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13281         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13282         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13283         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13284         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13285         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13286         wcsncpy functions.
13287         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13288         * sysdeps/s390/multiarch/ifunc-impl-list.c
13289         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13290         * string/test-strncpy.c: Add wcsncpy support.
13291         * wcsmbs/test-wcsncpy.c: New File.
13292         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13293         * benchtests/bench-strncpy.c: Add wcsncpy support.
13294         * benchtests/bench-wcsncpy.c: New File.
13295         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13297         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13298         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13299         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13300         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13301         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13302         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13303         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13304         wcpcpy functions.
13305         * string/stpcpy.c: Use STPCPY if defined.
13306         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13307         * sysdeps/s390/multiarch/ifunc-impl-list.c
13308         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13309         * string/test-stpcpy.c: Add wcpcpy support.
13310         * wcsmbs/test-wcpcpy.c: New File.
13311         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13312         * benchtests/bench-stpcpy.c: Add wcpcpy support.
13313         * benchtests/bench-wcpcpy.c: New File.
13314         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13316         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13317         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13318         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13319         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13320         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13321         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13322         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13323         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13324         wcscpy functions.
13325         * sysdeps/s390/multiarch/ifunc-impl-list.c
13326         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13327         * benchtests/bench-wcscpy.c: New File.
13328         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13330         * sysdeps/s390/multiarch/strnlen-c.c: New File.
13331         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13332         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13333         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13334         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13335         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13336         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13337         wcsnlen functions.
13338         * sysdeps/s390/multiarch/ifunc-impl-list.c
13339         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13340         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
13341         * string/test-strnlen.c: Add wcsnlen support.
13342         * wcsmbs/test-wcsnlen.c: New File.
13343         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
13344         * benchtests/bench-strnlen.c: Add wcsnlen support.
13345         * benchtests/bench-wcsnlen.c: New File.
13346         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
13348         * sysdeps/s390/multiarch/Makefile: New File.
13349         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
13350         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
13351         * sysdeps/s390/multiarch/strlen.c: Likewise.
13352         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
13353         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
13354         * sysdeps/s390/multiarch/wcslen.c: Likewise.
13355         * string/strlen.c (STRLEN): Define and use macro.
13356         * sysdeps/s390/multiarch/ifunc-impl-list.c
13357         (IFUNC_VX_IMPL): New macro function.
13358         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
13359         * benchtests/Makefile (wcsmbs-bench): New variable.
13360         (string-bench-all): Added wcsmbs-bench.
13361         * benchtests/bench-wcslen.c: New File.
13363         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
13364         s390_vx_libc_ifunc2): New macro function.
13366         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
13367         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
13368         assembler support.
13369         * sysdeps/s390/configure: Regenerated.
13371         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
13372         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13374         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
13375         * sysdeps/s390/dl-procinfo.h: Add vector capability.
13376         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
13378         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
13379         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
13380         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
13381         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13382         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
13383         (memcmp, bcmp): Use __memcmp_default as alias source.
13384         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
13385         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
13386         Rename to __memcmp_default.
13387         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
13388         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
13389         (memcpy): Use __memcpy_default as alias source.
13390         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
13391         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
13392         Rename to __memcpy_default.
13393         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
13394         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
13395         (memset): Use __memset_default as alias source.
13396         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
13397         * sysdeps/s390/s390-32/memset.S (__memset_g5):
13398         Rename to __memset_default.
13399         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
13400         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
13401         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
13402         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
13403         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
13404         (memcmp, bcmp): Use __memcmp_default as alias source.
13405         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
13406         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
13407         Rename to __memcmp_default.
13408         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
13409         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
13410         (memcpy): Use __memcpy_default as alias source.
13411         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
13412         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
13413         Rename to __memcpy_default.
13414         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
13415         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
13416         (memset): Use __memset_default as alias source.
13417         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
13418         * sysdeps/s390/s390-64/memset.S (__memset_z900):
13419         Rename to __memset_default.
13420         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
13421         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
13423         [BZ #18610]
13424         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
13425         __ieee_instruction_pointer to __unused.
13426         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
13427         __ieee_instruction_pointer.
13428         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
13429         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
13430         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13431         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13432         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
13433         Mark dxc-field as reserved.
13435 2015-08-25  Roland McGrath  <roland@hack.frob.com>
13437         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
13438         if the weak reference is not null.
13440 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13442         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
13444         [BZ #11214]
13445         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
13447 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13449         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
13450         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
13451         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
13452         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
13453         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
13454         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
13455         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
13456         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
13457         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
13458         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
13459         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
13460         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
13461         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
13462         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
13463         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
13464         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
13465         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
13466         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
13468 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13470         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
13471         register other than r0 for tabort, it has special meaning.
13472         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
13473         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
13474         transaction before starting syscall.
13476 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13478         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
13480 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13482         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
13484         * sysdeps/x86_64/rtld-memcmp.c: Removed.
13485         * sysdeps/x86_64/rtld-memset.S: Likewise.
13486         * sysdeps/x86_64/rtld-strchr.S: Likewise.
13487         * sysdeps/x86_64/rtld-strlen.S: Likewise.
13488         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
13489         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13491         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
13493 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
13495         * debug/strcpy_chk.c: Improve performance.
13496         * debug/stpcpy_chk.c: Likewise.
13497         * sysdeps/x86_64/strcpy_chk.S: Remove.
13498         * sysdeps/x86_64/stpcpy_chk.S: Remove.
13500         [BZ #18240]
13501         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
13503 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13505         [BZ #15128]
13506         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
13507         ifuncmain8.
13508         (modules-names): Add ifuncmod8.
13509         ($(objpfx)ifuncmain8): New rule.
13510         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
13511         <cpuid.h>.
13512         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
13513         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
13514         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
13515         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
13516         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
13517         * sysdeps/x86_64/dl-trampoline.h: Likewise.
13518         * sysdeps/x86_64/ifuncmain8.c: New file.
13519         * sysdeps/x86_64/ifuncmod8.c: Likewise.
13520         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
13521         Removed.
13522         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
13523         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
13524         Change rtld_savespace_sse to __glibc_unused2.
13525         (RTLD_CHECK_FOREIGN_CALL): Removed.
13526         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
13527         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
13528         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
13530 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13532         * sysdeps/aarch64/bzero.S (__bzero): Remove.
13534 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13536         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
13537         Unconditionally set __fpcr to avoid uninialized warning.
13538         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
13540 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13542         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
13543         is corrupt.
13545         * malloc/arena.c (arena_get2): Drop unused argument.
13546         (arena_lock): Adjust.
13547         (arena_get_retry): Likewise.
13549 2015-08-24  Andreas Schwab  <schwab@suse.de>
13551         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
13552         Don't define.
13553         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13554         (__ASSUME_IPC64): Don't undef.
13555         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
13556         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13557         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13558         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
13559         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
13560         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
13561         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
13562         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
13563         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
13564         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
13565         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
13566         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
13567         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
13568         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
13569         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
13570         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
13571         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
13572         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
13573         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
13574         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
13575         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
13577 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
13579         * manual/Makefile (install): Only build manual when perl is available.
13581 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13583         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
13584         '#undef memcpy' by '#undef memchr'.
13586 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13588         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
13589         memchr not point to the internal __GI_memchr implementation.
13591 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13593         * timezone/Makefile (CFLAGS-zdump.c): Remove
13594         -Wno-strict-prototypes.
13595         (CFLAGS-zic.c): Likewise.
13596         (CFLAGS-ialloc.c): Likewise.
13597         (CFLAGS-scheck.c): Likewise.
13599         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
13600         -Wno-error=undef.
13602 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13604         * i386/i686/multiarch/strcasestr-c.c: Removed.
13605         * x86_64/multiarch/strcasestr.c: Likewise.
13606         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13607         Remove strcasestr.
13609 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13611         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
13613         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
13614         variables for high and low parts before possibly modifying them.
13616 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13618         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
13619         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
13620         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
13621         of "multiarch/init-arch.h".
13622         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
13623         * sysdeps/x86/init-arch.h: This.
13625 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13627         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
13628         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
13630 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
13632         [BZ #17787]
13633         * manual/macros.texi: Add twoexp macro.
13634         * manual/filesys.texi: Fix exponents.
13635         * manual/llio.texi: Likewise.
13636         * manual/stdio.texi: Likewise.
13638 2015-08-20  Florian Weimer  <fweimer@redhat.com>
13640         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
13641         incorrect use.
13643 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13645         [BZ #18370]
13646         * math/s_csqrt.c (__csqrt): Force underflow exception for results
13647         whose real or imaginary part has small absolute value.
13648         * math/s_csqrtf.c (__csqrtf): Likewise.
13649         * math/s_csqrtl.c (__csqrtl): Likewise.
13650         * math/auto-libm-test-in: Add more tests of csqrt.
13651         * math/auto-libm-test-out: Regenerated.
13652         * sysdeps/i386/fpu/libm-test-ulps: Update.
13654 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13656         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
13657         __ppc_set_ppr_very_low): New functions.
13658         * manual/platform.texi: Add documentation about
13659         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
13661 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
13663         * string/stpncpy.c (stpncpy): Improve performance using
13664         __strnlen/memcpy/memset.
13666 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13668         [BZ #18796]
13669         * scripts/test-installation.pl: Don't add -lmvec to build options if
13670         libmvec wasn't built.
13672 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13674         [BZ #14341]
13675         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
13676         case when there is a gap between DT_REL and DT_JMPREL sections.
13677         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
13678         (LDFLAGS-tst-split-dynreloc): New.
13679         (tst-split-dynreloc-ENV): Likewise.
13680         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
13681         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
13683 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13685         [BZ #18822]
13686         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
13687         attribute_hidden.
13688         (__xstat64_conv): Likewise.
13689         (__xstat32_conv): Likewise.
13691 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13693         [BZ #18822]
13694         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
13695         Don't load %ebx when calling __setcontext.  Call __setcontext
13696         with HIDDEN_JUMPTARGET.
13697         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
13698         libc_hidden_def.
13700 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13702         * sysdeps/i386/i686/Makefile
13703         [$(subdir) == string] (sysdep_routines): Moved to ...
13704         * sysdeps/i386/Makefile: Here.
13705         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
13706         * sysdeps/i386/cacheinfo.c: Here.
13707         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
13708         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
13709         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
13710         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
13712 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13714         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
13715         __i586__ is defined.
13716         (HAS_I686): Defined to 1 if __i686__ is defined.
13718 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13720         * elf/Makefile [$(have-z-execstack) = yes]
13721         (CPPFLAGS-tst-execstack.c): New variable.
13723         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
13724         conditional to [defined UTMPX || _HAVE_UT_TYPE].
13725         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
13726         UTMPX || _HAVE_UT_TV].
13727         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
13728         UTMPX || _HAVE_UT_TV - 0].
13730 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
13732         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
13733         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
13734         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
13736 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13738         * sysdeps/powerpc/dl-procinfo.c:
13739         (_dl_powerpc_cap_flags): Added missing strings for some
13740         hwcap features.
13741         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
13743 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
13745         Port the 0x7efe...feff pattern to GCC 6.
13746         See Steve Ellcey's bug report in:
13747         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
13748         * string/memrchr.c (MEMRCHR):
13749         * string/rawmemchr.c (RAWMEMCHR):
13750         * string/strchr.c (strchr):
13751         * string/strchrnul.c (STRCHRNUL):
13752         Rewrite code to avoid issues with signed shift overflow.
13754 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
13756         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
13757         whether cpuid is available only if HAS_CPUID is 0.
13758         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
13759         (HAS_I586): Likewise.
13760         (HAS_I686): Likewise.
13762 2015-08-18  Zack Weinberg  <zackw@panix.com>
13764         * misc/Versions (libc): Add GLIBC_2.23.
13766 2015-08-18  Alan Modra  <amodra@gmail.com>
13768         [BZ #18421]
13769         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
13770         .Lp__global.
13771         (_start): Load %dp via .Lp__global.
13772         [!SHARED]: Use .section .rodata.
13774 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13776         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
13777         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
13779 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13781         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
13782         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
13784 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13786         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
13787         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
13789 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13791         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
13792         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
13794 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13796         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
13797         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
13799 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13801         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
13802         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
13804 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13806         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
13808 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13810         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
13811         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
13812         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13813         (__ASSUME_LWS_CAS): Delete.
13815 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13817         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
13818         * sysdeps/hppa/configure: Regenerated.
13819         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
13820         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
13821         * sysdeps/hppa/nptl/tls.h: Likewise.
13823 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
13825         [BZ #18823]
13826         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
13827         for scaling up small arguments.
13828         * math/s_csqrtf.c (__csqrtf): Likewise.
13829         * math/s_csqrtl.c (__csqrtl): Likewise.
13830         * math/auto-libm-test-in: Add more tests of csqrt.
13831         * math/auto-libm-test-out: Regenerated.
13833 2015-08-17  Andreas Schwab  <schwab@suse.de>
13835         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
13836         version set GLIBC_2.19.
13838 2015-08-16  Zack Weinberg  <zackw@panix.com>
13840         [BZ #18681]
13841         * misc/regexp.h: This interface is no longer supported.
13842         Remove all contents, leaving only an #error directive.
13843         * misc/regexp.c (loc1, loc2, locs, step, advance):
13844         Demote to compatibility symbols.
13846 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
13848         [BZ #18084]
13849         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
13850         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
13851         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13852         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
13853         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
13854         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
13855         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
13856         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
13857         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13859 2015-08-15  Zack Weinberg  <zackw@panix.com>
13861         [BZ #18795]
13862         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
13863         buffer length is known to be too large, not if it's known to be
13864         small enough.
13865         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
13866         overflow at runtime, involving a length parameter, twice: once
13867         with a compile-time constant length parameter, once without.
13869 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
13871         [BZ #18824]
13872         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
13873         scaling x * y up instead of down.
13874         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13875         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13876         * math/auto-libm-test-in: Add more tests of fma.
13877         * math/auto-libm-test-out: Regenerated.
13879 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13881         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13883 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13885         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
13886         unnecessary movq.
13887         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
13888         Likewise.
13890 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
13892         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13893         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
13894         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
13895         and tgamma.
13896         * math/auto-libm-test-out: Regenerated.
13897         * sysdeps/i386/fpu/libm-test-ulps: Update.
13898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13900         [BZ #16520]
13901         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
13902         (__tanh): Force underflow exception for arguments with small
13903         absolute value.
13904         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
13905         (__tanhf): Force underflow exception for arguments with small
13906         absolute value.
13907         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
13908         (__tanhl): Force underflow exception for arguments with small
13909         absolute value.
13910         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
13911         (__tanhl): Force underflow exception for arguments with small
13912         absolute value.
13913         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
13914         (__tanhl): Force underflow exception for arguments with small
13915         absolute value.
13916         * math/auto-libm-test-in: Add more tests of tanh.
13917         * math/auto-libm-test-out: Regenerated.
13918         * sysdeps/i386/fpu/libm-test-ulps: Update.
13920 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13922         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
13923         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
13925 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13927         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
13928         <cpuid.h>.
13930 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13932         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
13933         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
13935 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13937         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
13938         Remove $(objpfx)init-arch.o.
13939         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
13940         init-arch.
13941         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
13942         (INIT_ARCH_EXT): Defined as empty.
13943         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
13944         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
13945         __init_cpu_features call.  Replace HAS_XXX with
13946         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13947         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
13948         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
13949         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
13950         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
13951         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13952         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
13953         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
13954         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13955         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
13956         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
13957         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13958         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
13959         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
13960         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13961         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
13962         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
13963         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13964         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13965         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
13966         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
13967         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13968         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
13969         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
13970         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13971         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
13972         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
13973         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13974         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
13975         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
13976         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13977         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
13978         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
13979         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13980         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
13981         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
13983 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13985         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
13986         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13987         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13988         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13989         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
13990         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
13991         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
13992         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
13993         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
13994         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
13995         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
13996         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
13997         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13998         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13999         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14000         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14001         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14002         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14003         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14004         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14005         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14006         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14007         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14008         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14009         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14010         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14011         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14012         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14013         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14014         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14015         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14016         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14017         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14018         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14019         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14020         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14021         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14022         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14023         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14024         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14025         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14026         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14027         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14029 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14031         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
14032         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14033         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14034         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14035         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14036         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
14037         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14038         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
14039         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14040         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14041         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14042         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
14043         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
14044         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
14045         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
14046         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
14047         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
14048         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
14049         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
14050         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
14051         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14052         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
14053         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
14054         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14055         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14056         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
14057         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
14058         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
14059         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14060         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14061         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14062         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14063         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14064         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14065         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14066         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14067         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14068         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14069         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14070         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14071         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14072         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14073         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14075 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14077         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
14078         (dl_platform_init): Call init_cpu_features.
14079         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
14080         * sysdeps/i386/i686/cacheinfo.c
14081         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
14082         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
14083         * sysdeps/i386/i686/multiarch/Versions: Removed.
14084         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
14085         Removed.
14086         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
14087         * sysdeps/unix/sysv/linux/x86/Makefile
14088         (libpthread-sysdep_routines): Remove init-arch.
14089         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
14090         <sysdeps/x86_64/dl-procinfo.c> instead of
14091         sysdeps/generic/dl-procinfo.c>.
14092         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
14093         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
14094         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
14095         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
14096         [$(subdir) == elf] (tests-static): Add
14097         tst-get-cpu-features-static.
14098         * sysdeps/x86/Versions: New file.
14099         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
14100         * sysdeps/x86/cpu-features.c: Likewise.
14101         * sysdeps/x86/cpu-features.h: Likewise.
14102         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
14103         * sysdeps/x86/libc-start.c: Likewise.
14104         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14105         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
14106         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
14107         * sysdeps/x86_64/dl-procinfo.c: Likewise.
14108         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
14109         Assume USE_MULTIARCH is defined and don't check it.
14110         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
14111         (is_amd): Likewise.
14112         (max_cpuid): Likewise.
14113         (intel_check_word): Likewise.
14114         (__cache_sysconf): Don't call __init_cpu_features.
14115         (__x86_preferred_memory_instruction): Removed.
14116         (init_cacheinfo): Don't call __init_cpu_features. Replace
14117         __cpu_features with GLRO(dl_x86_cpu_features).
14118         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
14119         (dl_platform_init): Call init_cpu_features.
14120         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
14121         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
14122         * sysdeps/x86_64/multiarch/Versions: Removed.
14123         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
14124         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
14125         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
14126         Removed.
14127         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
14129 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14131         [BZ #18820]
14132         * libio/Makefile (test-fmemopen-mem): New test.
14133         * libio/test-fmemopen.c (do_bz18820): New test.
14134         * libio/fmemopen.c (__fmemopen): Fix memory leak.
14135         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
14137 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14139         [BZ #16734]
14140         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
14141         (FREE_BUF): Delete.
14142         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
14143         * libio/genops.c (_IO_setb): Use malloc and free directly.
14144         (_IO_default_doallocate, _IO_default_finish): Likewise.
14145         ( _IO_unbuffer_all): Likewise.
14146         ( libc_freeres_fn): Likewise.
14147         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14148         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14149         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14150         (_IO_wdefault_doallocate): Likewise.
14152 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14154         [BZ #18086]
14155         * sysdeps/posix/nice.c (nice): Restore old errno.
14156         * posix/tst-nice.c (do_test): Add test for BZ #18086.
14158 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
14160         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14162 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14164         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14165         __bcopy and add a weak_alias to bcopy.
14166         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14167         for static build.
14169         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14170         cleanup macro usage.
14171         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14172         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14173         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14174         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14175         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14176         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14177         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14178         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14179         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14180         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14181         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14182         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
14183         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14184         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
14185         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14186         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
14187         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
14188         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
14189         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14191         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
14192         libc_hidden_def.
14193         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
14195         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
14196         (sysdep_routines): Add strstr-ppc64.
14197         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
14199 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
14201         [BZ #18778]
14202         * elf/Makefile (tests): Add Add tst-nodelete2.
14203         (modules-names): Add tst-nodelete2mod.
14204         (tst-nodelete2mod.so-no-z-defs): New.
14205         ($(objpfx)tst-nodelete2): Likewise.
14206         ($(objpfx)tst-nodelete2.out): Likewise.
14207         (LDFLAGS-tst-nodelete2): Likewise.
14208         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
14209         out of loop through all loaded libraries.
14210         * elf/tst-nodelete2.c: New file.
14211         * elf/tst-nodelete2mod.c: Likewise.
14212         * elf/tst-znodelete-zlib.cc: Delete.
14214 2015-08-11  Andreas Schwab  <schwab@suse.de>
14216         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
14217         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
14218         (__openat64_nocancel): Likewise.
14220 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
14222         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
14223         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
14224         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
14225         * math/auto-libm-test-out: Regenerated.
14226         * sysdeps/i386/fpu/libm-test-ulps: Update.
14227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14229 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14231         [BZ #18790]
14232         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
14233         threshold for returning +/- 1.
14234         * math/auto-libm-test-in: Add more tests of tanh.
14235         * math/auto-libm-test-out: Regenerated.
14236         * sysdeps/i386/fpu/libm-test-ulps: Update.
14238 2015-08-10  Andreas Schwab  <schwab@suse.de>
14240         [BZ #18781]
14241         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
14242         MORE_OFLAGS to oflag.
14243         * io/test-lfs.c (do_test): Test openat64.
14245 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14247         [BZ #18789]
14248         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
14249         smaller threshold for returning the argument.
14250         * math/auto-libm-test-in: Add more tests of sinh.
14251         * math/auto-libm-test-out: Regenerated.
14252         * sysdeps/i386/fpu/libm-test-ulps: Update.
14254 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
14256         [BZ #18674]
14257         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14258         break.
14260 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
14262         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14263         (generated): Don't add $(addprefix z.,$(tzfiles)).
14265 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14267         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14268         * scripts/sysd-rules.awk: Likewise.
14270 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14272         * iconvdata/tst-tables.sh: Change echo -n to printf.
14273         * nss/db-Makefile: Likewise.
14274         * posix/tst-getconf.sh: Likewise.
14275         * stdio-common/tst-unbputc.sh: Likewise.
14277 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14279         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14280         MADV_*_PAGES defines behind this feature check.
14282 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
14284         [BZ #18480]
14285         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14286         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14287         Define.
14288         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14289         LOAD_REGS_5, LOAD_REGS_6): Update.
14290         (INTERNAL_SYSCALL): Update using new LOAD defines.
14291         (INTERNAL_SYSCALL_NCS): Likewise.
14292         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14294 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14296         [BZ #16734]
14297         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14299 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14301         [BZ #17905]
14302         * catgets/Makefile (tst-catgets-mem): New test.
14303         * catgets/catgets.c (catopen): Don't use unbounded alloca.
14304         * catgets/open_catalog.c (__open_catalog): Likewise.
14305         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14307 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
14309         [BZ #18787]
14310         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14311         clobber registers.
14312         (atomic_compare_and_exchange_val_acq): Use register asms to assign
14313         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
14314         Cast return to __typeof (oldval).
14316 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
14318         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14319         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
14320         and delete sys/syscall.h include.
14322 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
14324         [BZ #16517]
14325         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14326         (tan): Force underflow exception for arguments with small absolute
14327         value.
14328         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14329         (__kernel_tanf): Force underflow exception for arguments with
14330         small absolute value.
14331         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14332         (__kernel_tanl): Force underflow exception for arguments with
14333         small absolute value.
14334         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14335         (__kernel_tanl): Force underflow exception for arguments with
14336         small absolute value.
14337         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
14338         (__kernel_tanl): Force underflow exception for arguments with
14339         small absolute value.
14340         * math/auto-libm-test-in: Add more tests of tan.
14341         * math/auto-libm-test-out: Regenerated.
14343 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14345         Fix sysdeps/i386/fpu/s_scalbn.S build
14347         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
14349 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
14351         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14353 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14355         Fix gcrt0.o compilation
14357         When static-start-installed-name is different from
14358         start-installed-name, we must not use the shared objects.
14360         * csu/Makefile
14361         (extra-objs): Add gmon-start.o when building shared library and
14362         $(static-start-installed-name) is different from
14363         $(start-installed-name).
14364         $(objpfx)g$(static-start-installed-name): When building shared
14365         library and $(static-start-installed-name) is different from
14366         $(static-start-installed-name), revert to non-shared rule,
14367         i.e. using $(objpfx)% and gmon-start.o.
14369 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
14371         [BZ #16519]
14372         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
14373         (__ieee754_sinh): Force underflow exception for arguments with
14374         small absolute value.
14375         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
14376         (__ieee754_sinhf): Force underflow exception for arguments with
14377         small absolute value.
14378         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
14379         (__ieee754_sinhl): Force underflow exception for arguments with
14380         small absolute value.
14381         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14382         (__ieee754_sinhl): Force underflow exception for arguments with
14383         small absolute value.
14384         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
14385         (__ieee754_sinhl): Force underflow exception for arguments with
14386         small absolute value.
14387         * math/auto-libm-test-in: Add more tests of sinh.
14388         * math/auto-libm-test-out: Regenerated.
14389         * sysdeps/i386/fpu/libm-test-ulps: Update.
14391 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14393         * libio/oldfileops.c: Include unistd.h.
14395 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
14397         * stdlib/isomac.c: Include ctype.h.
14399 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
14401         * dirent/tst-seekdir.c (main): Converted to ...
14402         (do_test): ... this.
14403         (TEST_FUNCTION): New macro.
14404         Include test-skeleton.c.
14405         * elf/tst-dlmodcount.c (main): Converted to ...
14406         (do_test): ... this.
14407         (TEST_FUNCTION): New macro.
14408         Include test-skeleton.c.
14409         * elf/tst-order-main.c (main): Converted to ...
14410         (do_test): ... this.
14411         (TEST_FUNCTION): New macro.
14412         Include test-skeleton.c.
14413         * elf/tst-pie2.c (main): Converted to ...
14414         (do_test): ... this.
14415         (TEST_FUNCTION): New macro.
14416         Include test-skeleton.c.
14417         * inet/tst-ether_aton.c (main): Converted to ...
14418         (do_test): ... this.
14419         (TEST_FUNCTION): New macro.
14420         Include test-skeleton.c.
14421         * misc/tst-mntent.c (main): Converted to ...
14422         (do_test): ... this.
14423         (TEST_FUNCTION): New macro.
14424         Include test-skeleton.c.
14425         * misc/tst-tsearch.c (main): Converted to ...
14426         (do_test): ... this.
14427         (TEST_FUNCTION): New macro.
14428         Include test-skeleton.c.
14429         * posix/tst-regexloc.c (main): Converted to ...
14430         (do_test): ... this.
14431         (TEST_FUNCTION): New macro.
14432         Include test-skeleton.c.
14433         * resolv/tst-aton.c (main): Converted to ...
14434         (do_test): ... this.
14435         (TEST_FUNCTION): New macro.
14436         Include test-skeleton.c.
14437         * stdio-common/test-fwrite.c (main): Converted to ...
14438         (do_test): ... this.
14439         (TEST_FUNCTION): New macro.
14440         Include test-skeleton.c.
14441         * stdio-common/tst-ferror.c (main): Converted to ...
14442         (do_test): ... this.
14443         (TEST_FUNCTION): New macro.
14444         Include test-skeleton.c.
14445         * stdio-common/tst-printf.c (main): Converted to ...
14446         (do_test): ... this.
14447         (TEST_FUNCTION): New macro.
14448         Include test-skeleton.c.
14449         * stdio-common/tst-printfsz.c (main): Converted to ...
14450         (do_test): ... this.
14451         (TEST_FUNCTION): New macro.
14452         Include test-skeleton.c.
14453         * stdlib/tst-strtod.c (main): Converted to ...
14454         (do_test): ... this.
14455         (TEST_FUNCTION): New macro.
14456         Include test-skeleton.c.
14457         * string/tst-strlen.c (main): Converted to ...
14458         (do_test): ... this.
14459         (TEST_FUNCTION): New macro.
14460         Include test-skeleton.c.
14461         * string/tst-svc.c (main): Converted to ...
14462         (do_test): ... this.
14463         (TEST_FUNCTION): New macro.
14464         Include test-skeleton.c.
14465         * time/tst-strptime.c (main): Converted to ...
14466         (do_test): ... this.
14467         (TEST_FUNCTION): New macro.
14468         Include test-skeleton.c.
14469         * timezone/tst-timezone.c (main): Converted to ...
14470         (do_test): ... this.
14471         (TEST_FUNCTION): New macro.
14472         Include test-skeleton.c.
14474 2015-08-05  Zack Weinberg  <zackw@panix.com>
14476         * misc/regexp.h: Update comments.
14478 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
14480         [BZ #18635]
14481         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
14482         before return label.
14484 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14486         [BZ #18661]
14487         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
14488         when calling __errno_location.
14489         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
14490         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
14492 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14494         [BZ #18661]
14495         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
14496         (__lll_timedwait_tid): Align stack to 16 bytes when calling
14497         __gettimeofday.
14499 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14501         [BZ #18661]
14502         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14503         (__start_context): Don't use pop to restore %rdi so that stack
14504         is aligned to 16 bytes when calling __setcontext.
14506 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14508         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
14509         only for libc.
14510         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14512 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14514         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
14515         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
14516         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
14518 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14520         * string/memccpy.c (memccpy):
14521         Improve performance by using memchr/memcpy/__mempcpy.
14523 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14525         * string/strncpy.c (strncpy):
14526         Improve performance by using __strnlen/memcpy.
14528 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14530         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14531         Optimize to avoid an unnecessary FPCR read.
14533 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14535         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14536         Optimize to reduce FPCR/FPSR accesses.
14538 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14540         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
14541         dead->data[category] != NULL.
14543 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
14545         [BZ #18647]
14546         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
14547         and |x| close to 1, use absolute value of x when computing log.
14548         * math/auto-libm-test-in: Add more tests of pow.
14549         * math/auto-libm-test-out: Regenerated.
14551 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14553         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
14554         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
14555         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
14557 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
14559         [BZ #18525]
14560         * locales/km_KH: Remove timezone definition.
14561         * locales/lo_LA: Likewise.
14562         * locales/my_MM: Likewise.
14563         * locales/nan_TW@latin: Likewise.
14564         * locales/th_TH: Likewise.
14565         * locales/uk_UA: Likewise.
14567 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14569         [BZ #18265]
14570         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
14571         (wcsncat): Likewise.
14572         (wcscmp): Likewise.
14573         (wcsncmp): Likewise.
14575 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14577         * test-skeleton.c (usage): New function.
14578         (main): Call usage when opt is '?'.
14580 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14582         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
14583         before first use.
14585 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14587         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
14588         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
14589         in there too.
14591 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
14593         * version.h (RELEASE): Set to "development".
14594         (VERSION): Set to "2.22.90"
14596         * version.h (RELEASE): Set to "stable".
14597         (VERSION): Set to "2.22"
14598         * include/features.h (__GLIBC_MINOR__): Set to 22.
14600 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
14602         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
14603         Restructure macro to avoid "value computed is not used" warning.
14604         (atomic_compare_and_exchange_val_acq): Likewise.
14606 2015-08-04  Andreas Schwab  <schwab@suse.de>
14608         [BZ #18635]
14609         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
14610         ret.
14611         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
14613 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
14615         * po/pl.po: Updated translation.
14616         * po/uk.po: Likewise.
14617         * po/fi.po: Likewise.
14618         * po/ko.po: Likewise.
14619         * po/ru.po: Likewise.
14620         * po/vi.po: Likewise.
14622 2015-07-31  Zack Weinberg  <zackw@panix.com>
14624         [BZ #18681]
14625         * regexp.h: Add unconditional #warning stating that this header
14626         will be removed soon.  Revise banner comment to match.
14627         (compile): Consistently use ERROR instead of RETURN to report
14628         errors (partial fix for bz#18681).
14629         * regexp.c: Don't include regexp.h. Remove some unnecessary
14630         declarations.
14632 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
14634         * po/libc.pot: Regenerated.
14636 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14638         [BZ #18740]
14639         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
14640         float-vlen4-arch-ext-cflags): Removed.
14641         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
14642         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
14644 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14646         [BZ #14113]
14647         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
14648         aligned to __aligned__.
14649         (pthread_cond_t, pthread_rwlock_t): Likewise.
14651 2015-07-30  Torvald Riegel  <triegel@redhat.com>
14653         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
14655 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14657         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
14658         (struct sigaction): Change sa_flags from a long to an int, and add
14659         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
14661 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14663         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
14664         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
14665         sysdeps/generic/sysdep.h include.
14666         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
14667         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
14668         sysdeps/hppa/sysdep.h.
14669         (ENTRY, PSEUDO): Undefine before defining.
14671 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14673         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
14674         from scratch to use INTERNAL_SYSCALL.
14676 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
14678         [BZ #18078]
14679         * scripts/check-localplt.awk: Support alternate relocations.
14680         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
14681         sections.
14682         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
14683         malloc entries with + REL R_386_GLOB_DAT.
14684         * sysdeps/x86_64/localplt.data: New file.
14686 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
14688         [BZ #18731]
14689         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
14690         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14691         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14693 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14695         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
14697 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14699         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
14700         directly in terms of __sync_fetch_and_add and delete (int) cast.
14702 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14704         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
14705         the -D_ASM_IA64_CURRENT_H flag.
14707 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14709         [BZ #18641]
14710         * pwd/pwd.h (putpwent): Delete __nonnull markings.
14712 2015-07-27  Andreas Schwab  <schwab@suse.de>
14714         * conform/conformtest.pl (checknamespace): Filter out string
14715         literals while tokenizing.
14717 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14719         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14720         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
14721         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14723 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14725         * nptl/tst-join7mod.c: Add #include <string.h>.
14727 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14729         * sysdeps/nios2/libm-test-ulps: Update.
14731 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14733         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
14734         Fix order of arguments to the rt_sigprocmask syscall.
14735         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
14736         Likewise.
14738 2015-07-24  Roland McGrath  <roland@hack.frob.com>
14740         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
14742 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14744         [BZ #18457]
14745         * nptl/Makefile (tests): New test case tst-join7.
14746         (modules-names): New test case module tst-join7mod.
14747         * nptl/tst-join7.c: New file.
14748         * nptl/tst-join7mod.c: New file.
14749         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
14750         all translation units in libc.so, libpthread.so and rtld.
14752 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14756 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14758         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
14759         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14760         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14761         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14762         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14763         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14764         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14765         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14766         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14767         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14768         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14769         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14770         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
14771         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
14772         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
14773         implementation.
14775 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14777         [BZ #17711]
14778         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14779         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
14780         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14781         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14782         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
14783         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14785 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14787         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
14788         instead of just saying load lock in the comments.
14790 2015-07-23  Roland McGrath  <roland@hack.frob.com>
14792         * sysdeps/unix/Subdirs: Moved ...
14793         * sysdeps/posix/Subdirs: ... here.
14794         * login/pty.h (struct termios, struct winsize): Add forward decls.
14795         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
14796         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
14797         * sysdeps/arm/nacl/libc.abilist: Updated.
14798         * sysdeps/nacl/libutil.abilist: New file.
14800         * bits/signum.h: Update comments to mention 1003.1-2013 too.
14801         (SIGWINCH): New macro.
14803         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
14804         * sysdeps/arm/nacl/libc.abilist: Add it.
14806 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14808         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
14810 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14812         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14813         Swap __glibc_reserved0 and sa_flags order.
14815 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14817         [BZ #18657]
14818         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
14819         are pending TLS destructor calls.
14820         * include/link.h (struct link_map): Add concurrency note for
14821         L_TLS_DTOR_COUNT.
14822         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14823         Don't touch the link map flag.  Atomically increment
14824         l_tls_dtor_count.
14825         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
14826         Avoid taking the load lock and don't touch the link map flag.
14827         * stdlib/tst-tls-atexit-nodelete.c: New test case.
14828         * stdlib/Makefile (tests): Use it.
14829         * stdlib/tst-tls-atexit.c (do_test): dlopen
14830         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
14831         to allow tst-tls-atexit-nodelete test case to use it.
14833 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14835         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
14836         to bits/types.h.
14837         (msgqnum_t): New typedef.
14838         (msglen_t): Likewise.
14839         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
14840         and msg_qbytes type to msglen_t.
14842 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14844         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
14845         pad0 to __glibc_reserved0.
14846         (struct stat64): Likewise.
14848 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14850         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14851         Change sa_flags from a long to an int and add __glibc_reserved0 before
14852         it for padding.
14854 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14856         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
14857         anonymous by deleting "siginfo" name.
14859 2015-07-21  Roland McGrath  <roland@hack.frob.com>
14861         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
14862         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
14863         rather than __nacl_irt_filename.
14864         * sysdeps/nacl/xstat.c (__xstat): Likewise.
14866         * NEWS: New item for arm-nacl port.
14867         * sysdeps/arm/nacl/libc.abilist: New file.
14868         * sysdeps/nacl/ld.abilist: New file.
14869         * sysdeps/nacl/libBrokenLocale.abilist: New file.
14870         * sysdeps/nacl/libanl.abilist: New file.
14871         * sysdeps/nacl/libcrypt.abilist: New file.
14872         * sysdeps/nacl/libdl.abilist: New file.
14873         * sysdeps/nacl/libm.abilist: New file.
14874         * sysdeps/nacl/libpthread.abilist: New file.
14875         * sysdeps/nacl/libresolv.abilist: New file.
14876         * sysdeps/nacl/librt.abilist: New file.
14878 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
14880         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
14881         __startcontext to initialize the new context.
14882         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
14883         up CFI directive to forbid further backtracing.
14885 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
14887         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
14888         reference.
14889         * charmaps/ANSI_X3.4-1968: Likewise.
14890         * charmaps/BS_4730: Likewise.
14891         * charmaps/BS_VIEWDATA: Likewise.
14892         * charmaps/CP1250: Likewise.
14893         * charmaps/CP1251: Likewise.
14894         * charmaps/CP1252: Likewise.
14895         * charmaps/CP1253: Likewise.
14896         * charmaps/CP1254: Likewise.
14897         * charmaps/CP1255: Likewise.
14898         * charmaps/CP1256: Likewise.
14899         * charmaps/CSN_369103: Likewise.
14900         * charmaps/EBCDIC-DK-NO: Likewise.
14901         * charmaps/GB_1988-80: Likewise.
14902         * charmaps/GREEK-CCITT: Likewise.
14903         * charmaps/GREEK7: Likewise.
14904         * charmaps/INIS-8: Likewise.
14905         * charmaps/ISIRI-3342: Likewise.
14906         * charmaps/ISO_2033-1983: Likewise.
14907         * charmaps/ISO_5427-EXT: Likewise.
14908         * locales/POSIX: Likewise.
14909         * locales/ar_SA: Likewise.
14910         * locales/be_BY: Likewise.
14911         * locales/be_BY@latin: Likewise.
14912         * locales/ca_ES: Likewise.
14913         * locales/cs_CZ: Likewise.
14914         * locales/da_DK: Likewise.
14915         * locales/de_BE: Likewise.
14916         * locales/de_CH: Likewise.
14917         * locales/de_LU: Likewise.
14918         * locales/en_AU: Likewise.
14919         * locales/en_BW: Likewise.
14920         * locales/en_CA: Likewise.
14921         * locales/en_DK: Likewise.
14922         * locales/en_GB: Likewise.
14923         * locales/en_IE: Likewise.
14924         * locales/en_NZ: Likewise.
14925         * locales/en_ZA: Likewise.
14926         * locales/en_ZW: Likewise.
14927         * locales/es_AR: Likewise.
14928         * locales/es_BO: Likewise.
14929         * locales/es_CL: Likewise.
14930         * locales/es_CO: Likewise.
14931         * locales/es_DO: Likewise.
14932         * locales/es_EC: Likewise.
14933         * locales/es_ES: Likewise.
14934         * locales/es_HN: Likewise.
14935         * locales/es_MX: Likewise.
14936         * locales/es_PA: Likewise.
14937         * locales/es_PE: Likewise.
14938         * locales/es_PY: Likewise.
14939         * locales/es_SV: Likewise.
14940         * locales/es_US: Likewise.
14941         * locales/es_UY: Likewise.
14942         * locales/es_VE: Likewise.
14943         * locales/et_EE: Likewise.
14944         * locales/fa_IR: Likewise.
14945         * locales/fo_FO: Likewise.
14946         * locales/fr_CA: Likewise.
14947         * locales/fr_CH: Likewise.
14948         * locales/gv_GB: Likewise.
14949         * locales/he_IL: Likewise.
14950         * locales/hr_HR: Likewise.
14951         * locales/id_ID: Likewise.
14952         * locales/is_IS: Likewise.
14953         * locales/it_CH: Likewise.
14954         * locales/iw_IL: Likewise.
14955         * locales/kl_GL: Likewise.
14956         * locales/ko_KR: Likewise.
14957         * locales/kw_GB: Likewise.
14958         * locales/lg_UG: Likewise.
14959         * locales/lt_LT: Likewise.
14960         * locales/lv_LV: Likewise.
14961         * locales/mi_NZ: Likewise.
14962         * locales/nhn_MX: Likewise.
14963         * locales/nl_BE: Likewise.
14964         * locales/pl_PL: Likewise.
14965         * locales/sk_SK: Likewise.
14966         * locales/sl_SI: Likewise.
14967         * locales/sv_FI: Likewise.
14968         * locales/tl_PH: Likewise.
14969         * locales/tr_TR: Likewise.
14970         * locales/vi_VN: Likewise.
14972 2015-07-21  Khem Raj  <raj.khem@gmail.com>
14974         [BZ #17475]
14975         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
14976         of tu_IN and bh_IN.
14978 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
14980         [BZ #18694]
14981         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
14982         bits/wordsize.h.
14983         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
14985 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14987         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
14988         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
14989         (spawn_thread): New function.
14990         (load): Rename to reg_dtor_and_close.  Move dlopen to...
14991         (do_test): ... here.  Use IS_LOADED to test for its
14992         availability.
14994 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
14996         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14998 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
15000         [BZ #18696]
15001         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
15002         si_addr_bnd.
15003         (si_lower): New.
15004         (si_upper): Likewise.
15006 2015-07-16  David S. Miller  <davem@davemloft.net>
15008         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
15010 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15012         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
15013         buffer.
15014         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
15015         fail output information.
15017 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15019         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
15020         and strstr-ppc64..
15021         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15022         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
15023         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
15024         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
15025         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
15027 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15029         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15030         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15031         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15032         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15034 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15036         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15037         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
15038         rtld_hidden_proto.
15039         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
15041 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15043         * tst-nodelete-opened.c (do_test): Add comment to clarify how
15044         the test can fail.
15046         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
15048         [BZ #18676]
15049         * elf/tst-nodelete-opened.c: New test case.
15050         * elf/tst-nodelete-opened-lib.c: New test case module.
15051         * elf/Makefile (tests, modules-names): Use them.
15052         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
15053         early.
15055 2015-07-15  David S. Miller  <davem@davemloft.net>
15057         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
15058         futex-intenal.h
15059         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
15060         * sysdeps/sparc/sparc64/Makefile: Likewise.
15061         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15062         Remove space from macro define.
15063         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
15065 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
15067         [BZ #17475]
15068         * locale/iso-639.def: Update Bhili and Tulu language codes as
15069         per iso639-3.
15071 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
15073         * elf/tst-leaks1.c (main): Converted to ...
15074         (do_test): ... this.
15075         (TEST_FUNCTION): New macro.
15076         Include test-skeleton.c.
15077         * localedata/tst-langinfo.c (main): Converted to ...
15078         (do_test): ... this.
15079         (TEST_FUNCTION): New macro.
15080         Include test-skeleton.c.
15081         * math/test-fpucw.c (main): Converted to ...
15082         (do_test): ... this.
15083         (TEST_FUNCTION): New macro.
15084         Include test-skeleton.c.
15085         * math/test-tgmath.c (main): Converted to ...
15086         (do_test): ... this.
15087         (TEST_FUNCTION): New macro.
15088         Include test-skeleton.c.
15089         * math/test-tgmath2.c (main): Converted to ...
15090         (do_test): ... this.
15091         (TEST_FUNCTION): New macro.
15092         Include test-skeleton.c.
15093         * setjmp/tst-setjmp.c (main): Converted to ...
15094         (do_test): ... this.
15095         (TEST_FUNCTION): New macro.
15096         Include test-skeleton.c.
15097         * stdio-common/tst-sscanf.c (main): Converted to ...
15098         (do_test): ... this.
15099         (TEST_FUNCTION): New macro.
15100         Include test-skeleton.c.
15101         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
15102         (do_test): ... this.
15103         (TEST_FUNCTION): New macro.
15104         Include test-skeleton.c.
15106         * elf/tst-audit9.c (main): Converted to ...
15107         (do_test): ... this.
15108         (TEST_FUNCTION): New macro.
15109         Include test-skeleton.c.
15111 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
15113         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
15115 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15117         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
15118         New variable.
15120 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15122         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15124 2015-07-14  Roland McGrath  <roland@hack.frob.com>
15126         * sysdeps/generic/dl-fileid.h: New file.
15127         * sysdeps/posix/dl-fileid.h: New file.
15128         * sysdeps/nacl/dl-fileid.h: New file.
15129         * include/link.h: Include <dl-fileid.h>.
15130         (struct link_map): Replace l_dev and l_ino with l_file_id.
15131         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
15132         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
15133         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
15135 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15137         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
15139 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15141         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
15142         Add iff $CXX is set.
15143         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
15144         Likewise.
15145         (tst-nodelete-zmodiff): Likewise.
15146         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15148 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15150         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15152 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15154         * sysdeps/aarch64/fpu/math_private.h
15155         (define math_opt_barrier): Add AArch64 version.
15156         (math_force_eval): Likewise.
15158 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15160         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15162 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15164         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15165         %ld with %jd and cast to intmax_t.
15166         (do_test_length_zero): Likewise.
15168 2015-07-10  Roland McGrath  <roland@hack.frob.com>
15170         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15172 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
15174         * sysdeps/tile/libm-test-ulps: Regenerated.
15176         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15177         Comment out the whole function, not just its body.
15179 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15181         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
15182         locks.
15184         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15186 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15188         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
15189         (sem_assume_only_signals_cause_futex_EINTR): Remove.
15191 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15193         * sysdeps/nptl/futex-internal.h: New file.
15194         * sysdeps/nacl/futex-internal.h: New file.
15195         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
15196         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
15197         error checking.
15198         (setxid_unmark_thread): Likewise.
15199         (__nptl_setxid): Likewise.
15200         (__wait_lookup_done): Likewise.
15201         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15202         * nptl/nptl-init.c (sighandler_setxid): Likewise.
15203         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15204         * nptl/pthread_once.c (clear_once_control): Likewise.
15205         (__pthread_once_slow): Likewise.
15206         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15207         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
15208         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
15209         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15210         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
15211         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
15212         Likewise.
15213         (__pthread_rwlock_rdlock): Likewise.
15214         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15215         Likewise.
15216         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15217         Likewise.
15218         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15219         Likewise.
15220         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
15221         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
15222         Likewise.
15223         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
15224         __ASSUME_PRIVATE_FUTEX check.
15225         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
15226         Check that shared futexes are supported.
15227         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
15228         wrappers with error checking.
15229         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
15230         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
15231         * nptl/pthread_barrierattr_setpshared.c
15232         (pthread_barrierattr_setpshared): Check that shared futexes are
15233         supported.
15234         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
15235         Likewise.
15236         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
15237         Likewise.
15238         * nptl/sem_init.c (futex_private_if_supported): Remove.
15239         (__new_sem_init): Adapt and check that shared futexes are supported.
15240         * nptl/sem_open.c (sem_open): Likewise.
15241         * nptl/sem_post.c (futex_wake): Remove.
15242         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
15243         (do_futex_wait): Use futex wrappers with error checking.
15244         * nptl/sem_wait.c: Include lowlevellock.h.
15245         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
15246         Use futex_supports_pshared.
15247         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
15248         Use futex wrappers with error checking.
15249         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
15250         Likewise.
15251         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
15252         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
15253         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
15254         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
15255         (futex_wake): Likewise.
15256         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
15257         (do_futex_wait): Use futex wrappers with error checking.
15258         (__new_sem_wait_slow): Update EINTR handling.
15259         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15261 2015-07-09  Martin Sebor  <msebor@redhat.com>
15263         [BZ #18435]
15264         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15265         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15266         * nptl/Makefile (test-xfail-tst-once5): Define.
15268 2015-07-09  Roland McGrath  <roland@hack.frob.com>
15270         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15271         * elf/dl-minimal.c: For readability, reorder some definitions and
15272         introduce more page breaks.  Include <stdio.h>.
15273         (__libc_fatal): New function.
15275         * include/unistd.h: Add rtld_hidden_proto for _exit.
15276         * posix/_exit.c: Add rtld_hidden_def.
15277         * sysdeps/mach/hurd/_exit.c: Likewise.
15278         * sysdeps/nacl/_exit.c: Likewise.
15279         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15280         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15282 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
15284         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15285         bndmov encoding with zero displacement.
15287 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15288             H.J. Lu  <hongjiu.lu@intel.com>
15290         [BZ #18134]
15291         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15292         * sysdeps/i386/configure: Regenerated.
15293         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15294         (_dl_runtime_profile): Save and restore Intel MPX return bound
15295         registers when calling _dl_call_pltexit.  Add
15296         PRESERVE_BND_REGS_PREFIX before return.
15297         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15298         (LRV_BND1_OFFSET): Likewise.
15299         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15300         lrv_bnd1.
15301         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15302         typo in bndmov encoding.
15303         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15304         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
15305         branch instructions to preserve bounds.
15307 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15310         [GLIBC_2.22]: Add fmemopen.
15312 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15314         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15315         returns an error, also try to use host port from __mach_host_self for
15316         the __vm_wire call.
15317         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15319 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15321         [BZ #18400]
15322         [BZ #18648]
15323         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15324         Fix pr_uid and pr_gid members.
15325         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15326         definition to elf_greg_t.
15328 2015-07-08  Roland McGrath  <roland@hack.frob.com>
15330         [BZ #18383]
15331         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15332         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15333         * sysdeps/arm/configure: Regenerated.
15334         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15335         (test-xfail-tst-tlsalign-static): Variable removed.
15337         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
15338         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
15339         rather than explicit 'ln -s'.
15341         * resolv/rpc/netdb.h: New file.
15342         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
15344 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15346         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
15347         length buffers.
15348         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15349         test-skeleton.c.
15351         [BZ #6544]
15352         [BZ #11216]
15353         [BZ #12836]
15354         [BZ #13151]
15355         [BZ #13152]
15356         [BZ #14292]
15357         * include/stdio.h (fmemopen): Remove hidden prototype.
15358         (__fmemopen): Add new hidden prototype.
15359         * libio/Makefile: Add oldfmemopen object.
15360         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
15361         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
15362         compliance.
15363         * libio/oldfmemopen.c: New file: old fmemopen implementation for
15364         symbol compatibility.
15365         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
15366         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
15367         fmemopen.
15368         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
15369         on append and read mode.
15370         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
15371         fmemopen.
15372         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
15373         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
15374         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
15375         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
15376         Likewise.
15377         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15378         [GLIBC_2.22]: Likewise.
15379         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
15380         Likewise.
15381         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
15382         Likewise.
15383         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15384         [GLIBC_2.22]: Likewise.
15385         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15386         [GLIBC_2.22]: Likewise.
15387         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15388         [GLIBC_2.22]: Likewise.
15389         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15390         [GLIBC_2.22]: Likewise.
15391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15392         [GLIBC_2.22]: Likewise.
15393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15394         [GLIBC_2.22]: Likewise.
15395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15396         [GLIBC_2.22]: Likewise.
15397         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
15398         Likewise.
15399         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
15400         Likewise.
15401         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
15402         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15403         [GLIBC_2.22]: Likewise.
15404         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15405         [GLIBC_2.22]: Likewise.
15406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15407         [GLIBC_2.22]: Likewise.
15408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15409         [GLIBC_2.22]: Likewise.
15410         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
15411         Likewise.
15412         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
15413         Likewise.
15414         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
15415         Likewise.
15416         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
15417         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
15419 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15421         [BZ #18643]
15422         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
15423         IPV6_PATHMTU, and IPV6_DONTFRAG.
15425 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
15427         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
15428         and _IO_UNBUFFERED.
15429         * libio/oldfileops.c: Likewise.
15430         * libio/wfileops.c: Likewise.
15432 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15434         * nscd/selinux.c: Delete selinux/flask.h include.
15436 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15438         [BZ #18641]
15439         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
15440         (putpwent): Likewise.
15441         (getpwnam): Likewise.
15442         (getpwent_r): Likewise.
15443         (getpwuid_r): Likewise.
15444         (getpwnam_r): Likewise.
15445         (fgetpwent_r): Likewise.
15447 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15449         [BZ #18557]
15450         * inet/rcmd.c (__validuser2_sa): Check user first to
15451         short-circuit host check.
15453 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
15454             Mikhail Ilin  <m.ilin@samsung.com>
15456         [BZ #17833]
15457         * elf/Makefile (tests): Add tst-nodelete.
15458         (modules-names): Add tst-nodelete-uniquemod.
15459         (tst-nodelete-uniquemod.so-no-z-defs): New.
15460         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
15461         (tst-nodelete-zmod.so-no-z-defs): Likewise.
15462         ($(objpfx)tst-nodelete): Likewise.
15463         ($(objpfx)tst-nodelete.out): Likewise.
15464         (LDFLAGS-tst-nodelete): Likewise.
15465         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
15466         * elf/dl-close.c (_dl_close_worker): Add a parameter to
15467         implement forced object deletion.
15468         (_dl_close): Pass false to _dl_close_worker.
15469         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
15470         * elf/tst-nodelete.cc: New file.
15471         * elf/tst-nodeletelib.cc: Likewise.
15472         * elf/tst-znodeletelib.cc: Likewise.
15473         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
15475 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15477         [BZ #18508]
15478         * stdlib/Makefile ($(objpfx)tst-makecontext3):
15479         Depend on $(libdl).
15480         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
15481         is not called infinitely times.
15482         (backtrace_helper): New function.
15483         (trace_arg): New struct.
15484         (st1): Enlarge stack size.
15485         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15486         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
15487         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15488         Likewise.
15490 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15492         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15494 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15496         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
15497         Include sys/types.h instead of bits/types.h.
15498         Remove inclusion of bits/wordsize.h.
15500 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15502         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
15503         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
15504         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
15505         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
15506         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
15507         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
15509 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15511         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
15512         link-defines.sym.
15513         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
15514         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
15515         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
15516         and LR_SIZE.
15517         * sysdeps/i386/link-defines.sym: New file.
15519 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15521         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
15522         (modules-names): Add tst-auditmod3a tst-auditmod3b.
15523         ($(objpfx)tst-audit3): New rule.
15524         ($(objpfx)tst-audit3.out): Likewise.
15525         * sysdeps/i386/tst-audit3.c: New file.
15526         * sysdeps/i386/tst-audit3.h: Likewise.
15527         * sysdeps/i386/tst-auditmod3a.c: Likewise.
15528         * sysdeps/i386/tst-auditmod3b.c: Likewise.
15530 2015-07-07  Torvald Riegel  <triegel@redhat.com>
15532         [BZ #18633]
15533         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
15534         pointer in C code.
15535         (__strcat_c): Likewise.
15536         (__strcat_g): Likewise.
15538 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
15540         [BZ #18592]
15541         * misc/sbrk.c: Set errno to ENOMEM on overflow.
15543 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15545         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
15546         New function.  (__ieee754_sqrtf): New function.
15547         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
15548         New function.
15549         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
15550         New function.
15552 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15554         * sysdeps/ieee754/support.c: Remove unused file.
15556 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15558         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
15559         registers instead of d ones so the layout is kernel abi compatible.
15560         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
15561         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
15562         Likewise.
15564 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15566         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15568 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15570         [BZ #18619]
15571         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
15572         and return argument in case of subnormal argument.
15574 2015-07-01  Martin Sebor  <msebor@redhat.com>
15576         [BZ #18435]
15577         * nptl/Makefile: Add tst-once5.cc.
15578         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15579         Remove macro redefinitions.
15580         * nptl/tst-once5.cc: New test.
15582 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15584         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15586         * sysdeps/arm/libm-test-ulps: Regenerated.
15588         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15589         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15591 2015-06-30  Torvald Riegel  <triegel@redhat.com>
15593         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
15594         lll_lock_wait_private and lll_futex_wake probes.
15596         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15597         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
15598         Likewise.
15599         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
15600         atomic_spin_nop.
15601         * sysdeps/x86_64/bits/atomic.h: Likewise.
15602         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
15603         to atomic_spin_nop and move ...
15604         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15605         ... here and ...
15606         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
15607         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
15608         atomic_spin_nop instead of BUSY_WAIT_NOP.
15609         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
15610         Likewise.
15611         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
15612         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15613         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
15614         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
15615         instead of atomic_delay.
15617 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
15619         [BZ #18613]
15620         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
15621         X_ADJ not X when adjusting exponent.
15622         (__ieee754_gamma_r): Do intermediate computations in
15623         round-to-nearest then adjust overflowing and underflowing results
15624         as needed.
15625         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
15626         of X_ADJ not X when adjusting exponent.
15627         (__ieee754_gammaf_r): Do intermediate computations in
15628         round-to-nearest then adjust overflowing and underflowing results
15629         as needed.
15630         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
15631         log of X_ADJ not X when adjusting exponent.
15632         (__ieee754_gammal_r): Do intermediate computations in
15633         round-to-nearest then adjust overflowing and underflowing results
15634         as needed.  Use 1.0L not 1.0f as numerator of division.
15635         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
15636         log of X_ADJ not X when adjusting exponent.
15637         (__ieee754_gammal_r): Do intermediate computations in
15638         round-to-nearest then adjust overflowing and underflowing results
15639         as needed.  Use 1.0L not 1.0f as numerator of division.
15640         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
15641         of X_ADJ not X when adjusting exponent.
15642         (__ieee754_gammal_r): Do intermediate computations in
15643         round-to-nearest then adjust overflowing and underflowing results
15644         as needed.  Use 1.0L not 1.0f as numerator of division.
15645         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
15646         to auto-libm-test-in.
15647         (tgamma_test): Use ALL_RM_TEST.
15648         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
15649         tests of tgamma with spurious-overflow.
15650         * math/auto-libm-test-out: Regenerated.
15651         * math/gen-libm-have-vector-test.sh: Do not check for START.
15652         * sysdeps/i386/fpu/libm-test-ulps: Update.
15653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15655         [BZ #18612]
15656         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
15657         arguments, just return 0.5 times the argument, with underflow
15658         forced as needed.
15659         * math/auto-libm-test-in: Add more tests of j1.
15660         * math/auto-libm-test-out: Regenerated.
15662         [BZ #16559]
15663         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
15664         (__ieee754_j1): Force underflow exception for small results.
15665         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15666         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
15667         (__ieee754_j1f): Force underflow exception for small results.
15668         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15669         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15670         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15671         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
15672         (__ieee754_j1l): Force underflow exception for small results.
15673         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15674         * math/auto-libm-test-in: Add more tests of j1 and jn.
15675         * math/auto-libm-test-out: Regenerated.
15677         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
15678         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
15679         (PF_MPLS): Likewise.
15680         (AF_IB): Likewise.
15681         (AF_MPLS): Likewise.
15682         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
15683         value and macro.
15684         (MS_RMT_MASK): Include MS_LAZYTIME.
15686 2015-06-26  Mel Gorman  <mgorman@suse.de>
15688         [BZ #18502]
15689         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
15690         already minimal.
15692 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
15694         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
15695         (DT_MIPS_NUM): Update.
15696         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
15697         DT_MIPS_RLD_MAP_REL.
15699 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
15701         [BZ #16559]
15702         [BZ #18602]
15703         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
15704         round-to-nearest internally then recompute results that
15705         underflowed to zero in the original rounding mode.
15706         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15707         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15708         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15709         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15710         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
15711         * sysdeps/i386/fpu/libm-test-ulps: Update.
15712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15714 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15716         * NEWS: Fixed description of link with vector math library.
15718 2015-06-25  Andreas Schwab  <schwab@suse.de>
15720         [BZ #18549]
15721         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
15722         * libio/test-fmemopen.c (do_test): Add test for it.
15724 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
15726         [BZ #17841]
15727         * Makeconfig (no-pie-ldflag): New.
15728         (+link): Set to $(+link-pie) if default to PIE.
15729         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
15730         * config.make.in (build-pie-default): New.
15731         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
15732         is default.  AC_SUBST.
15733         * configure: Regenerated.
15734         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
15736 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15738         * nptl/descr.h (struct pthread): Change type of field setxid_futex
15739         to 'unsigned int'.
15741         * resolv/gai_misc.h (struct waitlist): Change type of field
15742         counterp to 'volatile unsigned int *'.
15743         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
15744         FUTEXADDR and OLDVAL.
15745         * resolv/getaddrinfo_a.c (getaddrinfo_a):
15746         Give local variable TOTAL type 'volatile unsigned int'.
15747         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15748         * resolv/gai_suspend.c (gai_suspend):
15749         Give local variable CNTR type 'unsigned int'.
15751         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
15752         counterp to 'volatile unsigned int *'.
15753         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
15754         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
15755         (aio_suspend): Give local variable CNTR type 'unsigned int'.
15756         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
15757         Give local variable TOTAL type 'volatile unsigned int'.
15758         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15760 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15762         [BZ #18383]
15763         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
15764         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
15765         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
15766         comment for i386/x86-64.
15767         (test-xfail-tst-tlsalign-extern-static): Removed.
15769 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15771         * math/test-double.h: New file.
15772         * math/test-float.h: Likewise.
15773         * math/test-ldouble.h: Likewise.
15774         * math/test-math-inline.h: Likewise.
15775         * math/test-math-no-inline.h: Likewise.
15776         * math/test-math-scalar.h: Likewise.
15777         * math/test-math-vector.h: Likewise.
15778         * math/test-vec-loop.h: Remove file.  Contents moved into
15779         test-math-vector.h.
15780         * math/libm-test.inc (MATHCONST): Do not document macro.
15781         * math/test-double.c: Include test-double.h, test-math-no-inline.h
15782         and test-math-scalar.h.
15783         (FUNC): Remove macro.
15784         (FUNC_TEST): Likewise.
15785         (FLOAT): Likewise.
15786         (MATHCONST): Likewise.
15787         (PRINTF_EXPR): Likewise.
15788         (PRINTF_XEXPR): Likewise.
15789         (PRINTF_NEXPR): Likewise.
15790         (TEST_DOUBLE): Likewise.
15791         (TEST_MATHVEC): Likewise.
15792         (__NO_MATH_INLINES): Likewise.
15793         * math/test-float.c: Include test-float.h, test-math-no-inline.h
15794         and test-math-scalar.h.
15795         (FUNC): Remove macro.
15796         (FUNC_TEST): Likewise.
15797         (FLOAT): Likewise.
15798         (MATHCONST): Likewise.
15799         (PRINTF_EXPR): Likewise.
15800         (PRINTF_XEXPR): Likewise.
15801         (PRINTF_NEXPR): Likewise.
15802         (TEST_FLOAT): Likewise.
15803         (TEST_MATHVEC): Likewise.
15804         (__NO_MATH_INLINES): Likewise.
15805         * math/test-idouble.c: Include test-double.h, test-math-inline.h
15806         and test-math-scalar.h.
15807         (FUNC): Remove macro.
15808         (FUNC_TEST): Likewise.
15809         (FLOAT): Likewise.
15810         (MATHCONST): Likewise.
15811         (PRINTF_EXPR): Likewise.
15812         (PRINTF_XEXPR): Likewise.
15813         (PRINTF_NEXPR): Likewise.
15814         (TEST_DOUBLE): Likewise.
15815         (TEST_MATHVEC): Likewise.
15816         (TEST_INLINE): Likewise.
15817         (__NO_MATH_INLINES): Likewise.
15818         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
15819         test-math-scalar.h.
15820         (FUNC): Remove macro.
15821         (FUNC_TEST): Likewise.
15822         (FLOAT): Likewise.
15823         (MATHCONST): Likewise.
15824         (PRINTF_EXPR): Likewise.
15825         (PRINTF_XEXPR): Likewise.
15826         (PRINTF_NEXPR): Likewise.
15827         (TEST_FLOAT): Likewise.
15828         (TEST_MATHVEC): Likewise.
15829         (TEST_INLINE): Likewise.
15830         (__NO_MATH_INLINES): Likewise.
15831         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
15832         and test-math-scalar.h.
15833         (FUNC): Remove macro.
15834         (FUNC_TEST): Likewise.
15835         (FLOAT): Likewise.
15836         (MATHCONST): Likewise.
15837         (PRINTF_EXPR): Likewise.
15838         (PRINTF_XEXPR): Likewise.
15839         (PRINTF_NEXPR): Likewise.
15840         (TEST_LDOUBLE): Likewise.
15841         (TEST_MATHVEC): Likewise.
15842         (TEST_INLINE): Likewise.
15843         (__NO_MATH_INLINES): Likewise.
15844         * math/test-ldouble.c: Include test-ldouble.h,
15845         test-math-no-inline.h and test-math-scalar.h.
15846         (FUNC): Remove macro.
15847         (FUNC_TEST): Likewise.
15848         (FLOAT): Likewise.
15849         (MATHCONST): Likewise.
15850         (PRINTF_EXPR): Likewise.
15851         (PRINTF_XEXPR): Likewise.
15852         (PRINTF_NEXPR): Likewise.
15853         (TEST_LDOUBLE): Likewise.
15854         (TEST_MATHVEC): Likewise.
15855         (__NO_MATH_INLINES): Likewise.
15856         * math/test-double-vlen2.h: Include test-double.h,
15857         test-math-no-inline.h and test-math-vector.h.
15858         (FLOAT): Remove macro.
15859         (FUNC): Likewise.
15860         (MATHCONST): Likewise.
15861         (PRINTF_EXPR): Likewise.
15862         (PRINTF_XEXPR): Likewise.
15863         (PRINTF_NEXPR): Likewise.
15864         (TEST_DOUBLE): Likewise.
15865         (TEST_MATHVEC): Likewise.
15866         (__NO_MATH_INLINES): Likewise.
15867         (CNCT): Likewise.
15868         (CONCAT): Likewise.
15869         (WRAPPER_NAME): Likewise.
15870         (WRAPPER_DECL): Likewise.
15871         (WRAPPER_DECL_ff): Likewise.
15872         (WRAPPER_DECL_fFF): Likewise.
15873         (VECTOR_WRAPPER): Likewise.
15874         (VECTOR_WRAPPER_ff): Likewise.
15875         (VECTOR_WRAPPER_fFF): Likewise.
15876         (VEC_LEN): New macro.
15877         * math/test-double-vlen4.h: Include test-double.h,
15878         test-math-no-inline.h and test-math-vector.h.
15879         (FLOAT): Remove macro.
15880         (FUNC): Likewise.
15881         (MATHCONST): Likewise.
15882         (PRINTF_EXPR): Likewise.
15883         (PRINTF_XEXPR): Likewise.
15884         (PRINTF_NEXPR): Likewise.
15885         (TEST_DOUBLE): Likewise.
15886         (TEST_MATHVEC): Likewise.
15887         (__NO_MATH_INLINES): Likewise.
15888         (CNCT): Likewise.
15889         (CONCAT): Likewise.
15890         (WRAPPER_NAME): Likewise.
15891         (WRAPPER_DECL): Likewise.
15892         (WRAPPER_DECL_ff): Likewise.
15893         (WRAPPER_DECL_fFF): Likewise.
15894         (VECTOR_WRAPPER): Likewise.
15895         (VECTOR_WRAPPER_ff): Likewise.
15896         (VECTOR_WRAPPER_fFF): Likewise.
15897         (VEC_LEN): New macro.
15898         * math/test-double-vlen8.h: Include test-double.h,
15899         test-math-no-inline.h and test-math-vector.h.
15900         (FLOAT): Remove macro.
15901         (FUNC): Likewise.
15902         (MATHCONST): Likewise.
15903         (PRINTF_EXPR): Likewise.
15904         (PRINTF_XEXPR): Likewise.
15905         (PRINTF_NEXPR): Likewise.
15906         (TEST_DOUBLE): Likewise.
15907         (TEST_MATHVEC): Likewise.
15908         (__NO_MATH_INLINES): Likewise.
15909         (CNCT): Likewise.
15910         (CONCAT): Likewise.
15911         (WRAPPER_NAME): Likewise.
15912         (WRAPPER_DECL): Likewise.
15913         (WRAPPER_DECL_ff): Likewise.
15914         (WRAPPER_DECL_fFF): Likewise.
15915         (VECTOR_WRAPPER): Likewise.
15916         (VECTOR_WRAPPER_ff): Likewise.
15917         (VECTOR_WRAPPER_fFF): Likewise.
15918         (VEC_LEN): New macro.
15919         * math/test-float-vlen4.h: Include test-float.h,
15920         test-math-no-inline.h and test-math-vector.h.
15921         (FLOAT): Remove macro.
15922         (FUNC): Likewise.
15923         (MATHCONST): Likewise.
15924         (PRINTF_EXPR): Likewise.
15925         (PRINTF_XEXPR): Likewise.
15926         (PRINTF_NEXPR): Likewise.
15927         (TEST_FLOAT): Likewise.
15928         (TEST_MATHVEC): Likewise.
15929         (__NO_MATH_INLINES): Likewise.
15930         (CNCT): Likewise.
15931         (CONCAT): Likewise.
15932         (WRAPPER_NAME): Likewise.
15933         (WRAPPER_DECL): Likewise.
15934         (WRAPPER_DECL_ff): Likewise.
15935         (WRAPPER_DECL_fFF): Likewise.
15936         (VECTOR_WRAPPER): Likewise.
15937         (VECTOR_WRAPPER_ff): Likewise.
15938         (VECTOR_WRAPPER_fFF): Likewise.
15939         (VEC_LEN): New macro.
15940         * math/test-float-vlen8.h: Include test-float.h,
15941         test-math-no-inline.h and test-math-vector.h.
15942         (FLOAT): Remove macro.
15943         (FUNC): Likewise.
15944         (MATHCONST): Likewise.
15945         (PRINTF_EXPR): Likewise.
15946         (PRINTF_XEXPR): Likewise.
15947         (PRINTF_NEXPR): Likewise.
15948         (TEST_FLOAT): Likewise.
15949         (TEST_MATHVEC): Likewise.
15950         (__NO_MATH_INLINES): Likewise.
15951         (CNCT): Likewise.
15952         (CONCAT): Likewise.
15953         (WRAPPER_NAME): Likewise.
15954         (WRAPPER_DECL): Likewise.
15955         (WRAPPER_DECL_ff): Likewise.
15956         (WRAPPER_DECL_fFF): Likewise.
15957         (VECTOR_WRAPPER): Likewise.
15958         (VECTOR_WRAPPER_ff): Likewise.
15959         (VECTOR_WRAPPER_fFF): Likewise.
15960         (VEC_LEN): New macro.
15961         * math/test-float-vlen16.h: Include test-float.h,
15962         test-math-no-inline.h and test-math-vector.h.
15963         (FLOAT): Remove macro.
15964         (FUNC): Likewise.
15965         (MATHCONST): Likewise.
15966         (PRINTF_EXPR): Likewise.
15967         (PRINTF_XEXPR): Likewise.
15968         (PRINTF_NEXPR): Likewise.
15969         (TEST_FLOAT): Likewise.
15970         (TEST_MATHVEC): Likewise.
15971         (__NO_MATH_INLINES): Likewise.
15972         (CNCT): Likewise.
15973         (CONCAT): Likewise.
15974         (WRAPPER_NAME): Likewise.
15975         (WRAPPER_DECL): Likewise.
15976         (WRAPPER_DECL_ff): Likewise.
15977         (WRAPPER_DECL_fFF): Likewise.
15978         (VECTOR_WRAPPER): Likewise.
15979         (VECTOR_WRAPPER_ff): Likewise.
15980         (VECTOR_WRAPPER_fFF): Likewise.
15981         (VEC_LEN): New macro.
15982         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
15983         test-vec-loop.h.
15984         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15985         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15986         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15987         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15988         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15989         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15990         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15992 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15994         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
15995         (__getlogin_r): ... this.
15997 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15999         [BZ #18594]
16000         * math/s_ccosh.c (__ccosh): Compare with least normal value
16001         instead of comparing class with FP_SUBNORMAL.
16002         * math/s_ccoshf.c (__ccoshf): Likewise.
16003         * math/s_ccoshl.c (__ccoshl): Likewise.
16004         * math/s_cexp.c (__cexp): Likewise.
16005         * math/s_cexpf.c (__cexpf): Likewise.
16006         * math/s_cexpl.c (__cexpl): Likewise.
16007         * math/s_csin.c (__csin): Likewise.
16008         * math/s_csinf.c (__csinf): Likewise.
16009         * math/s_csinh.c (__csinh): Likewise.
16010         * math/s_csinhf.c (__csinhf): Likewise.
16011         * math/s_csinhl.c (__csinhl): Likewise.
16012         * math/s_csinl.c (__csinl): Likewise.
16013         * math/s_ctan.c (__ctan): Likewise.
16014         * math/s_ctanf.c (__ctanf): Likewise.
16015         * math/s_ctanh.c (__ctanh): Likewise.
16016         * math/s_ctanhf.c (__ctanhf): Likewise.
16017         * math/s_ctanhl.c (__ctanhl): Likewise.
16018         * math/s_ctanl.c (__ctanl): Likewise.
16019         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
16020         csin, csinh, ctan and ctanh.
16021         * math/auto-libm-test-out: Regenerated.
16022         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
16023         * sysdeps/i386/fpu/libm-test-ulps: Update.
16024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16026 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16028         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
16029         return value is wrong, print the expected value too.
16031 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16033         [BZ #18585]
16034         * elf/readlib.c (is_gdb_python_file): New.
16035         (process_file): Don't issue errors on filenames with -gdb.py
16036         suffix.
16038 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16040         * math/auto-libm-test-in: Add more tests of csin and csinh.
16041         * math/auto-libm-test-out: Regenerated.
16042         * math/libm-test.inc (csin_test_data): Remove tests moved to
16043         auto-libm-test-in.
16044         (csinh_test_data): Likewise.
16046         [BZ #18593]
16047         * math/s_csin.c (__csin): Negate before rather than after possibly
16048         overflowing multiplication.
16049         * math/s_csinf.c (__csinf): Likewise.
16050         * math/s_csinh.c (__csinh): Likewise.
16051         * math/s_csinhf.c (__csinhf): Likewise.
16052         * math/s_csinhl.c (__csinhl): Likewise.
16053         * math/s_csinl.c (__csinl): Likewise.
16054         * math/auto-libm-test-in: Add some tests of csin and csinh.
16055         * math/auto-libm-test-out: Regenerated.
16056         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
16057         (csinh_test_data): Likewise.
16058         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16060         [BZ #18586]
16061         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
16062         underflow exception for small results.
16064 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16066         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16067         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
16068         variable and included header.
16069         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
16070         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
16071         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
16072         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16073         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
16074         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16075         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16076         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
16077         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
16078         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
16079         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
16080         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
16081         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
16082         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
16083         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
16084         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
16086 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16088         [BZ #16526]
16089         [BZ #16538]
16090         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
16091         (__sin): Force underflow exception for arguments with small
16092         absolute value.
16093         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
16094         (__kernel_sinf): Force underflow exception for arguments with
16095         small absolute value.
16096         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
16097         (__kernel_sincosl): Force underflow exception for arguments with
16098         small absolute value.
16099         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
16100         (__kernel_sinl): Force underflow exception for arguments with
16101         small absolute value.
16102         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
16103         (__kernel_sincosl): Force underflow exception for arguments with
16104         small absolute value.
16105         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
16106         (__kernel_sinl): Force underflow exception for arguments with
16107         small absolute value.
16108         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
16109         (__kernel_sinl): Force underflow exception for arguments with
16110         small absolute value.
16111         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
16112         (__kernel_sinf): Force underflow exception for arguments with
16113         small absolute value.
16114         * math/auto-libm-test-in: Add more tests of sin and sincos.
16115         * math/auto-libm-test-out: Regenerated.
16117         [BZ #18245]
16118         [BZ #18583]
16119         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
16120         (__kernel_standard_l): Use feholdexcept and fesetenv around
16121         conversion to double instead of special-casing overflow and
16122         underflow.
16123         * math/libm-test.inc (fmod_test_data): Add more tests.
16124         (remainder_test_data): Likewise.
16125         (sqrt_test_data): Likewise.
16127 2015-06-23  Torvald Riegel  <triegel@redhat.com>
16129         [BZ #17403]
16130         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
16131         atomic_read_barrier, atomic_write_barrier): Define.
16132         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
16133         atomic_read_barrier, atomic_write_barrier): Define.
16135 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16137         * math/Makefile [$(PERL) != no]
16138         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
16139         dependency on libm-test.stmp below the inclusion of Rules.
16141 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
16143         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16144         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
16145         and included header.
16146         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16147         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16148         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16149         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16150         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16151         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16152         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16153         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16154         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16155         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16156         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16157         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16158         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16159         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16160         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16161         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16162         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16163         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16164         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16166 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16168         [BZ #18371]
16169         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16170         intermediate but not final result might underflow.
16171         * math/s_csqrtf.c (__csqrtf): Likewise.
16172         * math/s_csqrtl.c (__csqrtl): Likewise.
16173         * math/auto-libm-test-in: Add more tests of csqrt.
16174         * math/auto-libm-test-out: Regenerated.
16175         * sysdeps/i386/fpu/libm-test-ulps: Update.
16177         [BZ #18219]
16178         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16179         threshold on absolute value of exponent for which scaling is used.
16180         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16181         * math/auto-libm-test-in: Add more tests of exp2.
16182         * math/auto-libm-test-out: Regenerated.
16184 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
16186         [BZ #17977]
16187         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
16188         when initializing interface list, based on the bug analysis
16189         and the patch proposed by Eric Newton.
16190         * resolv/tst-res_hconf_reorder.c: New test.
16191         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
16192         tst-res_hconf_reorder.
16193         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
16194         and $(shared-thread-library).
16195         (tst-res_hconf_reorder-ENV): New variable.
16197         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
16198         in comment.
16200 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
16202         [BZ #16353]
16203         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
16204         (__expm1): Force underflow exception for arguments with small
16205         absolute value.
16206         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
16207         (__expm1f): Force underflow exception for arguments with small
16208         absolute value.
16209         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
16210         (__expm1): Force underflow exception for arguments with small
16211         absolute value.
16212         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
16213         (__expm1f): Force underflow exception for arguments with small
16214         absolute value.
16215         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16216         Check for small arguments before calling __expm1.
16217         * math/auto-libm-test-in: Do not mark underflow exceptions as
16218         possibly missing for bug 16353.
16219         * math/auto-libm-test-out: Regenerated.
16221 2015-06-22  Andreas Schwab  <schwab@suse.de>
16223         [BZ #18513]
16224         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
16225         PTR queries.
16227 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
16229         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
16231         * string/strcoll_l.c: Remove unused struct element idxnow.
16233 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
16235         [BZ #18569]
16236         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
16237         underflow and return argument in case of subnormal argument.
16238         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16239         Likewise.
16240         * math/auto-libm-test-in: Add more tests of expm1.
16241         * math/auto-libm-test-out: Regenerated.
16243         [BZ #16361]
16244         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16245         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16246         tiny results.
16247         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16248         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16249         tiny results.
16250         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
16251         mark underflow exceptions as possibly missing for bug 16361.
16252         * math/auto-libm-test-out: Regenerated.
16254 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
16256         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
16257         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16258         Remove variable.
16259         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16260         (test-xfail-XOPEN2K8/utmpx.h/conform).
16262         * conform/conformtest.pl ($xerrors): New variable.
16263         (note_error): New function.
16264         (compiletest): New argument $xfail.  Use not_error.
16265         (runtest): Likewise.
16266         (top level): Handle xfail- lines.  Update calls to compiletest and
16267         runtest.  Handle xfail- and optional- in headers listed with
16268         allow-header.
16269         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16270         (O_EXEC): Likewise.
16271         (O_SEARCH): Likewise.
16272         * conform/data/stropts.h-data (ioctl): Likewise.
16273         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16274         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16275         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16276         (msghdr.msg_controllen): Likewise.
16277         (cmsghdr.cmsg_len): Likewise.
16278         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16279         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16280         variable.
16281         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16282         (test-xfail-XPG4/stropts.h/conform): Likewise.
16283         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16284         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16285         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16286         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16287         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16288         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16289         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16290         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16291         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16292         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16293         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16294         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16295         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16296         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16297         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16298         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16299         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16300         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16301         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16303 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16305         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16306         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16307         definitions for proper unfolding of __MATHDECL_VEC.
16309 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16311         * benchtests/bench-strcoll.c:
16312         Include string.h.
16313         (main): Remove unused variable res.
16315 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16317         * timezone/Makefile (%/UTC %/Universal):
16318         Generate test-result files for UTC and Universal.
16320 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16322         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16324 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
16326         [BZ #16350]
16327         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16328         for arguments with small absolute value.
16329         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16330         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16331         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16332         (__asinh): Force underflow exception for arguments with small
16333         absolute value.
16334         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16335         (__asinhf): Force underflow exception for arguments with small
16336         absolute value.
16337         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
16338         (__asinhl): Force underflow exception for arguments with small
16339         absolute value.
16340         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
16341         (__asinhl): Force underflow exception for arguments with small
16342         absolute value.
16343         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
16344         (__asinhl): Force underflow exception for arguments with small
16345         absolute value.
16346         * math/auto-libm-test-in: Do not mark underflow exceptions as
16347         possibly missing for bug 16350.
16348         * math/auto-libm-test-out: Regenerated.
16350         * include/bits/ipc.h: Remove file.
16351         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
16352         variable.
16353         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16354         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16355         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16356         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16357         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16358         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16359         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16360         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16361         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16363         * math/auto-libm-test-in: Remove spurious underflow allowance for
16364         tests of cexp.
16365         * math/auto-libm-test-out: Regenerated.
16367         [BZ #18558]
16368         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
16369         unconditional definition.
16370         (MCAST_BLOCK_SOURCE): Likewise.
16371         (MCAST_UNBLOCK_SOURCE): Likewise.
16372         (MCAST_LEAVE_GROUP): Likewise.
16373         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16374         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16375         (MCAST_MSFILTER): Likewise.
16376         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
16377         Remove variable.
16378         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16379         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16380         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16381         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16382         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16384 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
16386         * NEWS: Mention addition of x86_64 vector sincosf.
16387         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
16388         * math/test-float-vlen4.h: Likewise.
16389         * math/test-float-vlen8.h: Likewise.
16390         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16391         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
16392         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16393         * sysdeps/x86_64/fpu/Versions: New versions added.
16394         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16395         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16396         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16397         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
16398         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16399         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
16400         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16401         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
16402         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16403         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
16404         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
16405         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
16406         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
16407         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
16408         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
16409         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
16410         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
16411         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16412         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16413         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16414         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16415         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16416         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16417         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16419         * NEWS: Mention addition of x86_64 vector sincos.
16420         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
16421         * math/math.h (__MATHDECL_VEC): New macro.
16422         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
16423         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
16424         declaration under condition.
16425         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
16426         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
16427         TEST_VEC_LOOP change.
16428         * math/test-double-vlen4.h: Likewise.
16429         * math/test-double-vlen8.h: Likewise.
16430         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
16431         * math/test-float-vlen4.h: Likewise.
16432         * math/test-float-vlen8.h: Likewise.
16433         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16434         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
16435         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16436         * sysdeps/x86_64/fpu/Versions: New versions added.
16437         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16438         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16439         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16440         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
16441         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
16442         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
16443         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
16444         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
16445         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
16446         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
16447         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
16448         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
16449         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
16450         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
16451         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
16452         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
16453         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
16454         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16455         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16456         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16457         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16458         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16459         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16460         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16462         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16463         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16464         redirections for powf.
16465         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16466         * sysdeps/x86_64/fpu/Versions: New versions added.
16467         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16468         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16469         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16470         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
16471         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
16472         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
16473         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
16474         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
16475         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
16476         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
16477         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
16478         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
16479         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
16480         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
16481         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
16482         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
16483         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
16484         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16485         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16486         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16487         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16488         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16489         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16490         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16491         * math/test-float-vlen16.h: Fixed 2 argument macro.
16492         * math/test-float-vlen4.h: Likewise.
16493         * math/test-float-vlen8.h: Likewise.
16494         * NEWS: Mention addition of x86_64 vector powf.
16496 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
16498         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16499         and redefine.
16500         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16501         and redefine.
16502         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
16503         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16504         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16506         [BZ #18553]
16507         * resource/getpriority.c (getpriority): Rename to __getpriority
16508         and define as weak alias of __getpriority.
16509         * resource/setpriority.c (setpriority): Rename to __setpriority
16510         and define as weak alias of __setpriority.
16511         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
16512         __getpriority and define as weak alias of __getpriority.
16513         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
16514         __setpriority and define as weak alias of __setpriority.
16515         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
16516         strong name.
16517         (setpriority): Use __setpriority as strong name.
16518         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
16519         __getpriority and define as weak alias of __getpriority.
16520         * include/sys/resource.h (__getpriority): Declare.  Use
16521         libc_hidden_proto.
16522         (__setpriority): Likewise.
16523         (getpriority): Don't use libc_hidden_proto.
16524         (setpriority): Likewise.
16525         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
16526         getpriority.  Call __setpriority instead of setpriority.
16527         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
16528         Remove variable.
16530         [BZ #18547]
16531         * misc/getttyent.c (getttynam): Rename to __getttynam and define
16532         as weak alias of __getttynam.  Use prototype function definition.
16533         Call __setttyent, __getttyent and __endttyent instead of
16534         setttyent, getttyent and endttyent.
16535         (getttyent): Rename to __getttyent and define as weak alias of
16536         __getttyent.  Call __setttyent instead of setttyent.  Call
16537         __fgets_unlocked instead of fgets_unlocked.
16538         (setttyent): Rename to __setttyent and define as weak alias of
16539         __setttyent.
16540         (endttyent): Rename to __endttyent and define as weak alias of
16541         __endttyent.
16542         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
16543         (__setttyent): Likewise.
16544         (__endttyent): Likewise.
16545         (getttyent): Don't use libc_hidden_proto.
16546         (setttyent): Likewise.
16547         (endttyent): Likewise.
16548         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
16549         __endttyent instead of setttyent, getttyent and endttyent.
16550         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
16551         Remove variable.
16553         [BZ #18546]
16554         * socket/recv.c (__recv): Use libc_hidden_def.
16555         * socket/socket.c (__socket): Likewise.
16556         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16557         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16558         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
16559         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
16560         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
16561         libc_hidden_def.
16562         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
16563         libc_hidden_weak.
16564         * include/sys/socket.h (__socket): Do not use attribute_hidden.
16565         Use libc_hidden_proto.
16566         (__recv): Likewise.
16567         * socket/Versions (libc): Export __recv and __socket at version
16568         GLIBC_PRIVATE.
16569         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
16570         instead of recv.
16571         (init_mq_netlink): Call __socket instead of socket.
16572         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
16573         Remove variable.
16575         [BZ #18545]
16576         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
16577         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
16578         hidden_weak.
16579         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
16580         define as alias of __mq_timedsend.  Use hidden_weak.
16581         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
16582         __mq_timedsend as strong name.
16583         (mq_timedreceive): Use __mq_timedreceive as strong name.
16584         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
16585         (__mq_timedreceive): Likewise.
16586         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
16587         __mq_timedreceive instead of mq_timedreceive.
16588         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
16589         instead of mq_timedsend.
16590         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
16591         Remove variable.
16593         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
16594         hidden_def and hidden_weak instead of libc_hidden_def and
16595         libc_hidden_weak.
16596         (top level): Refer to hidden_def in comment.
16597         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
16598         macro.  Use it instead of libc_hidden_def.
16599         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
16600         specify __GI_* name explicitly.
16601         (mq_timedreceive): Likewise.
16602         (mq_setattr): Likewise.
16604         [BZ #18544]
16605         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
16606         __pthread_barrier_init and define as weak alias of
16607         __pthread_barrier_init.
16608         * sysdeps/sparc/nptl/pthread_barrier_init.c
16609         (pthread_barrier_init): Likewise.
16610         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
16611         __pthread_barrier_wait and define as weak alias of
16612         __pthread_barrier_wait.
16613         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16614         (pthread_barrier_wait): Likewise.
16615         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16616         (pthread_barrier_wait): Likewise.
16617         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
16618         (pthread_barrier_wait): Likewise.
16619         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
16620         (pthread_barrier_wait): Likewise.
16621         * nptl/Versions (libpthread): Export __pthread_barrier_init and
16622         __pthread_barrier_wait at version GLIBC_PRIVATE.
16623         * include/pthread.h (__pthread_barrier_init): Declare.
16624         (__pthread_barrier_wait): Likewise.
16625         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
16626         Call __pthread_barrier_wait instead of pthread_barrier_wait.
16627         (helper_thread): Likewise.
16628         (init_mq_netlink): Call __pthread_barrier_init instead of
16629         pthread_barrier_init.
16631         [BZ #18542]
16632         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
16633         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
16634         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
16635         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
16636         vswscanf.
16637         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
16638         Remove variable.
16640         [BZ #18540]
16641         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
16642         strong alias of _IO_fflush.  Use libc_hidden_def.
16643         * libio/iofflush_u.c (fflush_unlocked): Rename to
16644         __fflush_unlocked and define as weak alias of __fflush_unlocked.
16645         Use libc_hidden_weak.
16646         * include/stdio.h (__fflush_unlocked): Declare.  Use
16647         libc_hidden_proto.
16648         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
16649         fflush_unlocked.
16650         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
16651         Remove variable.
16653         [BZ #18539]
16654         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
16655         define as weak alias of __addseverity.
16656         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
16657         Remove variable.
16658         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16659         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16660         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16662         [BZ #18536]
16663         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
16664         (__tfind): Likewise.
16665         (__tdelete): Likewise.
16666         (__twalk): Likewise.
16667         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
16668         __twalk to GLIBC_PRIVATE.
16669         * include/search.h (__tsearch): Use libc_hidden_proto.
16670         (__tfind): Likewise.
16671         (__tdelete): Likewise.
16672         (__twalk): Likewise.
16673         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
16674         Call __tdelete instead of tdelete.
16675         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
16676         tfind.  Call __tsearch instead of tsearch.
16677         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
16678         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
16679         Remove variable.
16680         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16682         [BZ #18534]
16683         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
16684         (dprintf): Define as a weak alias of __dprintf, not a strong
16685         alias.
16686         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
16687         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
16688         dprintf.
16689         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
16690         Remove variable.
16691         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16692         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16694         [BZ #18533]
16695         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
16696         not a strong alias.
16697         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
16698         Remove variable.
16700         [BZ #18532]
16701         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
16702         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
16703         (in6addr_loopback): Rename to __in6addr_loopback and define as
16704         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
16705         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
16706         libc_hidden_proto.
16707         (__in6addr_any): Likewise.
16708         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
16709         in6addr_any.
16710         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
16711         variable.
16712         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16714 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16716         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
16717         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
16718         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16719         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16720         redirections for pow.
16721         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16722         * sysdeps/x86_64/fpu/Versions: New versions added.
16723         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16724         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16725         build of SSE, AVX2 and AVX512 IFUNC versions.
16726         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
16727         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
16728         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
16729         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
16730         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
16731         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
16732         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
16733         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
16734         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
16735         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
16736         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
16737         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
16738         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
16739         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
16740         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16741         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16742         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16743         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16744         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16745         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16746         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16747         * NEWS: Mention addition of x86_64 vector pow.
16749         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16750         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16751         redirections for expf.
16752         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16753         * sysdeps/x86_64/fpu/Versions: New versions added.
16754         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16755         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16756         build of SSE, AVX2 and AVX512 IFUNC versions.
16757         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
16758         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
16759         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
16760         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
16761         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
16762         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
16763         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
16764         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
16765         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
16766         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
16767         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
16768         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
16769         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
16770         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16771         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16772         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16773         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16774         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16775         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16776         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16777         * NEWS: Mention addition of x86_64 vector expf.
16779         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
16780         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
16781         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16782         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16783         redirections for exp.
16784         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16785         * sysdeps/x86_64/fpu/Versions: New versions added.
16786         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16787         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16788         build of SSE, AVX2 and AVX512 IFUNC versions.
16789         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
16790         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
16791         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
16792         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
16793         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
16794         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
16795         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
16796         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
16797         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
16798         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
16799         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
16800         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
16801         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
16802         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16803         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16804         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16805         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16806         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16807         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16808         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16809         * NEWS: Mention addition of x86_64 vector exp.
16811         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16812         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16813         redirections for logf.
16814         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16815         * sysdeps/x86_64/fpu/Versions: New versions added.
16816         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16817         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16818         build of SSE, AVX2 and AVX512 IFUNC versions.
16819         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
16820         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
16821         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
16822         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
16823         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
16824         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
16825         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
16826         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
16827         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
16828         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
16829         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
16830         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
16831         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
16832         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16833         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16834         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16835         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16836         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16837         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16838         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16839         * NEWS: Mention addition of x86_64 vector logf.
16841         * bits/libm-simd-decl-stubs.h: Added stubs for log.
16842         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
16843         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16844         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16845         redirections for log.
16846         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16847         * sysdeps/x86_64/fpu/Versions: New versions added.
16848         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16849         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16850         build of SSE, AVX2 and AVX512 IFUNC versions.
16851         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
16852         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
16853         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
16854         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
16855         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
16856         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
16857         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
16858         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
16859         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
16860         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
16861         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
16862         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
16863         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
16864         test.
16865         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16866         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16867         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16868         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16869         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16870         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16871         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16872         * NEWS: Mention addition of x86_64 vector log.
16874 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16876         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
16877         cfi_adjust_cfa_offset argument.
16878         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
16879         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
16881         [BZ #18034]
16882         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
16883         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
16884         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
16885         ordering using ldar.
16886         (_dl_tlsdesc_dynamic): Likewise.
16887         (_dl_tlsdesc_return_lazy): Likewise.
16888         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
16889         relaxed atomics instead of volatile and synchronize with release store.
16890         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
16891         volatile.
16892         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16894 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
16896         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16897         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
16898         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16899         * sysdeps/x86_64/fpu/Versions: New versions added.
16900         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16901         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16902         build of SSE, AVX2 and AVX512 IFUNC versions.
16903         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
16904         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
16905         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
16906         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
16907         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
16908         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
16909         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
16910         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
16911         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
16912         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
16913         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
16914         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
16915         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
16916         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16917         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16918         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16919         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16920         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16921         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16922         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16923         * NEWS: Mention addition of x86_64 vector sinf.
16925 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
16927         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
16928         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
16929         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
16930         Remove variable.
16931         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16932         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16934 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16936         [BZ #18530]
16937         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
16938         strong alias of _IO_fputs.  Use libc_hidden_def.
16939         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
16940         and define as weak alias of __fputs_unlocked.  Use
16941         libc_hidden_weak.
16942         * include/stdio.h (__fputs_unlocked): Declare.  Use
16943         libc_hidden_proto.
16944         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
16945         fputs_unlocked.
16947         [BZ #18529]
16948         * resolv/netdb.h [__USE_POSIX]: Change condition to
16949         [__USE_XOPEN2K].
16950         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
16951         not expect.
16952         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
16953         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
16954         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
16955         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
16956         [XPG4 || UNIX98] (AI_ALL): Likewise.
16957         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
16958         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
16959         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
16960         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
16961         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
16962         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
16963         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
16964         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
16965         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
16966         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
16967         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
16968         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
16969         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
16970         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
16971         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
16972         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16973         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16974         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
16975         [XPG4 || UNIX98] (gai_strerror): Likewise.
16976         [XPG4 || UNIX98] (getaddrinfo): Likewise.
16977         [XPG4 || UNIX98] (getnameinfo): Likewise.
16979         [BZ #18528]
16980         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
16981         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
16982         __USE_XOPEN2K8].
16983         (getgrent): Likewise.
16984         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
16985         expect.
16986         [XPG3 || POSIX2008] (endgrent): Likewise.
16987         [XPG3] (setgrent): Likewise.
16988         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
16989         variable.
16990         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16992         [BZ #18527]
16993         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
16994         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
16995         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
16996         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
16997         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
16998         * include/unistd.h (__getlogin_r): Declare.  Use
16999         libc_hidden_proto.
17000         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
17001         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
17002         variable.
17003         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17004         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17005         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17007 2015-06-12  Martin Sebor  <msebor@redhat.com>
17009         [BZ #18512]
17010         * Makerules (check-install-supported): New target.
17011         (install): Add check-install-supported as a dependency.
17012         * manual/install.texi (Installing the C Library): Document
17013         that overriding prefix and exec_prefix is not supported.
17014         Mention DESTDIR.
17015         * INSTALL: Regenerate from the above.
17017 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17019         [BZ #18519]
17020         * posix/Versions (libc): Export __libc_pread at version
17021         GLIBC_PRIVATE.
17022         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
17023         instead of pread.
17024         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
17025         variable.
17027         [BZ #18522]
17028         * misc/efgcvt_r.c
17029         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
17030         (cvt_symbol): Use weak_alias instead of strong_alias.
17031         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
17032         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
17033         Remove variable.
17034         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17035         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17037         [BZ #18520]
17038         * inet/herrno.c (h_errno): Rename to __h_errno.
17039         (__libc_h_errno): Define as alias of __h_errno not h_errno.
17040         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
17041         to __h_errno instead of h_errno.
17042         * nptl/herrno.c (h_errno): Rename to __h_errno.
17043         (__h_errno_location): Refer to __h_errno not h_errno.
17044         * resolv/Versions (h_errno): Rename to __h_errno.
17045         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
17046         Remove variable.
17047         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17049 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
17051         * configure.ac: More strict check for AVX512 assembler support.
17052         * configure: Regenerated.
17054         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
17055         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
17056         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17057         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
17058         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17059         * sysdeps/x86_64/fpu/Versions: New versions added.
17060         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17061         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17062         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17063         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
17064         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
17065         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
17066         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
17067         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
17068         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
17069         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
17070         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
17071         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
17072         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
17073         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
17074         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
17075         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
17076         test.
17077         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17078         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17079         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17080         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17081         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17082         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17083         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17084         * NEWS: Mention addition of x86_64 vector sin.
17086 2015-06-11  Florian Weimer  <fweimer@redhat.com>
17088         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
17089         comment.
17091 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17093         [BZ #18479]
17094         * nptl/pt-interp.c: New file.
17095         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17096         Add pt-interp.
17097         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
17098         $(common-objpfx)runtime-linker.h.
17100 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
17102         * Makeconfig (+interp): Remove unused variable.
17103         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
17104         only.  Depend on $(common-objpfx)runtime-linker.h instead of
17105         $(elf-objpfx)runtime-linker.h.
17106         ($(elf-objpfx)runtime-linker.h): Rename to
17107         $(common-objpfx)runtime-linker.h and move ...
17108         * Makerules [$(build-shared) = yes]: ... here.
17109         * elf/interp.c: Include <runtime-linker.h> instead of
17110         <elf/runtime-linker.h>.
17112 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17114         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
17115         (__gettimeofday_syscall): Remove vsyscall fallback.
17116         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
17117         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
17118         Add syscall fallback function.
17119         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
17120         if vDSO is not present.
17121         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
17122         fallback function.
17123         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
17124         present.
17125         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
17126         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17128 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
17130         [BZ #18497]
17131         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
17132         of wcscmp.
17133         (wcscmp): Define as weak alias of WCSCMP.
17134         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
17135         wcscoll.
17136         (USE_HIDDEN_DEF): Define.
17137         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
17138         __wcscoll.  Don't use libc_hidden_weak.
17139         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
17140         wcscmp.
17141         * sysdeps/i386/i686/multiarch/wcscmp-c.c
17142         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
17143         __GI_wcscmp.
17144         (weak_alias): Undefine and redefine.
17145         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17146         __wcscmp and define as weak alias of __wcscmp.
17147         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17148         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
17149         (__wcscoll): Likewise.
17150         (wcscmp): Don't use libc_hidden_proto.
17151         (wcscoll): Likewise.
17152         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17153         wcscoll.
17154         * posix/regexec.c (check_node_accept_bytes): Likewise.
17155         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17156         variable.
17157         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17158         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17160         [BZ #18507]
17161         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17162         __fstatvfs and define as weak alias of __fstatvfs.  Use
17163         libc_hidden_weak.
17164         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17165         and define as weak alias of __statvfs.  Use libc_hidden_weak.
17166         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17167         Define as alias of __fstatvfs, not fstatvfs.
17168         (fstatvfs64): Likewise.
17169         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17170         Define as alias of __statvfs, not statvfs.
17171         (statvfs64): Likewise.
17172         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17173         Remove variable.
17175 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17178         (HAVE_GETCPU_VSYSCALL): Define.
17179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17180         (HAVE_GETCPU_VSYSCALL): Likewise.
17181         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
17182         * sysdeps/unix/sysv/linux/sched_getcpu.c
17183         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
17184         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
17185         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
17186         prototype.
17187         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17188         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
17189         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
17190         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
17191         Define.
17192         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
17193         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17194         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
17195         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17197 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
17199         * sysdeps/x86_64/fpu/Makefile: New file.
17200         * sysdeps/x86_64/fpu/Versions: New file.
17201         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
17202         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
17203         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
17204         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
17205         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
17206         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
17207         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
17208         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
17209         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
17210         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
17211         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
17212         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17213         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
17214         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17215         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17216         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
17217         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
17218         * sysdeps/x86_64/configure.ac: Options for libmvec build.
17219         * sysdeps/x86_64/configure: Regenerated.
17220         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
17221         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
17222         * manual/install.texi (Configuring and compiling): Document
17223         --disable-mathvec.
17224         * INSTALL: Regenerated.
17225         * NEWS: Mention addition of libmvec and x86_64 vector cos.
17227         * math/Makefile: Added rules for vector tests.
17228         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
17229         declaration under condition.
17230         * math/test-double-vlen2.h: New file.
17231         * math/test-double-vlen4.h: New file.
17232         * math/test-double-vlen8.h: New file.
17233         * math/test-vec-loop.h: Added initialization macro.
17234         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
17235         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
17236         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
17237         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
17238         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
17239         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
17240         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
17241         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
17242         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
17243         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
17244         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
17246         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17247         * sysdeps/x86_64/fpu/Versions: New versions added.
17248         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
17249         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
17250         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
17251         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
17252         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
17253         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
17254         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
17255         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
17256         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
17257         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
17258         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17259         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17260         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17261         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17262         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17263         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17264         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17265         * NEWS: Mention addition of x86_64 vector cosf.
17267         * math/Makefile: Added CFLAGS for new tests.
17268         * math/test-float-vlen16.h: New file.
17269         * math/test-float-vlen4.h: New file.
17270         * math/test-float-vlen8.h: New file.
17271         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17272         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17273         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17274         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17275         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17276         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17277         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17278         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17279         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17280         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17281         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17283 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
17285         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17286         * locale/programs/ld-ctype.c: Likewise.
17288 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
17290         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17291         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17292         bit_ZMM16_31_state): New macro.
17293         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17294         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17296 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
17298         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17300 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
17302         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17304 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
17306         [BZ #18498]
17307         * libio/memstream.c (open_memstream): Rename to __open_memstream
17308         and define as weak alias of __open_memstream.
17309         * include/stdio.h (__open_memstream): Declare.  Use
17310         libc_hidden_proto.
17311         (open_memstream): Don't use libc_hidden_proto.
17312         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17313         open_memstream.
17314         * posix/getopt.c (_getopt_internal_r): Likewise.
17315         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17316         variable.
17317         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17318         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17319         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17321         [BZ #18496]
17322         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17323         instead of wcrtomb.
17325         [BZ #18483]
17326         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17327         [__USE_XOPEN2K8].  Remove redundant #endif.
17328         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17329         Remove redundant #if.
17330         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17331         Remove variable.
17332         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17333         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17335         [BZ #18495]
17336         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17337         (__iswlower): Likewise.
17338         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
17339         (__iswlower): Likewise.
17340         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
17341         instead of towlower.
17342         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
17343         instead of iswlower.  Call __towupper instead of towupper.
17344         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
17345         instead of iswalnum.
17347 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17349         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
17350         errors to stderr.
17352 2015-06-05  Florian Weimer  <fweimer@redhat.com>
17354         [BZ #15661]
17355         [BZ #17322]
17356         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17357         Check for overflow properly.  Check for O_APPEND.  Ignore large
17358         file system block sizes.  Add comments about problems.
17359         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
17360         * manual/filesys.texi (Storage Allocation): New node.
17362 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17364         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
17365         cancellable syscalls.
17366         (SYS_ify): Add guard to no redefine it.
17367         (INLINE_SYSCALL): Likewise.
17368         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
17369         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
17370         SYSCALL_CANCEL instead.
17371         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
17372         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17373         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17374         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17375         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17376         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
17377         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
17378         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
17379         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17380         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17381         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
17382         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
17383         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
17384         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
17385         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
17386         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17387         Likewise.
17388         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17389         (__libc_pread64): Likewise.
17390         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
17391         (__libc_preadv): Likewise.
17392         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
17393         (__libc_readv64): Likewise.
17394         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17395         (__libc_pwrite): Likewise.
17396         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17397         (__libc_pwrite64): Likewise.
17398         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
17399         (__libc_pwritev): Likewise.
17400         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
17401         (__libc_pwritev64): Likewise.
17402         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
17403         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17404         (sync_file_range): Likewise.
17405         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
17406         Likewise.
17407         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
17408         Likewise.
17409         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17410         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17411         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17412         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17413         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17414         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17415         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17416         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
17417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17418         Likewise.
17419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17420         (__libc_read64): Likewise.
17421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
17422         Likewise.
17423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
17424         Likewise.
17425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
17426         Likewise.
17427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
17428         Likewise.
17429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17430         (__libc_pread64): Likewise.
17431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
17432         Likewise.
17433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17434         (__libc_pwrite64): Likewise.
17435         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
17436         (sync_file_range): Likewise.
17437         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
17438         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17439         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17440         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
17441         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
17442         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17443         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17444         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
17445         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
17446         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17447         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17448         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17449         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17450         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17451         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
17452         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17453         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17454         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17455         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17456         Likewise.
17457         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
17458         Likewise.
17459         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
17460         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
17461         Likewise.
17462         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
17463         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
17464         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
17465         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
17466         Likewise.
17467         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
17468         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
17469         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
17470         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
17471         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
17473 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
17475         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
17476         Include dl-vdso.
17477         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
17478         Use VDSO routines for gettimeofday, clock_gettime if
17479         available.
17480         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
17481         Declare VDSO symbols.
17482         * sysdeps/unix/sysv/linux/arm/sysdep.h:
17483         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
17484         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17485         * sysdeps/unix/sysv/linux/arm/Versions: Add
17486         __vdso_clock_gettime.
17488 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17490         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
17491         be an inline implementation regardless of library is built within.
17492         (open_not_cancel_2): Likewise.
17493         (__read_nocancel): Likewise.
17494         (__write_nocancel): Likewise.
17495         (openat_not_cancel): Likewise.
17496         (openat_not_cancel_3): Likewise.
17497         (openat64_not_cancel): Likewise.
17498         (openat64_not_cancel_3): Likewise.
17499         (__close_nocancel): Likewise.
17500         (pause_not_cancel): Likewise.
17501         (nanosleep_not_cancel): Likewise.
17502         (sigsuspend_not_cancel): Likewise.
17504 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17506         [BZ #14958]
17507         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
17508         wake-up.
17509         (__pthread_rwlock_rdlock_slow): Likewise.
17510         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17511         Likewise.
17512         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17513         Likewise.
17514         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
17515         * nptl/tst-rwlock16.c: New file.
17516         * nptl/Makefile (tests): Add new test.
17518 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17520         [BZ #18324]
17521         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
17522         missing wake-up of readers.
17523         * nptl/tst-rwlock15.c: New file.
17524         * nptl/Makefile (tests): Add new test.
17526 2015-06-03  Roland McGrath  <roland@hack.frob.com>
17528         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
17529         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
17530         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
17531         and __nacl_supply_interface_rtld.
17532         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
17533         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
17534         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
17535         Add __nacl_supply_interface_rtld.
17536         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
17538 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17540         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
17541         isfinite.
17542         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17543         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
17545 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17547         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
17548         __signbit* with standard C99 macros.
17549         * math/e_exp10l.c: Likewise.
17550         * math/e_exp2l.c: Likewise.
17551         * math/e_scalb.c: Likewise.
17552         * math/e_scalbf.c: Likewise.
17553         * math/e_scalbl.c: Likewise.
17554         * math/s_ldexp.c: Likewise.
17555         * math/s_ldexpf.c: Likewise.
17556         * math/s_ldexpl.c: Likewise.
17557         * math/w_atan2.c: Likewise.
17558         * math/w_atan2f.c: Likewise.
17559         * math/w_atan2l.c: Likewise.
17560         * math/w_cosh.c: Likewise.
17561         * math/w_coshf.c: Likewise.
17562         * math/w_coshl.c: Likewise.
17563         * math/w_exp10.c: Likewise.
17564         * math/w_exp10f.c: Likewise.
17565         * math/w_exp10l.c: Likewise.
17566         * math/w_exp2.c: Likewise.
17567         * math/w_exp2f.c: Likewise.
17568         * math/w_exp2l.c: Likewise.
17569         * math/w_fmod.c: Likewise.
17570         * math/w_fmodf.c: Likewise.
17571         * math/w_fmodl.c: Likewise.
17572         * math/w_hypot.c: Likewise.
17573         * math/w_hypotf.c: Likewise.
17574         * math/w_hypotl.c: Likewise.
17575         * math/w_jnl.c: Likewise.
17576         * math/w_lgamma.c: Likewise.
17577         * math/w_lgamma_r.c: Likewise.
17578         * math/w_lgammaf.c: Likewise.
17579         * math/w_lgammaf_r.c: Likewise.
17580         * math/w_lgammal.c: Likewise.
17581         * math/w_lgammal_r.c: Likewise.
17582         * math/w_pow.c: Likewise.
17583         * math/w_powf.c: Likewise.
17584         * math/w_powl.c: Likewise.
17585         * math/w_remainder.c: Likewise.
17586         * math/w_remainderf.c: Likewise.
17587         * math/w_remainderl.c: Likewise.
17588         * math/w_scalb.c: Likewise.
17589         * math/w_scalbf.c: Likewise.
17590         * math/w_scalbl.c: Likewise.
17591         * math/w_scalbln.c: Likewise.
17592         * math/w_scalblnf.c: Likewise.
17593         * math/w_scalblnl.c: Likewise.
17594         * math/w_sinh.c: Likewise.
17595         * math/w_sinhf.c: Likewise.
17596         * math/w_sinhl.c: Likewise.
17597         * math/w_tgamma.c: Likewise.
17598         * math/w_tgammaf.c: Likewise.
17599         * math/w_tgammal.c: Likewise.
17600         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17601         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
17602         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17603         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17604         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17605         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17606         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17607         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17608         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17609         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17610         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17611         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17612         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17613         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17614         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17615         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17616         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17617         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17618         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17619         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17620         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17621         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17622         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17623         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17624         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17625         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17626         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
17627         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17628         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17629         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17630         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
17631         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
17632         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
17633         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
17634         * stdio-common/printf_fp.c: Likewise.
17635         * stdio-common/printf_fphex.c: Likewise.
17636         * stdio-common/printf_size.c: Likewise.
17638 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
17640         [BZ #18470]
17641         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
17642         strnlen.
17643         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
17644         Remove variable.
17645         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17646         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17647         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17648         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17649         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17650         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17651         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17652         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17653         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17654         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17656         [BZ #18468]
17657         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
17658         weak alias of __wmemchr.  Use libc_hidden_weak.
17659         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
17660         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
17661         instead of wmemchr.
17663 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17665         [BZ #18383]
17666         * elf/tst-tlsalign-extern.c: New file.
17667         * elf/tst-tlsalign-extern-static.c: New file.
17668         * elf/tst-tlsalign-vars.c: New file.
17669         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
17670         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
17671         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
17672         ($(objpfx)tst-tlsalign-extern-static): Likewise.
17673         (test-xfail-tst-tlsalign-extern-static): New variable.
17675 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
17677         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
17678         Use variable name _sc_err instead of err.
17679         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
17680         instead of ret.
17681         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
17682         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
17683         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
17684         (INLINE_SYSCALL): Likewise.
17686         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
17687         * include/string.h (__strnlen): Use libc_hidden_proto.
17688         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
17689         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
17690         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
17691         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
17692         (libc_hidden_def): Undefine and redefine.
17693         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
17694         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
17695         __GI_strnlen.
17696         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
17697         libc_hidden_def.
17698         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
17700         [BZ #18469]
17701         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
17702         weak alias of __towlower.  Use libc_hidden_weak.
17703         (towupper): Rename to __towupper and define as weak alias of
17704         __towupper.  Use libc_hidden_weak.
17705         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
17706         (__towupper): Likewise.
17707         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
17708         __towlower instead of towlower.
17710 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17712         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
17713         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
17715 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17717         * sysdeps/aarch64/libm-test-ulps: Update.
17719 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17721         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
17722         Define.
17723         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17724         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17725         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17726         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17727         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
17728         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
17729         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
17731 2015-06-01  Martin Sebor  <msebor@redhat.com>
17733         [BZ #18116]
17734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17735         (__setcontext): Use extended four-operand version of mtsf whenever
17736         possible.
17737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17738         (__novec_swapcontext): Likewise.
17740 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17742         * benchtests/scripts/compare_bench.py: New file.
17743         * benchtests/scripts/import_bench.py (mean): New function.
17744         (split_list): Likewise.
17745         (do_for_all_timings): Likewise.
17746         (compress_timings): Likewise.
17748         * benchtests/scripts/import_bench.py: New file.
17749         * benchtests/scripts/validate_benchout.py: Import import_bench
17750         instead of jsonschema.
17751         (validate_bench): Remove function.
17752         (main): Use import_bench.
17754 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
17756         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
17757         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
17759 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17763 2015-05-28  Roland McGrath  <roland@hack.frob.com>
17765         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
17766         set THREAD_SELF->tid to a magic value and futex-wake it.
17767         Pass its address to the thread_exit system call.
17768         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
17769         bit is clear.
17770         * sysdeps/nacl/lowlevellock.h: New file.
17771         * sysdeps/nacl/lll_timedwait_tid.c: New file.
17773         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
17774         Add TIMEOUT to current time, don't subtract it.
17776 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
17778         [BZ #2981]
17779         [BZ #18422]
17780         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
17781         ($(objpfx)tst-audit2.out): Also depend on
17782         $(objpfx)tst-auditmod9b.so.
17783         * elf/tst-audit2.c: Include <dlfcn.h>.
17784         (calloc_called): New.
17785         (calloc): Allow to be called more than once.
17786         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
17788 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
17790         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
17791         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
17793 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
17795         * stdlib/monetary.h: Fix comment.
17797 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
17799         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
17800         Avoid using variables in #defines that might cause shadowing.
17801         (INTERNAL_VSYSCALL_CALL): Likewise.
17803 2015-05-26  Roland McGrath  <roland@hack.frob.com>
17805         * sysdeps/nacl/lll_timedlock_wait.c: New file.
17807         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
17808         * nptl/lll_timedlock_wait.c: ... to this new file.
17809         * nptl/Makefile (libpthread-routines): Add it.
17810         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
17811         * nptl/lll_timedwait_tid.c: ... to this new file.
17812         * nptl/Makefile (libpthread-routines): Add it.
17813         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
17814         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
17815         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
17816         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
17817         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
17818         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
17819         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
17820         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
17821         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
17822         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
17824 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17826         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
17827         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17828         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17829         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
17830         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17831         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17832         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17833         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17834         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17835         * sysdeps/unix/sysv/linux/tile/sysdep.h
17836         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17837         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
17838         using vDSO syscall macro.
17840 2015-05-26  Andriy Rysin  <arysin@gmail.com>
17842         [BZ #17293]
17843         * uk_UA: Fix sorting order for Ukrainian locale
17845 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
17847         * stdlib/monetary.h: Fix comment.
17849 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17851         [BZ #18234]
17852         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
17853         st_mtim and st_ctim members.
17854         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
17855         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
17856         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
17857         (struct stat64): Likewise.
17858         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
17859         (struct stat64): Likewise.
17860         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
17861         (struct stat64): Likewise.
17863 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17865         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
17866         Define and include sysdep-vdso.h.
17867         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
17868         Likewise.
17869         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
17870         Likewise.
17871         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
17872         Define with VDSO_SYMBOL and use PTR_MANGLE.
17873         (__vdso_clock_gettime): Likewise.
17874         (__vdso_clock_getres): Likewise.
17875         (_libc_vdso_platform_setup): Likewise.
17876         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17877         Likewise.
17878         (_libc_vdso_platform_setup): Likewise.
17879         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
17880         Likewise.
17881         (__vdso_clock_gettime): Likewise.
17882         (__vdso_clock_getres): Likewise.
17883         (__vdso_get_tbfreq): Likewise.
17884         (__vdso_getcpu): Likewise.
17885         (__vdso_time): Likewise.
17886         (__vdso_sigtramp_rt64): Likewise.
17887         (__vdso_signtramp32): Likewise.
17888         (__vdso_sigtramp_rt32): Likewise.
17889         (_libc_vdso_platform_setup): Likewise.
17890         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
17891         Likewise.
17892         (__vdso_clock_gettime): Likewise.
17893         (__vdso_clock_getres): Likewise.
17894         (_libc_vdso_platform_setup): Likewise.
17895         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
17896         Likewise.
17897         (__vdso_clock_gettime): Likewise.
17898         (_libc_vdso_platform_setup): Likewise.
17899         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17900         Likewise.
17901         (__vdso_getcpu): Likewise.
17902         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
17903         Use VDSO_SYMBOL macro to define.
17904         (__vdso_clock_gettime): Likewise.
17905         (__vdso_clock_getres): Likewise.
17906         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
17907         Likewise.
17908         (__vdso_clock_gettime): Likewise.
17909         (__vdso_clock_getres): Likewise.
17910         (__vdso_get_tbfreq): Likewise.
17911         (__vdso_getcpu): Likewise.
17912         (__vdso_time): Likewise.
17913         (__vdso_sigtramp_rt64): Likewise.
17914         (__vdso_signtramp32): Likewise.
17915         (__vdso_sigtramp_rt32): Likewise.
17916         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
17917         Likewise.
17918         (__vdso_clock_gettime): Likewise.
17919         (__vdso_clock_getres): Likewise.
17920         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
17921         Likewise.
17922         (__vdso_clock_gettime): Likewise.
17923         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17924         Likewise.
17925         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
17926         macro.
17927         (INTERNAL_VSYSCALL): Likewise.
17928         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
17929         Remove macro.
17930         (INTERNAL_VSYSCALL): Likewise.
17931         (INTERNAL_VSYSCALL_NCS): Likewise.
17932         (INTERNAL_VSYSCALL_CALL): New macro.
17933         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17934         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
17935         Likewise.
17936         (INTERNAL_VSYSCALL): Likewise.
17937         (INTERNAL_VSYSCALL_NCS): Likewise.
17938         (INTERNAL_VSYSCALL_CALL): New macro.
17939         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17941         (INLINE_VSYSCALL): Remove macro.
17942         (INTERNAL_VSYSCALL): Remove macro.
17943         (INTERNAL_VSYSCALL_NCS): Remove macro.
17944         (INTERNAL_VSYSCALL_CALL): New macro.
17945         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
17946         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
17947         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17948         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
17949         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17951         (INLINE_VSYSCALL): Remove macro.
17952         (INTERNAL_VSYSCALL): Likewise.
17953         (INTERNAL_VSYSCALL_NCS): Likewise.
17954         (INTERNAL_VSYSCALL_CALL): New macro.
17955         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
17956         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
17957         PTR_DEMANGLE on vDSO pointer.
17958         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17959         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
17960         macro.
17961         (INTERNAL_SYSCALL): Likewise.
17962         (INTERNAL_VSYSCALL_NCS): Remove macro.
17963         (INTERNAL_VSYSCALL_CALL): New macro.
17964         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
17965         Remove macro.
17966         (INTERNAL_VSYSCALL): Likewise.
17967         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
17968         sysdep-vdso.h instead of libc-vdso.h.
17969         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
17970         definition.
17971         (INLINE_VSYSCALL): Likewise.
17972         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
17973         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
17974         definition.
17975         (INLINE_VSYSCALL): Likewise.
17976         (INTERNAL_VSYSCALL): Likewise.
17977         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17978         * sysdeps/unix/sysv/linux/timespec_get.c
17979         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17980         (timespec_get): Use ANSI prototype.
17981         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
17982         and definition for Linux.
17984 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17986         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
17987         * include/libc-symbols.h: libmvec_hidden_* macro series added.
17989 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17991         [BZ #2981]
17992         [BZ #18410]
17993         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
17994         for missing DT_PLTRELSZ.
17996 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
17998         Remove obsolete aliases that broke 'locale -a'
17999         [BZ #18412]
18000         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
18001         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
18002         breaking some applications that use 'locale -a' output.
18003         Change the encoding of this file from Latin-1 to ASCII to avoid
18004         other potential problems with people grepping this file.
18006 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18008         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
18009         -fasynchronous-unwind-tables.
18010         (CFLAGS-sendto.c): Likewise.
18011         (CFLAGS-sendmsg.c): Likewise.
18012         (CFLAGS-connect.c): Likewise.
18013         (CFLAGS-recvmsg.c): Likewise.
18014         (CFLAGS-recvfrom.c): Likewise.
18015         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
18016         (SOCKETCALL): New macro: non-cancellable socketcall.
18017         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
18018         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
18019         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
18020         * sysdeps/unix/sysv/linux/accept.c: New file.
18021         * sysdeps/unix/sysv/linux/bind.c: Likewise.
18022         * sysdeps/unix/sysv/linux/connect.c: Likewise.
18023         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
18024         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
18025         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
18026         * sysdeps/unix/sysv/linux/listen.c: Likewise.
18027         * sysdeps/unix/sysv/linux/recv.c: Likewise.
18028         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
18029         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18030         * sysdeps/unix/sysv/linux/send.c: Likewise.
18031         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18032         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
18033         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
18034         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
18035         * sysdeps/unix/sysv/linux/socket.c: Likewise.
18036         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
18037         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
18038         prototype.
18039         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
18040         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18041         instead of __internal_xxx function.
18042         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
18043         prototype.
18044         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
18045         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18046         instead of __internal_xxx function.
18047         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
18048         prototype.
18049         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
18050         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18051         instead of __internal_xxx function.
18052         * sysdeps/unix/sysv/linux/accept.S: Remove file.
18053         * sysdeps/unix/sysv/linux/bind.S: Likewise.
18054         * sysdeps/unix/sysv/linux/connect.S: Likewise.
18055         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
18056         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
18057         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
18058         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
18059         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
18060         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
18061         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
18062         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
18063         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18064         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
18065         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
18066         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
18067         * sysdeps/unix/sysv/linux/listen.S: Likewise.
18068         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
18069         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
18070         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
18071         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
18072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
18073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
18074         * sysdeps/unix/sysv/linux/recv.S: Likewise.
18075         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
18076         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
18077         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
18078         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18079         * sysdeps/unix/sysv/linux/send.S: Likewise.
18080         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
18081         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
18082         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
18083         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
18084         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
18085         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
18086         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
18087         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
18088         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
18089         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
18090         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
18091         socketcall is implemented in GLIBC.
18093 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18095         * soft-fp/fmadf4.c: Include <libc-internal.h>.
18096         (__fma): Ignore uninitialized warnings around packing.
18097         * soft-fp/fmasf4.c: Include <libc-internal.h>.
18098         (__fmaf): Ignore uninitialized warnings around packing.
18099         * soft-fp/fmatf4.c: Include <libc-internal.h>.
18100         (__fmal): Ignore uninitialized warnings around packing.
18102         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
18103         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18104         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
18105         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18107         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
18108         switch statement into default case.
18109         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
18111         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
18112         a conditional in forcing "inexact".
18113         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18114         Likewise.
18116 2015-05-22  Roland McGrath  <roland@hack.frob.com>
18118         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18119         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
18120         for each INTERNAL_SYSCALL use.
18122 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18124         [BZ #438]
18125         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
18126         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
18127         variable.
18129         [BZ #18444]
18130         * string/basename.c (basename): Rename to __basename and define as
18131         weak alias of __basename.  Use libc_hidden_weak.
18132         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
18133         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
18134         __basename instead of basename.
18135         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
18136         Remove variable.
18137         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18139 2015-05-18  Florian Weimer  <fweimer@redhat.com>
18141         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
18142         (_IO_JUMPS_FILE_plus): New.
18143         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
18144         _IO_CAST_FIELD_ACCESS.
18145         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18146         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18147         * libio/freopen.c (freopen): Likewise.
18148         * libio/freopen64.c (freopen64): Likewise.
18149         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18150         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18151         * libio/iofwide.c (_IO_fwide): Likewise.
18152         * libio/memstream.c (open_memstream): Likewise.
18153         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18154         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18155         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18157 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
18159         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18160         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18161         NADJ.
18162         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18163         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18164         NADJ.
18165         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18166         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18167         NADJ.
18169         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18170         (p == 4) case.
18172         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18173         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18174         Remove variable.
18175         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18176         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18177         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18179 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18181         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
18182         Adjust jump table label generation macros.
18184 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18186         * stdio-common/vfprintf.c (vfprintf): Move local variables
18187         args_malloced, specs, specs_malloced, and the code after
18188         do_positional to the printf_positional function.
18189         (printf_positional): New function.
18191 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18193         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
18194         function.
18195         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
18196         STEP4_TABLE, process_arg): Move macro definitions
18197         out of the vfprintf function.  (Cosmetic change only.)
18199 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
18201         * benchtests/Makefile (stdio-common-bench): Define.
18202         (benchset): Add stdio-common-bench.
18203         * sprintf-inputs: New file.
18204         * sprintf-source.c: New file.
18206 2015-05-21  Andreas Schwab  <schwab@suse.de>
18208         [BZ #13028]
18209         [BZ #17053]
18210         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
18211         of struct __res_state.
18212         * resolv/res_send.c (__libc_res_nsend): Likewise.
18213         (get_nsaddr): New function.
18214         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
18215         statp directly.
18217 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
18219         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
18220         -D_POSIX_C_SOURCE=199506L.
18222         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
18224         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
18225         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
18226         Do not mention otherwise.
18227         [POSIX] (_XOPEN_VERSION): Do not expect.
18228         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
18229         [POSIX] (_POSIX2_C_BIND): Likewise.
18230         [POSIX] (_POSIX2_VERSION): Likewise.
18231         [POSIX] (_XOPEN_XPG2): Likewise.
18232         [POSIX] (_XOPEN_XPG3): Likewise.
18233         [POSIX] (_XOPEN_XPG4): Likewise.
18234         [POSIX] (_XOPEN_UNIX): Likewise.
18235         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
18236         [POSIX] (_POSIX_BARRIERS): Likewise.
18237         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
18238         [POSIX] (_POSIX_CPUTIME): Likewise.
18239         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
18240         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
18241         [POSIX] (_POSIX_SHELL): Likewise.
18242         [POSIX] (_POSIX_SPAWN): Likewise.
18243         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
18244         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
18245         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
18246         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
18247         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
18248         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
18249         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
18250         [POSIX] (_XBS5_LP64_OFF64): Likewise.
18251         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
18252         [POSIX] (_POSIX_TIMEOUTS): Likewise.
18253         [POSIX] (_POSIX2_PBS): Likewise.
18254         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
18255         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
18256         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
18257         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
18258         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18259         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18260         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18261         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18262         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18263         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18264         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18265         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18266         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18267         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18268         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18269         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18270         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18271         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18272         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18273         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18274         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18275         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18276         [POSIX] (_SC_2_C_BIND): Likewise.
18277         [POSIX] (_SC_2_C_VERSION): Likewise.
18278         [POSIX] (_SC_2_PBS): Likewise.
18279         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18280         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18281         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18282         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18283         [POSIX] (_SC_2_PBS_TRACK): Likewise.
18284         [POSIX] (_SC_ATEXIT_MAX): Likewise.
18285         [POSIX] (_SC_BARRIERS): Likewise.
18286         [POSIX] (_SC_BASE): Likewise.
18287         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18288         [POSIX] (_SC_DEVICE_IO): Likewise.
18289         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18290         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18291         [POSIX] (_SC_FD_MGMT): Likewise.
18292         [POSIX] (_SC_FIFO): Likewise.
18293         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18294         [POSIX] (_SC_FILE_LOCKING): Likewise.
18295         [POSIX] (_SC_FILE_SYSTEM): Likewise.
18296         [POSIX] (_SC_IOV_MAX): Likewise.
18297         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18298         [POSIX] (_SC_NETWORKING): Likewise.
18299         [POSIX] (_SC_PAGE_SIZE): Likewise.
18300         [POSIX] (_SC_PASS_MAX): Likewise.
18301         [POSIX] (_SC_PIPE): Likewise.
18302         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18303         [POSIX] (_SC_REGEXP): Likewise.
18304         [POSIX] (_SC_SHELL): Likewise.
18305         [POSIX] (_SC_SIGNALS): Likewise.
18306         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18307         [POSIX] (_SC_SPIN_LOCKS): Likewise.
18308         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18309         [POSIX] (_SC_USER_GROUPS): Likewise.
18310         [POSIX] (_SC_USER_GROUPS_R): Likewise.
18311         [POSIX] (_SC_STREAMS): Likewise.
18312         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18313         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18314         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18315         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18316         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18317         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18318         [POSIX] (_PC_FILESIZEBITS): Likewise.
18319         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18320         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18321         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18322         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18323         [POSIX] (uid_t): Likewise.
18324         [POSIX] (gid_t): Likewise.
18325         [POSIX] (off_t): Likewise.
18326         [POSIX] (pid_t): Likewise.
18327         [POSIX] (cuserid): Allow.
18328         (_SC_2_CHAR_TERM): Require constant.
18329         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18330         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18331         variable.
18333 2015-05-20  Roland McGrath  <roland@hack.frob.com>
18335         * sysdeps/nacl/pthread-pids.h: New file.
18336         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18337         (create_thread): Use __nacl_get_tid to initialize PD->tid.
18339         * nptl/pthread-pids.h: New file.
18340         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
18341         * nptl/nptl-init.c: Include <pthread-pids.h>.
18342         (__pthread_initialize_minimal_internal):
18343         Call __pthread_initialize_pids instead of set_tid_address syscall.
18345         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
18346         * sysdeps/posix/usleep.c: ... here.
18348 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18350         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
18351         call_pselect6 object.
18352         [$(subdir) = io]: Remove call_sync_file_range object.
18353         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
18354         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
18355         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
18356         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
18358 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
18360         * math/s_cproj.c: Add include "math_private.h".
18361         * math/s_cprojf.c: Likewise.
18362         * math/s_cprojl.c: Likewise.
18364 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
18366         [BZ #18244]
18367         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
18368         high mantissa bit when testing whether P is a NaN.
18369         * math/libm-test.inc (remainder_test_data): Add more tests.
18370         (remquo_test_data): Likewise.
18372         [BZ #18049]
18373         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
18374         below -32, return the argument, with underflow if subnormal.
18375         * math/auto-libm-test-in: Add more tests of atanh.
18376         * math/auto-libm-test-out: Regenerated.
18378 2015-05-19  Roland McGrath  <roland@hack.frob.com>
18380         [BZ #18434]
18381         * nptl/tst-sem15.c: New file.
18382         * nptl/Makefile (tests): Add it.
18383         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
18384         s/<</>>/ to fix typo in EOVERFLOW check.
18385         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18387 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18389         * manual/strings.texi (envz_remove): Fix typo in safety
18390         annotations.
18392 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
18393             Steve Ellcey  <sellcey@imgtec.com>
18395         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
18396         in order to avoid strict alias warnings.
18397         (iruserok_af): Ditto for ra.
18399 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
18401         [BZ #17581]
18402         * malloc/hooks.c
18403         (magicbyte): Convert to a function and avoid returning 0x01.
18404         (mem2mem_check): Avoid using a length byte equal to the magic byte.
18405         (mem2chunk_check): Fix unsigned comparisons to zero.
18406         Hoist defs of sz and magic.
18408 2015-05-19  Richard Henderson  <rth@redhat.com>
18410         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
18412         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18414 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18416         [BZ #16159]
18417         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
18418         * malloc/arena.c (arena_lock): Check if arena is corrupt.
18419         (reused_arena): Find a non-corrupt arena.
18420         (heap_trim): Pass arena to unlink.
18421         * malloc/hooks.c (malloc_check_get_size): Pass arena to
18422         malloc_printerr.
18423         (top_check): Likewise.
18424         (free_check): Likewise.
18425         (realloc_check): Likewise.
18426         * malloc/malloc.c (malloc_printerr): Add arena argument.
18427         (unlink): Likewise.
18428         (munmap_chunk): Adjust.
18429         (ARENA_CORRUPTION_BIT): New macro.
18430         (arena_is_corrupt): Likewise.
18431         (set_arena_corrupt): Likewise.
18432         (sysmalloc): Use mmap if there are no usable arenas.
18433         (_int_malloc): Likewise.
18434         (__libc_malloc): Don't fail if arena_get returns NULL.
18435         (_mid_memalign): Likewise.
18436         (__libc_calloc): Likewise.
18437         (__libc_realloc): Adjust for additional argument to
18438         malloc_printerr.
18439         (_int_free): Likewise.
18440         (malloc_consolidate): Likewise.
18441         (_int_realloc): Likewise.
18442         (_int_memalign): Don't touch corrupt arenas.
18443         * malloc/tst-malloc-backtrace.c: New test case.
18445         * Makefile (summarize-tests): Fix return value on success.
18447         * manual/string.texi (Envz Functions): Add envz_remove.
18449 2015-05-18  Roland McGrath  <roland@hack.frob.com>
18451         * sysdeps/posix/opendir.c: Include <stdbool.h>.
18452         (invalid_name): New function, broken out of ...
18453         (__opendirat): ... here.  Call it.
18454         (need_isdir_precheck): New function, broken out of ...
18455         (__opendirat): ... here.  Call it.
18456         Use __fxstatat64, not __xstatat64.
18457         (opendir_oflags): New function, broken out of ...
18458         (__opendirat): ... here.  Call it.
18459         (opendir_tail): New function, broken out of ...
18460         (__opendirat): ... here.  Call it.
18461         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
18462         opendir_tail, rather than punting to __opendirat.
18463         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
18465 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18467         * .gitignore: Ignore generated *.pyc.
18469 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
18471         * include/stdio.h: Define __need_wint_t.
18472         * test-skeleton.c: Avoid `for' loop initial declaration.
18473         * nptl/tst-initializers1.c: Use test-skeleton.c.
18475 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18477         [BZ #18418]
18478         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
18480 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18482         [BZ #16352]
18483         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
18484         (__ieee754_atanh): Force underflow exception for results with
18485         small absolute value.
18486         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
18487         (__ieee754_atanhf): Force underflow exception for results with
18488         small absolute value.
18489         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
18490         (__ieee754_atanh): Force underflow exception for results with
18491         small absolute value.
18492         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
18493         (__ieee754_atanhf): Force underflow exception for results with
18494         small absolute value.
18495         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
18496         (__ieee754_atanhl): Force underflow exception for results with
18497         small absolute value.
18498         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
18499         (__ieee754_atanhl): Force underflow exception for results with
18500         small absolute value.
18501         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
18502         (__ieee754_atanhl): Force underflow exception for results with
18503         small absolute value.
18504         * math/auto-libm-test-in: Do not allow missing underflow
18505         exceptions from atanh.
18506         * math/auto-libm-test-out: Regenerated.
18508         [BZ #18221]
18509         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
18510         2**-28 as threshold for returning x or +/- 1/x.
18511         * math/auto-libm-test-in: Add more tests of tan.
18512         * math/auto-libm-test-out: Regenerated.
18514         [BZ #18220]
18515         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18516         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
18517         * math/auto-libm-test-in: Add another test of lgamma.
18518         * math/auto-libm-test-out: Regenerated.
18520 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
18522         * stdio-common/printf_fp.c (___printf_fp): Use abs.
18523         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
18524         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
18525         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
18526         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
18527         (ADD2A): Use fabs.  (SUB2A): Use fabs.
18528         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
18529         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
18530         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
18531         (log1): Use fabs.  (my_log2): Use fabs.
18532         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
18533         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
18534         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
18535         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
18536         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
18537         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
18538         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
18539         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
18540         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
18541         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
18542         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
18544 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18546         [BZ #18217]
18547         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
18548         as threshold for returning 1 - x.
18549         * math/auto-libm-test-in: Add more tests of erfc.
18550         * math/auto-libm-test-out: Regenerated.
18552 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
18554         [BZ #18196]
18555         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
18556         threshold for large arguments.
18557         * math/auto-libm-test-in: Add another test of atan.
18558         * math/auto-libm-test-out: Regenerated.
18560         [BZ #16339]
18561         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
18562         (__log1p): Force underflow exception for results with small
18563         absolute value.
18564         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
18565         (__log1pf): Force underflow exception for results with small
18566         absolute value.
18567         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
18568         (__log1p): Force underflow exception for results with small
18569         absolute value.
18570         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
18571         (__log1pf): Force underflow exception for results with small
18572         absolute value.
18573         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
18574         (__log1pl): Force underflow exception for results with small
18575         absolute value.
18576         * math/auto-libm-test-in: Do not allow missing underflow
18577         exceptions from log1p.
18578         * math/auto-libm-test-out: Regenerated.
18580 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
18581             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18583         [BZ #16704]
18584         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
18586 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
18588         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
18589         (libmvec): New variable.
18590         * configure.ac: Added option for mathvec build.
18591         * configure: Regenerated.
18592         * mathvec/Depend: New file.
18593         * mathvec/Makefile: New file.
18594         * shlib-versions: Added libmvec.
18595         * math/Makefile: Added rule for libm.so installation.
18597         * bits/math-vector.h: New file.
18598         * bits/libm-simd-decl-stubs.h: New header.
18599         * math/Makefile (headers): Added new header
18600         libm-simd-decl-stubs.h.
18601         * math/math.h (__MATHCALL_VEC): New macro.
18603         * math/gen-libm-have-vector-test.sh: Script generates series of macros
18604         for conditions in testing functions.
18605         * math/Makefile: Added call of libm-have-vector-test.sh.
18606         * math/libm-test.inc (HAVE_VECTOR): New macros.
18608         * math/libm-test.inc: START refactored.
18609         * math/test-double.c (TEST_MATHVEC): Add define.
18610         * math/test-float.c: Likewise.
18611         * math/test-idouble.c: Likewise.
18612         * math/test-ifloat.c: Likewise.
18613         * math/test-ildoubl.c: Likewise.
18614         * math/test-ldouble.c: Likewise.
18615         * sysdeps/generic/math-tests-arch.h
18616         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
18617         architecture check.
18619         * math/test-double.c (FUNC_TEST): New macro.
18620         * math/test-float.c: Likewise.
18621         * math/test-idouble.c: Likewise.
18622         * math/test-ifloat.c: Likewise.
18623         * math/test-ildoubl.c: Likewise.
18624         * math/test-ldouble.c: Likewise.
18625         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
18627 2015-05-13  Roland McGrath  <roland@hack.frob.com>
18629         * sysdeps/nacl/fdopendir.c: New file.
18631         * dirent/scandir-tail.c: New file.
18632         * dirent/scandir64-tail.c: New file.
18633         * dirent/Makefile (routines): Add them.
18634         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
18635         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
18636         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
18637         [!SCANDIR] (SCANDIR_TAIL): New macro.
18638         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
18639         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
18640         (SCANDIRAT): Macro removed.
18641         (SCANDIR_TAIL): New macro.
18642         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
18643         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
18644         (SCANDIRAT): Just call __opendirat and __scandir_tail.
18645         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
18646         (READDIR): Macro removed.
18647         (SCANDIR_TAIL): New macro.
18648         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
18649         (SCANDIR_TAIL): New macro.
18651         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
18652         * dirent/scandir-cancel.c: ... to this new file.
18653         * dirent/Makefile (routines): Add it.
18654         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
18655         * sysdeps/unix/sysv/linux/i386/scandir64.c
18656         (SKIP_SCANDIR_CANCEL): Macro removed.
18657         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
18659         * dirent/tst-scandir.c: New file.
18660         * dirent/tst-scandir64.c: New file.
18661         * dirent/Makefile (tests): Add them.
18663 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18665         [BZ #18409]
18666         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
18668 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18670         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
18671         list.
18673 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
18675         * benchtests/bench-strcoll.c: New benchmark.
18676         * benchtests/Makefile: Generate locales and run benchmark.
18677         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
18678         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18679         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
18680         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
18681         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
18682         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
18683         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
18684         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
18685         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
18686         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
18687         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
18688         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
18689         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
18690         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
18691         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
18692         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
18693         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
18694         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
18695         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
18696         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
18697         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
18698         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
18699         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
18700         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
18702 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
18704         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
18705         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18707 2015-05-12  Roland McGrath  <roland@hack.frob.com>
18709         * posix/uname-values.h: New file.
18710         * posix/uname.c: Include that instead of <config-name.h>.
18711         * sysdeps/nacl/uname-values.h: New file.
18712         * sysdeps/arm/nacl/uname-values.h: New file.
18714 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
18716         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
18717         splitting into fields.
18719 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
18721         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
18722         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
18723         * locale/localeinfo.h: Add enum collation_encoding_type.
18724         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
18725         * programs/ld-collate.c (collate_output): Add encoding type info.
18726         * string/strcoll_l.c (STRDIFF): New function.
18727         * (STRCOLL): Use STRDIFF to skip over equal prefix.
18728         * wcsmbs/wcscoll_l.c: Define STRDIFF.
18730 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
18732         [BZ #18397]
18733         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
18734         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
18735         <fpu_control.h> instead of <math/fpu_control.c>.
18736         * sysdeps/mips/mips32/fpu/Makefile: New file.
18738 2015-05-11  Andreas Schwab  <schwab@suse.de>
18740         [BZ #18007]
18741         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
18742         nss_endgrent.
18743         (_nss_compat_endgrent): Call nss_endgrent.
18744         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
18745         nss_endpwent.
18746         (_nss_compat_endpwent): Call nss_endpwent.
18747         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
18748         needent, call nss_setspent only if non-zero.
18749         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
18750         (internal_endspent): Don't call nss_endspent.
18751         (_nss_compat_endspent): Call nss_endspent.
18752         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
18753         Remove.  All uses removed.
18754         (internal_setent): Remove parameter stayopen, add parameter
18755         stream.  Use it instead of global variable.
18756         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
18757         (internal_endent, internal_getent): Add parameter stream.  Use it
18758         instead of global variable.
18759         (CONCAT(_nss_files_end,ENTNAME))
18760         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
18761         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
18762         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
18763         uses removed.
18764         (internal_setent, internal_endent): Add parameter stream.  Use it
18765         instead of global variable.
18766         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
18767         stream.
18768         (get_next_alias): Add parameter stream.
18769         (_nss_files_getaliasent_r): Pass global stream.
18770         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
18771         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
18772         (_nss_files_gethostbyname4_r): Pass local stream to
18773         internal_setent, internal_getent and internal_endent.  Remove
18774         locking.
18776 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18778         * tst-strfmon1.c (tests): Update expected currency symbol.
18780 2015-05-08  Roland McGrath  <roland@hack.frob.com>
18782         * sysdeps/nacl/gethostname.c: New file.
18784 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
18786         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
18787         and sinh.
18788         * math/auto-libm-test-out: Regenerated.
18789         * sysdeps/i386/fpu/libm-test-ulps: Update.
18790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18792 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
18794         [BZ #18125]
18795         * stdlib/tst-setcontext3.c: New file.
18796         * stdlib/tst-setcontext3.sh: New file.
18797         * stdlib/Makefile (tests): Add tst-setcontext3.
18798         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
18799         to verify test program created output file.
18800         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
18801         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
18802         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
18803         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
18805 2015-05-06  Roland McGrath  <roland@hack.frob.com>
18807         [BZ #18383]
18808         * elf/tst-tlsalign.c: New file.
18809         * elf/tst-tlsalign-static.c: New file.
18810         * elf/tst-tlsalign-lib.c: New file.
18811         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
18812         (tests-static): Add tst-tlsalign-static.
18813         (modules-names): Add tst-tlsalign-lib.
18814         (test-xfail-tst-tlsalign): New variable.
18815         (test-xfail-tst-tlsalign-static): New variable.
18817         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
18818         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
18820 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
18822         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
18823         csqrt, erfc, sin and sincos.
18824         * math/auto-libm-test-out: Regenerated.
18825         * sysdeps/i386/fpu/libm-test-ulps: Update.
18826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18828 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18830         * sysdeps/aarch64/libm-test-ulps: Update.
18832 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
18834         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
18835         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
18836         * math/auto-libm-test-out: Regenerated.
18837         * sysdeps/i386/fpu/libm-test-ulps: Update.
18838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18840 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18842         [BZ #18265]
18843         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
18844         (wcsncpy): Likewise.
18846 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18848         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18849         Assume __ASSUME_FALLOCATE is always true.
18850         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18851         (__posix_fallocate64_l64): Likweise.
18852         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
18853         (posix_fallocate): Likewise.
18854         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
18855         (__posix_fallocate64_l64): Likewise.
18856         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18857         [!__ASSUME_FALLOCATE]: Add comment.
18859 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18861         * sysdeps/unix/sysv/linux/i386/Makefile
18862         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
18863         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
18864         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
18865         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18866         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18867         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
18868         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
18870 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
18872         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
18873         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
18874         tgamma.
18875         * math/auto-libm-test-out: Regenerated.
18876         * sysdeps/i386/fpu/libm-test-ulps: Update.
18877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18879 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18881         * math/auto-libm-test-in: Add more tests of tgamma.
18882         * math/auto-libm-test-out: Regenerated.
18883         * sysdeps/i386/fpu/libm-test-ulps: Update.
18884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18886         * math/auto-libm-test-in: Add more tests of tanh.
18887         * math/auto-libm-test-out: Regenerated.
18888         * sysdeps/i386/fpu/libm-test-ulps: Update.
18889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18891         * math/auto-libm-test-in: Add more tests of tan.
18892         * math/auto-libm-test-out: Regenerated.
18893         * sysdeps/i386/fpu/libm-test-ulps: Update.
18894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18896         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
18897         * math/auto-libm-test-out: Regenerated.
18898         * sysdeps/i386/fpu/libm-test-ulps: Update.
18899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18901         * math/auto-libm-test-in: Add another test of pow.
18902         * math/auto-libm-test-out: Regenerated.
18903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18905         * math/auto-libm-test-in: Add more tests of lgamma.
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 log, log10, log2 and
18911         log1p.
18912         * math/auto-libm-test-out: Regenerated.
18913         * sysdeps/i386/fpu/libm-test-ulps: Update.
18914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18916 2015-05-01  Mark Wielaard  <mjw@redhat.com>
18918         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
18919         Elf64_Chdr structs and ELFCOMPRESS constants.
18921 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18923         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
18924         expm1.
18925         * math/auto-libm-test-out: Regenerated.
18926         * sysdeps/i386/fpu/libm-test-ulps: Update.
18927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18929         * math/auto-libm-test-in: Add more tests of erf and erfc.
18930         * math/auto-libm-test-out: Regenerated.
18931         * sysdeps/i386/fpu/libm-test-ulps: Update.
18932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18934 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18936         * config.h.in (HAVE_AARCH64_BE): Add.
18938 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
18940         * math/auto-libm-test-in: Add more tests of csqrt.
18941         * math/auto-libm-test-out: Regenerated.
18942         * sysdeps/i386/fpu/libm-test-ulps: Update.
18943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18945         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18946         * math/auto-libm-test-out: Regenerated.
18947         * sysdeps/i386/fpu/libm-test-ulps: Update.
18948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18950         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
18952 2015-04-29  Roland McGrath  <roland@hack.frob.com>
18954         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
18955         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
18957         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
18958         (euidaccess, eaccess): Define as weak aliases.
18960         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
18961         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
18962         but __suseconds_t is often 'long int' so some sources assume that
18963         type is being used (e.g. they use %ld to print tv_usec).
18965 2015-04-29  Florian Weimer  <fweimer@redhat.com>
18967         [BZ #18007]
18968         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
18969         (CVE-2014-8121)
18970         * nss/tst-nss-getpwent.c: New file.
18971         * nss/Makefile (tests): Add new test.
18973 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
18975         [BZ #18346]
18976         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
18977         exponents less than 48 as cases where high part of mantissa needs
18978         examining to determine whether argument is integral.
18979         * math/libm-test.inc (round_test_data): Add more tests.
18981 2015-04-28  Mark Wielaard  <mjw@redhat.com>
18983         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
18985 2015-04-27  David S. Miller  <davem@davemloft.net>
18987         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
18988         __tls_get_addr.
18989         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18991 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
18993         [BZ#18333]
18994         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
18996 2015-04-27  Florian Weimer  <fweimer@redhat.com>
18998         [BZ#18333]
18999         * time/tzset.c (parse_tzname): Return error on memory allocation
19000         failure.
19001         * test-skeleton.c (struct temp_name_list): Change type of name
19002         member to non-const.
19003         (add_temp_file): Create a copy of the file name.
19004         (delete_temp_files): Deallocate memory.
19005         (create_temp_file): Add comment.
19007 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19009         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
19010         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
19012 2015-04-24  Roland McGrath  <roland@hack.frob.com>
19014         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
19015         * sysdeps/arm/configure: Regenerated.
19017 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19019         [BZ #17715]
19020         * time/tzfile.c (__tzfile_read): Check for large values of
19021         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
19022         * time/tzset.c (__tzstring_len): New function, based on the old
19023         __tzstring function.
19024         (__tzstring): Call __tzstring_len.
19025         (parse_tzname): New helper function extracted from
19026         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
19027         the input string.
19028         (parse_offset): New helper function extracted from
19029         __tzset_parse_tz.  Replace switch with fallthrough with
19030         initialization before sscanf.
19031         (parse_rule): Likewise.
19032         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
19033         new-style function definition.
19034         * timezone/Makefile (tests): Add tst-tzset.
19035         (tst-tzset.out): Dependencies on time zone files.
19036         (tst-tzset-ENV): Set TZDIR.
19037         (testdata/XT%): Copy crafted time zone files.
19038         * timezone/README: Mention crafted time zone files.
19039         * timezone/testdata/XT1, timezone/testdata/XT2,
19040         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
19041         files.
19042         * timezone/tst-tzset.c: New test.
19044 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19046         * Makeconfig (+gccwarn): Remove -Winline.
19048 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19050         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
19052 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19054         * NEWS: Mention sysconf() cache information support for s390.
19055         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
19057 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
19059         * math/k_casinh.c (__kernel_casinh): Use __copysign.
19060         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
19061         (__nearbyint): Likewise.
19062         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
19063         (copysignl): Likewise.
19065 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
19067         [BZ #18287]
19068         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
19069         based on padding.  (CVE-2015-1781)
19071 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19073         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
19074         libc-vdso.h.
19075         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
19076         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
19077         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
19078         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19079         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19080         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
19081         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
19082         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19083         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19084         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
19085         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19086         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19087         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19088         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
19089         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19090         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
19091         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
19092         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
19093         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
19094         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
19095         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
19096         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
19097         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
19099 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
19101         * stdlib/setenv.c (__add_to_environ):
19102         Dump core quickly if setenv (..., NULL, ...) is called.
19103         This time, do it the right way, and pacify GCC with a pragma.
19105 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19107         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
19108         IMAP->l_prev cannot be null, and #if out the code for the contrary
19109         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
19110         believe that NS (&_dl_ns[NSID]) could point outside the array.
19112         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
19113         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
19114         before using NSID as an index.
19116 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
19118         [BZ #17825]
19119         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
19120         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
19121         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19123 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19125         Add preliminary port to Google Native Client on ARM.
19126         * abi-tags (.*-.*-nacl.*): New entry.
19127         * sysdeps/arm/nacl: New directory.
19128         * sysdeps/nacl: New directory.
19130 2015-04-16  David S. Miller  <davem@davemloft.net>
19132         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
19133         lowlevellock-futex.h
19135 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
19137         * sysdeps/tile/configure.ac: New file.
19138         * sysdeps/tile/configure: Regenerated.
19140 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19142         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
19143         conditionals for weak_alias and libc_hidden_weak.
19144         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
19145         libc_hidden_weak and weak_alias.
19146         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19147         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19148         and weak_alias for static one.
19150 2015-04-15  David S. Miller  <davem@davemloft.net>
19152         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19154 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19156         [BZ #18206]
19157         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19158           Use signed comparision instead of substraction to avoid
19159           overflow bug.
19160         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19161           Take the sign of ret.
19162         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19163           Do not expect precise return values. Only the sign matters.
19164         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19165         * wcsmbs/test-wcsncmp.c: New File.
19166         * string/test-strncmp.c: Add wcsncmp support.
19168 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19170         [BZ #6792]
19171         * math/w_log1p.c: New file.
19172         * math/w_log1pf.c: Likewise.
19173         * math/w_log1pl.c: Likewise.
19174         * math/Makefile (libm-calls): Add w_log1p.
19175         * math/s_log1pl.c (log1pl): Remove weak_alias.
19176         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19177         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19178         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19179         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19180         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19181         [NO_LONG_DOUBLE] (log1pl): Likewise.
19182         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
19183         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
19184         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
19185         (log1p): Remove long_double_symbol.
19186         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
19187         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
19188         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
19189         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
19190         remove weak_alias for corresponding log1p function.
19191         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
19192         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
19193         * sysdeps/ia64/fpu/w_log1p.c: New file.
19194         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
19195         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
19196         * math/libm-test.inc (log1p_test_data): Add errno expectations.
19198 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
19200         [BZ #18247]
19201         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
19202         decimal exponent by 1.
19203         * stdlib/tst-strtod-round-data: Add more tests.
19204         * stdlib/tst-strtod-round.c (tests): Regenerated.
19206 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
19208         * math/auto-libm-test-in: Add more tests of clog and clog10.
19209         * math/auto-libm-test-out: Regenerated.
19210         * sysdeps/i386/fpu/libm-test-ulps: Update.
19211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19213 2015-04-09  Roland McGrath  <roland@hack.frob.com>
19215         * Makeconfig (module-cppflags): Exclude all .v.i files.
19216         (skip-module-cppflags): Variable removed.
19218         * configure.ac (libc_config_ok): Initialize before reading
19219         preconfigure scripts, not after.
19220         * configure: Regenerated.
19222         * test-skeleton.c (TIMEOUT): Move #define to top level.
19223         (main): Grok environment variable TEST_DIRECT.  If set, print
19224         test expectation details into that file and then behave as if
19225         given --direct.
19227 2015-04-09  Florian Weimer  <fweimer@redhat.com>
19229         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
19230         warning on 32-bit.
19232 2015-04-08  David S. Miller  <davem@davemloft.net>
19234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19236 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19238         * math/auto-libm-test-in: Add more tests of atanh.
19239         * math/auto-libm-test-out: Regenerated.
19240         * sysdeps/i386/fpu/libm-test-ulps: Update.
19241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19243         * math/auto-libm-test-in: Add more tests of atan.
19244         * math/auto-libm-test-out: Regenerated.
19245         * sysdeps/i386/fpu/libm-test-ulps: Update.
19246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19248 2015-04-08  Florian Weimer  <fweimer@redhat.com>
19250         * elf/pldd.c (main): Rewrite to use struct
19251         scratch_buffer instead of extend_alloca.
19252         * elf/pldd-xx.c (find_maps): Likewise.
19253         * grp/initgroups.c: Include <scratch_buffer.h> instead of
19254         <alloca.h>.
19255         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
19256         scratch_buffer instead of extend_alloca.
19257         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
19258         grp/compat-initgroups.c.
19259         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19260         Rewrite to use struct scratch_buffer instead of extend_alloca.
19261         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19262         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19264 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19266         * math/auto-libm-test-in: Add more tests of cbrt.
19267         * math/auto-libm-test-out: Regenerated.
19268         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19270         * math/auto-libm-test-in: Add more tests of cabs.
19271         * math/auto-libm-test-out: Regenerated.
19272         * sysdeps/i386/fpu/libm-test-ulps: Update.
19273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19275         [BZ #18210]
19276         [BZ #18211]
19277         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19278         (__ieee754_atan2): Set FE_TONEAREST mode for internal
19279         computations.
19280         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19281         clog10.
19282         * math/auto-libm-test-out: Regenerated.
19283         * sysdeps/i386/fpu/libm-test-ulps: Update.
19284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19286         [BZ #18197]
19287         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19288         (atan): Set FE_TONEAREST mode for internal computations.
19289         * math/auto-libm-test-in: Add more tests of atan.
19290         * math/auto-libm-test-out: Regenerated.
19292 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
19294         [BZ #17930]
19295         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19297 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19299         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19301 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19303         * include/scratch_buffer.h: New file.
19304         * malloc/scratch_buffer_grow.c: Likewise.
19305         * malloc/scratch_buffer_grow_preserve.c: Likewise.
19306         * malloc/scratch_buffer_set_array_size.c: Likewise.
19307         * malloc/tst-scratch_buffer.c: Likewise.
19308         * malloc/Makefile (routines): Add scratch_buffer_grow.
19309         (tests): Add test case.
19310         * malloc/Versions (GLIBC_PRIVATE): Export
19311         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19312         __libc_scratch_buffer_set_array_size.
19314 2015-04-06  Richard Henderson  <rth@redhat.com>
19316         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19317         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19319         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19320         unsigned int before printing.
19322 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19324         [BZ #17596]
19325         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19326         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19328 2015-04-02  Florian Weimer  <fweimer@redhat.com>
19330         * include/libc-internal.h (libc_max_align_t): Define.
19332 2015-04-02  Andreas Schwab  <schwab@suse.de>
19334         [BZ #16850]
19335         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19337 2015-04-02  Mel Gorman  <mgorman@suse.de>
19339         [BZ #17195]
19340         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
19341         as well as the main arena.
19343 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19345         [BZ #18185]
19346         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
19347         sharing L2 cache to 2 for Silvermont/Knights Landing.
19349 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19351         [BZ #17711]
19352         * config.make.in (have-protected-data): New.
19353         * configure.ac: Check linker support for protected data symbol.
19354         * configure: Regenerated.
19355         * elf/Makefile (modules-names): Add tst-protected1moda and
19356         tst-protected1modb if $(have-protected-data) is yes.
19357         (tests): Add tst-protected1a and tst-protected1b if
19358         $(have-protected-data) is yes.
19359         ($(objpfx)tst-protected1a): New.
19360         ($(objpfx)tst-protected1b): Likewise.
19361         (tst-protected1modb.so-no-z-defs): Likewise.
19362         * elf/tst-protected1a.c: New file.
19363         * elf/tst-protected1b.c: Likewise.
19364         * elf/tst-protected1mod.h: Likewise.
19365         * elf/tst-protected1moda.c: Likewise.
19366         * elf/tst-protected1modb.c: Likewise.
19368 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19370         [BZ #17711]
19371         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
19372         indicates it is called from do_lookup_x on relocation against
19373         protected data, skip the data definion in the executable from
19374         copy reloc.
19375         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
19376         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
19377         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
19378         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
19379         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
19380         otherwise to 0.
19381         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19382         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
19383         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
19384         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19385         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
19386         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
19388 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
19390         * sysdeps/nptl/pthread.h: Remove duplicate definition of
19391         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
19393 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
19395         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
19396         THREAD_SETMEM_NC.
19397         * sysdeps/x86_64/nptl/tls.h: Ditto.
19399 2015-03-27  Roland McGrath  <roland@hack.frob.com>
19401         * dlfcn/tststatic.c (main): Converted to ...
19402         (do_test): ... this.
19403         (TEST_FUNCTION): New macro.
19404         Include test-skeleton.c.
19406 2015-03-26  Alan Modra  <amodra@gmail.com>
19408         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
19409         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
19410         zero for undefined weak.
19411         (elf_machine_plt_conflict): Similarly.
19413 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19415         * math/auto-libm-test-in: Add more tests of acosh, asinh and
19416         atanh.
19417         * math/auto-libm-test-out: Regenerated.
19418         * sysdeps/i386/fpu/libm-test-ulps: Update.
19419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19421         * math/auto-libm-test-in: Add another test of asin.
19422         * math/auto-libm-test-out: Regenerated.
19423         * sysdeps/i386/fpu/libm-test-ulps: Update.
19424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19426         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
19427         Remove macro.
19428         (LLL_EBX_REG): Likewise.
19429         (LLL_ENTER_KERNEL): Likewise.
19431         * math/auto-libm-test-in: Add more tests of asin.
19432         * math/auto-libm-test-out: Regenerated.
19433         * sysdeps/i386/fpu/libm-test-ulps: Update.
19434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19436         [BZ #18138]
19437         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
19438         libc_do_syscall_args): New structure.
19439         (INTERNAL_SYSCALL_MAIN_0): New macro.
19440         (INTERNAL_SYSCALL_MAIN_1): Likewise.
19441         (INTERNAL_SYSCALL_MAIN_2): Likewise.
19442         (INTERNAL_SYSCALL_MAIN_3): Likewise.
19443         (INTERNAL_SYSCALL_MAIN_4): Likewise.
19444         (INTERNAL_SYSCALL_MAIN_5): Likewise.
19445         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
19446         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
19447         Replace conditional definitions by conditional definitions of ....
19448         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
19449         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
19450         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
19451         (libpthread-sysdep_routines): Add libc-do-syscall.
19452         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
19453         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
19454         to __NR_futex not 240.
19456 2015-03-25  Alan Modra  <amodra@gmail.com>
19458         * NEWS: Advertise TLS optimization.
19459         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
19460         (DT_PPC_NUM): Increment.
19461         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
19462         (CHECK_STATIC_TLS): Use here.
19463         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
19464         TLS descriptors.
19465         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19466         * sysdeps/powerpc/dl-tls.c: New file.
19467         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
19468         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
19469         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
19470         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
19471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
19472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
19473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
19475 2015-03-25  Alan Modra  <amodra@gmail.com>
19477         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
19478         for overlapping .opd entries" to "support...".
19479         * sysdeps/powerpc/powerpc64/configure: Regenerate
19481 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19483         * math/auto-libm-test-in: Add more tests of acos.
19484         * math/auto-libm-test-out: Regenerated.
19485         * sysdeps/i386/fpu/libm-test-ulps: Update.
19486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19488         * math/auto-libm-test-in: Add more tests of expm1.
19489         * math/auto-libm-test-out: Regenerated.
19490         * sysdeps/i386/fpu/libm-test-ulps: Update.
19491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19493 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
19495         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19496         * math/auto-libm-test-out: Regenerated.
19497         * sysdeps/i386/fpu/libm-test-ulps: Update.
19498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19500         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19503         * math/auto-libm-test-in: Add more tests of log2.
19504         * math/auto-libm-test-out: Regenerated.
19505         * sysdeps/i386/fpu/libm-test-ulps: Update.
19506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19508 2015-03-23  Roland McGrath  <roland@hack.frob.com>
19510         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
19511         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
19512         _IO_IS_APPENDING bit in READ_WRITE instead.
19514 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19516         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19517         (__determine_cpumask_size): Replace extend_alloca with a
19518         variable-length array.  Do not treat res == 0 as an error.
19520 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19522         [BZ #18100]
19523         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
19524         and integer overflow.
19525         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
19526         (main): Add integer overflow tests.
19527         * manual/pattern.texi (Calling Wordexp): Document additional use
19528         for WRDE_SYNTAX.
19530 2015-03-23  Alan Modra  <amodra@gmail.com>
19532         * config.h.in: Remove HAVE_ASM_PPC_REL16.
19533         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
19534         and false branch of conditional.
19535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19536         Likewise.
19538 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
19540         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
19541         libc-modules.h
19542         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
19543         unused declaration of _hurd_intr_rpc_msg_in_trap.
19544         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
19545         defined instead of whether it is non-zero.
19546         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
19547         input constraint instead of both input and output constraint.  Use ecx
19548         clobber instead of %ecx.
19549         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
19550         mutex_unlock): Use a statement expression instead of an expression list.
19551         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
19552         type to vm_size_t instead of vm_address_t.
19553         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
19554         defined instead of whether it is non-zero.
19555         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
19556         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
19557         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
19558         comparisons with mapaddr.
19559         * nscd/nscd-client.h: Include <time.h>.
19560         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
19561         9th parameter to __vm_region instead of int.
19562         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
19563         * scripts/check-local-headers.sh (exclude): Add device/,
19564         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
19565         cthreads.h.
19567 2015-03-19  Roland McGrath  <roland@hack.frob.com>
19569         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
19570         to account for alignment padding.
19571         * sysdeps/arm/memmove.S: Likewise.
19573 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
19575         * sysdeps/unix/sysv/linux/generic/README: New file.
19577 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
19579         [BZ #18138]
19580         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
19581         (futex_abstimed_wait)
19582         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
19583         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
19584         of lll_futex_timed_wait.
19586 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
19588         [BZ #17542]
19589         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
19591 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
19593         [BZ #17090]
19594         [BZ #17620]
19595         [BZ #17621]
19596         [BZ #17628]
19597         * NEWS: Update.
19598         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
19599         entries with Static TLS too.  Skip entries past the end of the
19600         allocated DTV, from Alan Modra.
19601         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
19602         Static TLS DTV entry set up from...
19603         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
19604         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
19605         * nptl/allocatestack.c (init_one_static_tls): ... and here...
19606         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
19607         for Static TLS.
19608         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
19609         that the slot we find is associated with the given map before
19610         using its generation count.
19611         * nptl_db/db_info.c: Include ldsodefs.h.
19612         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
19613         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
19614         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
19615         (link_map::l_tls_offset): New struct field.
19616         (dtv_t::counter): Likewise.
19617         (rtld_global): New struct.
19618         (_rtld_global): New rtld variable.
19619         (dl_tls_dtv_slotinfo_list): New rtld global field.
19620         (dtv_slotinfo_list): New struct.
19621         (dtv_slotinfo): Likewise.
19622         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
19623         (td_lookup): Rename to...
19624         (td_mod_lookup): ... this.  Use new mod parameter instead of
19625         LIBPTHREAD_SO.
19626         * nptl_db/td_thr_tlsbase.c: Include link.h.
19627         (dtv_slotinfo_list, dtv_slotinfo): New functions.
19628         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
19629         addresses even if the DTV is out of date or missing them.
19630         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
19631         index zero-length arrays.
19632         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
19633         (td_lookup): Make it a macro implemented in terms of...
19634         (td_mod_lookup): ... this declaration.
19635         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
19636         (DB_MAIN_VARIABLE): Likewise.
19638 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19640         [BZ #18134]
19641         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19643 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
19645         * stdlib/setenv.c (__add_to_environ): Revert previous change.
19647 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19649         [BZ #18128]
19650         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
19651         (atomic_add, atomic_increment_and_test)
19652         (atomic_decrement_and_test): Fix 64-bit arithmetic.
19654 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
19656         * stdlib/setenv.c (__add_to_environ):
19657         Dump core quickly if setenv (..., NULL, ...) is called.
19659 2015-03-13  Roland McGrath  <roland@hack.frob.com>
19661         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
19662         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
19663         all the necessary asm magic in one place.
19664         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
19665         using those.
19667 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
19669         [BZ #14906]
19670         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
19671         traced file mtime. Use consistent log message.
19672         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
19673         (register_traced_file): Call install_watches. Always set mtime.
19674         (invalidate_cache): Iterate over all trace files. Call install_watches.
19675         (inotify_check_files): Don't inline. Handle watching parent
19676         directories and configuration file movement in and out.
19677         (handle_inotify_events): New function.
19678         (main_loop_poll): Call handle_inotify_events.
19679         (main_loop_epoll): Likewise.
19680         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
19681         (struct traced_file): Use array of inotify fds. Add parent directory,
19682         and basename.
19683         (struct database_dyn): Remove unused file_mtime.
19684         (init_traced_file): New inline function.
19685         (define_traced_file): New macro.
19686         * nss/nss_db/db-init.c: Use define_traced_file.
19687         (_nss_db_init): Use init_traced_file.
19688         * nss/nss_files/files-init.c: Use define_traced_file.
19689         (_nss_files_init): Use init_traced_file.
19691 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
19693         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
19694         [_LIBC]: Do not include <stdlib.h>.
19695         [!_LIBC] (abort): Remove declaration.
19696         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
19697         _FP_STATIC_ASSERT instead of conditionally calling abort.
19698         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
19699         (_FP_EXTEND_CNAN): Likewise.
19700         (FP_TRUNC): Likewise.
19701         (__FP_CLZ): Likewise.
19702         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
19704 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
19706         * manual/string.texi (XPG basename): Fix prototype.
19708 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19710         [BZ #18080]
19711         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
19712         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19713         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
19714         (__setcontext): Likewise.
19715         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
19716         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19717         Call rt_sigprocmask syscall one time to set new signal mask
19718         and retrieve the current signal mask instead of two calls.
19719         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
19720         (__swapcontext): Likewise.
19721         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
19722         * stdlib/tst-setcontext2.c: New file.
19724 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19726         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19728 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
19730         [BZ #18093]
19731         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
19732         the wrong size.
19734 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19736         [BZ #18043]
19737         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
19739 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19741         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
19742         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
19743         Remove define.
19744         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
19745         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
19746         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
19747         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
19748         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
19749         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
19750         define.
19751         * nptl_db/td_symbol_list.c (td_lookup): Remove
19752         HAVE_ASM_GLOBAL_DOT_NAME code.
19753         * sysdeps/powerpc/powerpc64/configure.ac: Remove
19754         HAVE_ASM_GLOBAL_DOT_NAME check.
19755         * sysdeps/powerpc/powerpc64/configure: Regenerate.
19756         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
19757         (DOT_LABEL): Remove define.
19758         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
19759         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
19760         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
19761         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
19762         (__TLS_GET_ADDR): Likewise.
19763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
19764         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
19766 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
19768         [BZ #18111]
19769         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
19770         (_FPU_SETCW): Initialize cw from fpsr before storing.
19771         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
19772         (fesetexceptflag): Rewrite using fpu_control.h.
19773         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
19775 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
19777         [BZ #18110]
19778         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
19779         asms.
19780         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19782 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
19784         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
19785         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
19786         abort.
19787         (_FP_FMA): Likewise.
19788         (_FP_DIV): Likewise.
19790 2015-03-10  Roland McGrath  <roland@hack.frob.com>
19792         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
19793         with 0 in that case.
19794         * Makefile (summarize-tests): New canned sequence, factored out of
19795         commands for targets tests and xtests.  Display summary lines that
19796         don't start with PASS: or XFAIL: rather than ones that do start with
19797         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
19798         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
19799         do start with ERROR: or FAIL:.
19800         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
19801         (except for [$(build-shared) = yes]).
19802         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
19803         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
19804         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
19805         * nptl/Makefile: Revert 2015-03-04 changes.
19806         [$(CXX) empty] (tests-unsupported): New variable.
19807         * debug/Makefile: Likewise.
19809         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
19810         gnulib file.  Replace __attribute with __attribute__ throughout.
19812 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
19814         * sysdeps/hppa/fpu/libm-test-ulps: Update.
19816 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19818         [BZ #18104]
19819         * math/auto-libm-test-in: Add another test of pow.
19820         * math/auto-libm-test-out: Regenerated.
19822 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19824         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
19825         $(config-cflags-nofma).
19827 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19829         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
19830         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
19831         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
19832         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
19833         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
19834         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
19835         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
19836         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
19837         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
19838         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
19839         Add comment on closing #endif.
19841 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19843         * posix/wordexp.c (CHAR_IN_SET): New macro.
19844         (parse_param): Use it.
19846 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19848         * sysdeps/powerpc/fpu/libm-test-ulps: update.
19850 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19852         [BZ #18043]
19853         * posix/wordexp.c (parse_param): Fix buffer overflow.
19854         * posix/wordexp-test.c (test_case): Add test case.
19856 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19858         [BZ #18042]
19859         * posix/wordexp.c (parse_backtick): Fix off-by-one.
19860         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
19862 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19864         [BZ #18043]
19865         * posix/wordexp-test.c (test_case): Add test for BZ #18043
19866         (do_bz18043): Delete.
19867         (at_page_end): New.
19868         (testit): Refactor to have words at the edge of unreadable page.
19870 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19872         [BZ #16734]
19873         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
19874         Cleanup read-only streams as well.
19875         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
19877 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19879         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
19880         <bits/libc-lockP.h>
19882 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
19884         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
19885         on [__KERNEL__].
19886         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
19887         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
19888         * soft-fp/op-common.h (_FP_DECL): Likewise.
19890 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19892         * elf/ifuncdep2.c (global): Replace
19893         __attribute__((visibility("protected"))) with
19894         asm (".protected global").
19895         * elf/ifuncmod1.c (global): Likewise.
19896         * elf/ifuncmod5.c (global): Likewise.
19898 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
19900         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
19901         <asm/sfp-machine.h> instead of <sfp-machine.h>.
19903 2015-03-06  Roland McGrath  <roland@hack.frob.com>
19905         * manual/install.texi (Configuring and compiling):
19906         Document test-wrapper-env-only.
19907         * INSTALL: Regenerated.
19909 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19911         [BZ #18043]
19912         * posix/wordexp.c (parse_param): Fix buffer overflow.
19913         * posix/wordexp-test.c (do_bz18043): Add test case.
19915 2015-03-06  Vincent Bernat  <vincent@bernat.im>
19917         * time/tst-strptime2.c (do_test): Ensure failing tests are
19918         reported correctly.
19919         * time/tst-strptime3.c (do_test): Likewise.
19921 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
19923         Fix aio_error thread-safety.
19924         * sysdeps/pthread/aio_error.c: New file
19925         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
19926         synchronization.
19928 2015-03-06  Florian Weimer  <fweimer@redhat.com>
19930         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
19931         (group_number, vfprintf): Use it.
19932         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
19933         (JUMP, REF): Use it.
19934         (WORK_BUFFER_SIZE): New enum constant.
19935         (process_arg, vfprintf): Use it.
19937 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
19939         * manual/errno.texi (Error Messages): Complete example function
19940         by adding missing #define.
19941         (program_invocation_name): Add statement indicating GNU
19942         extension and reference which header file declares the variable.
19943         (program_invocation_short_name): Likewise.
19945 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
19947         * manual/errno.texi (Error Messages): Delete strerror ISO C89
19948         compatibility note.
19950 2015-03-05  Roland McGrath  <roland@hack.frob.com>
19952         * Makeconfig (test-wrapper-env-only): New variable.
19953         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
19954         then use that with $(test-wrapper-env-only) rather than using
19955         $(test-wrapper-env) $(run-program-env) $($*-ENV).
19957 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19959         [BZ #18082]
19960         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
19961         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
19962         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
19963         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
19964         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
19965         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
19966         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
19967         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
19968         Likewise.
19969         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
19970         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
19971         Likewise.
19972         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
19973         Likewise.
19974         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
19975         Likewise.
19976         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
19977         Likewise.
19978         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
19979         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
19980         Likewise.
19981         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
19982         Likewise.
19983         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
19984         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
19986 2015-03-04  Roland McGrath  <roland@hack.frob.com>
19988         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
19989         (ETH_ALEN): New macro.
19990         (struct ether_addr): Use it for length of ether_addr_octet.
19992         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
19993         (setdb): Don't call __nss_configure_lookup for "rpc".
19994         (do_test): Don't call test_rpc.
19995         (output_rpcent, test_rpc): Functions moved ...
19996         * sunrpc/test-rpcent.c: ... to this new file.
19997         * sunrpc/Makefile (tests): Add it.
19999         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
20000         __xpg_sigpause.
20001         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
20002         * nptl/tst-signal6.c: Likewise.
20003         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
20004         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
20006         * configure.ac (libc_cv_cxx_link_ok): New check.
20007         Reset CXX to empty if it fails to link.
20008         * configure: Regenerated.
20009         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
20010         bug-atexit3-lib only if $(CXX) is nonempty.
20011         * nptl/Makefile (tests): Likewise for tst-cancel24.
20012         (tests, tests-static): Likewise for tst-cancel24-static.
20013         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
20014         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
20015         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
20016         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
20018 2015-03-04  Andreas Schwab  <schwab@suse.de>
20020         [BZ #17631]
20021         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
20022         for non-GCC compilers.
20023         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20024         Likewise.
20026 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20028         [BZ #17776]
20029         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
20030         integer before bitwise and assembly operations.
20031         (feclearexcept): Likewise.
20032         * math/test-fenvinline.c: New file.
20033         * math/Makefile: Add test-fenvinline test.
20035 2015-03-03  Alan Modra  <amodra@gmail.com>
20037         [BZ #16512]
20038         * scripts/localplt.awk: Strip off symbol version.
20039         * NEWS: Mention bug fix.
20041 2015-03-02  Roland McGrath  <roland@hack.frob.com>
20043         * sysdeps/pthread/timer_routines.c
20044         (timer_free_list, thread_free_list, thread_active_list): Make static.
20046 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
20048         [BZ #17779]
20049         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20050         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20051         Undefine.
20052         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20053         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20054         Likewise.
20055         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20056         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20057         Likewise.
20059 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20061         [BZ #18036]
20062         * posix/fnmatch_loop.c (END): Detect invalid pattern.
20063         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
20065 2015-03-02  Andreas Schwab  <schwab@suse.de>
20067         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
20068         variable name.
20070 2015-03-02  Florian Weimer  <fweimer@redhat.com>
20072         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
20073         Return error status.
20075 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
20077         [BZ #15969]
20078         * locale/findlocale.c (_nl_find_locale): Introduce const
20079         version of loc_name and drop unsafe type casts.
20081 2015-02-27  Roland McGrath  <roland@hack.frob.com>
20083         * dlfcn/tststatic2.c (main): Converted to ...
20084         (do_test): ... this.
20085         (TEST_FUNCTION): New macro.
20086         Include test-skeleton.c.
20088 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
20090         [BZ #17711]
20091         * elf/Makefile (tests): Add vismain only if PIE is enabled.
20092         (tests-pie): Add vismain.
20093         (CFLAGS-vismain.c): New.
20094         * elf/vismain.c: Add comments for PIE requirement.
20096 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20098         [BZ #18046]
20099         [BZ #18047]
20100         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
20101         0x1p-56L as threshold for just returning the argument.
20102         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
20103         0x1p-32L as threshold for just returning the argument.
20104         * math/auto-libm-test-in: Add more tests of atanh.
20105         * math/auto-libm-test-out: Regenerated.
20106         * sysdeps/i386/fpu/libm-test-ulps: Update.
20107         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
20109 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20111         * string/bcopy.c (bcopy): Call memmove for performance.
20113 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20115         * string/bzero.c (__bzero): Call memset for performance.
20117 2015-02-27  John David Anglin  <dave.anglin@bell.net>
20119         [BZ #18068]
20120         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
20121         to 00100000.
20123 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20125         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
20127 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20129         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
20130         (__kernel_standard): Use CSTR macro when setting exc.name.
20131         * sysdeps/ieee754/Makefile [$(subdir) = math]
20132         (CFLAGS-k_standard.c): Remove variable.
20134         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
20135         setting p and q from "else if" to "else".
20136         (qzero): Likewise.
20137         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
20138         (qone): Likewise.
20139         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
20140         (qzerof): Likewise.
20141         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
20142         (qonef): Likewise.
20143         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
20144         (qzero): Likewise.
20145         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20146         (qone): Likewise.
20148         [BZ #18038]
20149         [BZ #18039]
20150         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20151         return pi/2 for arguments below 0x1p-113L.
20152         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20153         return pi/2 for arguments below 0x1p-106L.
20154         * math/auto-libm-test-in: Add more tests of acos.
20155         * math/auto-libm-test-out: Regenerated.
20157         [BZ #16351]
20158         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20159         (MO): New macro.
20160         (__ieee754_asin): Force underflow exception for results with small
20161         absolute value.
20162         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20163         (MO): New macro.
20164         (__ieee754_asinf): Force underflow exception for results with
20165         small absolute value.
20166         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20167         (__ieee754_asin): Force underflow exception for results with small
20168         absolute value.
20169         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20170         (__ieee754_asinf): Force underflow exception for results with
20171         small absolute value.
20172         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20173         (__ieee754_asinl): Force underflow exception for results with
20174         small absolute value.
20175         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20176         (__ieee754_asinl): Force underflow exception for results with
20177         small absolute value.
20178         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20179         (__ieee754_asinl): Force underflow exception for results with
20180         small absolute value.
20181         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20182         Include <math.h>.
20183         * math/auto-libm-test-in: Do not mark underflow exceptions as
20184         possibly missing for bug 16351.
20185         * math/auto-libm-test-out: Regenerated.
20187         [BZ #18030]
20188         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
20189         of power of 2 down when low part has opposite sign.
20190         * math/libm-test.inc (logb_test_data): Add more tests.
20192 2015-02-26  Andreas Schwab  <schwab@suse.de>
20194         [BZ #18032]
20195         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
20196         over collating symbol inside a bracket expression.  Minor cleanup.
20197         * posix/tst-fnmatch3.c (do_test): Add test case.
20199 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20201         [BZ #18029]
20202         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
20203         Adjust exponent of power of 2 down when low part has opposite
20204         sign.
20205         * math/libm-test.inc (ilogb_test_data): Add more tests.
20207 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
20209         [BZ #15969]
20210         * locale/findlocale.c (_nl_find_locale): Fix constness error in
20211         the previous change.
20213         [BZ #15969]
20214         * locale/findlocale.c (_nl_find_locale): Retry archive search
20215         after alias expansion.
20217 2015-02-25  Roland McGrath  <roland@hack.frob.com>
20219         * iconv/tst-iconv3.c (main): Converted to ...
20220         (do_test): ... this.
20221         (TEST_FUNCTION): New macro.
20222         Include test-skeleton.c.
20224         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
20225         (convert): Make function static.
20226         (test_unalign): Likewise.  Add const to argument pointee types.
20227         (main): Replace with static function do_test.
20228         Print "Succeeded." only if RET is zero.
20229         (TEST_FUNCTION): New macro.
20230         Include test-skeleton.c.
20232         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
20233         returns a null pointer.
20235 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20237         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
20238         to __memcpy_ppc only for static builds.
20240 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
20242         [BZ #18020]
20243         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
20244         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
20245         * math/auto-libm-test-in: Add more tests of asinh.
20246         * math/auto-libm-test-out: Regenerated.
20247         * sysdeps/i386/fpu/libm-test-ulps: Update.
20248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20250 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
20252         [BZ #15850]
20253         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
20254         and ip6_mtuinfo definitions here.
20255         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
20256         in this define too.  Update comment.
20258 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
20260         * elf/sprof.c (load_shobj): Tweak error message to match others.
20262 2015-02-24  Kevin Easton  <kevin@guarana.org>
20264         [BZ #16145] (partial fix)
20265         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20266         to reduce lock contention.
20268 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
20270         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20271         (struct timex): Update time comment.
20272         (ADJ_SETOFFSET): Define.
20274 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20276         [BZ #18019]
20277         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20278         2**56 not 2**28 as threshold for log (2x) formula.
20279         * math/auto-libm-test-in: Add more tests of acosh.
20280         * math/auto-libm-test-out: Regenerated.
20281         * sysdeps/i386/fpu/libm-test-ulps: Update.
20282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20284 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20286         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20287         parenthesis around the buf assignment.
20288         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20290 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20292         [BZ #16783]
20293         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20294         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20295         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20296         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20297         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20298         * math/libm-test.inc (scalb_test_data): Add more tests.
20300 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20302         [BZ #17916]
20303         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20304         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20306 2015-02-24  Eric Rannaud  <e@nanocritical.com>
20308         [BZ #17523]
20309         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20310         * io/bits/fcntl2.h (open): Use it.
20311         (openat): Likewise.
20312         * io/open.c (__libc_open): Likewise.
20313         * io/open64.c (__libc_open64): Likewise.
20314         * io/open64_2.c (__open64_2): Likewise.
20315         * io/open_2.c (__open_2): Likewise.
20316         * io/openat.c (__openat): Likewise.
20317         * io/openat64.c (__openat64): Likewise.
20318         * io/openat64_2.c (__openat64_2): Likewise.
20319         * io/openat_2.c (__openat_2): Likewise.
20320         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20321         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20322         * sysdeps/posix/open64.c (__libc_open64): Likewise.
20323         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20324         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20325         (__open_nocancel): Likewise.
20326         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20327         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20328         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20330 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20332         [BZ #14841]
20333         * resolv/gethnamaddr.c (getanswer): Skip logging if
20334         RES_USE_DNSSEC is set.
20335         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20337 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20339         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
20341 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
20343         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20344         201304L, for Unicode 7.
20346 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
20348         [BZ #17836]
20349         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
20350         shared library.  Add gmon-start.os otherwise.
20351         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
20352         $(objpfx)gmon-start.os if builing shared library.
20353         ($(objpfx)g$(static-start-installed-name)): Likewise.
20355 2015-02-23  Andreas Schwab  <schwab@suse.de>
20357         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
20359 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20361         [BZ #17269]
20362         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
20363         (enlarge_userbuf): Likewise.
20365 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
20367         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
20368         * math/atest-exp.c (TIMEOUT): Adjust to 200.
20369         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
20370         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
20372 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
20374         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
20375         expression inside statement expression.
20377 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20379         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
20380         <sysdeps/nptl/lowlevellock.h> and remove macros and
20381         functions that are now defined there.
20382         (SYS_futex): Remove.
20383         (lll_compare_and_swap): Remove.
20384         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
20386 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
20388         [BZ #17999]
20389         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
20390         instead of scandirat.
20391         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
20392         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
20393         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
20394         __scandirat.
20395         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
20396         (__scandirat): Declare.  Use libc_hidden_proto.
20397         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
20398         Remove variable.
20399         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20401 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20403         [BZ #15319]
20404         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
20405         (MO): New macro.
20406         (__ieee754_atan2): For results with small absolute value, force
20407         underflow exception and remove excess range and precision from
20408         return value.
20409         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
20410         (MO): New macro.
20411         (__ieee754_atan2f): For results with small absolute value, force
20412         underflow exception and remove excess range and precision from
20413         return value.
20414         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
20415         (MO): New macro.
20416         (__atan): For results with small absolute value, force underflow
20417         exception and remove excess range and precision from return value.
20418         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
20419         (MO): New macro.
20420         (__atanf): For results with small absolute value, force underflow
20421         exception and remove excess range and precision from return value.
20422         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
20423         <math.h>.
20424         (__ieee754_atan2): Force underflow exception for results with
20425         small absolute value.
20426         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
20427         <math_private.h>.
20428         (atan): Force underflow exception for results with small absolute
20429         value.
20430         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
20431         (__atanf): Force underflow exception for results with small
20432         absolute value.
20433         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
20434         <math.h>.
20435         (__atanl): Force underflow exception for results with small
20436         absolute value.
20437         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
20438         (__atanl): Force underflow exception for results with small
20439         absolute value.
20440         * sysdeps/x86/fpu/bits/mathinline.h
20441         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
20442         (__ieee754_atan2): Only define inline for long double.
20443         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20444         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
20445         * math/auto-libm-test-in: Do not mark underflow exceptions as
20446         possibly missing for bug 15319.  Add more tests of atan2.
20447         * math/auto-libm-test-out: Regenerated.
20448         * math/libm-test.inc (casin_test_data): Do not mark underflow
20449         exceptions as possibly missing for bug 15319.
20450         (casinh_test_data): Likewise.
20451         * sysdeps/i386/fpu/libm-test-ulps: Update.
20453 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
20455         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
20456         * sysdeps/mips/bits/endian.h: Fix comments.
20458 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20460         [BZ #17996]
20461         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
20462         (hdestroy_r): Likewise.
20463         (hsearch_r): Likewise.
20464         (__hcreate_r): Declare and use libc_hidden_proto.
20465         (__hdestroy_r): Likewise.
20466         (__hsearch_r): Likewise.
20467         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
20468         (hcreate): Call __hcreate_r instead of hcreate_r.
20469         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
20470         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
20471         as weak alias of __hcreate_r.
20472         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
20473         __hdestroy_r.
20474         (hsearch_r): Rename to __hsearch_r and define as weak alias of
20475         __hsearch_r.
20476         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
20477         Remove variable.
20478         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20479         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20480         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20481         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20483 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20485         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
20486         arena_lock into a single arena_get.
20488 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
20490         * dl-reloc.c: Inlucde libc-internal.h.
20491         (_dl_try_allocate_static_tls): Call ALIGN_UP.
20492         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
20493         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
20494         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
20495         (grow_heap): Likewise.
20496         * malloc/malloc.c: Include libc-internal.h.
20497         (do_check_malloc): Call powerof2.
20498         (sysmalloc): Use pagesize. Call ALIGN_UP.
20499         (systrim): Use pagesize.
20500         (mremap_chunk): Use pagesize. Call ALIGN_UP.
20501         (__libc_valloc): Use pagesize.
20502         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
20504 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20506         [BZ #17991]
20507         * include/sys/resource.h (__getrlimit64): Declare.  Use
20508         libc_hidden_proto.
20509         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
20510         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
20511         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
20512         getrlimit64.
20513         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
20514         __getrlimit64.
20515         [!getrlimit64] (getrlimit64): Define as weak alias of
20516         __getrlimit64.  Use libc_hidden_weak.
20517         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
20518         using __getrlimit64 not __new_getrlimit64.
20519         (__GI_getrlimit64): Likewise.
20520         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
20521         Likewise.
20522         (__GI_getrlimit64): Likewise.
20523         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
20524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
20525         (getrlimit): Add __getrlimit64 alias.
20526         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
20527         Likewise.
20528         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
20529         Remove variable.
20530         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20531         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20533 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
20535         * libio/fileops.c: Add missing sys/mman.h
20536         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
20538 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20540         * manual/math.texi (Errors in Math Functions): Clarify goals
20541         regarding inexact and underflow exceptions.
20543 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20545         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
20546         * sysdeps/mips/memset.S: Ditto.
20548 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20550         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
20552 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20554         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
20555         (__v1longjmp): Remove versioned symbol.
20556         (__v1siglongjmp): Remove alias and versioned symbol.
20557         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
20558         (__v2siglongjmp): Likewise.
20560 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20562         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
20564 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
20566         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
20568 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20570         [BZ #17987]
20571         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
20572         zero result does not depend on the sign resulting from
20573         subtraction.
20574         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20575         Likewise.
20576         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20577         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20578         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20579         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20580         * math/libm-test.inc (remquo_test_data): Add more tests.
20582 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
20584         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
20585         Problem reported by J William Piggott.
20587 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20589         [BZ #17978]
20590         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
20591         products 4 * y and 2 * y where those would overflow.
20592         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20593         Likewise.
20594         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20595         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20596         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20597         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20598         * math/libm-test.inc (remquo_test_data): Add more tests.
20600         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
20602         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
20603         [defined _COMPILING_NEWLIB].
20604         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
20605         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
20607         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
20608         [!defined __mips_isa_rev || __mips_isa_rev < 6].
20610 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20612         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
20613         acquired.
20615 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
20617         [BZ #17792]
20618         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
20619         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
20620         HOST_STACK_END_ADDR): Likewise.
20622 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
20624         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
20625         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
20626         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
20628 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20630         * sysdeps/generic/c++-types.data: New file.
20631         * sysdeps/generic/ld.abilist: New file.
20632         * sysdeps/generic/libBrokenLocale.abilist: New file.
20633         * sysdeps/generic/libanl.abilist: New file.
20634         * sysdeps/generic/libc.abilist: New file.
20635         * sysdeps/generic/libcrypt.abilist: New file.
20636         * sysdeps/generic/libdl.abilist: New file.
20637         * sysdeps/generic/libm.abilist: New file.
20638         * sysdeps/generic/libpthread.abilist: New file.
20639         * sysdeps/generic/libresolv.abilist: New file.
20640         * sysdeps/generic/librt.abilist: New file.
20642 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20644         [BZ #17569]
20645         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20646         Compute absolute value of x as modified by fmod, not original
20647         value of x.
20648         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
20649         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
20650         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
20651         RUN_TEST_ffI_f1_mod8.
20652         (remquo_test_data): Add more tests.
20654 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20656         * sysdeps/init_array/pt-crti.S: New file.
20658 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20660         [BZ #17967]
20661         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
20662         __builtin_fmaf instead of relying on contraction of a * b + c.
20664 2015-02-12  J William Piggott  <elseifthen@gmx.com>
20666         [BZ #17969]
20667         * manual/time.texi: correct the zoneinfo path in the TZ Variable
20668         node.
20670 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20672         [BZ #17964]
20673         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
20674         __builtin_fma instead of relying on contraction of a * b + c.
20676 2015-02-12  Roland McGrath  <roland@hack.frob.com>
20678         * Makeconfig (ASFLAGS): Add -Werror=undef.
20679         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
20680         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
20681         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
20683         * Makeconfig (after-link): New variable.
20684         (+link-pie, +link-pie-tests): Use it.
20685         (+link-static, +link-static-tests): Likewise.
20686         (+link, +link-tests): Likewise.
20687         * Makerules (build-module, build-module-asneeded): Likewise.
20688         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
20689         Likewise.
20690         * elf/Makefile ($(objpfx)ld.so): Likewise.
20692 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
20694         [BZ #17965]
20695         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
20696         both struct timeval and struct timespec.
20698 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20700         [BZ #16560]
20701         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20702         and redefine.
20703         (__ieee754_exp2l): Do not multiply small fractional parts by
20704         M_LN2l.
20705         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
20706         small argument.
20707         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20708         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20709         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
20710         * math/auto-libm-test-in: Add more tests of exp2.
20711         * math/auto-libm-test-out: Regenerated.
20713 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20715         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
20716         unaligned path.
20718 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20720         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
20721         little endian.
20723 2015-02-12  Andreas Schwab  <schwab@suse.de>
20725         [BZ #15790]
20726         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20727         Filter out elision flags from value returned in kind.
20728         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
20729         * nptl/tst-pthread-mutexattr.c: New file.
20731 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20733         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
20734         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
20735         into gnu-gnu, and update comment to refer to abi-tags.
20737 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
20739         [BZ #15467]
20740         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
20741         (__sincos): Set errno to EDOM for infinite argument.
20742         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
20743         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
20744         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
20745         (__sincosl): Set errno to EDOM for infinite argument.
20746         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
20747         (__sincosl): Set errno to EDOM for infinite argument.
20748         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
20749         (__sincosl): Set errno to EDOM for infinite argument.
20750         * math/libm-test.inc (sincos_test_data): Test errno setting.
20752 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
20754         * string/strxfrm_l.c: Remove #define STRCMP.
20755         * string/strcoll_l.c: Remove #define STRLEN.
20756         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
20757         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
20759 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
20761         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
20762         * sysdeps/mips/mips32/sfp-machine.h: ... here.
20763         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
20764         * sysdeps/mips/mips64/Makefile: ... here.
20765         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
20766         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
20767         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
20768         * sysdeps/mips/mips64/sfp-machine.h: ... here.
20769         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
20770         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
20771         * sysdeps/mips/mips64/n64/Implies: Likewise.
20773 2015-02-10  Roland McGrath  <roland@hack.frob.com>
20775         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
20776         <sys/time.h>, <string.h>, and <errno.h>.
20777         (dest_offset, dest_address, value, zero): Remove unused variables.
20778         (ldouble): Remove typedef.
20779         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
20780         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
20781         1).  Fix code style.
20782         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
20783         (check): Function removed.
20784         (CHECK): New macro.
20785         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
20786         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
20787         Don't call set_sigaction_FP and remove_sigaction_FP here.
20788         (ldouble_test): Just use 'long double' as macro argument, no need for
20789         the 'ldouble' typedef.
20790         (do_test): Set up SIGFPE handler at start, using plain signal rather
20791         than sigaction.  Fix code style.
20793 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
20795         [BZ #17949]
20796         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
20797         jump label.
20799 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20801         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
20802         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20804         * sysdeps/powerpc/configure.ac: Remove file.
20805         * sysdeps/powerpc/configure: Likewise.
20807         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20808         [sysdep_routines]: Remove wordcopy-power6 object.
20809         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20810         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
20811         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
20812         (__memmove_ppc32): Likewise.
20813         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
20814         file.
20815         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
20816         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
20817         Remove preprocessor.
20819         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20820         [sysdep_routines]: Remove wide chars objects.
20821         [wcsmbs]: New rule for wide char objects.
20823         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20824         Remove wordcopy-power6 obejct.
20825         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
20826         Use local call for wordcopy and memcpy symbols.
20827         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
20828         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
20829         implementation for loader.
20830         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
20832         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20833         Remove wordcopy-power7 object.
20834         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
20835         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
20836         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
20837         (_wordcopy_fwd_dest_aligned): Likewise.
20838         (_wordcopy_bwd_aligned): Likewise.
20839         (_wordcopy_bwd_dest_aligned): Likewise.
20841         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
20842         Rewrite to call __memmove_ppc instead of include default
20843         implementation.
20845         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20846         Remove wide chars objects.
20847         [wcsmbs]: New rule for wide char objects.
20849 2015-02-09  Andreas Schwab  <schwab@suse.de>
20851         [BZ #17912]
20852         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20853         in terms of __O_DIRECTORY.
20855 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20857         * time/getdate.c: Include <stdbool.h>.
20858         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
20859         call PTR_MANGLE.
20860         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
20861         PTR_DEMANGLE.
20863 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
20865         Add ersatz _Static_assert on older C hosts
20866         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
20867         pre-C11 C platform that is not known to support _Static_assert.
20869 2015-02-07  Richard Braun  <rbraun@sceen.net>
20871         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
20872         sigstate.
20873         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
20875 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20877         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
20878         priority against unexistent AIO_PRIO_DELTA_MAX.
20879         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
20880         instead of int.
20881         * misc/fchflags.c (fchflags): Likewise.
20882         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
20883         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
20884         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
20885         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
20886         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
20887         Declare macros.
20888         [__USE_MISC] (chflags, fchflags): Declare functions.
20889         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
20890         EINVAL when nfds is greater than FD_SETSIZE.
20891         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
20892         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
20893         45.
20894         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
20895         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
20896         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
20897         MACH_RCV_TIMED_OUT.
20898         * hurd/hurd/signal.h (_hurd_self_sigstate,
20899         _hurd_critical_section_lock, _hurd_critical_section_unlock):
20900         Explicit casts from void *.
20901         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
20902         * abi-tags: Rename gnu-gnu os into gnu.
20904         [BZ #4719]
20905         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
20906         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
20907         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
20908         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
20909         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
20910         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
20912         [BZ #17944]
20913         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
20914         duplicates ADDR->sun_path with sockaddr LEN limitation.
20915         * sysdeps/mach/hurd/connect.c: Include <string.h>
20916         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
20917         * sysdeps/mach/hurd/sendmsg.c: Likewise.
20918         * sysdeps/mach/hurd/sendto.c: Likewise.
20919         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
20920         implementing it by hand.
20922 2015-02-06  Roland McGrath  <roland@hack.frob.com>
20924         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
20925         Use sfi_breg on ldr.
20926         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
20927         Likewise.
20929         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
20930         it's defined.
20931         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
20932         Test SIGSETXID only if it's defined.
20934         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
20936         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
20937         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
20939         * nptl/tst-align2.c: Moved ...
20940         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
20941         * nptl/Makefile (tests): Remove tst-align2.
20942         * sysdeps/unix/sysv/linux/Makefile
20943         [$(subdir) = nptl] (tests): Add tst-align-clone.
20944         * nptl/tst-getpid1.c: Moved ...
20945         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
20946         * nptl/tst-getpid2.c: Moved ...
20947         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
20948         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
20949         * sysdeps/unix/sysv/linux/Makefile
20950         [$(subdir) = nptl] (tests): ... here.
20951         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
20952         * sysdeps/unix/sysv/linux/Makefile
20953         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
20955         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
20956         Drop trailing \n from perror argument.  Use return rather than exit.
20958         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
20959         on [SA_SIGINFO].
20960         * nptl/tst-cancel21.c (do_test): Likewise.
20961         * debug/tst-backtrace6.c: Include <signal.h> first thing.
20962         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
20963         [!SA_SIGINFO]: Make it a stub test.
20965         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
20966         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
20968         * posix/tst-getlogin.c: Move to ...
20969         * login/tst-getlogin.c: ... here.
20970         * posix/Makefile (tests): Move tst-getlogin to ...
20971         * login/Makefile (tests): ... here.
20973         * libio/tst-atime.c (do_test): Move local variables SV and E
20974         inside [ST_NOATIME] conditional.
20976         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
20978         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
20980         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
20981         (wait_code): New function replaces macro.
20982         Call nanosleep rather than syscall.
20984         * nptl/pt-system.c: Rewritten.  Put everything under
20985         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20986         Use IFUNC to redirect when possible.
20988         * nptl/pt-longjmp.c: Rewritten.  Put everything under
20989         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20990         Use IFUNC to redirect when possible.
20992         * nptl/pt-fork.c: Rewritten.  Put everything under
20993         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20994         Use IFUNC to redirect when possible.
20995         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
20997         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
20998         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
20999         unconditionally nowadays.  This included the only reference to
21000         __vdso_clock_gettime that appears outside libc proper.
21001         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
21002         Remove version set (containing only __vdso_clock_gettime).
21003         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21004         Add attribute_hidden.
21005         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21006         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
21007         libc_hidden_data_def.
21008         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21009         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21011         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
21012         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
21013         setrpcent, and getrpcport to ...
21014         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
21015         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
21016         getrpcbynumber_r, and getrpcent_r to ...
21017         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
21018         * inet/getrpcbyname.c: Moved ...
21019         * sunrpc/getrpcbyname.c: ... here.
21020         * inet/getrpcbyname_r.c: Moved ...
21021         * sunrpc/getrpcbyname_r.c: ... here.
21022         * inet/getrpcbynumber.c: Moved ...
21023         * sunrpc/getrpcbynumber.c: ... here.
21024         * inet/getrpcbynumber_r.c: Moved ...
21025         * sunrpc/getrpcbynumber_r.c: ... here.
21026         * inet/getrpcent.c: Moved ...
21027         * sunrpc/getrpcent.c: ... here.
21028         * inet/getrpcent_r.c: Moved ...
21029         * sunrpc/getrpcent_r.c: ... here.
21030         * inet/Makefile (routines): Move those to ...
21031         * sunrpc/Makefile (routines): ... here.
21032         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
21033         the $(subdirs) list.
21034         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
21035         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
21036         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
21037         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
21039         * elf/Makefile (routines): Include $(all-dl-routines), not just
21040         $(dl-routines).
21041         (rtld-routines): Likewise.  Use = rather than :=.
21042         * sysdeps/aarch64/Makefile [$(subdir) = elf]
21043         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
21044         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
21045         * sysdeps/arm/Makefile: Likewise.
21046         * sysdeps/i386/Makefile: Likewise.
21047         * sysdeps/x86_64/Makefile: Likewise.
21048         * sysdeps/hppa/Makefile [$(subdir) = elf]
21049         (sysdep_routines, sysdep-rtld-routines): Don't add
21050         $(sysdep-dl-routines) to these.
21051         * sysdeps/ia64/Makefile: Likewise.
21052         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
21053         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
21054         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
21055         Don't add dl-static to these; sysdep-dl-routines alone is enough.
21056         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
21057         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
21058         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
21059         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
21060         * sysdeps/powerpc/Makefile [$(subdir) = elf]
21061         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
21062         these; sysdep-dl-routines alone is enough.
21064 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
21066         [BZ #17932]
21067         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
21068         where multiplication results in zero and third argument is finite
21069         and nonzero.
21070         * math/auto-libm-test-in: Add more tests of fma.
21071         * math/auto-libm-test-out: Regenerated.
21073         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
21074         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
21075         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
21076         (_FP_CMP_EQ): Likewise.
21077         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
21079         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
21080         extra argument CHECK_NAN.  Redefine as wrapper around
21081         _FP_EXTEND_CNAN.
21083 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
21085         * version.h (RELEASE): Set to "stable".
21086         (VERSION): Set to "2.21"
21087         * include/features.h (__GLIBC_MINOR__): Set to 21.
21089         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
21091 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21092             Paul Eggert  <eggert@cs.ucla.edu>
21094         [BZ #16618]
21095         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
21096         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21097         size in bytes. Store needed elements in wpmax. Use needed size
21098         in bytes for extend_alloca.
21100 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
21102         * manual/install.texi: Latest tested versions are GCC 4.9.2,
21103         binutls 2.25, and texinfo 5.2.
21104         * INSTALL: Regenerate.
21105         * sysdeps/nios2/configure: Regenerate.
21106         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
21107         * manual/contrib.texi: Update.
21108         * po/be.po: Update.
21109         * po/bg.po: Update.
21110         * po/ca.po: Update.
21111         * po/cs.po: Update.
21112         * po/da.po: Update.
21113         * po/de.po: Update.
21114         * po/el.po: Update.
21115         * po/eo.po: Update.
21116         * po/es.po: Update.
21117         * po/fi.po: Update.
21118         * po/fr.po: Update.
21119         * po/gl.po: Update.
21120         * po/hr.po: Update.
21121         * po/hu.po: Update.
21122         * po/ia.po: Update.
21123         * po/id.po: Update.
21124         * po/it.po: Update.
21125         * po/ja.po: Update.
21126         * po/ko.po: Update.
21127         * po/lt.po: Update.
21128         * po/nb.po: Update.
21129         * po/nl.po: Update.
21130         * po/pl.po: Update.
21131         * po/pt_BR.po: Update.
21132         * po/ru.po: Update.
21133         * po/rw.po: Update.
21134         * po/sk.po: Update.
21135         * po/sl.po: Update.
21136         * po/sv.po: Update.
21137         * po/tr.po: Update.
21138         * po/uk.po: Update.
21139         * po/vi.po: Update.
21140         * po/zh_CN.po: Update.
21141         * po/zh_TW.po: Update.
21143         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
21144         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
21145         * sysdeps/hppa/dl-irel.h: Remove #warning.
21146         * sysdeps/hppa/entry.h: Provide prototype for
21147         __canonicalize_funcptr_for_compare and cast argument.
21148         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21149         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21150         * sysdeps/hppa/sotruss-lib.c: New file.
21151         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21152         (atomic_compare_and_exchange_val_acq): Use __typeof__.
21153         (atomic_compare_and_exchange_bool_acq): Likewise.
21154         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21155         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21157         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21158         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21159         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21161 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
21163         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21164         called function in non-PIC case.
21166 2015-01-31  David S. Miller  <davem@davemloft.net>
21168         * sysdeps/sparc/sparc32/bits/atomic.h
21169         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21170         unlock not after it.
21171         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21172         volatile register usage warnings from the compiler.
21174         * sysdeps/sparc/nptl/sem_init.c: Delete.
21175         * sysdeps/sparc/nptl/sem_post.c: Delete.
21176         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21177         * sysdeps/sparc/nptl/sem_wait.c: Delete.
21178         * sysdeps/sparc/sparc32/sem_init.c: New file.
21179         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21180         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21181         padding explicitly initialized.
21182         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
21183         padding for in-semaphore spinlock.
21184         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
21185         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21186         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
21187         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
21188         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
21189         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
21190         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
21191         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
21192         version.
21193         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
21194         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
21196 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
21198         [BZ #17801]
21199         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21200         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
21201         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
21202         New.
21203         (index_AVX_Fast_Unaligned_Load): Likewise.
21204         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
21205         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
21206         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
21207         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
21208         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
21209         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
21210         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
21211         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
21212         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
21214 2015-01-29  Andreas Schwab  <schwab@suse.de>
21216         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
21218 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
21220         [BZ #17892]
21221         * nscd/nscd_stat.c (send_stats): Initialize DATA.
21223 2015-01-28  Martin Sebor  <msebor@redhat.com>
21225         * math/README.libm-test: Clarify. Add "How to read the test output."
21227 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
21229         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
21230         Define to 0.
21232 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
21234         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
21235         (__HAVE_64B_ATOMICS): Define to 0.
21237 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21239         [BZ #17885]
21240         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
21241         value to set as new flag.
21243         [BZ #16576]
21244         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
21245         and use _ARCH_PPCSQ instead.
21246         (__ieee754_sqrt): Likewise.
21247         (__ieee754_sqrtf): Likewise.
21248         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
21249         _ARCH_PPCSQ is defined.
21250         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
21251         fsqrt instruction.
21252         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
21253         _ARCH_PPCSQ is defined.
21254         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
21255         fsqrts instruction.
21256         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21258 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21260         * iconv/loop.c: Suppress array out of bound warning caused by GCC
21261         bug (GCC BZ #64739).
21263 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
21265         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21266         Mark _retval as used.
21267         (lll_futex_wake_unlock): Likewise.
21268         (lll_futex_timed_wait_requeue_pi): Likewise.
21270         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21271         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21272         register variables.
21274         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21275         libm_hidden_def.
21277         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21278         (__bswap_64): Mark as __always_inline.
21280 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
21282         [BZ #15378]
21283         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21284         when none of the search directories exist.
21286 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21288         [BZ #17869]
21289         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21290         power8 in .machine directive.
21292         [BZ #17868]
21293         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21294         set dependency from opd value.
21296 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21298         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21299         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21300         architecture.
21302 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21304         [BZ #17870]
21305         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21306         with uint64_t.
21307         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21308         (uint64_t) 1.
21309         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21310         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21311         Replace 1UL with (uint64_t) 1.
21312         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21313         int with uint64_t.
21315 2015-01-23  Roland McGrath  <roland@hack.frob.com>
21317         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21318         (if_freenameindex): Likewise.
21320         * resource/getrlimit64.c: Add missing libc_hidden_def.
21322 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
21324         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21325         __label__.
21326         (_FP_FMA): Likewise.
21327         (_FP_TO_INT_ROUND): Likewise.
21328         (_FP_FROM_INT): Likewise.
21330 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21332         [BZ #16418]
21333         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21334         Make code racy and cancel safe.
21336 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
21338         * sysdeps/arm/unwind-resume.h: Fix copyright year.
21339         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
21340         attribution.
21342         * pwd/tst-getpw.c: Rewrite.
21344         [BZ #17702]
21345         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
21346         (modules-names): Add moddummy1 and moddummy2.
21347         ($(objpfx)tst-rec-dlopen): Define.
21348         * dlfcn/moddummy1.c: New file.
21349         * dlfcn/moddummy2.c: New file.
21350         * dlfcn/tst-rec-dlopen.c: New file.
21351         * elf/dl-cache.c (_dl_load_cache_lookup):
21352         Return char*. Copy result with alloca/strcpy/strdup.
21353         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
21354         returns char*. Free cached. If not saving realname
21355         free cached.
21356         * elf/dl-open.c (dl_open_worker): Do not assert that
21357         _r_debug->r_state is RT_CONSISTENT.
21358         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
21359         returns char*.
21361 2015-01-21  Torvald Riegel  <triegel@redhat.com>
21362             Carlos O'Donell  <carlos@redhat.com>
21364         [BZ #12674]
21365         * nptl/sem_waitcommon.c: New file.
21366         * nptl/sem_wait.c: Include sem_waitcommon.c.
21367         (__sem_wait_cleanup, do_futex_wait): Remove.
21368         (__new_sem_wait): Adapt.
21369         (__new_sem_trywait): New function.
21370         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
21371         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
21372         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
21373         (sem_timedwait): Adapt.
21374         * nptl/sem_post.c (__new_sem_post): Adapt.
21375         (futex_wake): New function.
21376         (__old_sem_post): Add release MO fence.
21377         * nptl/sem_open.c (sem_open): Adapt.
21378         * nptl/sem_init.c (__new_sem_init): Adapt.
21379         (futex_private_if_supported): New function.
21380         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21381         (__old_sem_getvalue): Add using previous code.
21382         * sysdeps/nptl/internaltypes.h: Adapt.
21383         * nptl/tst-sem13.c (do_test): Adapt.
21384         * nptl/tst-sem11.c (main): Adapt.
21385         * nptl/sem_trywait.c: Remove.
21386         * nptl/DESIGN-sem.txt: Remove.
21387         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
21388         (gen-as-const-headers): Remove structsem.sym.
21389         * nptl/structsem.sym: Remove.
21390         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
21391         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
21392         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
21393         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
21394         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
21395         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
21396         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
21397         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
21398         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
21399         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
21400         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
21401         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
21402         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
21403         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
21404         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
21405         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
21406         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
21407         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
21408         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
21409         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
21410         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
21411         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
21413 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
21415         * INSTALL: Regenerated.
21417         * po/libc.pot: Regenerated.
21419 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
21420             Sandra Loosemore  <sandra@codesourcery.com>
21421             Andrew Jenner  <andrew@codesourcery.com>
21422             Joseph Myers  <joseph@codesourcery.com>
21423             Nathan Sidwell  <nathan@codesourcery.com>
21425         * NEWS: Mention new Nios II port.
21426         * sysdeps/nios2/Implies: New file.
21427         * sysdeps/nios2/Makefile: New file.
21428         * sysdeps/nios2/Subdirs: New file.
21429         * sysdeps/nios2/Versions: New file.
21430         * sysdeps/nios2/__longjmp.S: New file.
21431         * sysdeps/nios2/abort-instr.h: New file.
21432         * sysdeps/nios2/backtrace.c: New file.
21433         * sysdeps/nios2/bits/endian.h: New file.
21434         * sysdeps/nios2/bits/fenv.h: New file.
21435         * sysdeps/nios2/bits/link.h: New file.
21436         * sysdeps/nios2/bits/setjmp.h: New file.
21437         * sysdeps/nios2/bsd-_setjmp.S: New file.
21438         * sysdeps/nios2/bsd-setjmp.S: New file.
21439         * sysdeps/nios2/configure: New generated file.
21440         * sysdeps/nios2/configure.ac: New file.
21441         * sysdeps/nios2/crti.S: New file.
21442         * sysdeps/nios2/crtn.S: New file.
21443         * sysdeps/nios2/dl-init.c: New file.
21444         * sysdeps/nios2/dl-machine.h: New file.
21445         * sysdeps/nios2/dl-sysdep.h: New file.
21446         * sysdeps/nios2/dl-tls.h: New file.
21447         * sysdeps/nios2/dl-trampoline.S: New file.
21448         * sysdeps/nios2/gccframe.h: New file.
21449         * sysdeps/nios2/gmp-mparam.h: New file.
21450         * sysdeps/nios2/jmpbuf-offsets.h: New file.
21451         * sysdeps/nios2/jmpbuf-unwind.h: New file.
21452         * sysdeps/nios2/ldsodefs.h: New file.
21453         * sysdeps/nios2/libc-tls.c: New file.
21454         * sysdeps/nios2/libm-test-ulps: New file.
21455         * sysdeps/nios2/machine-gmon.h: New file.
21456         * sysdeps/nios2/math-tests.h: New file.
21457         * sysdeps/nios2/math_private.h: New file.
21458         * sysdeps/nios2/memusage.h: New file.
21459         * sysdeps/nios2/nptl/Makefile: New file.
21460         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
21461         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
21462         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
21463         * sysdeps/nios2/nptl/pthreaddef.h: New file.
21464         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
21465         * sysdeps/nios2/nptl/tls.h: New file.
21466         * sysdeps/nios2/preconfigure: New file.
21467         * sysdeps/nios2/s_fma.c: New file.
21468         * sysdeps/nios2/s_fmaf.c: New file.
21469         * sysdeps/nios2/setjmp.S: New file.
21470         * sysdeps/nios2/sfp-machine.h: New file.
21471         * sysdeps/nios2/sotruss-lib.c: New file.
21472         * sysdeps/nios2/stackguard-macros.h: New file.
21473         * sysdeps/nios2/stackinfo.h: New file.
21474         * sysdeps/nios2/start.S: New file.
21475         * sysdeps/nios2/sysdep.h: New file.
21476         * sysdeps/nios2/tls-macros.h: New file.
21477         * sysdeps/nios2/tst-audit.h: New file.
21478         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
21479         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
21480         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
21481         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
21482         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
21483         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
21484         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
21485         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
21486         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
21487         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
21488         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
21489         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
21490         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
21491         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
21492         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
21493         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
21494         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
21495         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
21496         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
21497         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
21498         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
21499         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
21500         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
21501         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
21502         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
21503         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
21504         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
21505         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
21506         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
21507         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
21508         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
21509         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
21510         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
21511         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
21512         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
21513         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
21514         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
21515         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
21516         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
21517         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
21518         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
21519         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
21520         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
21521         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
21523 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21525         [BZ #17844]
21526         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
21527         (getutent): Use weak_alias in non SHARED case
21528         and default_symbol_version in SHARED case.
21529         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
21530         (getutent_r, pututline): Likewise.
21531         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
21532         (getutid): Likewise.
21533         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
21534         (getutid_r): Likewise.
21535         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
21536         (getutline): Likewise.
21537         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
21538         (getutline_r): Likewise.
21539         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
21540         (updwtmp): Likewise.
21542 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21544         [BZ #17848]
21545         * sysdeps/s390/s390-32/memcmp.S
21546         (memcmp_g5): Rename to __memcmp_g5.
21547         * sysdeps/s390/s390-32/memcpy.S
21548         (memcpy_g5): Rename to __memcpy_g5.
21549         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21550         (memcpy_mvcle) Rename to __memcpy_mvcle.
21551         * sysdeps/s390/s390-32/memset.S
21552         (memset_g5): Rename to __memset_g5.
21553         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21554         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21555         and use prefixed functions.
21556         * sysdeps/s390/s390-32/multiarch/memcmp.S
21557         (memcmp_z196): Rename to __memcmp_z196.
21558         (memcmp_z10): Rename to __memcmp_z10.
21559         (memcmp): Set alias to __memcmp_g5.
21560         (bcmp): Set alias to __memcmp_g5.
21561         * sysdeps/s390/s390-32/multiarch/memcpy.S
21562         (memcpy_z196): Rename to __memcpy_z196.
21563         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21564         (memcpy_z10): Rename to __memcpy_z10.
21565         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21566         (memcpy): Set alias to __memcpy_g5.
21567         * sysdeps/s390/s390-32/multiarch/memset.S
21568         (memset_z196): Rename to __memset_z196.
21569         Jump to __memset_mvcle instead of memset_mvcle.
21570         (memset_z10): Rename to __memset_z10.
21571         Jump to __memset_mvcle instead of memset_mvcle.
21572         (memset_mvcle) Rename to __memset_mvcle.
21573         (memset): Set alias to __memset_g5.
21574         * sysdeps/s390/s390-64/memcmp.S
21575         (memcmp_z900): Rename to __memcmp_z900.
21576         * sysdeps/s390/s390-64/memcpy.S
21577         (memcpy_z900): Rename to __memcpy_z900.
21578         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21579         (memcpy_mvcle) Rename to __memcpy_mvcle.
21580         * sysdeps/s390/s390-64/memset.S
21581         (memset_z900): Rename to __memset_z900.
21582         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
21583         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21584         and use prefixed functions.
21585         * sysdeps/s390/s390-64/multiarch/memcmp.S
21586         (memcmp_z196): Rename to __memcmp_z196.
21587         (memcmp_z10): Rename to __memcmp_z10.
21588         (memcmp): Set alias to __memcmp_z900.
21589         (bcmp): Set alias to __memcmp_z900.
21590         * sysdeps/s390/s390-64/multiarch/memcpy.S
21591         (memcpy_z196): Rename to __memcpy_z196.
21592         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21593         (memcpy_z10): Rename to __memcpy_z10.
21594         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21595         (memcpy): Set alias to __memcpy_z900.
21596         * sysdeps/s390/s390-64/multiarch/memset.S
21597         (memset_z196): Rename to __memset_z196.
21598         Jump to __memset_mvcle instead of memset_mvcle.
21599         (memset_z10): Rename to __memset_z10.
21600         Jump to __memset_mvcle instead of memset_mvcle.
21601         (memset_mvcle) Rename to __memset_mvcle.
21602         (memset): Set alias to __memset_z900.
21604 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
21606         [BZ #17748]
21607         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
21608         __fesetenv instead of fesetenv.
21610 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21612         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
21613         macro.
21615 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21617         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
21618         regression on LE.
21620         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
21621         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
21622         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21623         strncmp-power8 object.
21624         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21625         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
21626         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
21627         * NEWS: Update.
21629 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21630             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21632         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
21633         trailing byte check.
21635 2015-01-13  David S. Miller  <davem@davemloft.net>
21637         * include/signal.h (__sigreturn): Guard with __USE_MISC.
21639 2015-01-13  Roland McGrath  <roland@hack.frob.com>
21641         * login/logout.c (logout): Use memset rather than bzero.
21642         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
21643         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
21644         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
21645         (_gethtbyaddr): Likewise.
21646         * locale/programs/simple-hash.c (bcopy): Macro removed.
21648 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21650         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21651         Add strcmp-power8 object.
21652         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21653         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
21654         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
21655         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
21656         __strcmp_power8 implementation.
21657         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
21658         * NEWS: Update.
21660         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21661         Add strncpy-power8 and stpncpy-power8 objects.
21662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21663         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
21664         implementations.
21665         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
21666         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
21667         __stpncpy_power8 implementation.
21668         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
21669         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
21670         __strncpy_power8 implementation.
21671         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
21672         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
21673         * NEWS: Update.
21675         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
21676         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
21677         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
21679         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21680         strncat-power8 object.
21681         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
21682         __strcat_power8 implementation.
21683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21684         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
21685         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
21686         optimized strcat for power8.
21688         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21689         strcpy-power8 and stpcpy-power8 objects.
21690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21691         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
21692         implementations.
21693         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
21694         multiarch stpcpy implementation for POWER8.
21695         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
21696         multiarch strcpy implementation for POWER8.
21697         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
21698         __strcpy_power8 function.
21699         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
21700         stpcpy for POWER8.
21701         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
21702         strcpy for POWER8.
21703         * NEWS: Update.
21705 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
21707         [BZ #16009]
21708         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
21709         weights and rules. Use do_xfrm_cached if data fits in cache,
21710         do_xfrm otherwise.  Moved former main loop to...
21711         * (do_xfrm_cached): New function.
21712         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
21713         find_idx, find_position and stack_push.
21714         * (find_idx): New function.
21715         * (find_position): Likewise.
21716         * localedata/sort-test.sh: Added test run for do_xfrm.
21717         * localedata/xfrm-test.c (main): Added command line option
21718         -nocache to run the test with strings that are too large for
21719         the STRXFRM cache.
21721 2015-01-13  Torvald Riegel  <triegel@redhat.com>
21723         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
21724         variable to lll_futex_wake call, not the value itself.
21726 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
21728         [BZ #17803]
21729         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
21730         twom64.  Adjust value to 0x1p-64L.
21731         (__scalblnl): Only return standard underflowing result for K <=
21732         -64 not K <= -63; adjust exponent for underflowing result by 64
21733         not 63.
21734         * math/libm-test.inc (scalbn_test_data): Add more tests.
21735         (scalbln_test_data): Likewise.
21737         [BZ #17834]
21738         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
21739         0x1p63L.
21740         (__scalblnl): Get new exponent of adjusted subnormal value from ES
21741         not HX.
21742         * math/libm-test.inc (scalbn_test_data): Add more tests.
21743         (scalbln_test_data): Likewise.
21745 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21746             Stefani Seibold  <stefani@seibold.net>
21748         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
21749         (sysdep_routines): Add dl-vdso here, ...
21750         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
21751         (sysdep_routines): ... not here.
21752         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
21753         fallback when vDSO is not presented.
21754         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21755         Define with libc_hidden_proto/libc_hidden_data_def definitions.
21756         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
21757         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
21758         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
21759         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
21760         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
21761         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
21762         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
21763         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
21764         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
21765         fallback configurable symbol when vDSO is not available.
21766         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
21767         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
21768         be able to redefine fallback symbol when vDSO is not available.
21769         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
21770         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
21772 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21774         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
21775         (TLS_INIT_TP): Add tm_capable initialization.
21776         (TLS_DEFINE_INIT_TP): Likewise.
21777         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
21778         TCB.
21779         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
21780         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
21781         calculation.
21782         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
21783         transactoion is lock elision is built and TCB tm_capable is set.
21784         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
21785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21786         (INTERNAL_SYSCALL_NCS): Likewise.
21787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21788         (INTERNAL_SYSCALL_NCS): Likewise.
21789         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
21791         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
21792         for powerpc.
21793         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21794         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
21795         and remove it for 32 bits case.
21796         [pthread_rwlock_t] (__rwelision): New field for lock elision.
21797         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
21798         initialization.
21799         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
21800         Disable lock elision with rdlocks if elision is not available.
21802         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
21803         (sysdep_routines): Add lock elision objects.
21804         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21805         [pthread_mutex_t] (__spins): Rework to add lock elision field.
21806         [pthread_mutex_t] (__elision): Add field.
21807         [__PTHREAD_SPINS]: Adjust to init lock elision field.
21808         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
21809         elision definitions for powerpc.
21810         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
21811         implementation of lock elision for powerpc.
21812         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
21813         implementation of timed lock elision for powerpc.
21814         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
21815         implementation of trylock with lock elision for powerpc.
21816         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
21817         implementaion of unlock for lock elision for powerpc.
21818         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
21819         automatic enable lock elision for mutexes.
21820         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
21821         transaction execution definitions for powerpc.
21822         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
21823         definitions.
21824         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
21825         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
21826         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
21827         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
21828         * NEWS: Update.
21830 2015-01-09  Roland McGrath  <roland@hack.frob.com>
21832         * sysdeps/posix/shm-directory.c: Use <> rather than ""
21833         for #include of <shm-directory.h>.
21835 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
21837         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
21838         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
21840 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
21842         [BZ #17791]
21843         * NEWS: Mention bug fix.
21844         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
21845         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
21846         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
21848 2015-01-09  Torvald Riegel <triegel@redhat.com>
21850         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
21852 2015-01-09  Torvald Riegel <triegel@redhat.com>
21854         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
21856 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21858         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
21859         pointer and cast to uintptr_t.
21861 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21863         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
21864         removed.
21865         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
21867 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21869         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
21870         of 0.
21872 2015-01-08  Roland McGrath  <roland@hack.frob.com>
21874         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
21875         <nptl/pthreadP.h> instead.
21876         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
21878         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
21879         already defined.
21880         [__SIGRTMIN] (init): Function removed.
21881         [__SIGRTMIN] (initialized): Variable removed.
21882         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
21883         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
21884         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
21885         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
21886         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
21887         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
21888         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
21889         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
21890         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
21891         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
21892         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
21893         * sysdeps/nptl/allocrtsig.c: New file.
21894         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
21895         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
21896         * sysdeps/generic/testrtsig.h: File removed.
21898         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
21899         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
21901         * nptl/nptl-init.c (pthread_functions): Conditionalize
21902         .ptr__nptl_setxid initialization on [SIGSETXID].
21904         * sysdeps/nptl/sys/procfs.h: New file.
21905         * nptl_db/Makefile (headers): Add it.
21906         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
21908         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
21909         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
21910         * nptl/pthread_attr_setaffinity.c: Include it.
21911         * nptl/pthread_setattr_default_np.c: Likewise.
21912         * nptl/check-cpuset.h: New file.
21914 2015-01-08  Richard Henderson  <rth@redhat.com>
21916         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
21917         (CFLAGS-tst-execstack-prog.c): Likewise.
21918         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
21920 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
21921             Sandra Loosemore  <sandra@codesourcery.com>
21922             Andrew Jenner  <andrew@codesourcery.com>
21923             Joseph Myers  <joseph@codesourcery.com>
21924             Nathan Sidwell  <nathan@codesourcery.com>
21926         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
21927         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
21928         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
21929         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
21930         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
21931         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
21932         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
21933         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
21934         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
21935         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
21936         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
21937         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
21938         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
21939         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
21940         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
21941         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
21942         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
21944 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21946         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
21947         timespec struct member in syscall macro.
21948         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21949         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
21950         first timeval struct member in syscall macro.
21951         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
21953 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
21955         [BZ #17748]
21956         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
21957         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
21958         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
21959         __feupdateenv and define as weak alias of __feupdateenv.  Use
21960         libm_hidden_weak.
21961         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
21962         libm_hidden_def.
21963         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
21964         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
21965         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21966         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
21967         libm_hidden_def.
21968         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
21969         __feupdateenv and define as weak alias of __feupdateenv.  Use
21970         libm_hidden_weak.
21971         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
21972         libm_hidden_def.
21973         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
21974         __feupdateenv and define as weak alias of __feupdateenv.  Use
21975         libm_hidden_weak.
21976         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
21977         libm_hidden_def.
21978         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21979         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21980         (__feupdateenv): Likewise.
21981         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
21982         __feupdateenv and define as weak alias of __feupdateenv.  Use
21983         libm_hidden_weak.
21984         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21985         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
21986         libm_hidden_def.
21987         * sysdeps/tile/math_private.h (__feupdateenv): New inline
21988         function.
21989         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
21990         libm_hidden_def.
21991         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
21992         __feupdateenv instead of feupdateenv.
21993         (default_libc_feupdateenv_test): Likewise.
21994         (libc_feresetround_ctx): Likewise.
21996 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21998         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
21999         prototype.
22001 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
22003         * posix/regcomp.c (parse_bracket_exp): Initialize type to
22004         COLL_SYM in a couple of places to avoid uninitialized variable
22005         wanings on tilegx gcc 4.8.2.
22007 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22009         * sysdeps/aarch64/strcpy.S: New file.
22010         * sysdeps/aarch64/stpcpy.S: New file.
22011         * NEWS: Updated.
22013 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22015         * sysdeps/aarch64/strrchr.S: New file.
22016         * NEWS: Updated.
22018 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
22020         [BZ #17658]
22021         * stdlib/setenv.c: Fix memory leak when setting large,
22022         duplicate string.
22024 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
22026         [BZ #17273]
22027         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
22028         and tabs from buffer before parsing fstab entry.
22029         * misc/tst-mntent.c (main): Add test for mount entry with
22030         trailing spaces and tabs.
22032 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
22034         [BZ #17748]
22035         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
22036         * math/fesetround.c (fesetround): Rename to __fesetround and
22037         define as weak alias of __fesetround.  Use libm_hidden_weak.
22038         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
22039         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
22040         * sysdeps/arm/fesetround.c (fesetround): Likewise.
22041         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
22042         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
22043         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
22044         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
22045         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
22046         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
22047         __fesetround_inline.
22048         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
22049         __fesetround_inline instead of __fesetround.
22050         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
22051         __fesetround and define as weak alias of __fesetround.  Use
22052         libm_hidden_weak.  Call __fesetround_inline instead of
22053         __fesetround.
22054         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
22055         __fesetround and define as weak alias of __fesetround.  Use
22056         libm_hidden_weak.
22057         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
22058         Likewise.
22059         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
22060         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22061         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
22062         * sysdeps/tile/math_private.h (__fesetround): New inline function.
22063         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
22064         __fesetround and define as weak alias of __fesetround.  Use
22065         libm_hidden_weak.
22066         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
22067         __fesetround instead of fesetround.
22068         (default_libc_feholdexcept_setround): Likewise.
22069         (libc_feholdsetround_ctx): Likewise.
22070         (libc_feholdsetround_noex_ctx): Likewise.
22072         [BZ #17748]
22073         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
22074         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
22075         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22076         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22077         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22078         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
22079         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22080         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22081         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22082         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22083         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22084         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22085         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22086         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22087         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
22088         libm_hidden_def.
22089         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
22090         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22091         Likewise.
22092         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22093         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22094         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22095         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22096         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
22097         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22098         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22099         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
22100         __fesetenv instead of fesetenv.
22101         (libc_feresetround_noex_ctx): Likewise.
22102         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22103         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22104         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
22105         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22106         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22107         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22108         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22109         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22110         (__feupdateenv): Likewise.
22111         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22112         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22113         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22114         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
22116 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22118         [BZ #17806]
22119         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
22120         addresses have been freed.
22122 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22124         * resolv/res_init.c (__res_vinit): Improve comments about nserv
22125         and nservall.
22127 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
22129         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
22130         Clean up check_pf allocation pattern. addresses
22132 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22134         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
22135         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
22136         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22137         * nptl/pthread_exit.c (__pthread_exit): Likewise.
22138         * nptl/pthread_join.c (pthread_join): Likewise.
22139         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22140         * sysdeps/posix/waitid.c (__waitid): Likewise.
22141         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22142         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22143         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22144         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22145         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22146         Likewise.
22147         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22148         (__libc_pread64): Likewise.
22149         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22150         (__libc_pwrite): Likewise.
22151         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22152         (__libc_pwrite64): Likewsie.
22153         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22154         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22155         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22156         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22157         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22158         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22159         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22161         Likewise.
22162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22163         (__libc_pread64): Likewise.
22164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22165         Likewise.
22166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22167         (__libc_pwrite64): Likewise.
22168         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22169         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22170         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22171         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22172         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22173         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22174         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22175         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22176         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22177         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22178         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22179         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22180         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22181         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
22182         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22183         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22184         Likewise.
22186 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22188         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
22189         (CFLAGS-test-double.c): Likewise.
22190         (CFLAGS-test-ldouble.c): Likewise.
22191         (CPPFLAGS-test-ifloat.c): Likewise.
22192         (CPPFLAGS-test-idouble.c): Likewise.
22193         (CPPFLAGS-test-ildoubl.c): Likewise.
22194         (CFLAGS-test-test-fenv.c): Remove variable.
22195         (CFLAGS-test-misc.c): Likewise.
22197 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
22199         [BZ #17797]
22200         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
22201         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
22202         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
22203         CLOCKS_PER_SEC == 1000000.
22204         * time/clocktest.c (main): Replace %ld with %jd and cast to
22205         intmax_t.
22207 2015-01-05  Roland McGrath  <roland@hack.frob.com>
22209         * sysdeps/generic/unwind-resume.h: New file.
22210         * sysdeps/gnu/unwind-resume.c: Include it.
22211         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
22212         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
22213         argument list.
22214         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
22215         global rather than static.
22216         (_Unwind_Resume): Update user.
22217         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
22218         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
22219         rather than static.  Add __attribute__ ((cold)).
22220         (_Unwind_Resume, __gcc_personality_v0): Update callers.
22221         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
22222         * sysdeps/arm/arm-unwind-resume.S: New file.
22223         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
22224         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
22225         * sysdeps/arm/Makefile [$(subdir) = csu]
22226         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
22227         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22228         Add rt-arm-unwind-resume.
22229         [$(subdir) = nptl]
22230         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22231         Add pt-arm-unwind-resume.
22232         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
22233         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
22235 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22237         [BZ #17748]
22238         * include/fenv.h (__feholdexcept): Declare.  Use
22239         libm_hidden_proto.
22240         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
22241         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
22242         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22243         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
22244         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
22245         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
22246         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
22247         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22248         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
22249         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
22250         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22251         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
22252         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
22253         (feholdexcept): Likewise.
22254         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22255         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22256         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22257         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22258         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22259         __feholdexcept instead of feholdexcept.
22260         (default_libc_feholdexcept_setround): Likewise.
22262 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22264         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22265         to avoid using stl/str to align destination.
22267 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22269         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22271 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22273         [BZ #17796]
22274         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22275         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22276         Define as weak alias not strong alias.
22278 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22280         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22281         bltzal with addiupc.
22282         (RTLD_START): Ditto.
22284 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
22286         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22287         for __vdso_* functions in declarations.
22288         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22289         definitions.
22290         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22291         INTERNAL_VSYSCALL): Use struct return types to check for error.
22293         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22294         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22295         function with cast from llround().
22296         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22297         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22298         Define.
22300 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22302         [BZ #17793]
22303         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22304         Define as weak alias not strong alias.
22306         [BZ #17635]
22307         * ctype/ctype-c99.c: New file.  isblank implementation moved from
22308         ...
22309         * ctype/ctype-extn.c: ... here.
22310         (__isblank_l): Move to ...
22311         * ctype/ctype-c99_l.c: ... here.  New file.
22312         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22313         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22314         Remove variable.
22315         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22316         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22317         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22318         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22319         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22321         [BZ #17777]
22322         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22323         (posix_fadvise64): Define as weak alias not strong alias.
22324         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22325         (posix_fallocate64): Likewise.
22326         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22327         Remove variable.
22328         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22329         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22330         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22331         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22332         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22334 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
22336         [BZ #16191]
22337         * NEWS: Mention bug fix.
22338         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
22339         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
22340         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
22341         (HOST_STACK_END_ADDR): Likewise.
22343 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22345         [BZ #17748]
22346         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
22347         * math/fegetround.c (fegetround): Rename to __fegetround and
22348         define as weak alias of __fegetround.  Use libm_hidden_weak.
22349         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
22350         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
22351         * sysdeps/arm/fegetround.c (fegetround): Likewise.
22352         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
22353         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22354         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
22355         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
22356         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
22357         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22358         Undefine after rather than before function definition; use
22359         parentheses around function name in definition.
22360         (__fegetround): Also undefine macro after function definition.
22361         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
22362         __fegetround and define as weak alias of __fegetround.  Use
22363         libm_hidden_weak.  Do not undefine as macro.
22364         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22365         Likewise.
22366         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
22367         __fegetround and define as weak alias of __fegetround.  Use
22368         libm_hidden_weak.
22369         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22370         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22371         * sysdeps/tile/math_private.h (__fegetround): New inline function.
22372         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
22373         __fegetround and define as weak alias of __fegetround.  Use
22374         libm_hidden_weak.
22375         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
22376         __fegetround instead of fegetround.
22378         [BZ #17782]
22379         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
22380         Condition macro definition on [__USE_MISC].
22382         [BZ #17781]
22383         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22384         (struct sigaction): Change type of sa_flags field to int.
22386         [BZ #17780]
22387         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
22388         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
22389         __glibc_reserved0.
22391         * nptl/version.c (banner): Use single year in copyright notice.
22393         * NEWS: Update copyright dates.
22394         * catgets/gencat.c (print_version): Likewise.
22395         * csu/version.c (banner): Likewise.
22396         * debug/catchsegv.sh: Likewise.
22397         * debug/pcprofiledump.c (print_version): Likewise.
22398         * debug/xtrace.sh (do_version): Likewise.
22399         * elf/ldconfig.c (print_version): Likewise.
22400         * elf/ldd.bash.in: Likewise.
22401         * elf/pldd.c (print_version): Likewise.
22402         * elf/sotruss.sh: Likewise.
22403         * elf/sprof.c (print_version): Likewise.
22404         * iconv/iconv_prog.c (print_version): Likewise.
22405         * iconv/iconvconfig.c (print_version): Likewise.
22406         * locale/programs/locale.c (print_version): Likewise.
22407         * locale/programs/localedef.c (print_version): Likewise.
22408         * login/programs/pt_chown.c (print_version): Likewise.
22409         * malloc/memusage.sh (do_version): Likewise.
22410         * malloc/memusagestat.c (print_version): Likewise.
22411         * malloc/mtrace.pl: Likewise.
22412         * manual/libc.texinfo: Likewise.
22413         * nptl/version.c (banner): Likewise.
22414         * nscd/nscd.c (print_version): Likewise.
22415         * nss/getent.c (print_version): Likewise.
22416         * nss/makedb.c (print_version): Likewise.
22417         * posix/getconf.c (main): Likewise.
22418         * scripts/test-installation.pl: Likewise.
22419         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22421 2015-01-02  Will Newton  <will.newton@linaro.org>
22423         * sysdeps/arm/armv7/configure: Removed.
22424         * sysdeps/arm/armv7/configure.ac: Likewise.
22426 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22428         * All files with FSF copyright notices: Update copyright dates
22429         using scripts/update-copyrights.
22430         * intl/plural.c: Regenerated.
22431         * locale/programs/charmap-kw.h: Likewise.
22432         * locale/programs/locfile-kw.h: Likewise.
22434 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22436         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
22438 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22440         [BZ #17748]
22441         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
22442         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
22443         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22444         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22445         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22446         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22447         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22448         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
22449         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22450         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22451         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22452         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22453         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22454         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22455         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
22456         libm_hidden_def.
22457         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
22458         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
22459         Likewise.
22460         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22461         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22462         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22463         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22464         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
22465         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22466         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22467         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
22468         __fegetenv instead of fegetenv.
22469         (libc_feholdsetround_noex_ctx): Likewise.
22471 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22473         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
22474         (Elf_MIPS_ABIFlags_v0): New structure.
22475         (EF_MIPS_FP64): Define.
22476         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
22477         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
22478         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
22479         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
22480         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
22481         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
22482         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
22483         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
22484         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
22485         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
22486         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
22487         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
22488         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
22489         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
22490         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
22491         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
22492         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
22493         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
22494         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
22495         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
22496         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
22497         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
22498         field.
22499         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
22500         EF_MIPS_FP64.
22501         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
22502         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
22503         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
22504         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
22505         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
22506         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
22507         * sysdeps/mips/tst-abi-interlink.c: Likewise.
22508         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
22509         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
22510         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
22511         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
22512         record the current FP ABI extension.
22513         (mips-mode-switch): Define to show if kernel headers support mode
22514         switching.
22515         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22516         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
22517         supported SYSV ABI version to 3.
22518         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
22519         feature.
22521 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22522             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22524         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
22525         path.
22526         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
22528 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22530         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
22531         __fegetround and redefine to call __fegetround.  Remove condition
22532         on [!__NO_MATH_INLINES].
22533         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
22534         function.
22535         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
22536         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22537         Remove macro.
22538         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
22539         instead of <fenv_libc.h>.
22540         (__llrintl): Call fegetround instead of __fegetround.
22541         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
22542         instead of <fenv_libc.h>.
22543         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22544         (__lrintl): Call fegetround instead of __fegetround.
22545         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
22546         instead of <fenv_libc.h>.
22547         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22548         (__rintl): Call fegetround instead of __fegetround.
22550 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22552         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
22553         arrays.
22555 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22557         [BZ #17775]
22558         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
22559         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
22560         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
22562 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22564         * sysdeps/i386/tls-macros.h: Include <features.h>.
22565         (TLS_LE): Use non-PIC version for GCC >= 5.0.
22566         (TLS_IE): Likewise.
22567         (TLS_LD): Likewise.
22568         (TLS_GD): Likewise.
22569         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
22570         define for GCC >= 5.0.
22572 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
22574         * math/test-fenv.c (test_single_exception, set_single_exc,
22575         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
22576         feexcp_mask_test, feenable_test, fe_single_test): Add
22577         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
22578         case where they are not used.
22579         * math/libm-test.inc: Likewise.
22580         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
22581         unused in the absence of FP rounding/exception support.
22582         * stdio-common/tst-printf-round.c: Likewise.
22583         * stdlib/tst-strtod-round.c: Likewise.
22584         * stdlib/tst-strtod-underflow.c: Likewise.
22586 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
22588         [BZ #17723]
22589         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
22590         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
22591         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22592         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22593         libm_hidden_weak.
22594         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
22595         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22596         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
22597         libm_hidden_def.
22598         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22599         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22600         libm_hidden_weak.
22601         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
22602         Likewise.
22603         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
22604         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22605         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22606         libm_hidden_weak.
22607         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22608         libm_hidden_def.
22609         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22610         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
22611         (__feraiseexcept): Likewise.
22612         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22613         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22614         libm_hidden_weak.
22615         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22616         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22617         libm_hidden_def.
22618         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
22619         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
22620         Use libm_hidden_def.
22621         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
22622         libm_hidden_def.
22623         (feraiseexcept): Define as weak not strong alias.  Use
22624         libm_hidden_weak.
22625         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
22626         New inline function.  Factored out of ...
22627         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
22628         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
22629         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
22630         feraiseexcept.
22631         * math/w_acos.c (__acos): Likewise.
22632         * math/w_asin.c (__asin): Likewise.
22633         * math/w_ilogb.c (__ilogb): Likewise.
22634         * math/w_j0.c (y0): Likewise.
22635         * math/w_j1.c (y1): Likewise.
22636         * math/w_jn.c (yn): Likewise.
22637         * math/w_log.c (__log): Likewise.
22638         * math/w_log10.c (__log10): Likewise.
22639         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
22640         * sysdeps/aarch64/fpu/math_private.h
22641         (libc_feupdateenv_test_aarch64): Likewise.
22642         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22643         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
22644         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
22645         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22646         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22647         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22648         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
22649         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22650         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22651         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22653 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22655         [BZ #17732]
22656         * io/test-utime.c (main): Replace %ld with %jd and cast to
22657         intmax_t.
22658         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
22659         * nptl/tst-mutex5.c: Include <stdint.h>.
22660         (do_test): Replace %ld with %jd and cast to intmax_t.
22661         * posix/tst-regex.c (run_test): Likewise.
22662         (run_test_backwards): Likewise.
22663         * rt/tst-clock.c: Include <stdint.h>.
22664         (clock_test): Replace %ld with %jd and cast to intmax_t.
22665         * rt/tst-cpuclock1.c: Include <stdint.h>.
22666         (do_test): Replace %lu with %ju and cast to uintmax_t.
22667         * rt/tst-cpuclock2.c: Include <stdint.h>.
22668         (do_test): Replace %lu with %ju and cast to uintmax_t.
22669         * rt/tst-mqueue1.c: Include <stdint.h>.
22670         (check_attrs): Replace %ld with %jd and cast to intmax_t.
22671         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
22672         intmax_t.
22673         * rt/tst-mqueue4.c (do_test): Likewise.
22674         * rt/tst-timer4.c: Include <stdint.h>.
22675         (check_ts): Replace %ld with %jd and cast to intmax_t.
22676         (do_test): Likewise.
22677         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
22678         and cast to intmax_t.
22679         * sysdeps/pthread/tst-timer.c (main): Likewise.
22680         * time/clocktest.c (main): Likewise.
22681         * time/tst-posixtz.c (do_test): Likewise.
22682         * timezone/tst-timezone.c (main): Likewise.
22684 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22685             H.J. Lu  <hongjiu.lu@intel.com>
22687         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
22688         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
22689         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
22690         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
22691         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
22692         version if bit_Fast_Unaligned_Load is set.
22693         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22694         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22695         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22696         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22697         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22698         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22699         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22700         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
22701         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
22702         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
22703         to 4.
22704         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
22705         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
22706         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
22707         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
22709 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
22711         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
22712         instead of #if to avoid a Wundef warning.
22713         * stdlib/tst-limits.c (do_test): Likewise.
22715         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
22716         parallel other exception macros.
22717         (fegetenv): Convert from macro to extern inline so that it applies
22718         retroactively to inline functions already seen by the compiler.
22719         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
22721         * posix/Makefile (before-compile): Use $(objpfx) for
22722         posix-conf-vars-def.h.
22724 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22726         * posix/getconf.c (main): Use size_t for type of I.
22727         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
22728         NSPEC.
22730         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
22731         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
22732         * posix/posix-envs.def: Likewise.
22733         * sysdeps/posix/sysconf.c: Likewise.
22734         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
22735         (specs): Remove array.
22736         * scripts/gen-posix-conf-vars.awk: Support generation of specs
22737         array.
22739         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
22740         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
22741         (__sysconf): Use CONF_IS_* macros.
22743         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
22744         ($(objpfx)posix-conf-vars-def.h): New target.
22745         * posix/posix-conf-vars.list: New file.
22746         * posix/posix-conf-vars.h: New file.
22747         * posix/confstr.c: Include posix-conf-vars.h.
22748         (confstr): Use CONF_IS_* macros.
22749         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
22750         CONF_IS_* macros.
22751         * scripts/gen-posix-conf-vars.awk: New file.
22753 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
22755         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
22756         fegetround): Add no-op macros to avoid linknamespace issues.
22758         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
22759         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
22761         * sysdeps/unix/sysv/linux/tile/sysdep.h
22762         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
22763         assembly-specific section to avoid a redefinition warning.
22765         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
22766         long before casting to pointer to avoid a cast warning.
22768 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
22770         * sysdeps/tile/tilegx/Implies: New file.
22772 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
22774         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
22776 2014-12-23  Florian Weimer  <fweimer@redhat.com>
22778         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
22780 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22782         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
22783         not define.
22784         * sysdeps/unix/sysv/linux/utimes.c: Do not include
22785         <kernel-features.h>.
22786         (__utimes) [__NR_utimes]: Make code unconditional.
22787         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
22788         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22789         (__ASSUME_UTIMES): Do not undefine.
22790         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22791         (__ASSUME_UTIMES): Likewise.
22792         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22793         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
22794         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
22795         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
22797 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22799         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
22801 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
22803         [BZ #17747]
22804         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
22805         alias to weak alias for j0l, y0l.
22806         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
22807         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
22809         [BZ #17746]
22810         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
22811         conversion.
22813 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22815         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
22816         to zero if not already defined.
22818 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22820         [BZ #17724]
22821         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
22822         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
22823         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
22824         (char *) casts added.
22825         * sysdeps/ieee754/k_standardf.c: New file.
22826         * sysdeps/ieee754/k_standardl.c: Likewise.
22827         * math/Makefile (libm-support): Remove k_standard.
22828         (libm-calls): Add k_standard.
22830 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22832         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22833         Optimize to avoid an unnecessary FPCR read.
22835 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22837         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22838         Optimize to reduce FPCR/FPSR accesses.
22840 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22842         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
22843         Call libc_fetestexcept_aarch64.
22845 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22847         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
22848         Call libc_fesetround_aarch64.
22850 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22852         [BZ #17733]
22853         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
22854         (__bind): Do not define as weak alias.
22855         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
22856         define.
22857         (__getsockname): Do not define as weak alias.
22859 2014-12-22  Will Newton  <will.newton@linaro.org>
22861         * manual/install.texi: Document that we require bison 2.7
22862         or above.
22863         * INSTALL: Regenerate.
22864         * configure.ac: Use AC_CHECK_PROG_VER instead of
22865         AC_PATH_PROG when checking for bison and check for
22866         version 2.7 or above.
22867         * configure: Regenerate.
22869 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
22871         [BZ #17745]
22872         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
22873         * sysdeps/tile/ffsll.c (ffsll): To here.
22875         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
22877 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22879         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
22880         if not defined.
22881         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
22882         definition.
22883         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22884         hidden ___tls_get_addr.
22885         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22886         hidden __tls_get_addr.
22887         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
22888         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
22889         Likewise.
22891 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
22893         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
22894         _dl_init call.
22896 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22898         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
22899         from "call _dl_init@PLT".
22900         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
22902 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
22904         * manual/search.texi: (Array Sort Function): Clarify stable sorting
22905         guarantees.
22907 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
22909         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
22911 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22913         [BZ #17744]
22914         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
22915         strnlen.
22917 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22919         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
22920         of multu on MIPSr6.
22921         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
22922         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
22923         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
22924         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
22925         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
22927 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22929         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
22930         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
22931         (PTR_SUBU): Use subu for mips32r6/mips64r6.
22932         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
22933         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
22934         mips32r6/mips64r6.
22935         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
22937 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
22939         * string/strncat.c (STRNCAT): Simplify implementation.
22941 2014-12-19  David S. Miller  <davem@davemloft.net>
22943         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
22944         access the quad as both a long double and as a series of 4 words.
22946         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
22947         link_map->l_info array access.
22949 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22951         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
22953         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
22954         * math/atest-exp2.c (TIMEOUT): Likewise.
22955         * math/atest-sincos.c (TIMEOUT): Likewise.
22957 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22959         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
22960         -Wno-error with -fno-builtin-lround.
22962 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22964         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
22965         Contains futex constants and functions moved over from ...
22966         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
22967         <lowlevellock-futex.h>.
22968         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22969         (lll_timedwait_tid): Add comments and parentheses around macro
22970         arguments.
22972 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22974         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
22975         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
22976         (__lll_private_flag): Remove.
22977         (lll_futex_wait): Likewise.
22978         (lll_futex_timed_wait): Likewise.
22979         (lll_futex_wake): Likewise.
22980         (lll_futex_requeue): Likewise.
22981         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22982         (__lll_timedwait_tid): Spell out argument names.
22983         (lll_timedwait_tid): Add comments and parentheses around macro
22984         arguments.
22985         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
22986         LLL_SHARED and LLL_PRIVATE usable from assembly code.
22988 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22990         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
22991         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22992         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22993         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
22994         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
22995         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
22996         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
22997         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
22998         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
22999         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
23000         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
23001         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
23002         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
23003         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
23004         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
23005         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
23006         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
23007         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
23008         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
23010 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23012         * sysdeps/x86_64/x32/Makefile: New file.
23014 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23016         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
23017         1L with (mp_limb_t) 1.
23019 2014-12-17  Roland McGrath  <roland@hack.frob.com>
23021         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
23022         * nptl/libc_pthread_init.c: ... here.
23023         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
23024         * nptl/register-atfork.c: ... here.
23026         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
23027         Use pthread_sigmask rather than INTERNAL_SYSCALL.
23028         Use assert_perror to check its return value.
23029         (__gai_create_helper_thread): Likewise.
23031         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
23033         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
23035 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
23037         [BZ #17725]
23038         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
23039         __profil_counter.
23040         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
23041         Likewise.
23042         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
23043         Likewise.
23044         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
23045         Likewise.
23046         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
23047         (profil_counter): Likewise.
23048         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
23049         (profil_counter): Likewise.
23050         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
23051         Likewise.
23052         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
23053         Likewise.
23054         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
23055         (profil_counter): Likewise.
23056         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
23057         Likewise.
23058         [!__profil_counter] (profil_counter): Define as weak alias of
23059         __profil_counter.
23060         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
23061         (profil_counter): Rename to __profil_counter.
23062         [!__profil_counter] (profil_counter): Define as weak alias of
23063         __profil_counter.
23064         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
23065         (profil_counter): Rename to __profil_counter.
23066         [!__profil_counter] (profil_counter): Define as weak alias of
23067         __profil_counter.
23068         * sysdeps/posix/profil.c: Update comment referring to
23069         profil_counter.
23070         (__profil): Use __profil_counter instead of profil_counter.
23071         * sysdeps/posix/sprofil.c (profil_counter): Rename to
23072         __profil_counter.  Use __profil_counter_ushort and
23073         __profil_counter_uint in definitions.
23074         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
23075         instead of profil_counter_uint and profil_counter_ushort.
23077         [BZ #17722]
23078         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
23079         define as weak alias of __inet_makeaddr.
23080         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
23081         as weak alias of __inet_addr.
23082         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
23083         as weak alias of __inet_pton.  Use libc_hidden_weak.
23084         * include/arpa/inet.h (__inet_pton): Declare.  Use
23085         libc_hidden_proto.
23086         (inet_makeaddr): Don't use libc_hidden_proto.
23087         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
23088         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
23089         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
23090         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
23091         Remove variable.
23092         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23093         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23095 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
23097         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
23099 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23101         * stdio-common/bug-vfprintf-nargs.c (do_test):
23102         Cast value to intptr_t to avoid format warning
23103         for usage with PRIdPTR printing macro.
23105 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23107         * libio/tst-widetext.c (do_test):
23108         Use format type %td instead of %Zd for ptrdiff_t
23109         in order to avoid format warning.
23111 2014-12-17  Andreas Schwab  <schwab@suse.de>
23113         * nscd/mem.c (gc): Add size_t cast to match printf format.
23115 2014-12-16  Roland McGrath  <roland@hack.frob.com>
23117         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
23118         (init): Apply PTR_MANGLE to pointers before storing them.
23119         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
23120         before using them.
23122 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
23124         [BZ #17719]
23125         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
23126         define as weak alias of __memrchr.
23127         (__memrchr): Do not define as strong alias of memrchr.
23128         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
23129         Remove variable.
23130         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23131         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23132         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23134         [BZ #17717]
23135         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
23136         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
23137         (if_indextoname): Rename to __if_indextoname and define as weak
23138         alias of __if_indextoname.  Use libc_hidden_weak.
23139         (if_freenameindex): Rename to __if_freenameindex and define as
23140         weak alias of __if_freenameindex.
23141         (if_nameindex): Rename to __if_nameindex and define as weak alias
23142         of __if_nameindex.
23143         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23144         __if_nametoindex and define as weak alias of __if_nametoindex.
23145         Use libc_hidden_weak.
23146         (if_freenameindex): Rename to __if_freenameindex and define as
23147         weak alias of __if_freenameindex.
23148         (if_nameindex): Rename to __if_nameindex and define as weak alias
23149         of __if_nameindex.
23150         (if_indextoname): Rename to __if_indextoname and define as weak
23151         alias of __if_indextoname.  Use libc_hidden_weak.
23152         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23153         __if_nametoindex and define as weak alias of __if_nametoindex.
23154         Use libc_hidden_weak.
23155         (if_freenameindex): Rename to __if_freenameindex and define as
23156         weak alias of __if_freenameindex.  Use libc_hidden_weak.
23157         (if_nameindex_netlink): Use __if_freenameindex instead of
23158         if_freenameindex.
23159         (if_nameindex): Rename to __if_nameindex and define as weak alias
23160         of __if_nameindex.  Use libc_hidden_weak.
23161         (if_indextoname): Rename to __if_indextoname and define as weak
23162         alias of __if_indextoname.  Use libc_hidden_weak.
23163         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23164         libc_hidden_proto.
23165         [!_ISOMAC] (__if_freenameindex): Likewise.
23166         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23167         if_nametoindex.
23168         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23169         variable.
23170         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23171         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23172         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23173         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23174         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23175         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23176         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23178         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23179         Remove variable.
23180         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23181         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23183 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23185         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
23186         subscript above bounds'
23188         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
23189         bounds.
23191 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
23193         * libio/tst-fopenloc.c: Use test-skeleton.c.
23195         * stdlib/tst-bsearch.c: Use test-skeleton.c.
23196         (entry): Rename to ITEM.
23197         (do_test, comp): Adjust.
23199         * stdio-common/tst-fseek.c: Use test-skeleton.c.
23201 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23203         * string/tester.c: Include <libc-internal.h>.
23204         (test_memset): Ignore -Wmemset-transposed-args.
23206 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23208         * misc/tst-mntent2.c (do_test): Fix warning.
23210 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23212         * elf/tst-unique4lib.cc(a): Mark as used.
23214 2014-12-16  Florian Weimer  <fweimer@redhat.com>
23216         [BZ #17630]
23217         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
23218         names.
23220 2014-12-16  Allan McRae  <allan@archlinux.org>
23222         * stdio-common/Makefile (tests): Re-add bug26.
23224 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
23226         [BZ #17657]
23227         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
23228         static array.
23230 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
23232         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
23233         (__lll_lock_wait): Likewise.
23234         (__lll_timedlock_wait): Likewise.
23235         (__lll_timedwait_tid): Likewise.
23236         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
23237         (__lll_robust_timedlock_wait): Likewise.
23238         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
23239         (lll_cond_trylock): Likewise.
23240         (__lll_lock): Likewise.
23241         (__lll_robust_lock): Likewise.
23242         (__lll_cond_lock): Likewise.
23243         (lll_robust_cond_lock): Likewise.
23244         (__lll_timedlock): Likewise.
23245         (__lll_robust_timedlock): Likewise.
23246         (__lll_unlock): Likewise.
23247         (__lll_robust_unlock): Likewise.
23248         (lll_wait_tid): Likewise.
23249         (lll_timedwait_tid): Likewise.
23251 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23253         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
23255 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23257         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23259 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23261         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23262         * stdio-common/tst-sprintf.c: Likewise.
23264 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23266         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23268 2014-12-15  Jeff Law  <law@redhat.com>
23270         [BZ #16617]
23271         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23272         on the heap.  (CVE-2012-3406)
23273         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23274         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
23275         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23277 2014-12-15  Will Newton  <will.newton@linaro.org>
23279         * manual/install.texi: Bump required version of texinfo
23280         to 4.7 from 4.5.
23281         * INSTALL: Regenerated.
23282         * configure.ac: Check for makeinfo version 4.7 and above.
23283         * configure: Regenerated.
23285 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23287         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23288         PREFIX, string constant to insert between directory and name.
23289         * sysdeps/posix/shm_open.c: Update caller.
23290         * sysdeps/posix/shm_unlink.c: Likewise.
23291         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23292         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23293         (SEM_SHM_PREFIX): New macro.
23294         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23295         [$(have-thread-library) = no].
23296         * nptl/Makefile (libpthread-routines): Add shm-directory.
23297         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23298         * sysdeps/nptl/shm-directory.h: New file.
23299         * sysdeps/posix/shm-directory.c
23300         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23301         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23302         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23303         INTERNAL_SYSCALL.
23304         (__where_is_shmfs): Function removed.
23305         (mountpoint, defaultmount, defaultdir, __namedsem_once):
23306         Variables removed.
23307         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23308         Use SHM_GET_NAME.
23309         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
23311         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23312         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23313         unconditional for use inside libpthread.
23314         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23316 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23318         * nptl/pthread_getaffinity.c: New file.
23319         * nptl/pthread_setaffinity.c: New file.
23320         * nptl/pthread_getname.c: New file.
23321         * nptl/pthread_setname.c: New file.
23323         * nptl/pthread_create.c (START_THREAD_DEFN)
23324         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23326 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23327             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23329         * resolv/res_send.c (send_vc): Disable warning resplen may
23330         be used uninitialized.
23332 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23334         * nptl/tst-mutex6.c
23335         (ATTR_NULL): New define checks ATTR against NULL.
23336         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23337         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
23339 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
23341         [BZ #17581]
23342         * malloc/hooks.c
23343         (mem2mem_check): Revert my previous change.
23344         (malloc_check_get_size): Revert my previous change.
23345         (mem2chunk_check): Revert my previous change.
23347 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23349         * sysdeps/posix/shm-directory.c: New file.
23350         * sysdeps/posix/shm-directory.h: New file.
23351         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
23352         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
23353         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
23354         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
23355         Transmute EPERM to EACCES.
23356         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
23357         from ...
23358         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
23359         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
23361 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23363         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
23364         pointer and cast to uintptr_t.
23365         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
23366         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
23367         Add cast to avoid warning.
23368         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
23370 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23372         * nptl/semaphore.h: Move to ...
23373         * sysdeps/pthread/semaphore.h: ... here.
23374         * Makefile (installed-headers): Change nptl/semaphore.h to
23375         sysdeps/pthread/semaphore.h.
23377 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23379         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
23380         generated error format strings.
23382         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
23383         -Wformat-extra-args warnings for scanf formats.
23384         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
23385         test of zero-length format (duh).
23386         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
23387         corner-case scanf format test.
23388         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
23389         generated fprintf format string.
23390         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
23391         corner-case sprintf format tests.
23392         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
23393         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
23394         -Wformat-extra-args warnings throughout.
23395         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
23396         (CFLAGS-scanf4.c): Likewise.
23397         (CFLAGS-scanf7.c): Likewise.
23398         (CFLAGS-tst-sprintf.c): Likewise.
23399         (CFLAGS-tst-printf.c): Likewise.
23400         (CFLAGS-tst-printfsz.c): Likewise.
23402 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23404         * include/cpio.h: New file.
23405         * include/fmtmsg.h: Likewise.
23407         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
23408         corresponding format argument to size_t.
23409         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
23410         arguments.
23411         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
23412         corresponding format argument to size_t.
23413         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
23414         arguments.
23415         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
23416         corresponding format argument to size_t.
23417         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
23418         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
23419         (CFLAGS-tst-mbswcs2.c): Likewise.
23420         (CFLAGS-tst-mbswcs3.c): Likewise.
23421         (CFLAGS-tst-mbswcs4.c): Likewise.
23422         (CFLAGS-tst-mbswcs5.c): Likewise.
23423         (CFLAGS-tst-trans.c): Likewise.
23425 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23427         * posix/regexbug1.c (main): Use "%s" format with regerror results,
23428         rather than assuming they won't contain any '%'s.
23430 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
23432         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
23433         inhibit_loop_to_libcall to avoid recursive calls.
23434         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
23435         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
23437 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23439         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
23440         prototype.
23442 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23444         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
23445         integer value instead of boolean.
23447 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23449         * malloc/malloc.c: Fix powerof2 check.
23451 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23453         * locale/programs/locfile.h (maybe_swap_uint32):
23454         Remove inline and add unused attribute.
23456 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23458         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23459         Truncating assembler expression to a .long expression.
23461 2014-12-11  Andreas Schwab  <schwab@suse.de>
23463         * elf/rtld.c (struct map_args): Constify str member.
23464         (do_preload): Constify fname argument.
23466 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23468         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
23469         constants definition.
23471 2014-12-11  Andreas Schwab  <schwab@suse.de>
23473         [BZ #16657]
23474         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
23475         FORCE_ELISION instead of DO_ELISION.
23476         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
23477         Remove.
23478         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
23479         Likewise.
23481         * iconvdata/gconv-modules: Remove duplicate entry.
23483 2014-12-11  Will Newton  <will.newton@linaro.org>
23485         Merge gettext 0.19.3 into intl/.
23487         This involves a number of cosmetic changes to comments
23488         and ANSI function definitions and prototypes throughout
23489         all the files. The gettext copyright header is used but
23490         with the date ranges taken from the glibc copy.
23492         * NEWS: Add gettext merge to 2.21.
23493         * intl/bindtextdom.c: Switch to gettext copyright.
23494         Use ANSI definitions and prototypes.
23495         Use gl_* locking primitives rather than __libc_* ones.
23496         Use __builtin_expect rather than __glibc_likely/unlikely.
23497         * intl/dcgettext.c: Switch to gettext copyright.
23498         Use ANSI definitions and prototypes.
23499         * intl/dcigettext.c: Switch to gettext copyright.
23500         Use ANSI definitions and prototypes.
23501         (INTDIV0_RAISES_SIGFPE): New define.
23502         Use gl_* locking primitives rather than __libc_* ones.
23503         Include eval-plural.h instead of plural-eval.c.
23504         Use __builtin_expect rather than __glibc_likely/unlikely.
23505         * intl/dcngettext.c: Switch to gettext copyright.
23506         Use ANSI definitions and prototypes.
23507         * intl/dgettext.c: Likewise.
23508         * intl/dngettext.c: Likewise.
23509         * intl/plural-eval.c: Renamed to...
23510         * intl/eval-plural.h: ...this.
23511         * intl/explodename.c: Switch to gettext copyright.
23512         Use ANSI definitions and prototypes.
23513         (_nl_explode_name): Use strchr instead of __rawmemchr.
23514         * intl/finddomain.c: Switch to gettext copyright.
23515         Use ANSI definitions and prototypes.
23516         Use gl_* locking primitives rather than __libc_* ones.
23517         (_nl_find_domain): Use malloc rather than alloca for
23518         allocation of temporary locale name.
23519         * intl/gettext.c: Switch to gettext copyright.
23520         Use ANSI definitions and prototypes.
23521         * intl/gettextP.h: Switch to gettext copyright.
23522         Use ANSI definitions and prototypes.
23523         Use gl_* locking primitives rather than __libc_* ones.
23524         * intl/gmo.h: Switch to gettext copyright.
23525         (struct sysdep_string): Move struct segment_pair outside of
23526         struct definition.
23527         * intl/hash-string.c: Use ANSI definitions and prototypes.
23528         * intl/hash-string.h: Switch to gettext copyright.
23529         Use ANSI definitions and prototypes.
23530         * intl/l10nflist.c: Switch to gettext copyright.
23531         Use ANSI definitions and prototypes.
23532         (_nl_normalize_codeset): Avoid integer overflow.
23533         * intl/loadinfo.h: Switch to gettext copyright.
23534         Use ANSI definitions and prototypes.
23535         (LIBINTL_DLL_EXPORTED): New define.
23536         (PATH_SEPARATOR): New define.
23537         * intl/loadmsgcat.c: Switch to gettext copyright.
23538         * intl/localealias.c: Switch to gettext copyright.
23539         Use ANSI definitions and prototypes.
23540         (_nl_expand_alias): Use PATH_SEPARATOR.
23541         * intl/ngettext.c: Switch to gettext copyright.
23542         Use ANSI definitions and prototypes.
23543         * intl/plural-exp.c: Likewise.
23544         * intl/plural-exp.h: Switch to gettext copyright.
23545         Use ANSI definitions and prototypes.
23546         (struct expression): Move definition of enum operator outside
23547         of struct definition.
23548         * intl/plural.c: Regenerate.
23549         * intl/plural.y: Switch to gettext copyright.
23550         Use ANSI definitions and prototypes.
23551         Port to bison 3.0.
23552         * intl/textdomain.c: Switch to gettext copyright.
23553         Use ANSI definitions and prototypes.
23554         Use gl_* locking primitives rather than __libc_* ones.
23556 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
23558         * debug/warning-nop.c: Add used atrribute.
23560 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23562         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
23564         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
23565         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
23566         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
23568 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23569             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23571         [BZ #17634]
23572         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
23573         Undefine after defining function.  Define as weak alias of
23574         __wcschr.  Use libc_hidden_weak.
23575         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
23576         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
23577         (libc_hidden_def): Also define __GI___wcschr alias.
23578         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
23579         __wcschr and define as weak alias of __wcschr.
23580         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
23581         __wcschr.
23582         [!WCSCHR] (DEFAULT_WCSCHR): Define.
23583         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
23584         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
23585         libc_hidden_weak.  Do not use libc_hidden_def.
23586         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
23587         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
23588         __GI___wcschr alias.
23589         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
23590         [IS_IN (libc)] (wcschr): Define as macro expanding to
23591         __redirect_wcschr.
23592         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
23593         [IS_IN (libc)] (__wcschr_power6): Likewise.
23594         [IS_IN (libc)] (__wcschr_power7): Likewise.
23595         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
23596         instead of wcschr.
23597         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
23598         __libc_wcschr.
23599         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
23600         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
23601         __wcschr and define as weak alias of __wcschr.  Use
23602         libc_hidden_builtin_def.
23603         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
23604         as weak alias of __wcschr.  Use libc_hidden_weak.
23605         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
23606         wcschr.
23607         * time/era.c (_nl_init_era_entries): Likewise.
23608         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
23609         variable.
23610         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23611         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23613 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23615         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
23616         format for long int variable.
23618 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
23620         [BZ #10672]
23621         * manual/search.texi: (Array Sort Function): Remove claim how to make
23622         qsort stable.
23624 2014-12-10  Andreas Schwab  <schwab@suse.de>
23626         [BZ #12847]
23627         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
23628         user-controlled locks.
23630 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
23632         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
23633         register.
23635 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23637         * configure.ac (--disable-werror): New configure option.
23638         (enable_werror): New AC_SUBST.
23639         * configure: Regenerated.
23640         * config.make.in (enable-werror): New variable.
23641         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
23642         -Wno-error=undef.
23643         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
23644         * manual/install.texi (Configuring and compiling): Document
23645         --disable-werror.
23646         * INSTALL: Regenerated.
23647         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
23648         (CFLAGS-tst-chk2.c): Likewise.
23649         (CFLAGS-tst-chk3.c): Likewise.
23650         (CFLAGS-tst-chk4.cc): Likewise.
23651         (CFLAGS-tst-chk5.cc): Likewise.
23652         (CFLAGS-tst-chk6.cc): Likewise.
23653         (CFLAGS-tst-lfschk1.c): Likewise.
23654         (CFLAGS-tst-lfschk2.c): Likewise.
23655         (CFLAGS-tst-lfschk3.c): Likewise.
23656         (CFLAGS-tst-lfschk4.cc): Likewise.
23657         (CFLAGS-tst-lfschk5.cc): Likewise.
23658         (CFLAGS-tst-lfschk6.cc): Likewise.
23660         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
23661         (main): Disable -Wdeprecated-declarations around calls to
23662         register_printf_function.
23664         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
23665         (do_test): Disable -Wdiv-by-zero around some calls to
23666         fwrite_unlocked and fread_unlocked.
23668         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
23669         (DIAG_POP_NEEDS_COMMENT): Likewise.
23670         (_DIAG_STR1): Likewise.
23671         (_DIAG_STR): Likewise.
23672         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
23673         * stdio-common/bug21.c: Include <libc-internal.h>.
23674         (do_test): Disable -Wformat around call to sscanf.
23675         * stdio-common/scanf14.c: Include <libc-internal.h>.
23676         (main): Disable -Wformat around some calls to scanf functions.
23678 2014-12-09  Torvald Riegel  <triegel@redhat.com>
23680         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
23682 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23684         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
23685         stack variable alignment.
23687 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
23689         [BZ #17682]
23690         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
23691         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
23692         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
23693         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
23694         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
23695         __getrlimit instead of getrlimit.
23696         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
23697         __gettimeofday instead of gettimeofday.
23698         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23699         Likewise.
23700         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23701         Likewise.
23702         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23703         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
23704         Remove variable.
23705         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23706         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23708 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23710         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
23711         for wide-character tests.
23713 2014-12-04  Roland McGrath  <roland@hack.frob.com>
23715         * io/openat64.c: #include <libc-internal.h>
23716         (__openat64): Prototypify.  Use ignore_value on MODE.
23717         * io/openat.c: Likewise.
23718         * misc/reboot.c: #include <libc-internal.h>
23719         (reboot): Prototypify.  Use ignore_value on HOWTO.
23720         * misc/ptrace.c: #include <libc-internal.h>
23721         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
23723 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
23725         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
23726         XPG4, UNIX98 and XOPEN2K.
23727         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
23728         Remove variable.
23729         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23731 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23733         * libio/fileops.c: Use ISO C style for function definitions.
23734         * libio/iofopen.c: Likewise.
23735         * libio/wfileops.c: Likewise.
23737         [BZ #17653]
23738         * libio/fileops.c (_IO_new_file_underflow): Unset cached
23739         offset on EOF.
23740         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
23741         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
23742         (fgets_func): Function pointer to fgets and fgetws.
23743         (do_ftell_test): Add test to verify ftell value after read
23744         EOF.
23745         (do_test): Set fgets_func.
23747         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
23748         O_TRUNC flag for w and w+ modes.
23749         (do_rewind_test): Likewise.
23750         (do_ftell_test): Likewise.
23751         (do_write_test): Likewise.
23753         [BZ #17647]
23754         * libio/fileops.c (do_ftell): Seek only when there are
23755         unflushed writes.
23756         * libio/wfileops.c (do_ftell_wide): Likewise.
23757         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
23758         test case.
23759         (do_one_test): Call it.
23761 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
23763         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
23764         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
23765         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
23766         Remove variable.
23767         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23768         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23769         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23771 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23773         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
23774         Remove variable.
23775         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23777         [BZ #17668]
23778         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
23779         as weak alias of __getifaddrs.  Use libc_hidden_weak.
23780         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23781         __freeifaddrs.  Use libc_hidden_weak.
23782         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
23783         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
23784         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23785         __freeifaddrs.  Use libc_hidden_weak.
23786         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
23787         __getifaddrs and define as weak alias of __getifaddrs.  Use
23788         libc_hidden_weak.
23789         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23790         __freeifaddrs.  Use libc_hidden_weak.
23791         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
23792         Remove variable.
23793         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23794         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23796 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
23798         [BZ #17601]
23799         * sysdeps/mips/start.S (__start): Use indirect jump to call
23800         __libc_start_main.
23802 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23804         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
23806         * nptl/tst-mutex1.c: Include <stdbool.h>.
23807         [!ATTR] (ATTR_NULL): New macro.
23808         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
23809         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
23810         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
23812         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
23813         to char *.
23815         [BZ #17665]
23816         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
23817         Change conditional to [__USE_MISC].
23819         [BZ #17664]
23820         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
23821         fgets_unlocked.
23822         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
23823         __fgets_unlocked.
23824         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
23825         fgets_unlocked.
23826         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
23827         Remove variable.
23828         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23829         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23830         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23831         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23832         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23833         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23834         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23835         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23836         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23838         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
23840 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23842         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23843         Remove strpbrk objects.
23844         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23845         (__libc_ifunc_impl_list): Remove strpbrk implementation.
23846         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
23847         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
23848         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
23849         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
23851         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23852         Remove strcspn objects.
23853         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23854         (__libc_ifunc_impl_list): Remove strcspn implementation.
23855         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
23856         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
23857         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
23858         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
23860         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23861         Remove strspn objetcs.
23862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23863         (__libc_ifunc_impl_list): Remove strspn implementation.
23864         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
23865         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23866         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
23867         * sysdeps/powerpc/powerpc64/strspn.S: New file.
23869 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
23871         [BZ #17581]
23872         * malloc/hooks.c
23873         (mem2mem_check): Add a terminator to the chain of checking blocks.
23874         (malloc_check_get_size): Use it here.
23875         (mem2chunk_check): Ditto.
23877 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23879         * sysdeps/powerpc/powerpc64/strtok.S: New file.
23880         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
23882 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
23884         * bits/ioctl-types.h: Indent preprocessor directives correctly.
23886         * nptl/nptl-init.c: Include libc-internal.h.
23887         (__pthread_initialize_minimal_internal): Use ROUND_UP.
23889         * elf/ldconfig.c (search_dir): Expand comment.
23891 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
23893         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
23894         variable.
23895         (linknamespace-symlist-stdlibs-tests): Likewise.
23896         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
23897         instead of $(objpfx)symlist-stdlibs.
23898         (linknamespace-libs-isoc): New variable.
23899         (linknamespace-libs): Use $(linknamespace-libs-isoc).
23900         (linknamespace-libs-ISO): New variable.
23901         (linknamespace-libs-ISO99): Likewise.
23902         (linknamespace-libs-ISO11): Likewise.
23903         (linknamespace-libs-XPG3): Likewise.
23904         (linknamespace-libs-XPG4): Likewise.
23905         (linknamespace-libs-POSIX): Likewise.
23906         (linknamespace-libs-UNIX98): Likewise.
23907         (linknamespace-libs-XOPEN2K): Likewise.
23908         (linknamespace-libs-POSIX2008): Likewise.
23909         (linknamespace-libs-XOPEN2K8): Likewise.
23910         ($(objpfx)symlist-stdlibs): Replace by
23911         $(linknamespace-symlist-stdlibs-tests).  Use
23912         $(linknamespace-libs-$*) as set of libraries.
23913         ($(linknamespace-header-tests)): Update dependencies.  Use
23914         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
23915         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
23916         * conform/linknamespace.pl: Remove comment about considering
23917         definitions of symbols from irrelevant libraries.
23919 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
23921         [BZ #13862]
23922         * elf/dl-tls.c: Include <atomic.h>.
23923         (oom): Remove #ifdef SHARED/#endif.
23924         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
23925         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
23926         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
23927         big enough.
23928         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
23929         * nptl/Makefile (tests): Add tst-stack4.
23930         (modules-names): Add tst-stack4mod.
23931         ($(objpfx)tst-stack4): New.
23932         (tst-stack4mod.sos): Likewise.
23933         ($(objpfx)tst-stack4.out): Likewise.
23934         ($(tst-stack4mod.sos)): Likewise.
23935         (clean): Likewise.
23936         * nptl/tst-stack4.c: New file.
23937         * nptl/tst-stack4mod.c: Likewise.
23939 2014-11-27  J. Brown  <jb999@gmx.de>
23941         * sysdeps/x86/bits/string.h: Add recent CPUs.
23943 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23945         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
23946         sigblock.
23948         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
23949         feof.
23951         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
23952         variable.
23954 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
23956         * nscd/connections.c: Include libc-internal.h because of macro
23957         usage ignore_value.
23959 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23961         * string/bits/string3.h (__warn_memset_zero_len): Don't
23962         declare for gcc newer than 5.0.
23963         (memset): Don't test for zero-length __LEN for gcc newer than
23964         5.0.
23966 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23968         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
23969         size_t for %zu format.
23971         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
23972         difference, not %ju.
23974 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23976         * include/libc-internal.h (ignore_value): New macro.
23977         * nscd/connections.c (restart): Wrap calls to setuid and setgid
23978         with ignore_value.
23980         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
23981         definition.
23983         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
23984         pthread_cleanup_push to void *.
23986         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
23987         Undefine.
23989         [BZ #16619]
23990         [BZ #16740]
23991         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
23992         instead of 1L << 52.
23994         * libio/bug-rewind.c (do_test): Check fwscanf return values.
23995         * libio/bug-rewind2.c (do_test): Likewise.
23997         * debug/test-stpcpy_chk-ifunc.c: Remove file.
23998         * debug/test-strcpy_chk-ifunc.c: Likewise.
23999         * wcsmbs/test-wcschr-ifunc.c: Likewise.
24000         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24001         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24002         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24003         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24004         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24005         * Rules [$(multi-arch) = no] (tests): Do not filter out
24006         $(tests-ifunc).
24007         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
24008         * debug/Makefile (tests-ifunc): Remove variable.
24009         (tests): Do not add $(tests-ifunc).
24010         * wcsmbs/Makefile (tests-ifunc): Remove variable.
24011         (tests): Do not add $(tests-ifunc).
24012         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
24013         [TEST_IFUNC]: Remove conditionals.
24014         * string/test-string.h (TEST_IFUNC): Remove macro.
24015         [TEST_IFUNC]: Remove conditionals.
24017         * string/test-strchr.c [!WIDE] (L): New macro.
24018         [WIDE] (L): Likewise.
24019         (check1): Use CHAR instead of char.  Use L on string and character
24020         constants.
24022 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
24024         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
24025         tests.
24026         * sysdeps/powerpc/bits/atomic.h
24027         (__arch_atomic_exchange_and_add_32_acq): Add definition.
24028         (__arch_atomic_exchange_and_add_32_rel): Likewise.
24029         (atomic_exchange_and_add_acq): Likewise.
24030         (atomic_exchange_and_add_rel): Likewise.
24031         * sysdeps/powerpc/powerpc32/bits/atomic.h
24032         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24033         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24034         * sysdeps/powerpc/powerpc64/bits/atomic.h
24035         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24036         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24038 2014-11-26  Torvald Riegel  <triegel@redhat.com>
24040         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
24041         Change synchronization of __sched_fifo_min_prio and
24042         __sched_fifo_max_prio.
24043         * nptl/pthread_mutexattr_getprioceiling.c
24044         (pthread_mutexattr_getprioceiling): Likewise.
24045         * nptl/pthread_mutexattr_setprioceiling.c
24046         (pthread_mutexattr_setprioceiling): Likewise.
24047         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24048         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
24049         Likewise.
24051 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24053         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
24054         void.
24056 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24058         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
24059         third argument const.
24061 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
24063         fnmatch: work around GCC compiler warning bug with uninit var
24064         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
24065         This works around a bug with x86-64 GCC 4.9.2 and earlier
24066         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
24067         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
24068         used uninitialized in this function [-Wmaybe-uninitialized]".
24070 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24072         * posix/bug-regex31.c (main): Return RES not 0.
24074 2014-11-25  Anton Blanchard <anton@samba.org>
24076         * sysdeps/powerpc/bits/atomic.h
24077         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24079 2014-11-24  Sterling Augustine  <saugustine@google.com>
24081         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
24083 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
24085         [BZ #17608]
24086         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
24088 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
24090         [BZ #17633]
24091         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
24092         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
24093         variable.
24094         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24095         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24097 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24099         * string/strncpy.c (strncpy): Improve performance by using memset.
24101 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24103         * string/strcpy.c (strcpy):
24104         Improve performance by using strlen and memcpy.
24106 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
24108         * string/strcoll_l.c (get_next_seq): __always_inline.
24109         * string/strcoll_l.c (do_compare): __always_inline.
24111 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24113         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
24114         defined.
24115         * include/mqueue.h: Likewise.
24116         * include/stdlib.h: Likewise.
24118         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
24119         (get_null_defines): Adjust.
24120         * sunrpc/Makefile: Adjust comment.
24121         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
24122         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
24123         (CFLAGS-interp.c): Likewise.
24124         (CFLAGS-ldconfig.c): Likewise.
24125         (CPPFLAGS-.os): Likewise.
24126         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24127         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24128         * extra-modules.mk (extra-modules.mk): Likewise.
24129         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
24130         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
24131         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
24132         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
24133         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
24134         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
24135         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
24136         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
24137         * iconvdata/Makefile (CPPFLAGS): Likewise.
24138         (cpp-srcs-left): Add libof for all iconvdata routines.
24139         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
24140         * include/assert.h: Likewise.
24141         * include/ctype.h: Likewise.
24142         * include/errno.h: Likewise.
24143         * include/libc-symbols.h: Likewise.
24144         * include/math.h: Likewise.
24145         * include/netdb.h: Likewise.
24146         * include/resolv.h: Likewise.
24147         * include/stdio.h: Likewise.
24148         * include/stdlib.h: Likewise.
24149         * include/string.h: Likewise.
24150         * include/sys/stat.h: Likewise.
24151         * include/wctype.h: Likewise.
24152         * intl/l10nflist.c: Likewise.
24153         * libidn/idn-stub.c: Likewise.
24154         * libio/libioP.h: Likewise.
24155         * nptl/libc_multiple_threads.c: Likewise.
24156         * nptl/pthreadP.h: Likewise.
24157         * posix/regex_internal.h: Likewise.
24158         * resolv/res_hconf.c: Likewise.
24159         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24160         * sysdeps/arm/memmove.S: Likewise.
24161         * sysdeps/arm/sysdep.h: Likewise.
24162         * sysdeps/generic/_itoa.h: Likewise.
24163         * sysdeps/generic/symbol-hacks.h: Likewise.
24164         * sysdeps/gnu/errlist.awk: Likewise.
24165         * sysdeps/gnu/errlist.c: Likewise.
24166         * sysdeps/i386/i586/memcpy.S: Likewise.
24167         * sysdeps/i386/i586/memset.S: Likewise.
24168         * sysdeps/i386/i686/memcpy.S: Likewise.
24169         * sysdeps/i386/i686/memmove.S: Likewise.
24170         * sysdeps/i386/i686/mempcpy.S: Likewise.
24171         * sysdeps/i386/i686/memset.S: Likewise.
24172         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24173         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24174         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24175         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24176         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24177         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24178         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24179         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24180         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24181         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24182         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24183         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24184         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24185         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24186         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24187         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24188         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
24189         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
24190         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
24191         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24192         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24193         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24194         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24195         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24196         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24197         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24198         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
24199         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24200         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
24201         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24202         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24203         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24204         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24205         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24206         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24207         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24208         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24209         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24210         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24211         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24212         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24213         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24214         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24215         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24216         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24217         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24218         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
24219         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
24220         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24221         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24222         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24223         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
24224         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
24225         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24226         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24227         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
24228         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24229         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
24230         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
24231         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24232         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24233         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24234         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
24235         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24236         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24237         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
24238         * sysdeps/posix/closedir.c: Likewise.
24239         * sysdeps/posix/opendir.c: Likewise.
24240         * sysdeps/posix/readdir.c: Likewise.
24241         * sysdeps/posix/rewinddir.c: Likewise.
24242         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
24243         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
24244         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24245         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24246         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24247         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
24248         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
24249         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
24250         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
24251         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
24252         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
24253         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
24254         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
24255         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
24256         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
24257         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
24258         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24259         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24260         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24261         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24262         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24263         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24264         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24265         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24266         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24267         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24268         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24269         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24270         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24271         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24272         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24273         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24274         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24275         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24276         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24277         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24278         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24279         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24280         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24281         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24282         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24283         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24284         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24285         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24286         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24287         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24288         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24289         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24290         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24291         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24292         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24293         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24294         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24295         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24296         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24297         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24298         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24299         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24300         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24301         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24302         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24303         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24304         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24305         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24306         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24307         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24308         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24309         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24310         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24311         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24312         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24313         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24314         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24315         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24316         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24317         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24318         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24319         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24320         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24321         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24322         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24323         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24324         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24325         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24326         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24327         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24328         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24329         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24330         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24331         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24332         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24333         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24334         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24335         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24336         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24337         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
24338         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24339         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24340         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
24341         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
24342         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24343         * sysdeps/unix/alpha/sysdep.S: Likewise.
24344         * sysdeps/unix/alpha/sysdep.h: Likewise.
24345         * sysdeps/unix/make-syscalls.sh: Likewise.
24346         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24347         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24348         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24349         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
24350         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24351         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24352         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
24353         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24354         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24355         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
24356         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24357         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24358         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24359         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24360         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24361         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24362         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24363         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24364         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24365         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24366         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24367         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24368         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24369         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24370         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24371         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24372         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24375         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
24376         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24377         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24378         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24379         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24380         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24381         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24382         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24383         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24384         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24385         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24386         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24387         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24388         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24389         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24390         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24391         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24392         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24393         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24394         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24395         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24396         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24397         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24398         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24399         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24400         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
24401         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24402         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24403         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24404         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
24405         * sysdeps/x86_64/memcpy.S: Likewise.
24406         * sysdeps/x86_64/memmove.c: Likewise.
24407         * sysdeps/x86_64/memset.S: Likewise.
24408         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
24409         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24410         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24411         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
24412         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
24413         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24414         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24415         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24416         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24417         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24418         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24419         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24420         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
24421         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24422         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24423         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
24424         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24425         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24426         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24427         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24428         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
24429         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24430         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24431         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24432         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24433         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24434         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24435         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
24436         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24437         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24438         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
24439         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24440         * sysdeps/x86_64/strcmp.S: Likewise.
24442         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
24444         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
24445         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
24446         * elf/rtld-Rules: Likewise.
24447         * elf/setup-vdso.h: Likewise.
24448         * include/assert.h: Likewise.
24449         * include/bits/stdlib-float.h: Likewise.
24450         * include/errno.h: Likewise.
24451         * include/sys/stat.h: Likewise.
24452         * include/unistd.h: Likewise.
24453         * sysdeps/aarch64/setjmp.S: Likewise.
24454         * sysdeps/alpha/setjmp.S: Likewise.
24455         * sysdeps/arm/__longjmp.S: Likewise.
24456         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
24457         * sysdeps/arm/setjmp.S: Likewise.
24458         * sysdeps/arm/sysdep.h: Likewise.
24459         * sysdeps/generic/_itoa.h: Likewise.
24460         * sysdeps/generic/dl-sysdep.h: Likewise.
24461         * sysdeps/generic/ldsodefs.h: Likewise.
24462         * sysdeps/i386/dl-tls.h: Likewise.
24463         * sysdeps/i386/setjmp.S: Likewise.
24464         * sysdeps/m68k/setjmp.c: Likewise.
24465         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
24466         * sysdeps/mach/hurd/opendir.c: Likewise.
24467         * sysdeps/posix/getcwd.c: Likewise.
24468         * sysdeps/posix/opendir.c: Likewise.
24469         * sysdeps/posix/profil.c: Likewise.
24470         * sysdeps/powerpc/dl-procinfo.h: Likewise.
24471         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24472         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24473         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24474         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24475         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
24476         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24477         * sysdeps/s390/dl-tls.h: Likewise.
24478         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24479         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24480         * sysdeps/sh/sh3/setjmp.S: Likewise.
24481         * sysdeps/sh/sh4/setjmp.S: Likewise.
24482         * sysdeps/unix/alpha/sysdep.h: Likewise.
24483         * sysdeps/unix/arm/sysdep.S: Likewise.
24484         * sysdeps/unix/i386/sysdep.S: Likewise.
24485         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24486         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24487         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24488         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24489         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24490         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24491         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24492         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24493         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24494         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24495         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24496         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24497         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24500         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24501         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24502         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24503         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24504         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24505         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24506         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24507         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24508         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24509         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24510         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24511         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24512         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24513         * sysdeps/x86_64/setjmp.S: Likewise.
24515         * include/math.h: Use IS_IN instead of IS_IN_libm.
24516         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
24517         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24518         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24519         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
24520         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24521         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24522         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24523         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24524         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24525         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24526         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
24527         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
24528         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
24529         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
24530         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
24531         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
24532         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24533         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
24534         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24535         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
24536         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
24537         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
24538         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
24539         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
24540         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
24541         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
24542         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
24543         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24544         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24545         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
24546         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
24547         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24548         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24550         Likewise.
24551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
24552         Likewise.
24553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
24554         Likewise.
24555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
24556         Likewise.
24557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
24558         Likewise.
24559         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24560         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
24561         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24562         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24563         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24564         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
24566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
24567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
24568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
24569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
24570         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
24571         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
24572         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24573         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24574         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24575         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24576         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24577         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24578         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24579         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
24580         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
24581         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
24582         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
24583         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
24584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24585         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
24587         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
24588         * nptl/pthreadP.h: Likewise.
24589         * nptl_db/structs.def: Likewise.
24590         * sysdeps/arm/sysdep.h: Likewise.
24591         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24592         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24593         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
24594         * sysdeps/unix/alpha/sysdep.h: Likewise.
24595         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24596         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24597         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24598         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24599         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24600         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24601         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24602         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24603         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24604         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24605         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24606         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24607         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24608         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24611         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24612         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24613         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24614         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24615         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24616         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24617         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24618         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24619         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
24620         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24622         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
24623         * nptl/pthreadP.h: Likewise.
24624         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24625         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24626         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24627         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24628         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24629         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24630         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24631         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24632         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24633         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24634         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24635         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24637         Likewise.
24638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24639         Likewise.
24640         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24641         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24642         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24643         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24644         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24645         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24646         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24647         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24649         * dlfcn/dladdr.c: Use IS_IN.
24650         * dlfcn/dladdr1.c: Likewise.
24651         * dlfcn/dlclose.c: Likewise.
24652         * dlfcn/dlerror.c: Likewise.
24653         * dlfcn/dlinfo.c: Likewise.
24654         * dlfcn/dlmopen.c: Likewise.
24655         * dlfcn/dlopen.c: Likewise.
24656         * dlfcn/dlsym.c: Likewise.
24657         * dlfcn/dlvsym.c: Likewise.
24659         * include/ifaddrs.h: Use IS_IN.
24660         * inet/check_pf.c: Likewise.
24661         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24662         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
24664         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
24665         IS_IN_ldconfig.
24666         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
24667         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
24669         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
24670         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
24671         IS_IN (libc).
24673         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
24675         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
24676         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24677         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24678         * include/libc-symbols.h (IS_IN_LIB): New macro.
24679         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
24680         * include/netdb.h: Likewise.
24681         * include/stap-probe.h: Remove all uses of IN_LIB.
24683         * Makeconfig (module-cppflags-real): Define MODULE_NAME
24684         instead of IN_MODULE.
24685         * include/libc-symbols.h (IN_MODULE): Define using
24686         MODULE_NAME.
24687         (PASTE_NAME, PASTE_NAME1): New macros.
24688         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
24689         of IN_LIB.
24690         (STAP_PROBE_ASM): Likewise.
24692 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24694         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
24695         __mach_init in dlopened libc.
24697 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
24699         * sysdeps/arm/preconfigure.ac: Delete EABI check.
24700         * sysdeps/arm/preconfigure: Regenerate.
24702 2014-11-21  Roland McGrath  <roland@hack.frob.com>
24704         * nptl/pthread_create.c (__pthread_create_2_1): Set
24705         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
24706         when copying values from IATTR into PD.
24708 2014-11-21  Will Newton  <will.newton@linaro.org>
24709             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
24711         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
24712         Refactor inline-asm.  Also add comment.
24714         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
24715         ElfW macro instead of hardcoded Elf64 types.
24716         (la_aarch64_gnu_pltenter): Likewise.
24717         * sysdeps/aarch64/dl-machine.h
24718         (elf_machine_runtime_setup): Use ElfW(Addr).
24720         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
24721         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
24722         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
24723         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
24724         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
24725         (R_AARCH64_TLS_DTPMOD64): Rename to ..
24726         (R_AARCH64_TLS_DTPMOD): This.
24727         (R_AARCH64_TLS_DTPREL64): Rename to ...
24728         (R_AARCH64_TLS_DTPREL): This.
24729         (R_AARCH64_TLS_TPREL64): Rename to ...
24730         (R_AARCH64_TLS_TPREL): This.
24731         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
24732         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
24733         R_AARCH64_TLS_TPREL64.
24734         (elf_machine_rela): Likewise.
24736 2014-11-21  Torvald Riegel  <triegel@redhat.com>
24738         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
24739         by setting it to 0.  64b atomics are not supported currently.
24741 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24743         [BZ #16469]
24744         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
24745         search domain names.
24747 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24749         [BZ #16469]
24750         * NEWS: Update.
24751         * resolv/res_query.c (__libc_res_nquerydomain): Retain
24752         trailing dot.
24753         * posix/tst-getaddrinfo5.c: New.
24754         * posix/Makefile (tests): Add it.
24756 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24758         [BZ #14498]
24759         * NEWS: Fixed.
24760         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
24761         after parsing line but before break_if_match.
24762         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
24763         if there is a protocol mismatch.
24765 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
24767         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
24768         because the potential race is on the user-supplied stream.
24770 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24772         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
24773         string literal if not passed a buffer.
24774         * manual/job.texi (ctermid): Update reasoning, note deviation
24775         from posix, suggest mtasurace when not passed a buffer, for
24776         future non-preliminary safety notes.
24778 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24780         * manual/users.texi (cuserid): Fix MT-Safety note for the case
24781         of not passing it a buffer.
24782         Reported by Peng Haitao.
24784 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24786         * manual/Makefile ($(objpfx)stamp-summary): Require
24787         check-safety.sh to pass.
24788         * manual/check-safety.sh: Wish for verification that every
24789         @deftypefn and @deftypefun is followed by a @safety remark.
24791 2014-11-20  Roland McGrath  <roland@hack.frob.com>
24793         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
24795         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
24796         PTHREAD_CANCEL_ASYNCHRONOUS.
24797         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
24798         send SIGCANCEL.
24800         * nptl/default-sched.h: New file.
24801         * sysdeps/unix/sysv/linux/default-sched.h: New file.
24802         * nptl/pthread_create.c: Include it.
24803         (__pthread_create_2_1): Use collect_default_sched instead of making
24804         Linux syscalls here directly.
24806 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24808         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
24809         __pthread_once): Use C11 atomics.
24811 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24813         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
24815 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24817         * include/atomic.h (__atomic_link_error, __atomic_check_size,
24818         atomic_thread_fence_acquire, atomic_thread_fence_release,
24819         atomic_thread_fence_seq_cst, atomic_load_relaxed,
24820         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
24821         atomic_compare_exchange_weak_relaxed,
24822         atomic_compare_exchange_weak_acquire,
24823         atomic_compare_exchange_weak_release,
24824         atomic_exchange_acquire, atomic_exchange_release,
24825         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
24826         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
24827         atomic_fetch_and_acquire,
24828         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
24830 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24832         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
24833         USE_ATOMIC_COMPILER_BUILTINS): Define.
24834         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
24835         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24836         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
24837         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24838         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
24839         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24840         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
24841         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24842         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
24843         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24844         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
24845         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24846         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
24847         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24848         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
24849         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24850         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24851         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24852         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24853         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24854         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
24855         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24856         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24857         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24858         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
24859         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24860         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24861         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24862         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
24863         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24864         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
24865         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24866         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
24867         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24868         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24869         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24870         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
24871         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24872         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
24873         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24875 2014-11-19  Roland McGrath  <roland@hack.frob.com>
24877         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
24878         the sched_priority value here.  It was already checked when the user
24879         called pthread_attr_setschedparam.
24881         * nptl/tst-bad-schedattr.c: New file.
24882         * nptl/Makefile (tests): Add it.
24884 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
24885             Florian Weimer  <fweimer@redhat.com>
24886             Joseph Myers  <joseph@codesourcery.com>
24887             Adam Conrad  <adconrad@0c3.net>
24888             Andreas Schwab  <schwab@suse.de>
24889             Brooks  <bmoses@google.com>
24891         [BZ #17625]
24892         * wordexp-test.c (__dso_handle): Add prototype.
24893         (__register_atfork): Likewise.
24894         (__app_register_atfork): New function.
24895         (registered_forks): New global.
24896         (register_fork): New function.
24897         (test_case): Add 3 new tests for WRDE_CMDSUB.
24898         (main): Call __app_register_atfork.
24899         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
24900         fork count is non-zero fail the test.
24901         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
24902         is set.
24903         (parse_dollars): Remove check for WRDE_NOCMD.
24904         (parse_dquote): Likewise.
24906 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24908         * Makeconfig (built-modules): List non-library modules to be
24909         built.
24910         (module-cppflags): Include libc-modules.h for
24911         everything except shlib-versions.v.i.
24912         (CPPFLAGS): Use it.
24913         (before-compile): Add libc-modules.h.
24914         ($(common-objpfx)libc-modules.h,
24915         $(common-objpfx)libc-modules.stmp): New targets.
24916         (common-generated): Add libc-modules.h and libc-modules.stmp.
24917         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
24918         * include/libc-symbols.h: Don't include libc-modules.h.
24919         * include/libc-modules.h: Remove file.
24920         * scripts/gen-libc-modules.awk: New script to generate
24921         libc-modules.h.
24922         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
24923         Depend on libc-modules.stmp.
24925         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
24927         * Makeconfig (in-module): Get value of libof set for the
24928         translation unit.
24929         (CPPFLAGS): Use $(in-module).
24930         * Makerules: Don't suffix routine names for nonlib.
24931         * include/libc-modules.h: New file.
24932         * include/libc-symbols.h: Include libc-modules.h
24933         (IS_IN): New macro to replace IS_IN_* macros.
24934         * elf/Makefile: Set libof-* for each routine.
24935         * elf/rtld-Rules: Likewise.
24936         * extra-modules.mk: Likewise.
24937         * iconv/Makefile: Likewise.
24938         * iconvdata/Makefile: Likewise.
24939         * locale/Makefile: Likewise.
24940         * malloc/Makefile: Likewise.
24941         * nss/Makefile: Likewise.
24942         * sysdeps/gnu/Makefile: Likewise.
24943         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
24944         * sysdeps/unix/sysv/linux/Makefile: Likewise.
24945         * sysdeps/s390/s390-64/Makefile: Likewise.
24946         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
24947         CPPFLAGS for nscd instead of nonlib.
24949 2014-11-18  Roland McGrath  <roland@hack.frob.com>
24951         * nptl/createthread.c: New file.
24953         * nptl/createthread.c: Moved ...
24954         * sysdeps/unix/sysv/linux/createthread.c: ... here.
24956         * nptl/createthread.c: Add proper top-line comment.
24957         (do_clone): Folded into ...
24958         (create_thread): ... here.  Take new arguments STOPPED_START and
24959         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
24960         increment __nptl_threads, do event-reporting logic, do
24961         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
24962         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
24963         resource cleanup if sched_setaffinity or sched_setscheduler fails,
24964         just send SIGCANCEL.
24965         * nptl/pthread_create.c: Forward-declare create_thread before
24966         including createthread.c.
24967         (start_thread): Use new macro START_THREAD_DEFN to replace defining
24968         declaration, and new macro START_THREAD_SELF to replace argument.
24969         Remove return statement.
24970         (report_thread_creation): New function.
24971         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
24972         synchronization logic, and __nptl_nthreads increment here, around
24973         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
24974         PD->parent_cancelhandling here, before create_thread.  When
24975         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
24976         __deallocate_stack, and ENOMEM translation here.
24978 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
24980         [BZ #17616]
24981         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
24982         (mptwo): Rename to __mptwo.
24983         (__inv): Use __mptwo instead of mptwo.
24984         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
24985         (mptwo): Rename to __mptwo.
24986         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
24987         of mpone and __mptwo instead of mptwo.
24988         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
24989         instead of mpone.
24990         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24991         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
24992         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
24993         of mpone and __mptwo instead of mptwo.
24994         (__mpranred): Use __mpone instead of mpone.
24995         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
24996         variable.
24997         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24998         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24999         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25000         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25001         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25002         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25003         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25004         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25005         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25006         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25007         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25008         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25009         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25010         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25011         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25012         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25013         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25014         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25015         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25017 2014-11-18  Tom de Vries  <tom@codesoucery.com>
25019         * manual/signal.texi (Primitives Interrupted by Signals): In section,
25020         replace BSD Handler xref with BSD Signal Handling.
25022 2014-11-17  Richard Henderson  <rth@redhat.com>
25024         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
25025         (_FP_PACK_RAW_2): Remove.
25026         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
25027         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
25028         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
25029         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
25030         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
25031         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
25032         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
25033         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
25034         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
25035         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
25036         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
25037         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
25038         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
25039         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
25040         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25041         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
25043 2014-11-14  Roland McGrath  <roland@hack.frob.com>
25045         * signal/signal.h [__USE_MISC]
25046         (struct sigvec): Remove type.
25047         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
25048         (sigvec): Remove declaration.
25049         * sysdeps/posix/sigvec.c: Moved ...
25050         * signal/sigvec.c: ... here, replacing old file.
25051         (struct sigvec): New type, copied from old signal.h definition.
25052         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
25053         (__sigvec): Convert definition to prototype.
25054         (sigvec): Replace weak_alias with compat_symbol.
25055         * signal/Versions (libc: GLIBC_2.21): New version set.
25056         * include/signal.h: Remove __sigvec declaration.
25057         * sysdeps/unix/bsd/sigvec.c: Remove file.
25058         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
25059         * manual/signal.texi (BSD Handler): Remove subsection.
25060         Move siginterrupt up to ...
25061         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
25062         (Blocking in BSD): Fold subsection into its parent.
25063         * NEWS: Mention sigvec removal.
25065 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25067         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
25068         (DLA_FMS): Make definition conditional only on [__FMA4__].
25069         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
25070         definition.
25072         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
25073         Make definition conditional only on [PROF].
25074         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
25075         definition.
25076         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
25077         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
25079         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
25080         !__GNUC__].
25081         * include/signal.h (__sigpause): Move declaration above call to
25082         libc_hidden_proto.
25083         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
25084         variable.
25085         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25086         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25088 2014-11-14  David S. Miller  <davem@davemloft.net>
25090         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
25091         Define before including <string/memcpy.c> and <string/mempcpy.c>.
25093 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25095         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
25096         * configure: Regenerated.
25097         * manual/install.texi (Tools for Compilation): Document a
25098         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
25099         compiler verified to work.
25100         * INSTALL: Regenerated.
25102         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
25103         redeclare with asm name.
25104         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
25105         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
25106         including <string.h>.
25107         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25108         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
25109         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25110         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
25111         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25112         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25113         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25115 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
25117         * stdlib/strtol.c (__strtol): Use prototype definition.
25119         [BZ #17594]
25120         * stdlib/strtol.c (SYM__): New macro.
25121         (SYM__1): Likewise.
25122         (__strtol): Likewise.
25123         (strtol): Rename to __strtol and define as weak alias of
25124         __strtol.  Use libc_hidden_weak.
25126 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25128         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
25129         Use numbered labels in inline assembly.
25131 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25133         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
25134         Add setjmp LIBC_PROBE.
25135         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
25136         Likewise.
25137         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
25138         Add longjmp, longjmp_target LIBC_PROBE.
25139         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
25140         Likewise.
25142 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25144         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25145         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25146         to get rid of unused variable warning.
25148 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25150         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25151         Check for unwind_backtrace ==  NULL only in SHARED case.
25152         (__backchain_backtrace): Compile only in SHARED case.
25153         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25154         Likewise.
25155         (__backchain_backtrace): Declare as static.
25157 2014-11-12  Roland McGrath  <roland@hack.frob.com>
25159         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25160         (__libc_multiple_threads_ptr): Variable moved ...
25161         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25163 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
25165         * conform/GlibcConform.pm: New file.
25166         * conform/conformtest.pl: Use GlibcConform module.
25167         * conform/linknamespace.pl: New file.
25168         * conform/list-header-symbols.pl: Likewise.
25169         * conform/Makefile (linknamespace-symlists-base): New variable.
25170         (linknamespace-symlists-tests): Likewise.
25171         (linknamespace-header-base): Likewise.
25172         (linknamespace-header-tests): Likewise.
25173         (tests-special): Add new tests.
25174         ($(linknamespace-symlists-tests)): New rule.
25175         (linknamespace-libs): New variable.
25176         ($(objpfx)symlist-stdlibs): New rule.
25177         ($(linknamespace-header-tests)): Likewise.
25178         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25179         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25180         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25181         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
25182         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
25183         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
25184         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
25185         (test-xfail-ISO/math.h/linknamespace): Likewise.
25186         (test-xfail-ISO/signal.h/linknamespace): Likewise.
25187         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
25188         (test-xfail-ISO/time.h/linknamespace): Likewise.
25189         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25190         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
25191         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25192         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25193         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25194         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25195         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25196         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25197         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25198         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25199         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25200         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25201         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25202         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
25203         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
25204         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25205         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
25206         (test-xfail-XPG3/search.h/linknamespace): Likewise.
25207         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
25208         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25209         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
25210         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25211         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25212         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
25213         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25214         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25215         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
25216         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
25217         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25218         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
25219         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25220         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25221         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25222         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25223         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
25224         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
25225         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
25226         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
25227         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25228         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
25229         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25230         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
25231         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25232         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25233         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25234         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
25235         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
25236         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25237         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25238         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
25239         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25240         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25241         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
25242         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25243         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25244         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25245         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25246         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25247         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25248         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25249         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25250         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25251         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
25252         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25253         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25254         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25255         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
25256         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25257         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25258         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25259         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25260         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25261         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25262         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25263         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25264         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25265         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25266         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25267         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25268         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25269         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25270         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25271         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25272         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25273         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25274         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25275         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25276         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25277         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25278         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25279         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25280         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25281         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25282         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25283         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25284         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25285         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25286         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25287         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25288         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25289         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25290         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25291         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25292         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25293         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25294         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25295         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25296         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25297         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25298         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25299         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25300         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25301         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25302         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25303         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25304         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25305         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25306         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25307         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25308         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25309         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25310         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25311         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25312         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25313         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25314         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25315         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25316         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25317         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25318         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25319         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25320         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25321         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25322         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25323         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25324         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25325         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25326         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25327         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25328         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25329         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25330         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25331         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25332         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25333         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25334         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25335         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25336         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25337         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25338         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25340         [BZ #17589]
25341         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
25342         of fgets_unlocked.
25344         [BZ #17585]
25345         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
25346         (memmem): Rename to __memmem and define as weak alias of
25347         __memmem.  Use libc_hidden_weak.
25348         (__memmem): Use libc_hidden_def.
25349         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
25350         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
25351         memmem.
25353         [BZ #17582]
25354         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
25355         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
25356         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
25357         and define as weak alias of __fgets_unlocked.  Use
25358         libc_hidden_weak.
25359         (__fgets_unlocked): Use libc_hidden_def.
25360         * include/stdio.h (__fgets_unlocked): Declare.  Use
25361         libc_hidden_proto.
25362         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
25363         __fgets_unlocked instead of fgets_unlocked.
25364         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
25365         (GET_NPROCS_CONF_PARSER): Likewise.
25366         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
25367         (GET_NPROCS_CONF_PARSER): Likewise.
25369         [BZ #17574]
25370         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
25371         weak alias of __wmemset.  Use libc_hidden_weak.
25372         (__wmemset): Use libc_hidden_def.
25373         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
25374         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
25375         of wmemset.
25377         [BZ #17573]
25378         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
25379         with asm name __mempcpy.
25380         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
25382         [BZ #17572]
25383         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
25384         and define as weak alias of __rawmemchr.
25385         (__rawmemchr): Do not define as strong alias of rawmemchr.
25387         [BZ #17571]
25388         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
25389         alias of __qsort_r.
25390         (qsort): Call __qsort_r instead of qsort_r.
25391         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
25392         (__qsort_r): Declare.  Call libc_hidden_proto.
25393         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
25394         instead of qsort_r.
25395         * nscd/gai.c (__qsort_r): Define to qsort_r.
25396         * posix/tst-rfc3484.c (__qsort_r): Likewise.
25397         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
25398         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25400         [BZ #17570]
25401         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
25402         define as weak alias of __malloc_info.
25404         [BZ #17584]
25405         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
25406         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25407         (__rewinddir): Use libc_hidden_def.
25408         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25409         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25410         (__rewinddir): Use libc_hidden_def.
25411         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
25412         weak alias of __rewinddir.  Don't use libc_hidden_def.
25413         (__rewinddir): Use libc_hidden_def.
25414         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
25415         (__rewinddir): Use libc_hidden_proto.
25416         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
25417         rewinddir.
25418         (__getcwd): Use __rewinddir instead of rewinddir.
25420         [BZ #17583]
25421         * libio/fileno.c (fileno): Rename to __fileno and define as weak
25422         alias of __fileno.  Use libc_hidden_weak.
25423         (__fileno): Use libc_hidden_def.
25424         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
25425         * libio/ftello.c (ftello): Rename to __ftello and define as weak
25426         alias of __ftello.
25427         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
25428         __ftello.
25429         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
25430         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
25431         libc_hidden_def.
25432         (fread_unlocked): Don't use libc_hidden_ver.
25433         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
25434         and define as weak alias of __fread_unlocked.  Don't use
25435         libc_hidden_def.
25436         (__fread_unlocked): Use libc_hidden_def.
25437         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
25438         (ftello): Don't use libc_hidden_proto.
25439         (__ftello): Declare.  Use libc_hidden_proto.
25440         (fread_unlocked): Don't use libc_hidden_proto.
25441         (__fread_unlocked): Declare.  Use libc_hidden_proto.
25442         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
25443         and __ftello instead of fileno, fread_unlocked and ftello.
25445 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25447         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
25448         GOT12.
25449         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25450         Likewise.
25451         (_dl_start_user): Likewise.
25452         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
25454 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
25455             Siddhesh Poyarekar  <siddhesh@redhat.com>
25457         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
25458         Move argv and envp down instead of moving argc up.
25459         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
25461 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
25463         [BZ #17506]
25464         * test-skeleton.c (main): Return successful if one of
25465         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
25466         * string/tst-strcoll-overflow.c: Define expected status.
25468 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
25470         [BZ #17475]
25471         * locale/iso-639.def: Define Bhili and Tulu language codes.
25473 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
25475         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
25477 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
25479         [BZ #17555]
25480         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
25482 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25484         * configure.ac: Updated check of minimal required version to
25485         2.22.
25486         * manual/install.texi (Tools for Compilation): Updated version
25487         number.
25488         * configure: Regenerated.
25489         * INSTALL: Likewise.
25491 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
25493         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
25494         __tls_get_addr.
25496 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
25498         * include/sys/wait.h (__libc_waitpid): Remove declaration.
25499         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
25500         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25501         libc_hidden_weak.
25502         (waitpid): Define as alias of __waitpid.
25503         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
25504         __waitpid.
25505         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25506         libc_hidden_weak.
25507         (waitpid): Define as alias of __waitpid.
25508         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
25509         __libc_waitpid alias.
25510         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
25511         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
25512         Likewise.
25513         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
25514         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
25515         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
25516         alias.
25517         * sysdeps/unix/sysv/linux/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.
25523 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
25525         * manual/llio.texi: Add comment that write safety has been
25526         fixed in Linux.
25528         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
25529         (localplt-build-dso): Add elf/ld.so.
25530         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
25531         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
25532         and free for ld.so.
25533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
25534         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
25535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
25536         Likewise.
25537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25538         Likewise.
25539         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
25540         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
25541         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
25542         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
25543         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25544         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
25545         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
25546         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
25547         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25548         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
25549         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25551 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
25553         [BZ #14132]
25554         * include/libc-symbols.h (INTUSE): Remove macro.
25555         (INTDEF): Likewise.
25556         (INTVARDEF): Likewise.
25557         (_INTVARDEF): Likewise.
25558         (INTDEF2): Likewise.
25559         (INTVARDEF2): Likewise.
25560         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
25561         rtld_hidden_def instead of INTVARDEF.
25562         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
25563         (_dl_starting_up_internal): Remove declaration.
25564         (_dl_starting_up): Use rtld_hidden_proto.
25565         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
25566         declaration.
25567         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
25568         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
25569         _dl_starting_up.
25570         * elf/dl-writev.h (_dl_writev): Likewise.
25571         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
25572         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
25573         _dl_starting_up_internal.
25575 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25577         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25578         test-skeleton.c.
25580 2014-11-05  Will Newton  <will.newton@linaro.org>
25582         * benchtests/Makefile: (bench-malloc): Add malloc thread
25583         scalability benchmark.
25584         * benchtests/bench-malloc-threads.c: New file.
25586 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
25588         * sysdeps/aarch64/strchrnul.S: New file.
25590 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25592         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
25593         definition.
25594         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25595         Likwise.
25596         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25597         Likewise.
25598         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25599         Likewise.
25600         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25601         Likewise.
25602         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25603         Likewise.
25605 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
25607         * catgets/test-gencat.c: Use test-skeleton.c.
25608         * catgets/tst-catgets.c: Likewise.
25609         * csu/tst-empty.c: Likewise.
25610         * elf/tst-audit2.c: Likewise.
25611         * elf/tst-global1.c: Likewise.
25612         * elf/tst-pathopt.c: Likewise.
25613         * elf/tst-piemod1.c: Likewise.
25614         * elf/tst-tls10.c: Likewise.
25615         * elf/tst-tls11.c: Likewise.
25616         * elf/tst-tls12.c: Likewise.
25617         * gnulib/tst-gcc.c: Likewise.
25618         * iconvdata/tst-e2big.c: Likewise.
25619         * iconvdata/tst-loading.c: Likewise.
25620         * iconv/tst-iconv1.c: Likewise.
25621         * iconv/tst-iconv2.c: Likewise.
25622         * inet/test-inet6_opt.c: Likewise.
25623         * inet/tst-gethnm.c: Likewise.
25624         * inet/tst-network.c: Likewise.
25625         * inet/tst-ntoa.c: Likewise.
25626         * intl/tst-codeset.c: Likewise.
25627         * intl/tst-gettext2.c: Likewise.
25628         * intl/tst-gettext3.c: Likewise.
25629         * intl/tst-ngettext.c: Likewise.
25630         * intl/tst-translit.c: Likewise.
25631         * io/test-stat.c: Likewise.
25632         * libio/test-fmemopen.c: Likewise.
25633         * libio/tst-freopen.c: Likewise.
25634         * libio/tst-sscanf.c: Likewise.
25635         * libio/tst-ungetwc1.c: Likewise.
25636         * libio/tst-ungetwc2.c: Likewise.
25637         * libio/tst-widetext.c: Likewise.
25638         * localedata/tst-ctype.c: Likewise.
25639         * localedata/tst-digits.c: Likewise.
25640         * localedata/tst-leaks.c: Likewise.
25641         * localedata/tst-mbswcs1.c: Likewise.
25642         * localedata/tst-mbswcs2.c: Likewise.
25643         * localedata/tst-mbswcs3.c: Likewise.
25644         * localedata/tst-mbswcs4.c: Likewise.
25645         * localedata/tst-mbswcs5.c: Likewise.
25646         * localedata/tst-setlocale.c: Likewise.
25647         * localedata/tst-trans.c: Likewise.
25648         * localedata/tst-wctype.c: Likewise.
25649         * localedata/tst-xlocale1.c: Likewise.
25650         * login/tst-grantpt.c: Likewise.
25651         * malloc/tst-calloc.c: Likewise.
25652         * malloc/tst-malloc.c: Likewise.
25653         * malloc/tst-mallocstate.c: Likewise.
25654         * malloc/tst-mcheck.c: Likewise.
25655         * malloc/tst-mtrace.c: Likewise.
25656         * malloc/tst-obstack.c: Likewise.
25657         * math/atest-exp2.c: Likewise.
25658         * math/atest-exp.c: Likewise.
25659         * math/atest-sincos.c: Likewise.
25660         * math/test-matherr.c: Likewise.
25661         * math/test-misc.c: Likewise.
25662         * math/test-powl.c: Likewise.
25663         * math/tst-definitions.c: Likewise.
25664         * misc/tst-dirname.c: Likewise.
25665         * misc/tst-efgcvt.c: Likewise.
25666         * misc/tst-fdset.c: Likewise.
25667         * misc/tst-hsearch.c: Likewise.
25668         * misc/tst-mntent2.c: Likewise.
25669         * nptl/tst-sem7.c: Likewise.
25670         * nptl/tst-sem8.c: Likewise.
25671         * nptl/tst-sem9.c: Likewise.
25672         * nss/test-netdb.c: Likewise.
25673         * posix/tst-fnmatch.c: Likewise.
25674         * posix/tst-getlogin.c: Likewise.
25675         * posix/tst-gnuglob.c: Likewise.
25676         * posix/tst-mmap.c: Likewise.
25677         * pwd/tst-getpw.c: Likewise.
25678         * resolv/tst-inet_ntop.c: Likewise.
25679         * rt/tst-timer.c: Likewise.
25680         * stdio-common/test-fseek.c: Likewise.
25681         * stdio-common/test-popen.c: Likewise.
25682         * stdio-common/test-vfprintf.c: Likewise.
25683         * stdio-common/tst-cookie.c: Likewise.
25684         * stdio-common/tst-fileno.c: Likewise.
25685         * stdio-common/tst-gets.c: Likewise.
25686         * stdio-common/tst-obprintf.c: Likewise.
25687         * stdio-common/tst-perror.c: Likewise.
25688         * stdio-common/tst-sprintf2.c: Likewise.
25689         * stdio-common/tst-sprintf3.c: Likewise.
25690         * stdio-common/tst-sprintf.c: Likewise.
25691         * stdio-common/tst-swprintf.c: Likewise.
25692         * stdio-common/tst-tmpnam.c: Likewise.
25693         * stdio-common/tst-unbputc.c: Likewise.
25694         * stdio-common/tst-wc-printf.c: Likewise.
25695         * stdlib/tst-environ.c: Likewise.
25696         * stdlib/tst-fmtmsg.c: Likewise.
25697         * stdlib/tst-limits.c: Likewise.
25698         * stdlib/tst-rand48-2.c: Likewise.
25699         * stdlib/tst-rand48.c: Likewise.
25700         * stdlib/tst-random2.c: Likewise.
25701         * stdlib/tst-random.c: Likewise.
25702         * stdlib/tst-strtol.c: Likewise.
25703         * stdlib/tst-strtoll.c: Likewise.
25704         * stdlib/tst-tls-atexit.c: Likewise.
25705         * stdlib/tst-xpg-basename.c: Likewise.
25706         * string/test-ffs.c: Likewise.
25707         * string/tst-bswap.c: Likewise.
25708         * string/tst-inlcall.c: Likewise.
25709         * string/tst-strtok.c: Likewise.
25710         * string/tst-strxfrm.c: Likewise.
25711         * sysdeps/x86_64/tst-audit10.c: Likewise.
25712         * sysdeps/x86_64/tst-audit3.c: Likewise.
25713         * sysdeps/x86_64/tst-audit4.c: Likewise.
25714         * sysdeps/x86_64/tst-audit5.c: Likewise.
25715         * time/tst-ftime_l.c: Likewise.
25716         * time/tst-getdate.c: Likewise.
25717         * time/tst-mktime3.c: Likewise.
25718         * time/tst-mktime.c: Likewise.
25719         * time/tst-posixtz.c: Likewise.
25720         * time/tst-strptime2.c: Likewise.
25721         * time/tst-strptime3.c: Likewise.
25722         * wcsmbs/tst-btowc.c: Likewise.
25723         * wcsmbs/tst-mbrtowc.c: Likewise.
25724         * wcsmbs/tst-mbsrtowcs.c: Likewise.
25725         * wcsmbs/tst-wchar-h.c: Likewise.
25726         * wcsmbs/tst-wcpncpy.c: Likewise.
25727         * wcsmbs/tst-wcrtomb.c: Likewise.
25728         * wcsmbs/tst-wcsnlen.c: Likewise.
25729         * wcsmbs/tst-wcstof.c: Likewise.
25731 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
25733         [BZ #14132]
25734         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
25735         INTDEF.
25736         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
25737         declaration.
25738         (_dl_mcount): Use rtld_hidden_proto.
25739         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
25740         _dl_mcount.
25741         * elf/rtld.c (_rtld_global_ro): Likewise.
25743         [BZ #14132]
25744         * elf/dl-init.c (_dl_init): Don't use INTDEF.
25745         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
25746         of _dl_init_internal.
25747         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
25748         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
25749         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
25750         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
25751         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
25752         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
25753         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
25754         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
25755         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
25756         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
25757         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
25758         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
25759         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25760         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25761         * sysdeps/tile/dl-start.S (_start): Likewise.
25762         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
25763         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
25765         [BZ #14132]
25766         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
25767         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
25768         (rtld_progname): Make macro definition unconditional.
25769         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
25770         INTDEF.
25771         (dlmopen_doit): Do not use INTUSE with _dl_argv.
25772         (dl_main): Likewise.
25773         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25774         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
25775         instead of _dl_argv_internal.
25776         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25777         __GI__dl_argv instead of INTUSE(_dl_argv).
25778         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
25779         __GI__dl_argv instead of _dl_argv_internal.
25781         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
25782         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
25783         macro.
25784         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
25785         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
25786         New macro.
25787         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
25788         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
25789         macro.
25790         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
25791         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
25793 2014-11-04  Andreas Schwab  <schwab@suse.de>
25795         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
25797 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25799         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
25800         mtvsrd instruction in binary form.
25802 2014-11-03  Andreas Schwab  <schwab@suse.de>
25804         [BZ #17522]
25805         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
25806         for less than MB_LEN_MAX use a local buffer of that size.
25807         * libio/tst-fputws.c: New file.
25808         * libio/Makefile (tests): Add tst-fputws.
25810 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
25812         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
25813         the size of the fpu_fr.fpu_dregs[] array.
25815 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
25817         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
25818         (__nanosleep): Do not define as alias.
25819         (nanosleep): Define as alias of __nanosleep.
25820         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
25821         __libc_nanosleep name.
25823 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25825         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
25826         install.texi in comment.
25828 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25830         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
25831         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
25832         ... add here and use lwsync or sync ...
25833         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
25834         ... and add here using lwsync.
25836 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25838         * elf/dl-machine-reject-phdr.h: New file.
25839         * elf/dl-load.c: #include that.
25840         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
25841         if that returned true.
25843 2014-10-31  Roland McGrath  <roland@hack.frob.com>
25845         [BZ #17496]
25846         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
25847         gen-as-const-headers chunk.  Add a big scare comment after the last
25848         safe place to touch before-compile.
25850 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25852         * manual/install.texi (Tools for Compilation): Update autoconf
25853         version requirements.
25854         * INSTALL: Regenerated.
25856         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
25857         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
25858         (__libc_pselect): Likewise.
25860         [BZ #14138]
25861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
25862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25866 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25868         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
25869         correct barrier instruction.
25870         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
25871         Likewise.
25872         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
25873         Likewise.
25875 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25877         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
25878         after defining inlines.  Instead, just use parens to defeat macro
25879         expansion of __isctype in its declaration.
25881 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25883         * include/sys/uio.h (__libc_readv): Remove declaration.
25884         (__libc_writev): Likewise.
25885         * misc/readv.c (__libc_readv): Rename to __readv.
25886         (__readv): Do not define as alias.
25887         (readv): Define as alias of __readv.
25888         * misc/writev.c (__libc_writev): Rename to __writev.
25889         (__writev): Do not define as alias.
25890         (writev): Define as alias of __writev.
25891         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
25892         (__readv): Do not define as alias.
25893         (readv): Define unconditionally as alias of __readv.
25894         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
25895         (__writev): Do not define as alias.
25896         (writev): Define unconditionally as alias of __writev.
25897         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
25898         name.
25899         (writev): Do not define __libc_writev name.
25901 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25903         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
25904         (convert_charseq): New function, broken out of ...
25905         (use_from_charmap): ... here.  Call it.
25906         (use_to_charmap): Use convert_charseq and free instead of duplicating
25907         its code with a variable-length stack struct.
25909 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25911         * include/fcntl.h (__libc_creat): Remove declaration.
25912         * io/creat.c (__libc_creat): Rename to creat.
25913         (creat): Do not define as alias.
25914         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
25915         of creat instead of __libc_creat.
25916         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
25917         to creat.
25918         (creat): Do not define as alias.
25919         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
25920         __libc_creat.
25921         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
25922         __libc_creat name.
25923         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
25924         Likewise.
25926 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
25928         * manual/llio.texi: Add comments discussing why write() may be
25929         considered MT-unsafe on Linux.
25931 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
25933         * dl-load.c (local_strdup): Remove.
25934         (expand_dynamic_string_token): Use __strdup.
25935         (decompose_rpath): Likewise.
25936         (_dl_map_object): Likewise.
25938 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
25940         [BZ #14132]
25941         * sysdeps/generic/unwind-dw2-fde.c
25942         (__register_frame_info_bases_internal): Do not declare.
25943         (__register_frame_info_table_bases_internal): Likewise.
25944         (__deregister_frame_info_bases_internal): Likewise.
25945         (__register_frame_info_bases): Declare and use hidden_proto before
25946         definition.  Use hidden_def instead of INTDEF.
25947         (__register_frame_info_table_bases): Likewise.
25948         (__deregister_frame_info_bases): Likewise.
25949         (__register_frame_info): Do not use INTUSE.
25950         (__register_frame): Likewise.
25951         (__register_frame_info_table): Likewise.
25952         (__register_frame_table): Likewise.
25953         (__deregister_frame_info): Likewise.
25954         (__deregister_frame): Likewise.
25956 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
25958         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25959         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
25960         not undefine.
25961         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
25962         Likewise.
25963         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
25964         Likewise.
25966 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
25968         [BZ #14138]
25969         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
25970         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
25971         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
25972         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
25973         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
25974         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
25975         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
25976         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
25977         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
25978         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
25979         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
25980         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
25981         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
25982         syscall.
25983         (setfsuid): Likewise.
25984         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
25985         (setfsuid): Likewise.
25986         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
25987         (setfsuid): Likewise.
25988         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
25989         Likewise.
25990         (setfsuid): Likewise.
25991         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
25992         (setfsuid): Likewise.
25993         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
25994         Likewise.
25995         (setfsuid): Likewise.
25997 2014-10-27  Andreas Schwab  <schwab@suse.de>
25999         [BZ #17501]
26000         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
26001         check for Slow_SSE4_2 feature bit.
26002         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
26003         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26004         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
26005         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
26007 2014-10-24  Roland McGrath  <roland@hack.frob.com>
26009         * configure.ac: Validate compiler version with a empirical test of
26010         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
26011         $CC -v output.
26012         * configure: Regenerated.
26014         * inet/htons.c (htons): Prototypify.
26015         * inet/htonl.c (htonl): Likewise.
26017 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26019         * string/strncat.c (strncat): Improve performance by using strlen.
26021 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26023         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
26025 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26027         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
26028         Call libc_fetestexcept_aarch64.
26030 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26032         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
26033         Call libc_feholdexcept_aarch64.
26035 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26037         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
26038         Call get_rounding_mode.
26040 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26042         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26043         Simplify logic.
26045 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26047         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
26048         Simplify logic.
26050 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
26052         [BZ #14138]
26053         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
26054         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
26055         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
26056         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
26057         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
26058         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
26059         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
26060         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
26061         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
26062         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
26063         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26064         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
26065         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
26066         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
26067         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
26068         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
26069         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
26070         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
26071         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
26072         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
26073         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
26074         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
26075         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
26076         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
26077         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
26078         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
26079         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
26080         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
26081         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
26082         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
26083         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
26084         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
26085         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
26086         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
26087         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
26088         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
26089         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
26090         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
26091         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
26092         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
26093         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
26094         syscall.
26095         (geteuid): Likewise.
26096         (getgid): Likewise.
26097         (getuid): Likewise.
26098         (getresgid): Likewise.
26099         (getresuid): Likewise.
26100         (getgroups): Likewise.
26101         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
26102         (geteuid): Likewise.
26103         (getgid): Likewise.
26104         (getuid): Likewise.
26105         (getresgid): Likewise.
26106         (getresuid): Likewise.
26107         (getgroups): Likewise.
26108         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
26109         (geteuid): Likewise.
26110         (getgid): Likewise.
26111         (getuid): Likewise.
26112         (getresgid): Likewise.
26113         (getresuid): Likewise.
26114         (getgroups): Likewise.
26115         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
26116         Likewise.
26117         (geteuid): Likewise.
26118         (getgid): Likewise.
26119         (getuid): Likewise.
26120         (getresgid): Likewise.
26121         (getresuid): Likewise.
26122         (getgroups): Likewise.
26123         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
26124         (geteuid): Likewise.
26125         (getgid): Likewise.
26126         (getuid): Likewise.
26127         (getresgid): Likewise.
26128         (getresuid): Likewise.
26129         (getgroups): Likewise.
26130         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
26131         Likewise.
26132         (geteuid): Likewise.
26133         (getgid): Likewise.
26134         (getuid): Likewise.
26135         (getgroups): Likewise.
26137         [BZ #14138]
26138         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
26139         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
26140         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
26141         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26142         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
26143         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
26144         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
26145         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26146         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26147         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26148         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26149         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26150         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26151         __chown.
26152         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26153         (lchown): Likewise.
26154         (fchown): Likewise.
26155         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26156         Likewise.
26157         (lchown): Likewise.
26158         (fchown): Likewise.
26159         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26160         (lchown): Likewise.
26161         (fchown): Likewise.
26162         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26163         Likewise.
26164         (lchown): Likewise.
26165         (fchown): Likewise.
26167 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26169         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26170         Simplify logic.
26172 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26174         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26175         Cleanup logic.
26177 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26179         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26180         Remove unused include.
26182 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26184         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
26185         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
26186         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
26187         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
26189 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
26190             Helge Deller <deller@gmx.de>
26192         [BZ #17508]
26193         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
26194         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
26195         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
26197 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
26199         [BZ #14132]
26200         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
26201         Remove macro definition.
26202         (__ashrdi3_v_glibc20): Likewise.
26203         (__lshrdi3_v_glibc20): Likewise.
26204         (__cmpdi2_v_glibc20): Likewise.
26205         (__ucmpdi2_v_glibc20): Likewise.
26206         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26207         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26208         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26209         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26210         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26211         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
26213 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26215         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
26216         old GNU extension [0] syntax.
26217         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
26218         alloca rather than an array member with variable length.
26219         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
26220         * nscd/nscd.c (invalidate_db): New function, broken out of ...
26221         (parse_opt): ... here.  Likewise use alloca there.
26222         Validate the -i argument before checking for rootness.
26223         (send_shutdown): New function, broken out of ...
26224         (parse_opt): ... here.
26226 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26228         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
26229         macro to get at the _rt_local_ro field.
26230         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
26231         ([PIC] case) or _dl_hwcap ([!PIC] case).
26232         * sysdeps/arm/setjmp.S: Likewise.
26234         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
26235         * sysdeps/arm/configure.ac: New check to define it.
26236         * sysdeps/arm/configure: Regenerated.
26237         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
26238         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
26239         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
26240         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
26241         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
26242         Use move/movt pair instead of a load.
26243         (LDST_GLOBAL): Macro removed.
26244         (LDR_GLOBAL): New macro replaces it.
26245         (LDR_HIDDEN): New macro.
26246         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
26247         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
26249         * setjmp/tst-setjmp-static.c: New file.
26250         * setjmp/Makefile (tests): Add it.
26251         (tests-static): New variable.
26253 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
26255         [BZ #17485]
26256         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
26258 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
26260         [BZ #14132]
26261         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26263 2014-10-21  Roland McGrath  <roland@hack.frob.com>
26265         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26267 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26269         * io/fts.c (dirent_not_directory): New function.
26270         (fts_build): Call it.
26272 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26274         * nptl/version.c (__nptl_main): Use normal __write rather than
26275         INTERNAL_SYSCALL.
26276         (banner): Update copyright years.
26278         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26279         gettimeofday.
26280         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26281         * nptl/pthread_cond_timedwait.c: Likewise.
26282         * nptl/pthread_mutex_timedlock.c: Likewise.
26283         * nptl/sem_timedwait.c: Likewise.
26285         * sysdeps/nptl/bits/libc-lock.h
26286         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26287         (__libc_lock_init_recursive): Return void, not 0.
26288         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26289         (__libc_rwlock_init): Likewise.
26290         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26292 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26294         [BZ #15215]
26295         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26296         (__pthread_once_slow): ... here.
26297         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26298         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26300 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26302         [BZ #15215]
26303         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26304         __PTHREAD_ONCE_FORK_GEN_INCR): New.
26305         * sysdeps/nptl/fork.c (__libc_fork): Use them.
26306         * nptl/pthread_once.c (__pthread_once): Likewise.
26307         Update comments.
26309 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
26311         [BZ #14138]
26312         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26313         name.
26314         (writev): Use __libc_writev as strong name.
26315         * sysdeps/unix/sysv/linux/readv.c: Remove file.
26316         * sysdeps/unix/sysv/linux/writev.c: Likewise.
26318 2014-10-17  Roland McGrath  <roland@hack.frob.com>
26320         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26322         * sysdeps/i386/nptl/tls.h
26323         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26324         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26325         New macros.
26326         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26327         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26328         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26329         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26330         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26331         Call CHECK_THREAD_SYSINFO instead of doing an assert.
26333         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26334         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26335         on [__NR_futex].
26336         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26337         broken out of ...
26338         (__pthread_mutex_init): ... here.  Call it.
26339         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
26340         Conditionalize PI cases on [__NR_futex].
26341         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26342         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
26343         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
26345         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
26346         conditional on [SIGSETXID].
26347         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
26348         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
26349         is defined.  Likewise for SIGSETXID.
26350         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
26351         Conditionalize definitions on [SIGSETXID].
26352         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
26353         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
26354         unblocking on [SIGCANCEL].
26356         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
26357         [__NR_set_robust_list].
26359 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26361         * string/strcoll_l.c (get_next_seq): Fix up formatting.
26362         (do_compare): Likewise.
26364 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
26366         [BZ #15884]
26367         * string/strcoll_l.c: Don't include stdio.h.
26368         (coll_seq): Remove members idxarr and rulearr.
26369         (get_next_seq_cached): Remove function.
26370         (get_next_seq): Likewise.
26371         (get_next_seq_nocache): Rename to get_next_seq.
26372         (do_compare): Remove function.
26373         (do_compare_nocache): Rename to do_compare.
26374         (STRCOLL): Remove weight and rules cache.
26376 2014-10-16  Roland McGrath  <roland@hack.frob.com>
26378         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
26379         * sysdeps/arm/sfp-machine.h: ... to here.
26380         * sysdeps/arm/Implies: Remove arm/soft-fp.
26382 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
26384         * conform/data/sys/utsname.h-data (*_t): Allow.
26385         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
26386         [POSIX] (WEXITED): Do not expect constant.
26387         [POSIX] (WSTOPPED): Likewise.
26388         [POSIX] (WNOHANG): Likewise.
26389         [POSIX] (WNOWAIT): Likewise.
26390         [POSIX] (siginfo_t): Do not expect type or elements.
26391         [POSIX] (pid_t): Do not expect type.
26392         [POSIX] (signal.h): Do not allow header.
26393         [POSIX] (sys/resource.h): Likewise.
26394         [POSIX] (si_*): Do not allow pattern.
26395         [POSIX] (W*): Likewise.
26396         [POSIX] (P_*): Likewise.
26397         [POSIX] (BUS_*): Likewise.
26398         [POSIX] (CLD_*): Likewise.
26399         [POSIX] (FPE_*): Likewise.
26400         [POSIX] (ILL_*): Likewise.
26401         [POSIX] (POLL_*): Likewise.
26402         [POSIX] (SEGV_*): Likewise.
26403         [POSIX] (SI_*): Likewise.
26404         [POSIX] (TRAP_*): Likewise.
26405         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
26406         variable.
26408 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26410         [BZ #12926]
26411         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
26412         infinite loop when __recvmsg returns 0.
26414 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
26416         * CANCEL-FCT-WAIVE: Remove file.
26417         * CANCEL-FILE-WAIVE: Likewise.
26419         [BZ #14132]
26420         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
26421         instead of INTVARDEF.
26422         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26423         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
26424         rtld_hidden_data_def instead of INTVARDEF.
26425         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26426         * elf/dl-deps.c (expand_dst): Likewise.
26427         * elf/dl-load.c (_dl_dst_count): Likewise.
26428         (_dl_dst_substitute): Likewise.
26429         (decompose_rpath): Likewise.
26430         (_dl_init_paths): Likewise.
26431         (open_path): Likewise.
26432         (_dl_map_object): Likewise.
26433         * elf/rtld.c (dl_main): Likewise.
26434         (process_dl_audit): Likewise.
26435         (process_envvars): Likewise.
26436         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
26437         Remove declaration.
26438         (__libc_enable_secure): Use rtld_hidden_proto.
26440 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26442         * elf/dl-load.c
26443         (add_path): New function broken out of _dl_rtld_di_serinfo.
26444         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
26446 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26448         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
26449         parentheses around macro arguments.
26450         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
26451         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
26452         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
26453         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
26454         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
26455         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26456         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26457         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
26458         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
26459         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
26460         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
26461         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
26462         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
26463         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
26464         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
26465         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
26466         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
26467         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
26468         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
26469         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
26470         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
26471         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
26472         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
26473         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26474         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26475         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
26476         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
26477         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
26478         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
26479         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
26480         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
26481         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
26482         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
26483         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
26484         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
26485         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
26486         Likewise.
26487         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
26488         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26489         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26490         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
26491         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
26492         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
26493         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
26494         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
26495         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
26496         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
26497         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
26498         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
26499         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
26500         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): 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         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
26515         (_FP_FRAC_SRS_1): Likewise.
26516         (_FP_FRAC_CLZ_1): Likewise.
26517         (_FP_MUL_MEAT_1_imm): Likewise.
26518         (_FP_MUL_MEAT_1_wide): Likewise.
26519         (_FP_MUL_MEAT_1_hard): Likewise.
26520         (_FP_SQRT_MEAT_1): Likewise.
26521         (_FP_FRAC_ASSEMBLE_1): Likewise.
26522         (_FP_FRAC_DISASSEMBLE_1): Likewise.
26523         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
26524         (__FP_CLZ_2): Likewise.
26525         (_FP_MUL_MEAT_2_wide): Likewise.
26526         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26527         (_FP_MUL_MEAT_2_gmp): Likewise.
26528         (_FP_MUL_MEAT_2_120_240_double): Likewise.
26529         (_FP_SQRT_MEAT_2): Likewise.
26530         (_FP_FRAC_ASSEMBLE_2): Likewise.
26531         (_FP_FRAC_DISASSEMBLE_2): Likewise.
26532         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
26533         (_FP_FRAC_CLZ_4): Likewise.
26534         (_FP_MUL_MEAT_4_wide): Likewise.
26535         (_FP_MUL_MEAT_4_gmp): Likewise.
26536         (_FP_SQRT_MEAT_4): Likewise.
26537         (_FP_FRAC_ASSEMBLE_4): Likewise.
26538         (_FP_FRAC_DISASSEMBLE_4): Likewise.
26539         * soft-fp/op-common.h (_FP_CMP): Likewise.
26540         (_FP_CMP_EQ): Likewise.
26541         (_FP_CMP_UNORD): Likewise.
26542         (_FP_TO_INT): Likewise.
26543         (_FP_FROM_INT): Likewise.
26544         [!__FP_CLZ] (__FP_CLZ): Likewise.
26545         (_FP_DIV_HELP_imm): Likewise.
26546         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
26547         Likewise.
26548         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
26549         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
26550         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
26551         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
26552         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
26553         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26554         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26555         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
26556         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
26557         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
26558         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
26559         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
26560         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
26561         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
26562         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
26563         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
26564         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
26565         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
26566         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
26567         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
26568         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
26569         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
26570         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
26571         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26572         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26573         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
26574         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
26575         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
26576         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
26577         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
26578         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
26579         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
26580         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
26581         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
26582         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
26583         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
26584         (FP_UNPACK_RAW_SP): Likewise.
26585         (FP_PACK_RAW_S): Likewise.
26586         (FP_PACK_RAW_SP): Likewise.
26587         (FP_UNPACK_S): Likewise.
26588         (FP_UNPACK_SP): Likewise.
26589         (FP_UNPACK_SEMIRAW_S): Likewise.
26590         (FP_UNPACK_SEMIRAW_SP): Likewise.
26591         (FP_PACK_S): Likewise.
26592         (FP_PACK_SP): Likewise.
26593         (FP_PACK_SEMIRAW_S): Likewise.
26594         (FP_PACK_SEMIRAW_SP): Likewise.
26595         (_FP_SQRT_MEAT_S): Likewise.
26596         (FP_CMP_S): Likewise.
26597         (FP_CMP_EQ_S): Likewise.
26598         (FP_CMP_UNORD_S): Likewise.
26599         (FP_TO_INT_S): Likewise.
26600         (FP_FROM_INT_S): Likewise.
26602         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
26604         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
26605         (FP_EX_INVALID_IMZ): Likewise.
26606         (FP_EX_INVALID_IMZ_FMA): Likewise.
26607         (FP_EX_INVALID_ISI): Likewise.
26608         (FP_EX_INVALID_ZDZ): Likewise.
26609         (FP_EX_INVALID_IDI): Likewise.
26610         (FP_EX_INVALID_SQRT): Likewise.
26611         (FP_EX_INVALID_CVI): Likewise.
26612         (FP_EX_INVALID_VC): Likewise.
26613         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
26614         "invalid" exceptions.
26615         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
26616         (_FP_ADD_INTERNAL): Likewise.
26617         (_FP_MUL): Likewise.
26618         (_FP_FMA): Likewise.
26619         (_FP_DIV): Likewise.
26620         (_FP_CMP_CHECK_NAN): Likewise.
26621         (_FP_SQRT): Likewise.
26622         (_FP_TO_INT): Likewise.
26623         (FP_EXTEND): Likewise.
26625 2014-10-09  Allan McRae  <allan@archlinux.org>
26627         * po/fr.po: Update French translation from translation project.
26629 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26631         [BZ #14132]
26632         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
26633         of INTDEF.
26634         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
26635         (__cxa_atexit): Use libc_hidden_proto.
26636         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
26638         [BZ #14132]
26639         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
26640         declaration.
26641         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
26642         [!_ISOMAC] (__iswspace_l_internal): Likewise.
26643         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
26644         [!_ISOMAC] (__iswctype_internal): Likewise.
26645         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
26646         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
26647         alias.
26648         (fcntl): Remove __fcntl_internal alias.
26649         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
26650         __connect_internal alias.
26651         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
26652         Likewise.
26654         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
26655         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
26656         FP_DENORM_ZERO.
26657         (_FP_CHECK_FLUSH_ZERO): New macro.
26658         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
26659         (_FP_CMP): Likewise.
26660         (_FP_CMP_EQ): Likewise.
26661         (_FP_TO_INT): Do not set inexact for subnormal arguments if
26662         FP_DENORM_ZERO.
26663         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
26664         (FP_TRUNC): Likewise.
26666         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
26667         treated as invalid conversion, not as normal exponent.
26669         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
26670         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
26671         (_FP_CMP_EQ): Likewise.
26672         (_FP_CMP_UNORD): Likewise.
26673         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
26674         (FP_CMP_EQ_D): Likewise.
26675         (FP_CMP_UNORD_D): Likewise.
26676         * soft-fp/extended.h (FP_CMP_E): Likewise.
26677         (FP_CMP_EQ_E): Likewise.
26678         (FP_CMP_UNORD_E): Likewise.
26679         * soft-fp/quad.h (FP_CMP_Q): Likewise.
26680         (FP_CMP_EQ_Q): Likewise.
26681         (FP_CMP_UNORD_Q): Likewise.
26682         * soft-fp/single.h (FP_CMP_S): Likewise.
26683         (FP_CMP_EQ_S): Likewise.
26684         (FP_CMP_UNORD_S): Likewise.
26685         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
26686         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
26687         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
26688         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
26689         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
26690         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
26691         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
26692         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
26693         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
26694         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
26695         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
26696         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
26697         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
26698         to FP_CMP_Q.
26699         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
26700         FP_CMP_Q.
26701         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
26702         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
26703         FP_CMP_EQ_Q.
26704         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
26705         FP_CMP_Q.
26706         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
26707         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
26708         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
26709         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
26710         FP_CMP_EQ_Q.
26711         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
26712         FP_CMP_Q.
26713         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
26714         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
26715         FP_CMP_EQ_Q.
26716         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
26717         FP_CMP_Q.
26718         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
26719         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
26720         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
26721         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
26722         FP_CMP_EQ_Q.
26724         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
26725         a subnormal result, set the underflow exception if trapping on
26726         underflow is enabled.
26727         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
26728         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
26729         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
26730         redefine to 0.
26731         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
26732         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26733         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26734         * soft-fp/extendxftf2.c (__extendxftf2): Use
26735         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
26737         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
26738         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
26739         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26740         FP_HANDLE_EXCEPTIONS.
26741         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
26742         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26743         FP_HANDLE_EXCEPTIONS.
26744         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
26745         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26746         FP_HANDLE_EXCEPTIONS.
26747         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
26748         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26749         FP_HANDLE_EXCEPTIONS.
26751 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
26753         [BZ #14132]
26754         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
26755         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
26756         use INTUSE.
26757         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
26758         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
26759         Remove alias.
26760         (__adjtimex): Define using libc_hidden_ver.
26761         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
26762         Remove declaration.
26763         (ntp_gettime): Call __adjtimex directly.
26764         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
26765         Remove declaration.
26766         (ntp_gettimex): Call __adjtimex directly.
26767         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
26768         __adjtimex_internal alias.
26770 2014-10-08  Roland McGrath  <roland@hack.frob.com>
26772         [BZ #17460]
26773         * nscd/nscd.c (more_help): Rewrite list of tables collection
26774         using xstrdup and asprintf.
26776         * nscd/nscd_conf.c: Remove local xstrdup declaration.
26778 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26779             Roland McGrath  <roland@hack.frob.com>
26781         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
26782         (do_lookup_unique): ... local function 'enter' here; update callers.
26784 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
26786         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
26787         compat_symbol calls on [SHARED].
26788         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
26789         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
26790         Remove.
26791         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26792         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
26793         (oldsetrlimit): Remove.
26794         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26796         (lchown): New syscall entry.
26797         (oldsetrlimit): Remove.
26798         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26799         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
26800         (oldsetrlimit): Remove.
26801         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26803         [BZ #14138]
26804         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
26805         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
26806         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
26807         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
26808         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26809         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
26810         (fchown): Likewise.
26811         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
26812         (fchown): Likewise.
26813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
26814         Likewise.
26816 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26818         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
26819         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
26820         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
26821         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
26822         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
26823         Likewise.
26824         (__old_sem_post): Likewise.
26826 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
26828         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
26829         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
26830         HAVE_CLOCK_GETTIME_VSYSCALL macros.
26831         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
26832         Use INLINE_VSYSCALL macro.
26833         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
26834         __vdso_clock_gettime.
26835         * sysdeps/unix/sysv/linux/tile/init-first.c
26836         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
26837         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
26838         __vdso_clock_gettime.
26840         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
26841         to set up frame more cleanly.
26843         * sysdeps/tile/memcmp.c: New file.
26845         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
26847         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
26848         * sysdeps/tile/tilegx/strcasestr.c: New file.
26849         * sysdeps/tile/tilegx/strnlen.c: New file.
26850         * sysdeps/tile/tilegx/strstr.c: New file.
26852         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
26854 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
26856         * nptl/tst-setuid3.c: Write errors to stdout.
26858 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26860         * elf/dl-deps.c
26861         (preload): New functions broken out of _dl_map_object_deps.
26862         (_dl_map_object_deps):  Remove a nested function. Update call sites.
26864 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
26866         [BZ #14138]
26867         * sysdeps/unix/sysv/linux/execve.c: Remove file.
26868         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
26870 2014-10-01  Steve Ellcey  <sellcey@mips.com>
26872         * sysdeps/mips/strcmp.S: New.
26874 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
26876         [BZ #14138]
26877         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
26878         (linkat): Likewise.
26879         (mkdirat): Likewise.
26880         (readlinkat): Likewise.
26881         (renameat): Likewise.
26882         (symlinkat): Likewise.
26883         (unlinkat): Likewise.
26884         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
26885         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
26886         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
26887         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
26888         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
26889         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
26890         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
26892 2014-09-30  Will Newton  <will.newton@linaro.org>
26894         * math/math.h: Define long double math functions if
26895         _LIBC_TEST is defined.
26896         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
26898         * localedata/Makefile: Move assignment to tests-special
26899         into an ifdef testing run-built-tests.
26900         * timezone/Makefile: Likewise.
26902 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
26904         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
26905         with $(BASH) not $(SHELL).
26907 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
26908             Matthew LeGendre  <legendre1@llnl.gov>
26910         [BZ #17411]
26911         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
26912         l_reloc_result.
26914 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26916         * stdio-common/printf_fp.c
26917         (hack_digit): New function, broken out of ...
26918         (__printf_fp): ... local function here.  Update call sites.
26919         hack_digit now takes an additional parameter that is a pointer
26920         to a struct of the referenced locals.  Those locals moved inside
26921         the struct and references updated.
26923 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
26925         * aclocal.m4: Require autoconf 2.69.
26926         * configure: Regenerated.
26927         * sysdeps/aarch64/configure: Likewise.
26928         * sysdeps/alpha/configure: Likewise.
26929         * sysdeps/arm/armv7/configure: Likewise.
26930         * sysdeps/arm/configure: Likewise.
26931         * sysdeps/ia64/configure: Likewise.
26932         * sysdeps/mach/configure: Likewise.
26933         * sysdeps/mips/configure: Likewise.
26934         * sysdeps/s390/configure: Likewise.
26935         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
26936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
26938         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
26939         file.
26940         * sysdeps/ia64/configure.ac: Likewise.
26942 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
26944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
26945         specify symbol version for ld.so.  Do not include entry for
26946         libpthread.
26947         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26948         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26949         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26951         [BZ #14171]
26952         * Makeconfig [$(build-shared) = yes]
26953         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
26954         makefiles.
26955         [$(build-shared) = yes && $(soversions.mk-done) = t]
26956         ($(common-objpfx)gnu/lib-names.h): Remove rule.
26957         [$(build-shared) = yes && $(soversions.mk-done) = t]
26958         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
26959         to Makerules.
26960         [$(build-shared) = yes && $(soversions.mk-done) = t]
26961         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
26962         here.
26963         [$(build-shared) = yes && $(soversions.mk-done) = t]
26964         (common-generated): Don't append gnu/lib-names.h and
26965         gnu/lib-names.stmp here.
26966         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
26967         (lib-names-h-abi): New variable.
26968         [$(build-shared) = yes && $(soversions.mk-done) = t]
26969         (lib-names-stmp-abi): Likewise.
26970         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26971         abi-variants] (before-compile): Append
26972         $(common-objpfx)$(lib-names-h-abi).
26973         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26974         abi-variants] (common-generated): Append gnu/lib-names.h.
26975         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26976         abi-variants] (install-others-nosubdir): Depend on
26977         $(inst_includedir)/$(lib-names-h-abi).
26978         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26979         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
26980         [$(build-shared) = yes && $(soversions.mk-done) = t]
26981         ($(common-objpfx)$(lib-names-h-abi)): New rule.
26982         [$(build-shared) = yes && $(soversions.mk-done) = t]
26983         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
26984         [$(build-shared) = yes && $(soversions.mk-done) = t]
26985         (common-generated): Append $(lib-names-h-abi) and
26986         $(lib-names-stmp-abi).
26987         * scripts/lib-names.awk: Do not handle multi being set.
26988         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
26989         Remove variable.
26990         (abi-lp64_be-ld-soname): Likewise.
26991         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
26992         Likewise.
26993         (abi-hard-ld-soname): Likewise.
26994         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
26995         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
26996         Remove variable.
26997         (abi-o32_hard-ld-soname): Likewise.
26998         (abi-o32_soft_2008-ld-soname): Likewise.
26999         (abi-o32_hard_2008-ld-soname): Likewise.
27000         (abi-n32_soft-ld-soname): Likewise.
27001         (abi-n32_hard-ld-soname): Likewise.
27002         (abi-n32_soft_2008-ld-soname): Likewise.
27003         (abi-n32_hard_2008-ld-soname): Likewise.
27004         (abi-n64_soft-ld-soname): Likewise.
27005         (abi-n64_hard-ld-soname): Likewise.
27006         (abi-n64_soft_2008-ld-soname): Likewise.
27007         (abi-n64_hard_2008-ld-soname): Likewise.
27008         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
27009         Likewise.
27010         (abi-64-v2-ld-soname): Likewise.
27011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
27012         ld.so entries.
27013         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
27014         variable.
27015         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
27016         entry.
27017         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
27018         variable.
27019         (abi-64-ld-soname): Likewise.
27020         (abi-x32-ld-soname): Likewise.
27021         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
27022         entry.
27023         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27025 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
27027         [BZ #14138]
27028         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
27029         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
27030         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
27031         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
27032         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
27033         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
27034         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
27035         syscall entry for GLIBC_2.2 symbol version.
27036         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
27037         Likewise.
27038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27039         (setrlimit): Likewise.
27040         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
27041         Likewise.
27043 2014-09-23  Will Newton  <will.newton@linaro.org>
27045         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
27046         _LINUX_ARM_SYSDEP_H include guard too.
27047         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
27048         define.
27050 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27052         * sysdeps/unix/sysv/linux/eventfd.c:
27053         Make first argument unsigned.
27054         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
27055         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
27057 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
27059         [BZ #16852]
27060         * socket/recvmmsg.c (recvmmsg): Drop const argument.
27061         * socket/sys/socket.h: Likewise.
27062         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
27064 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27066         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
27068 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
27070         * time/tst-ftime.c: New test.
27071         * time/Makefile (tests): Add tst-ftime.
27073 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
27075         * soft-fp/extended.h: Fix comment formatting.
27076         * soft-fp/op-1.h: Likewise.
27077         * soft-fp/op-2.h: Likewise.
27078         * soft-fp/op-4.h: Likewise.
27079         * soft-fp/op-8.h: Likewise.
27080         * soft-fp/op-common.h: Likewise.
27081         * soft-fp/soft-fp.h: Likewise.
27083         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
27085 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
27087         [BZ #6652]
27088         * Makeconfig (soversions-default-setname): Remove variable.
27089         ($(common-objpfx)soversions.i): Don't pass default_setname to
27090         soversions.awk.
27091         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
27092         oldest_abi to abi-versions.awk.
27093         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
27094         * config.make.in (oldest-abi): Remove variable.
27095         * configure.ac (--enable-oldest-abi): Remove configure option.
27096         * configure: Regenerated.
27097         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
27098         text.
27099         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
27100         * scripts/soversions.awk: Do not handle default_setname variable.
27101         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
27102         variable.
27103         * sysdeps/mach/hurd/configure: Regenerated.
27104         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
27105         variable.
27106         * sysdeps/unix/sysv/linux/configure: Regenerated.
27108 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27110         * elf/Makefile (CFLAGS-interp.c): Remove.
27111         ($(elf-objpfx)runtime-linker.h): Generate header with linker
27112         path string.
27113         * elf/interp.c: Include generated runtime-linker.h
27115         * Makerules (lib%.so): Don't include $(+interp) in
27116         prerequisites.
27117         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
27118         * dlfcn/eval.c: Remove file.
27120         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
27121         macros.
27123         [BZ #17266]
27124         * misc/sys/cdefs.h: Define __extern_always_inline for clang
27125         4.2 and newer.
27127         [BZ #17370]
27128         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
27130 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27131             Jakub Jelinek  <jakub@redhat.com>
27133         [BZ #17266]
27134         * libio/stdio.h: Check definition of __fortify_function
27135         instead of __extern_always_inline to include bits/stdio2.h.
27136         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
27137         check if __extern_always_inline is defined.
27138         [__USE_MISC || __USE_XOPEN]: Likewise.
27139         [__USE_ISOC99] Likewise.
27140         * misc/sys/cdefs.h (__fortify_function): Define only if
27141         __extern_always_inline is defined.
27142         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
27143         __extern_always_inline and __extern_inline only for g++-4.3
27144         and newer or a compatible gcc.
27146 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
27148         [BZ #17371]
27149         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27150         last change to handle zero prefix length.
27152 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27154         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27155         _SC_REGEX_VERSION.
27157         * posix/getconf.c (vars): Add _POSIX_IPV6 and
27158         _POSIX_RAW_SOCKETS.
27160 2014-09-13  Allan McRae  <allan@archlinux.org>
27162         * po/ru.po: Update Russian translation from translation project.
27164 2014-09-12  Roland McGrath  <roland@hack.frob.com>
27166         * locale/programs/locale.c (show_locale_vars): Inline local function
27167         into its sole call site.  Clean up some style nits.
27168         (print_item): New function, broken out of ...
27169         (show_info): ... local function here.  Clean up style nits.
27171         * locale/programs/ld-ctype.c (set_one_default): New function, broken
27172         out of ...
27173         (set_class_defaults): ... local function set_default here.
27174         Define set_default as a macro locally to pass constant parameters.
27175         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27176         rather than a shared local.
27178         * stdlib/rpmatch.c (try): New function, broken out of ...
27179         (rpmatch): ... local function here.  Also, prototypify definition.
27181 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
27183         * scripts/soversions.awk: Do not handle configuration names.
27184         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
27185         vendor and os variables to soversions.awk.
27186         * configure.ac: Do not modify gnu-* host_os.
27187         * configure: Regenerated
27188         * shlib-versions: Remove first column with configuration names.
27189         * nptl/shlib-versions: Likewise.
27190         * nptl_db/shlib-versions: Likewise.
27191         * sysdeps/hppa/shlib-versions: Likewise.
27192         * sysdeps/m68k/shlib-versions: Likewise.
27193         * sysdeps/mach/hurd/shlib-versions: Likewise.
27194         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
27195         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
27196         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
27197         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
27198         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
27199         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
27200         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
27201         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27203         Likewise.
27204         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27205         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27206         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27207         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27208         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27209         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
27210         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27211         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27214         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
27215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27216         Regenerated.
27217         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
27218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27219         Condition symbol version definitions on [HAVE_ELFV2_ABI].
27221         * shlib-versions: Remove OS-specific entries.  Moved to files in
27222         sysdeps.
27223         * sysdeps/mach/hurd/shlib-versions: New file.
27224         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27226         * nptl/shlib-versions: Remove architecture-specific entries.
27227         Moved to files in sysdeps.
27228         * shlib-versions: Likewise.
27229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
27230         file.
27231         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27232         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27233         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27234         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27236         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
27237         (UDP_NO_CHECK6_RX): Likewise.
27239 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27241         * sysdeps/posix/sysconf.c (__sysconf): Spell
27242         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
27244 2014-08-12  Florian Weimer  <fweimer@redhat.com>
27246         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
27247         loading.
27248         * iconv/Versions (__gconv_transliterate): Export for use from
27249         gconv modules.
27250         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
27251         (struct __gconv_trans_data, __gconv_trans_fct,
27252         __gconv_trans_context_fct, __gconv_trans_query_fct,
27253         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
27254         definitions.
27255         (struct __gconv_step_data): Remove __trans member.
27256         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
27257         longer hidden.  Remove unused trans_data argument.
27258         * iconv/gconv_int.h (struct trans_struct): Remove definition.
27259         (__gconv_translit_find): Remove declaration.
27260         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
27261         prototype.
27262         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27263         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27264         trans_data argument.  Add hidden definition.
27265         (__gconv_translit_find): Remove.
27266         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27267         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27268         * iconv/skeleton.c: Remove transliteration initialization.
27269         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27270         __gconv_step_data initialization.
27271         * libio/iofwide.c (__libio_translit_): Remove.
27272         (_IO_fwide): Adjust struct __gconv_step_data initialization.
27273         * wcsmbs/btowc.c (__btowc): Likewise.
27274         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27275         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27276         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27277         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27278         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27279         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27280         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27281         * wcsmbs/wctob.c (wctob): Likewise.
27283 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27285         [BZ #16194]
27286         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27287         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
27288         register usage.
27289         * sysdeps/x86/Makefile: Adjust.
27291 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27292             Roland McGrath  <roland@hack.frob.com>
27294         * locale/weight.h: Add include guard.
27295         (findidx): Make static rather than auto; take new parameters
27296         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27297         * locale/weightwc.h: Likewise.
27298         * posix/fnmatch_loop.c
27299         (FCT): Change type of EXTRA from int32_t to wint_t.
27300         Don't include either header inside the function.
27301         Call FINDIDX rather than findidx, and pass new arguments.
27302         #undef FINDIDX at the end of the file.
27303         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27304         FINDIDX before including fnmatch_loop.c for the non-wide version.
27305         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27306         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27307         for the wide version.
27308         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27309         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27310         Pass new arguments to findidx.
27311         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27312         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27313         Don't #include it inside the function.  Pass new arguments to findidx.
27314         * posix/regex_internal.h
27315         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27316         (re_string_elem_size_at): Don't #include it inside the function.
27317         Pass new arguments to findidx.
27318         * string/strcoll_l.c: #include WEIGHT_H at top level.
27319         (get_next_seq): Don't #include it inside the function.
27320         Pass new arguments to findidx.
27321         (get_next_seq_nocache): Likewise.
27322         * string/strxfrm_l.c: #include WEIGHT_H at top level.
27323         (STRXFRM): Don't #include it inside the function.
27324         Pass new arguments to findidx.
27326 2014-09-11  Florian Weimer  <fweimer@redhat.com>
27328         [BZ #17344]
27329         * malloc/malloc.c (unlink): Turn asserts into a call to
27330         malloc_printerr.
27332 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
27334         [BZ #17370]
27335         * libio/wfileops (do_ftell_wide): Free OUT.
27337 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
27339         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
27341 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27343         [BZ #17363]
27344         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
27345         group if the current group is empty.
27347 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27349         * benchtests/bench-memset.c (test_main): Add more test from size
27350         from 32 to 512 bytes.
27351         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27352         Add POWER8 memset object.
27353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27354         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
27355         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
27356         implementation.
27357         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
27358         Likewise.
27359         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
27360         multiarch POWER8 memset optimization.
27361         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
27362         POWER8 memset optimization.
27364         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27365         Remove bzero multiarch objects.
27366         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
27367         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
27368         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
27369         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
27370         Remove define.
27371         [__bzero]: Redefine to specific name.
27372         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27373         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27374         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
27375         define.
27376         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27377         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27379 2014-09-10  Florian Weimer  <fweimer@redhat.com>
27381         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
27382         warnings into errors.
27384         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
27385         __cxa_thread_atexit_impl prototype.
27387 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27389         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
27390         Fix capitalization of error message.
27392 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27394         * sysdeps/mips/preconfigure: Modify ABI tests.
27396 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
27398         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
27400 2014-09-07  Roland McGrath  <roland@hack.frob.com>
27401             Carlos O'Donell  <carlos@systemhalted.org>
27403         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
27404         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
27405         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
27406         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
27407         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
27408         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
27409         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
27410         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
27411         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
27412         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
27413         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
27414         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
27415         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
27416         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
27417         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
27418         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
27419         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
27420         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
27421         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
27422         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
27423         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
27424         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
27425         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
27426         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
27427         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
27428         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
27429         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
27430         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
27431         Deconditionalize the code that was previously under [RESET_PID].
27432         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
27433         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
27434         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
27435         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
27436         include sysdep.h.
27438 2014-09-08  Allan McRae  <allan@archlinux.org>
27440         * version.h (RELEASE): Set to "development".
27441         (VERSION): Set to "2.20.90"
27443 2014-09-07  Allan McRae  <allan@archlinux.org
27445         * version.h (RELEASE): Set to "stable".
27446         (VERSION): Set to "2.20"
27447         * include/features.h (__GLIBC_MINOR__): Set to 20.
27449         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
27450         Liebler.
27452         * po/ko.po: Update Korean translation from translation project.
27454 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
27456         [BZ #17354]
27457         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
27458         macro for handling signed relocations.
27460 2014-09-03  Florian Weimer  <fweimer@redhat.com>
27462         [BZ #17325]
27463         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
27464         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
27465         assert.
27466         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
27467         * iconvdata/ibm935.c (BODY): Likewise.
27468         * iconvdata/ibm937.c (BODY): Likewise.
27469         * iconvdata/ibm939.c (BODY): Likewise.
27470         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
27471         assert.
27472         * iconvdata/Makefile (iconv-test.out): Pass module list to test
27473         script.
27474         * iconvdata/run-iconv-test.sh: New test loop for checking for
27475         decoder crashers.
27477 2014-09-02  Khem Raj  <raj.khem@gmail.com>
27479         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
27480         libm_hidden_ver.
27482 2014-09-01  Allan McRae  <allan@archlinux.org>
27484         * po/eo.po: Update Esperanto translation from translation project.
27486         * po/ca.po: Update Catalan translation from translation project.
27488 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27490         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
27491         __proc_dostop call.
27493 2014-08-27  Mark Wielaard  <mjw@redhat.com>
27495         [BZ #17319]
27496         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
27497         to call set_thread_area instead of hand written asm.
27498         (__NR_set_thread_area): Removed define.
27499         (TLS_FLAG_WRITABLE): Likewise.
27500         (__ASSUME_SET_THREAD_AREA): Remove check.
27501         (TLS_EBX_ARG): Remove define.
27502         (TLS_LOAD_EBX): Likewise.
27504 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27506         Simplify atomicity of socket creation in bind.
27508         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
27509         looking up the name after linking the file.
27511 2014-08-27  Allan McRae  <allan@archlinux.org>
27513         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27515 2014-08-26  Florian Weimer  <fweimer@redhat.com>
27517         [BZ #17187]
27518         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
27519         trans_compare, open_translit, __gconv_translit_find):
27520         Remove module loading code.
27522 2014-08-26  Allan McRae  <allan@archlinux.org>
27524         * po/vi.po: Update Vietnamese translation from translation project.
27526         * po/uk.po: Update Ukrainian translation from translation project.
27528         * po/fr.po: Update French translation from translation project.
27530         * po/ru.po: Update Russian translation from translation project.
27532         * po/pl.po: Update Polish translation from translation project.
27534         * po/cs.po: Update Czech translation from translation project.
27536         * po/de.po: Update German translation from translation project.
27538         * po/bg.po: Update Bulgarian translation from translation project.
27540         * po/sv.po: Update Sweedish translation from translation project.
27542         * po/nl.po: Update Dutch translation from translation project.
27544         * po/es.po: Update Spanish translation from translation project.
27546 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27548         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
27550         * catgets/Makefile (CPPFLAGS-gencat): Remove.
27551         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
27552         (CPPFLAGS-iconvconfig): Likewise.
27553         * timezone/Makefile (CPPFLAGS-zic): Likewise.
27555         * include/libc-symbols.h: Remove unnecessary check for
27556         NOT_IN_libc.
27557         * nptl/pthreadP.h: Likewise.
27558         * sysdeps/aarch64/setjmp.S: Likewise.
27559         * sysdeps/alpha/setjmp.S: Likewise.
27560         * sysdeps/arm/sysdep.h: Likewise.
27561         * sysdeps/i386/setjmp.S: Likewise.
27562         * sysdeps/m68k/setjmp.c: Likewise.
27563         * sysdeps/posix/getcwd.c: Likewise.
27564         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27565         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27566         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27567         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27568         * sysdeps/sh/sh3/setjmp.S: Likewise.
27569         * sysdeps/sh/sh4/setjmp.S: Likewise.
27570         * sysdeps/unix/alpha/sysdep.h: Likewise.
27571         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27572         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27573         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27574         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27577         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27578         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27579         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27580         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27581         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27582         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27583         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27584         * sysdeps/x86_64/setjmp.S: Likewise.
27586 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
27588         [BZ #17263]
27589         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
27590         <stdint.h>.
27591         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
27592         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
27594 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27596         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
27598         [BZ #17262]
27599         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
27600         and __x86_64__ when disabling x87 inline functions.
27602 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27604         [BZ #17259]
27605         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
27606         asm statement with __cpuid_count.
27608 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
27610         * configure.ac: Change __ehdr_start code to dereference the struct.
27611         Run readelf on the output to look for relocations.
27612         * configure: Regenerated.
27614 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
27616         [BZ #17261]
27617         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
27618         value to 0.
27619         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
27621 2014-08-12  Roland McGrath  <roland@hack.frob.com>
27623         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
27625 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
27627         [BZ #16892]
27628         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
27629         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
27631 2014-08-12  Sean Anderson  <seanga2@gmail.com>
27633         * malloc/malloc.c: Fix typo in comment.
27635 2014-08-09  Allan McRae  <allan@archlinux.org>
27637         * Regenerate libc.po.
27639 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
27641         * intl/tst-gettext2.sh: Check every lang file for creation.
27643 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27645         * sysdeps/aarch64/fpu/math_private.h
27646         (libc_feholdsetround_noex_aarch64_ctx): New function.
27648 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27650         * sysdeps/arm/armv6/strcpy.S (strcpy):
27651         Fix performance issue in misaligned cases.
27653 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27655         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
27656         Move definition from termios.h.
27657         (struct termio): Likewise.
27658         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27659         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27660         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27661         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27662         Likewise.
27663         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
27664         Move definition to ioctl-types.h
27665         (struct termio): Likewise.
27666         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27667         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27668         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27669         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27670         Likewise.
27672 2014-08-05  Richard Henderson  <rth@redhat.com>
27674         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
27675         exceptions.
27676         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
27677         Add fraiseexcpt.
27678         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
27679         Use __feraiseexcept.
27680         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
27681         Protect libm symbols with IS_IN_libm.
27683         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
27685 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
27687         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
27689 2014-08-04  Will Newton  <will.newton@linaro.org>
27691         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
27692         file.
27694 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
27696         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
27697         variants for each function.
27699 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27701         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
27702         appended ...
27703         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
27704         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
27705         appended ...
27706         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
27707         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
27708         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
27709         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
27710         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
27711         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
27712         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
27713         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
27714         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
27715         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
27716         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
27717         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
27718         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
27719         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
27720         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
27721         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
27722         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
27723         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
27724         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
27725         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
27726         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
27727         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
27728         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
27729         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
27730         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
27731         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
27732         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
27733         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
27734         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
27735         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
27736         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
27737         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
27738         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
27739         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
27740         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
27741         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
27742         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
27743         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
27744         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
27745         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
27746         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
27747         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
27748         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
27749         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
27750         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
27751         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
27752         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
27753         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
27754         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
27755         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
27756         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
27757         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
27758         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
27759         Update #include.
27760         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
27761         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
27763 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27765         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
27766         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
27767         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
27768         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
27769         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
27770         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
27772 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27774         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
27775         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
27776         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27777         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
27779 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27781         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
27782         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
27783         (__libc_vfork): Define function under this name.
27784         (__vfork): Define as an alias.
27785         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
27786         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
27788 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27790         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
27791         that was previously under [RESET_PID].
27792         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
27794 2014-08-04  Andreas Schwab  <schwab@suse.de>
27796         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
27798 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
27800         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
27801         (main): Likewise.
27803 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27805         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
27807 2014-08-01  Richard Henderon  <rth@redhat.com>
27809         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
27810         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
27811         typo in exact zero test.
27812         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27813         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27814         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27816 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27818         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
27819         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
27820         * sysdeps/arm/sysdep.h: ... here.
27821         [!__ASSEMBLER__]: Include <stdint.h>.
27823 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27825         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
27826         (HAVE_WCTYPE_H): Likewise.
27827         (HAVE_ISWCTYPE): Likewise.
27828         (ENABLE_NLS): Likewise.
27829         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
27830         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
27832         * posix/regex_internal.c: Check if DEBUG is defined and is
27833         set.
27835         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
27836         (HAVE_MBSRTOWCS): Likewise.
27837         * posix/fnmatch.c: Include string.h unconditionally.
27839 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27841         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
27842         reversal.
27844 2014-07-31  Roland McGrath  <roland@hack.frob.com>
27846         * sysdeps/generic/safe-fatal.h: New file.
27847         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
27848         * nptl/forward.c: Include it.
27849         (__pthread_unwind): Use __safe_fatal as default action, rather
27850         than a bogus use of INTERNAL_SYSCALL that could never work.
27852         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
27853         * configure.ac (libc_cv_builtin_trap): New test.
27854         * configure: Regenerated.
27855         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
27856         (ABORT_INSTRUCTION): Define using __builtin_trap.
27858         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
27859         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
27860         * sysdeps/nptl/nptl-signals.h: New file.
27861         * nptl/pthreadP.h: Include <nptl-signals.h>.
27863 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27865         * sysdeps/s390/s390-64/utf16-utf32-z9.c
27866         (ONE_DIRECTION): Define.
27867         * sysdeps/s390/s390-64/utf8-utf16-z9.c
27868         (ONE_DIRECTION): Define.
27869         * sysdeps/s390/s390-64/utf8-utf32-z9.c
27870         (ONE_DIRECTION): Define.
27872 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27874         * sysdeps/s390/Makefile: Delete file.
27875         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
27876         * sysdeps/s390/__longjmp.c: Delete file.
27877         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
27878         Remove fields __flags and __reserved.
27879         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
27880         and add versioning.
27881         * sysdeps/s390/rtld-__longjmp.c: Delete file.
27882         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
27883         * sysdeps/s390/rtld-setjmp.S: Likewise.
27884         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
27885         * sysdeps/s390/s390-32/__longjmp.c: ... here.
27886         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
27887         * sysdeps/s390/s390-32/setjmp.S: ... here.
27888         Add versioning.
27889         (__sigsetjmp): Remove setting __flags field.
27890         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
27891         * sysdeps/s390/s390-64/__longjmp.c: ... here.
27892         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
27893         * sysdeps/s390/s390-64/setjmp.S: ... here.
27894         Add versioning.
27895         (__sigsetjmp): Remove setting __flags field.
27896         * sysdeps/s390/setjmp.S: Delete file.
27897         * sysdeps/s390/sigjmp.c: Likewise.
27898         * sysdeps/s390/v1-longjmp.c: Likewise.
27899         * sysdeps/s390/v1-setjmp.h: Likewise.
27900         * sysdeps/s390/v1-sigjmp.c: Likewise.
27901         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
27902         Remove v1-longjmp_chk.
27903         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
27904         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
27905         Include debug/longjmp_chk.c and add versioning.
27906         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
27907         Include nptl/pt-longjmp.c and add versioning.
27908         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
27909         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
27910         Include __longjmp.c.
27911         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27912         Move to ...
27913         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
27914         (__getcontext): Remove setting __flags field.
27915         Add versioning.
27916         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27917         Don't restore upper high grps.
27918         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
27919         Likewise.
27920         (__swapcontext): Remove setting uc_flags field.
27921         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
27922         Delete file.
27923         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27924         Include __longjmp.c.
27925         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27926         Move to ...
27927         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
27928         (__getcontext): Remove setting __flags field.
27929         Add versioning.
27930         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
27931         (__swapcontext): Remove setting uc_flags field.
27932         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
27933         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
27934         Remove fields uc_high_gprs and __reserved.
27935         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
27936         New file with reverted content.
27937         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
27938         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
27939         Regenerated.
27940         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
27941         Regenerated.
27943 2014-07-31  Andreas Schwab  <schwab@suse.de>
27945         * config.h.in (HAVE_IFUNC): Define to 0.
27946         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
27947         definedness.
27949 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
27951         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27952         memmove-avx-unaligned, memcpy-avx-unaligned and
27953         mempcpy-avx-unaligned.
27954         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27955         Add tests for AVX memcpy functions.
27956         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
27957         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
27958         memcpy_chk.
27959         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
27960         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
27961         memmove_chk.
27962         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
27963         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
27964         mempcpy_chk.
27965         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
27966         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
27967         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
27969 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27971         [BZ #17213]
27972         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
27973         powerpc64le.
27975 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
27977         [BZ #16839]
27978         * manual/llio.texi: Add section about open file description locks.
27979         * manual/examples/ofdlocks.c: Example of open file description
27980         lock usage.
27981         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
27982         F_OFD_SETLK, and F_OFD_SETLKW.
27984 2014-07-23  Allan McRae  <allan@archlinux.org>
27986         * po/es.po: Update Spanish translation from translation project.
27988 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
27990         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
27992 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
27994         [BZ #17078]
27995         * sysdeps/arm/dl-machine.h (elf_machine_rela)
27996         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
27997         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
27999 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
28001         [BZ #17088]
28002         * math/fesetenv.c (__fesetenv)
28003         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
28004         * math/feupdateenv.c (__feupdateenv)
28005         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
28007         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
28008         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28009         (__ASSUME_SOCKETCALL): Do not define.
28011         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
28012         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
28013         (__ASSUME_SOCKETCALL): Do not define.
28014         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
28015         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28016         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28017         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28018         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28019         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
28020         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28021         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28023         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
28024         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
28025         (__ASSUME_SOCKETCALL): Do not define.
28026         (__ASSUME_IPC64): Define unconditionally.
28027         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28028         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28029         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28030         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28031         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
28032         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28033         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
28034         Likewise.
28036         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
28037         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
28038         (__ASSUME_SOCKETCALL): Do not define.
28039         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
28040         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28041         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28042         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28043         (__ASSUME_REQUEUE_PI): Define unconditionally.
28044         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
28045         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
28046         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28047         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
28048         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28049         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28051         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
28052         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
28053         (__ASSUME_SOCKETCALL): Do not define.
28054         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
28055         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28056         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28057         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
28058         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28059         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28061         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
28062         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
28063         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28064         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
28065         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28066         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
28067         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28068         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
28069         (__ASSUME_GETCPU_SYSCALL): Likewise.
28071         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
28072         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
28073         cases for individual architectures.
28074         * sysdeps/gnu/configure: Regenerated.
28075         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28076         LIBC_SLIBDIR_RTLDDIR.
28077         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
28078         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
28079         LIBC_SLIBDIR_RTLDDIR.
28080         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
28081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
28082         LIBC_SLIBDIR_RTLDDIR.
28083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28084         Regenerated.
28085         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
28086         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
28087         file.
28088         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
28089         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
28090         file.
28091         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
28092         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
28093         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
28094         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28096         * sysdeps/aarch64/shlib-versions: Move to ...
28097         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
28098         * sysdeps/alpha/shlib-versions: Move to ...
28099         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
28100         * sysdeps/arm/shlib-versions: Move to ...
28101         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
28102         * sysdeps/hppa/shlib-versions: Move all contents except for
28103         libgcc_s entry to ...
28104         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
28105         entry from ...
28106         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
28107         * sysdeps/ia64/shlib-versions: Move to ...
28108         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
28109         entry from ...
28110         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
28111         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
28112         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
28113         * sysdeps/microblaze/shlib-versions: Move to ...
28114         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
28115         * sysdeps/mips/shlib-versions: Move to ...
28116         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
28117         entry from ...
28118         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
28119         * sysdeps/tile/shlib-versions: Move to ...
28120         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
28121         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
28122         from ...
28123         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
28124         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
28125         entry from ...
28126         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
28128 2014-07-17  Will Newton  <will.newton@linaro.org>
28130         * sysdeps/arm/bits/atomic.h
28131         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
28132         (__arch_compare_and_exchange_bool_16_int): Likewise.
28133         (__arch_compare_and_exchange_bool_64_int): Likewise.
28135         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
28136         into an #else block.
28138 2014-07-16  Roland McGrath  <roland@hack.frob.com>
28140         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
28141         just Linux configurations.  Test empirically that the compiler sets
28142         __ARM_EABI__, rather than using the tuple to decide.
28143         * sysdeps/arm/preconfigure: Regenerated.
28144         * sysdeps/unix/sysv/linux/arm/configure: File removed.
28145         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28146         contents appended ...
28147         * sysdeps/arm/configure.ac: ... here.
28148         * sysdeps/arm/configure: Regenerated.
28150 2014-07-15  Roland McGrath  <roland@hack.frob.com>
28152         * nptl/pthread_kill.c: New file.
28153         * nptl/pthread_sigmask.c: New file.
28154         * nptl/pthread_sigqueue.c: New file.
28156         * sysdeps/nptl/lowlevellock.h: New file.
28157         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28158         * sysdeps/nptl/lowlevellock-futex.h: New file.
28160         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28161         Remove dead declarations.
28163 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
28165         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28166         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28167         config-cflags-avx2.
28168         * sysdeps/x86_64/configure.ac: Likewise.
28169         * sysdeps/i386/configure: Regenerated.
28170         * sysdeps/x86_64/configure: Likewise.
28171         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28172         memset-avx2 only if config-cflags-avx2 is yes.
28173         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28174         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28175         defined.
28176         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28177         only if HAVE_AVX2_SUPPORT is defined.
28178         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28180 2014-07-14  Alan Modra  <amodra@gmail.com>
28182         [BZ #17153]
28183         * elf/elf.h (DT_PPC64_NUM): Correct value.
28184         * NEWS: Add to fixed bug list.
28186 2014-07-13  Jim Meyering  <meyering@fb.com>
28188         [BZ 17150]
28189         regex: don't deref NULL upon heap allocation failure
28190         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
28191         failure in one more place.
28192         To trigger the segfault, configure grep -with-included-regex,
28193         build it, and run these commands:
28194         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
28196 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
28198         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28200 2014-07-11  Richard Henderson  <rth@redhat.com>
28202         * sysdeps/aarch64/libm-test-ulps: Update.
28204 2014-07-10  Florian Weimer  <fweimer@redhat.com>
28206         [BZ #17135]
28207         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
28208         * nptl/allocatestack.c (__nptl_setxid_error): New function.
28209         (__nptl_setxid): Initialize error member.  Call
28210         __nptl_setxid_error.
28211         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
28212         * nptl/descr.h (struct xid_command): Add error member.
28213         * nptl/tst-setuid3.c: New file.
28214         * nptl/Makefile (tests): Add it.
28216 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28218         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
28219         New define.
28220         (__lll_trylock): Use __lll_base_trylock.
28221         (__lll_cond_trylock): Likewise.
28223 2014-07-10  Roland McGrath  <roland@hack.frob.com>
28225         * nptl/pthread_create.c (start_thread): Use atomic_or and
28226         lll_futex_wake directly rather than lll_robust_dead.
28227         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28228         (lll_robust_dead): Macro removed.
28229         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
28230         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28231         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28232         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28233         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28234         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28235         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28236         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28237         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28238         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28239         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28240         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28241         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28242         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28243         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28245         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
28246         Use atomic_compare_and_exchange_val_acq directly rather than
28247         lll_robust_trylock.
28248         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28249         (__lll_robust_trylock, lll_robust_trylock): Removed.
28250         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28251         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28252         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28253         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28254         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28255         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28256         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28257         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28258         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28259         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28260         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28261         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28262         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28263         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28265 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28267         * manual/locale.texi (Locale Names): New section documenting
28268         locale name syntax.  Adjust menu and node chaining accordingly.
28269         (Choosing Locale): Reference Locale Names, Locale Categories.
28270         Mention setting LC_ALL=C.  Reflect that name syntax is now
28271         documented.
28272         (Locale Categories): New section title.  Reference Locale Names.
28273         LC_ALL is an environment variable, but not a category.
28274         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28275         description, now in Locale Name.  Reference that section.  Locale
28276         name syntax is now documented.
28278 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28280         [BZ #17137]
28281         * locale/findlocale.c (name_present, valid_locale_name): New
28282         functions.
28283         (_nl_find_locale): Use the loc_name variable to store name
28284         candidates.  Call name_present and valid_locale_name to check and
28285         validate locale names.  Return an error if the locale is invalid.
28287 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28289         * locale/setlocale.c (setlocale): Use strdup for allocating
28290         composite name copy.
28292 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28294         Sync up with gnulib.
28295         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28296         [!_LIBC && ENABLE_NLS]: Include gettext.h.
28297         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28298         and _GL_ARG_NONNULL.
28299         [USE_UNLOCKED_IO]: Include unlocked-io.h.
28300         [!_LIBC]: Include code for Windows and Cygwin.
28301         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28302         Include prototype for int strerror_r.
28303         [!_LIBC] (is_open): New function.
28304         (flush_stdout): New function.
28305         (print_errno_message): Use it.
28306         (error): Likewise.
28307         (error_at_line): Likewise.
28308         (error_tail) Add function attribute macros.  Use
28309         __builtin_expect.
28311         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28313         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28315         * io/ftw.c: Include sys/param.h unconditionally.
28317         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28319         [BZ #17125]
28320         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28321         libc_freeres_ptr.
28322         (freecache): New function to free CACHE on exit.
28324         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28325         initialization.
28327 2014-07-09  David S. Miller  <davem@davemloft.net>
28329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28331         * sysdeps/sparc/nptl/internaltypes.h: Delete.
28332         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28333         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28334         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28335         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28336         * sysdeps/sparc/nptl/sem_init.c: Likewise.
28337         * sysdeps/sparc/nptl/sem_post.c: Likewise.
28338         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
28339         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
28340         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
28341         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28342         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
28343         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
28345 2014-07-09  Andreas Schwab  <schwab@suse.de>
28347         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
28348         output.
28349         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
28350         (do_test): Likewise.
28352         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28354 2014-07-09  Will Newton  <will.newton@linaro.org>
28356         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
28357         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
28358         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28359         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28360         * sysdeps/hppa/start.S (_start): Likewise.
28362 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28364         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
28366         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
28367         defined.
28369 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28371         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
28372         after checking that it is non-NULL.
28374         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
28376 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28378         * sysdeps/powerpc/memmove.c: Remove file.
28379         * sysdeps/powerpc/powerpc32/power4/memcopy.h
28380         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28381         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28382         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
28383         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
28384         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
28385         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
28386         string memmove instead of removed powerpc one.
28388         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28389         [weak_alias]: Fix compiler warning due trailing data.
28390         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28391         [weak_alias]: Likewise.
28392         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
28393         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
28395         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28396         (__libc_ifunc_impl_list): Add memmove functions.
28398 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28400         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
28401         Remove code.
28402         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
28403         Likewise.
28404         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
28405         Likewise.
28406         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
28407         Likewise.
28408         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
28409         Likewise.
28410         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
28411         Likewise.
28412         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28413         Likewise.
28414         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
28415         Likewise.
28416         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
28417         Likewise.
28418         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
28419         Likewise.
28420         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
28421         Likewise.
28422         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
28423         Likewise.
28424         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
28425         Likewise.
28426         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
28427         Likewise.
28428         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
28429         Likewise.
28430         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
28431         Likewise.
28432         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
28433         Likewise.
28435 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28437         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
28438         to avoid alignment traps in non-cacheable memory.
28439         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28441         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
28442         multiarch objects.
28443         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
28444         file: multiarch power7 memmove.
28445         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
28446         multiarch default memmove.
28447         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
28448         multiarch memove for powerpc32/power4.
28450         * string/bcopy.c: Use full path to include memmove.c.
28451         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
28452         multiarch objects.
28453         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
28454         bcopy for powerpc64.
28455         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
28456         bcopy for powerpc64.
28457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
28458         and memmove implementations.
28459         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
28460         optimized multiarch memmove for POWER7/powerpc64.
28461         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
28462         default multiarch memmove for powerpc64.
28463         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
28464         multiarch for powerpc64.
28465         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
28466         for POWER7/powerpc64.
28467         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
28468         memmove for POWER7/powerpc64.
28470         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
28471         glibc default one.
28473         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
28474         __ELF_NATIVE_CLASS equal to 64.
28476 2014-07-07  Roland McGrath  <roland@hack.frob.com>
28478         * sysdeps/nptl/lowlevellock.h: File removed.
28480         * NEWS: NPTL is no longer an add-on!
28481         * nptl/internaltypes.h: Moved ...
28482         * sysdeps/nptl/internaltypes.h: ... here.
28483         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
28484         * sysdeps/nptl/fork.c: Likewise.
28485         * sysdeps/nptl/gai_misc.h: Likewise.
28486         * sysdeps/nptl/librt-cancellation.c: Likewise.
28487         * sysdeps/nptl/jmp-unwind.c: Likewise.
28488         * sysdeps/nptl/setxid.h: Likewise.
28489         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
28490         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
28491         * sysdeps/unix/sysv/linux/arm/Implies: New file.
28492         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
28493         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
28494         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
28495         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
28496         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
28497         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
28498         * sysdeps/unix/sysv/linux/mips/Implies: New file.
28499         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
28500         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
28501         * sysdeps/unix/sysv/linux/sh/Implies: New file.
28502         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
28503         * sysdeps/unix/sysv/linux/tile/Implies: New file.
28504         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
28505         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
28506         * nptl/Makeconfig: Moved ...
28507         * sysdeps/nptl/Makeconfig: ... here.
28508         * nptl/configure: File removed.
28509         * nptl/ANNOUNCE: File removed.
28510         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
28511         * sysdeps/unix/sysv/linux/configure: Regenerated.
28513         * nptl/Makefile (routines): Add libc_pthread_init,
28514         libc_multiple_threads, register-atfork and unregister-atfork.
28515         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
28516         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
28517         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
28518         pthread-pi-defines.sym, structsem.sym.
28519         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
28520         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
28521         [$(subdir) = nptl] (tests): Add tst-setgetname.
28522         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
28523         * sysdeps/unix/sysv/linux/sigaction.c: Just include
28524         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
28525         [!LIBC_SIGACTION]: Remove aliases.
28526         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28527         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28528         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28529         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
28530         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28531         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
28532         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28533         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28534         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28535         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
28536         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
28537         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
28538         __libc_allocate_rtsig_private.
28539         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
28540         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
28541         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28542         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28543         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
28544         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
28545         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
28546         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
28547         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
28548         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
28549         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
28550         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
28551         * nptl/internaltypes.h: ... here.
28552         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
28553         * sysdeps/nptl/jmp-unwind.c: ... here.
28554         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
28555         * nptl/libc-lowlevellock.c: ... here.
28556         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
28557         * nptl/libc_multiple_threads.c: ... here.
28558         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
28559         * nptl/libc_pthread_init.c: ... here.
28560         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
28561         * nptl/lowlevelbarrier.sym: ... here.
28562         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
28563         * nptl/lowlevelcond.sym: ... here.
28564         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
28565         * nptl/lowlevellock.c: ... here.
28566         * nptl/lowlevellock.h: Moved ...
28567         * sysdeps/nptl/lowlevellock.h: ... here.
28568         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
28569         * nptl/lowlevelrobustlock.c: ... here.
28570         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
28571         * nptl/lowlevelrobustlock.sym: ... here.
28572         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
28573         * nptl/lowlevelrwlock.sym: ... here.
28574         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
28575         * nptl/pt-fork.c: ... here.
28576         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
28577         * nptl/pthread-pi-defines.sym: ... here.
28578         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
28579         * nptl/pthread_attr_getaffinity.c: ... here.
28580         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
28581         * nptl/pthread_attr_setaffinity.c: ... here.
28582         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
28583         * nptl/pthread_mutex_cond_lock.c: ... here.
28584         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28585         Update #include.
28586         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
28587         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
28588         * nptl/pthread_once.c: ... here, replacing old file.
28589         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
28590         * nptl/pthread_yield.c: ... here.
28591         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
28592         * nptl/register-atfork.c: ... here.
28593         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
28594         * nptl/sem_post.c: ... here.
28595         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
28596         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
28597         * nptl/sem_timedwait.c: ... here.
28598         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
28599         * nptl/sem_trywait.c: ... here.
28600         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
28601         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
28602         * nptl/sem_wait.c: ... here.
28603         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
28604         * nptl/structsem.sym: ... here.
28605         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
28606         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
28607         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
28608         * nptl/unregister-atfork.c: ... here.
28609         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
28610         * nptl/unwindbuf.sym: ... here.
28611         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
28612         * sysdeps/nptl/fork.c: ... here.
28613         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
28614         * sysdeps/nptl/fork.h: ... here.
28615         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
28616         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
28617         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
28618         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
28619         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
28620         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
28621         * sysdeps/unix/sysv/linux/getpid.c: ... here.
28622         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
28623         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
28624         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
28625         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
28626         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
28627         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
28628         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
28629         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
28630         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
28631         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
28632         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
28633         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
28634         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
28635         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
28636         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
28637         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
28638         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
28639         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
28640         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
28641         * sysdeps/unix/sysv/linux/raise.c: ... here.
28642         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
28643         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
28644         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
28645         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
28646         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
28647         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
28648         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
28649         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
28650         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
28651         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
28652         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
28653         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
28654         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
28655         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
28656         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
28658 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28660         * sysdeps/generic/memcopy.h: Add comment for
28661         MEMCPY_OK_FOR_FWD_MEMMOVE.
28663 2014-07-04  Will Newton  <will.newton@linaro.org>
28665         * string/memchr.c: Merge from gnulib.
28666         [_LIBC]: Remove conditionals.
28667         (__ptr_t): Remove define.
28668         (LONG_MAX_32_BITS): Likewise.
28669         (LONG_MAX): Likewise.
28670         (MEMCHR): Use ANSI prototype and optimize algorithm.
28672         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
28674 2014-07-03  Roland McGrath  <roland@hack.frob.com>
28676         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
28677         (lll_futex_timed_wait_bitset): Fix syscall argument count.
28679         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
28680         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
28681         in a bare environment with no <stdlib.h> installed.
28682         * sysdeps/nptl/configure: Regenerated.
28684         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
28686         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
28687         AC_EGREP_CPP for kernel header checks, so they only succeed if
28688         including <linux/version.h> actually works right.
28689         * sysdeps/unix/sysv/linux/configure: Regenerated.
28691         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
28692         value so it's not diagnosed as unused.
28694         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
28695         thing) with "ifeq ($(subdir),rt)".
28697 2014-07-03  Richard Henderson  <rth@redhat.com>
28699         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
28700         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
28701         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
28703         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
28704         (math_force_eval): New.
28706         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
28707         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
28709         * sysdeps/alpha/fpu/s_round.c: Remove file.
28710         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
28712         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
28713         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
28714         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
28715         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
28716         (_dl_start, print_statistics): Likewise.
28717         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
28718         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
28720         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28721         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28722         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28723         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28724         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28725         (HP_SMALL_TIMING_AVAIL): Define.
28726         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28727         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28728         (HP_SMALL_TIMING_AVAIL): Define.
28729         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28730         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28732         * sysdeps/aarch64/hp-timing.h: New file.
28734         * sysdeps/generic/hp-timing.h: Remove dead comment.
28735         * sysdeps/generic/hp-timing-common.h: New file.
28736         * sysdeps/alpha/hp-timing.h: Include it.
28737         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
28738         * sysdeps/i386/i686/hp-timing.h: Likewise.
28739         * sysdeps/ia64/hp-timing.h: Likewise.
28740         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28741         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28742         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28743         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28744         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
28745         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
28746         (hp_timing_t): New.
28748         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
28749         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
28750         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
28751         * elf/rtld.c (_dl_start_final): Likewise.
28752         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
28753         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28754         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28755         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28756         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28757         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28758         (HP_TIMING_DIFF_INIT): Remove.
28759         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28760         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28761         (HP_TIMING_DIFF_INIT): Remove.
28762         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28763         * sysdeps/i386/i686/hp-timing.c: Remove file.
28764         * sysdeps/x86_64/hp-timing.c: Remove file.
28765         * sysdeps/ia64/hp-timing.c: Remove file.
28766         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
28767         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
28768         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
28769         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
28771         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
28772         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
28773         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
28774         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28775         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28776         (HP_TIMING_ACCUM): Remove.
28777         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28778         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
28779         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28781         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
28782         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
28783         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
28784         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
28785         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
28786         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28787         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
28788         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28790         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
28792 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
28794         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
28796 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28798         Sync up with gettext.
28799         * intl/loadmsgcat.c: Define O_BINARY if not defined.
28800         [_MSC_VER]: Include malloc.h
28801         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
28802         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
28803         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
28804         TEMP_FAILURE_RETRY.  Cast return of alloca.
28805         [!_LIBC] Call gl_rwlock_init.
28806         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
28808 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28810         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
28811         before checking its value.
28813 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28815         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
28817         * debug/memcpy_chk.c: Don't include pagecopy.h.
28818         * debug/mempcpy_chk.c: Likewise.
28819         * string/memcpy.c: Likewise.
28820         * string/memmove.c: Likewise.
28821         * sysdeps/powerpc/memmove.c: Likewise.
28822         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
28823         definition of PAGE_COPY_FWD_MAYBE here...
28824         * sysdeps/generic/pagecopy.h: ... from here.
28825         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
28827 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28828             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28830         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
28831         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
28832         optimizations.
28833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28834         (__libc_ifunc_impl_list): Likewise.
28835         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
28836         multiarch strcat for PPC64.
28837         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
28838         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
28840 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28842         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
28844 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28846         * intl/loadmsgcat.c: Remove declaration of
28847         get_sysdep_segment_value.
28848         (get_sysdep_segment_value): Use ISO C style.
28849         (_nl_load_domain): Use ISO C style.  Get rid of redundant
28850         semicolon.  Fix typo and formatting in comment.
28851         (_nl_unload_domain): Use ISO C style.
28853         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
28855 2014-07-02  Will Newton  <will.newton@linaro.org>
28857         * malloc/obstack.c: Merge from gnulib master.
28858         [HAVE_CONFIG_H]: Remove conditional code.
28859         [!_LIBC]: Include config.h.
28860         [!ELIDE_CODE]: Don't include inttypes.h, include
28861         stdint.h unconditionally.
28862         (print_and_abort): Mark as _Noreturn.
28863         (_obstack_allocated_p): Mark as __attribute_pure__.
28864         (obstack_free): Rename to __obstack_free.
28865         [!__attribute__]: Remove conditional code.
28866         * malloc/obstack.h: Merge from gnulib master.
28867         [__cplusplus]: Move conditional down.
28868         [!__attribute_pure__]: Define __attribute_pure__ here
28869         if it is not already defined.
28870         (_obstack_memory_used): Mark as __attribute_pure__.
28871         [!__obstack_free]: Define as obstack_free.
28872         [__GNUC__]: Remove check for ancient NeXT gcc.
28874 2014-07-02  Will Newton  <will.newton@linaro.org>
28875             Paul Eggert  <eggert@cs.ucla.edu>
28877         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
28879 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28881         * resolv/gethnamaddr.c: Add comment warning that the file is
28882         not maintained.
28884 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
28886         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
28887         entries.
28889         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
28890         entry for aio_cancel and aio_cancel64.
28891         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
28892         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
28893         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
28894         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
28895         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
28896         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
28897         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
28898         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
28899         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
28900         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
28901         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
28902         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
28903         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
28905 2014-07-01  Roland McGrath  <roland@hack.frob.com>
28907         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
28908         * nptl/pthread_mutex_lock.c: Likewise.
28909         * nptl/pthread_mutex_timedlock.c: Likewise.
28910         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
28912 2014-07-01  Richard henderson  <rth@redhat.com>
28914         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
28915         (__isnan, __isnanl): Remove.
28916         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
28918         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28920 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28922         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28924 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28926         * resolv/nss_dns/dns-host.c (getanswer_r)
28927         [MULTI_PTRS_ARE_ALIASES]: Remove code.
28929 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
28931         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28932         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
28933         undefine.
28934         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
28935         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
28937 2014-07-01  Roland McGrath <roland@hack.frob.com>
28939         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
28940         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
28942         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
28943         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
28945         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
28946         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
28947         ... here.
28948         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
28949         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
28951         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
28952         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
28953         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
28954         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
28956         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
28957         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
28958         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
28959         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
28960         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
28961         Moved ...
28962         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
28963         ... here.
28964         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
28965         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
28966         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
28967         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
28968         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
28969         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
28970         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
28971         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
28972         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
28973         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
28974         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
28975         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
28976         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
28977         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
28978         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
28979         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
28980         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
28981         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
28982         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
28983         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
28984         ... here.
28985         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
28986         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
28987         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
28988         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
28989         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
28990         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
28991         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
28992         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
28994 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
28996         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
28997         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
28998         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
28999         Add sysdep.
29001 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29005 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29007         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29008         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29010         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29012         * sysdeps/arm/libm-test-ulps: Regenerated.
29014 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29015             Roland McGrath <roland@hack.frob.com>
29017         * test-skeleton.c (signal_handler): Kill the whole process group
29018         before killing the child individually.
29019         (main): Report any failure on `setpgid'.
29021 2014-06-30  Roland McGrath  <roland@hack.frob.com>
29023         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
29024         from _TLS_H to _ARM_NPTL_TLS_H.
29025         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
29026         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
29028 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29030         [BZ #16539]
29031         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
29032         (__expm1l): Return argument unchanged when small but not
29033         subnormal.
29035         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
29036         include macro name.
29037         (_FP_UNPACK_RAW_1_P): Likewise.
29038         (_FP_PACK_RAW_1): Likewise.
29039         (_FP_PACK_RAW_1_P): Likewise.
29040         (_FP_MUL_MEAT_1_wide): Likewise.
29041         (_FP_MUL_MEAT_DW_1_hard): Likewise.
29042         (_FP_MUL_MEAT_1_hard): Likewise.
29043         (_FP_DIV_MEAT_1_imm): Likewise.
29044         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
29045         (_FP_DIV_MEAT_1_udiv): Likewise.
29046         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
29047         (_FP_UNPACK_RAW_2): Likewise.
29048         (_FP_UNPACK_RAW_2_P): Likewise.
29049         (_FP_PACK_RAW_2): Likewise.
29050         (_FP_PACK_RAW_2_P): Likewise.
29051         (_FP_MUL_MEAT_DW_2_wide): Likewise.
29052         (_FP_MUL_MEAT_2_wide): Likewise.
29053         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
29054         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29055         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
29056         (_FP_MUL_MEAT_2_gmp): Likewise.
29057         (_FP_DIV_MEAT_2_udiv): Likewise.
29058         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
29059         (_FP_FRAC_SRL_4): Likewise.
29060         (_FP_FRAC_SRST_4): Likewise.
29061         (_FP_FRAC_SRS_4): Likewise.
29062         (_FP_UNPACK_RAW_4): Likewise.
29063         (_FP_UNPACK_RAW_4_P): Likewise.
29064         (_FP_PACK_RAW_4): Likewise.
29065         (_FP_PACK_RAW_4_P): Likewise.
29066         (_FP_MUL_MEAT_DW_4_wide): Likewise.
29067         (_FP_MUL_MEAT_4_wide): Likewise.
29068         (_FP_MUL_MEAT_4_gmp): Likewise.
29069         (umul_ppppmnnn): Likewise.
29070         (_FP_DIV_MEAT_4_udiv): Likewise.
29071         (__FP_FRAC_ADD_4): Likewise.
29072         (__FP_FRAC_SUB_3): Likewise.
29073         (__FP_FRAC_SUB_4): Likewise.
29074         (__FP_FRAC_DEC_3): Likewise.
29075         (__FP_FRAC_DEC_4): Likewise.
29076         (__FP_FRAC_ADDI_4): Likewise.
29077         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
29078         (_FP_FRAC_SRL_8): Likewise.
29079         (_FP_FRAC_SRS_8): Likewise.
29081         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
29082         include macro name.
29083         (FP_UNPACK_RAW_EP): Likewise.
29084         (FP_PACK_RAW_E): Likewise.
29085         (FP_PACK_RAW_EP): Likewise.
29086         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
29087         (_FP_ISSIGNAN): Likewise.
29088         (_FP_ADD_INTERNAL): Likewise.
29089         (_FP_FMA): Likewise.
29090         (_FP_CMP): Likewise.
29091         (_FP_SQRT): Likewise.
29092         (_FP_TO_INT): Likewise.
29093         (_FP_FROM_INT): Likewise.
29094         (FP_EXTEND): Likewise.
29095         (_FP_DIV_MEAT_N_loop): Likewise.
29097 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29099         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
29100         throughout.
29102 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
29104         [BZ #17097]
29105         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
29106         result with correct sign in case of exponents that produce
29107         overflow except for X very close to 1.
29109 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
29111         mktime: merge #if/#ifdef usage from glibc
29112         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
29113         as that works with both Glibc's and Gnulib's style.
29114         See thread starting at Siddhesh Poyarekar's bug report at:
29115         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
29117 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29119         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
29120         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
29121         * sysdeps/tile/tilegx/memmove.c: Remove file.
29123 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29125         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
29126         abi-name definition.
29127         * scripts/soversions.awk: Do not handle or generate ABI lines.
29128         * shlib-versions: Remove ABI entries.
29129         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
29130         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
29132 2014-06-27  Roland McGrath  <roland@hack.frob.com>
29134         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
29135         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
29136         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
29137         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
29138         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
29139         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
29140         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
29141         Moved ...
29142         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
29143         ... here.
29144         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
29145         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29146         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29147         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29148         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29149         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29150         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29151         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29152         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29153         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29154         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29155         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29156         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29157         Moved ...
29158         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29159         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29160         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29161         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29162         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29163         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29164         Moved ...
29165         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29166         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29167         Moved ...
29168         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29169         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29170         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29171         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29172         Moved ...
29173         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29174         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29175         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29176         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29177         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29178         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29179         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29180         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29181         Moved ...
29182         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
29183         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
29184         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
29185         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
29186         Moved ...
29187         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
29188         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
29189         Moved ...
29190         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
29191         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
29192         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
29193         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
29194         Moved ...
29195         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
29196         ... here.
29197         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
29198         Identical file removed.
29199         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
29200         Moved ...
29201         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
29202         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
29203         Identical file removed.
29204         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
29205         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
29206         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
29207         Moved ...
29208         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
29209         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
29210         Identical file removed.
29211         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
29212         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
29213         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
29214         Identical file removed.
29215         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
29216         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
29217         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
29218         Identical file removed.
29219         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
29220         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
29221         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
29222         Identical file removed.
29223         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
29224         Moved ...
29225         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
29226         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
29227         Identical file removed.
29228         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
29229         Moved ...
29230         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
29231         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
29232         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
29233         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
29234         Identical file removed.
29235         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
29236         Moved ...
29237         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
29238         ... here.
29239         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
29240         Identical file removed.
29241         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
29242         Moved ...
29243         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
29244         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
29245         Identical file removed.
29246         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
29247         Moved ...
29248         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
29249         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
29250         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
29251         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
29252         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
29253         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
29254         Moved ...
29255         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
29256         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
29257         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29259         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29260         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29261         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29262         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29263         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29265 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
29267         [BZ #17092]
29268         * nscd/nscd.c (monitor_child): Return exit status of child
29269         instead of return value from wait syscall.
29271 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29273         * configure.ac (libc_commonpagesize): Remove variable.
29274         (libc_relro_required): Likewise.
29275         (libc_cv_z_relro): Remove configure test.
29276         * configure: Regenerated.
29277         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29278         variable.
29279         (libc_relro_required): Likewise.
29280         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29281         (libc_relro_required): Likewise.
29282         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29283         (libc_relro_required): Likewise.
29284         * sysdeps/arm/preconfigure: Regenerated.
29285         * sysdeps/ia64/preconfigure: Remove file.
29286         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29287         variable.
29288         (libc_relro_required): Likewise.
29290         [BZ #16561]
29291         [BZ #16562]
29292         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29293         (__ieee754_yn): Set FE_TONEAREST mode internally and then
29294         recompute overflowing results in original rounding mode.
29295         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29296         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29297         recompute overflowing results in original rounding mode.
29298         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29299         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29300         recompute overflowing results in original rounding mode.
29301         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29302         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29303         recompute overflowing results in original rounding mode.
29304         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29305         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29306         recompute overflowing results in original rounding mode.
29307         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29308         (libc_feholdsetround_ctx): New macro.
29309         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29310         * sysdeps/i386/fpu/libm-test-ulps: Update.
29311         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29313 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29315         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29316         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29317         corresponding .cpsetup call.
29319 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29321         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29322         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29323         * sysdeps/arm/Makefile [$(subdir) = csu]
29324         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29325         (static-only-routines): Add aeabi_read_tp here.
29326         (shared-only-routines): Add libc-aeabi_read_tp here.
29327         (CFLAGS-libc-start.c): Add -fexceptions here.
29328         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29329         (sysdep_routines, static-only-routines, shared-only-routines):
29330         Don't add to these here.
29331         (CFLAGS-libc-start.c): Likewise.
29333         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29334         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29335         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29336         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29337         * sysdeps/arm/Makefile [$(subdir) = rt]
29338         (librt-sysdep_routines, librt-shared-only-routines):
29339         Append rt-aeabi_unwind_cpp_pr1 here.
29340         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29341         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
29342         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
29343         (libpthread-sysdep_routines, libpthread-shared-only-routines):
29344         Append nptl-aeabi_unwind_cpp_pr1 here.
29345         (tests): Filter out tst-cleanupx4 here.
29346         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29347         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
29348         Don't do those here.
29350 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29352         * scripts/list-sources.sh: Do not handle ports specially.
29354 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29356         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
29357         * sysdeps/arm/feupdateenv.c: Likewise.
29359         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
29361 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29363         * manual/texinfo.tex: Update to version 2014-05-05.10 with
29364         trailing whitespace removed.
29365         * scripts/config.guess: Update to version 2014-03-23.
29366         * scripts/config.sub: Update to version 2014-05-01
29367         * scripts/install-sh: Update to version 2013-12-25.23.
29368         * scripts/move-if-change: Update from gnulib.
29370 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29372         * debug/memmove_chk.c: Remove pagecopy.h include.
29374 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
29376         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
29377         identical to gnulib mktime.
29379 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29381         * configure.ac: Do not test for machine being rs6000.  Do not test
29382         for powerpc*-*soft.
29383         * configure: Regenerated.
29385         [BZ #11505]
29386         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
29387         test.
29388         * configure: Regenerated.
29389         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
29390         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
29391         Remove configure test.
29392         * sysdeps/arm/configure: Regenerated.
29393         * sysdeps/nptl/configure.ac: Do not check
29394         libc_cv_asm_cfi_directives.
29395         * sysdeps/nptl/configure: Regenerated.
29396         * sysdeps/x86_64/nptl/configure.ac: Remove file.
29397         * sysdeps/x86_64/nptl/configure: Remove generated file.
29398         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29399         unconditional.
29400         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
29402 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29404         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
29405         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
29406         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
29407         it is defined.
29409         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
29410         instead of whether it is defined.
29411         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
29412         * sysdeps/hppa/dl-machine.h: Likewise.
29413         * sysdeps/ia64/dl-machine.h: Likewise.
29414         * sysdeps/m68k/dl-machine.h: Likewise.
29415         * sysdeps/microblaze/dl-machine.h: Likewise.
29416         * sysdeps/mips/dl-machine.: Likewise.
29417         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29418         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29419         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29420         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29421         * sysdeps/sh/dl-machine.h: Likewise.
29422         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29423         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29424         * sysdeps/tile/dl-machine.h: Likewise.
29425         * sysdeps/x86_64/dl-machine.h: Likewise.
29427         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
29428         code.
29429         (verify_persistent_db): Likewise.
29431 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
29434         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
29435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
29436         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
29437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29438         Moved ...
29439         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
29440         ... here.
29441         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
29442         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
29443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
29444         Identical file removed.
29445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
29446         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
29447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
29448         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
29449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
29450         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
29451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
29452         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
29453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
29454         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
29455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29456         Moved ...
29457         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
29458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
29459         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
29460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
29461         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
29462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29463         Moved ...
29464         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
29465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
29466         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
29467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
29468         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
29469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29470         Identical file removed.
29471         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
29472         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
29473         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
29474         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
29475         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29476         Moved ...
29477         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
29478         ... here.
29479         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
29480         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
29481         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
29482         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
29483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
29484         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
29485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
29486         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
29487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
29488         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
29489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29490         Moved ...
29491         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
29492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
29493         Moved ...
29494         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
29495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
29496         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
29497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29498         Moved ...
29499         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
29500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
29501         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
29503         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
29504         folded into ...
29505         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
29506         * sysdeps/unix/sysv/linux/s390/Versions
29507         (libpthread: GLIBC_2.19): New version set.
29508         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
29509         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
29510         (librt: GLIBC_2.3.3): New version set.
29511         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
29512         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
29513         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
29514         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
29515         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
29516         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
29517         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
29518         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
29519         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
29520         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
29521         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
29522         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
29523         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
29524         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
29525         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
29526         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
29527         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
29528         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
29529         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
29530         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
29531         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
29532         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
29533         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
29534         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
29535         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
29536         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
29537         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
29538         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
29539         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
29540         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
29541         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
29542         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
29543         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
29544         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
29545         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
29546         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
29547         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
29548         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
29549         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
29550         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
29551         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
29552         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
29553         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
29554         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
29555         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
29557         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
29558         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
29559         (__libc_vfork): Define the function under this name.
29560         [!NOT_IN_libc] (__vfork): Make this an alias.
29561         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29562         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
29563         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
29564         (__libc_vfork): Define the function under this name.
29565         [!NOT_IN_libc] (__vfork): Make this an alias.
29566         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29567         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
29568         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
29569         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
29570         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
29571         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29573         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
29574         code that was previously under [RESET_PID].
29575         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
29576         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
29577         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
29579         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
29580         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
29581         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
29582         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
29583         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
29584         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
29585         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
29586         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
29587         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
29588         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
29589         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
29590         Moved ...
29591         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
29592         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
29593         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
29594         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
29595         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
29596         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
29597         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
29598         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
29599         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
29600         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
29601         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
29602         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
29603         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
29604         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
29605         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
29606         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
29607         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
29608         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
29609         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
29610         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
29611         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
29612         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
29613         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
29614         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
29615         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
29616         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
29617         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
29618         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
29619         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
29621 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29623         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
29624         that was previously under [RESET_PID].
29625         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
29627 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29629         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
29630         not undefine and redefine.
29631         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
29632         [O_CLOEXEC]: Make code unconditional.
29633         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
29634         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
29635         <kernel-features.h>.
29636         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
29637         conditional variable definition.
29638         (shm_open) [O_CLOEXEC]: Make code unconditional.
29639         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
29640         code.
29642         * configure.ac (USE_REGPARMS): Don't define here.
29643         * configure: Regenerated.
29644         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
29645         * sysdeps/i386/configure: Regenerated.
29647         * nptl/createthread.c: Don't include kernel-features.h.
29648         * nptl/pthread_cancel.c: Likewise.
29649         * nptl/pthread_condattr_setclock.c: Likewise.
29650         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
29651         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
29652         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
29653         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
29654         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
29655         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
29656         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29657         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
29658         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29659         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
29660         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
29661         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
29662         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
29663         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
29664         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
29665         * nscd/gai.c: Likewise.
29666         * nss/nss_db/db-open.c: Likewise.
29667         * sysdeps/generic/ldsodefs.h: Likewise.
29668         * sysdeps/sh/nptl/tls.h: Likewise.
29669         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29670         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
29671         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
29672         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
29673         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
29674         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29675         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
29676         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29677         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29678         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29679         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29680         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29681         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
29682         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
29683         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
29684         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
29685         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
29686         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
29687         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
29688         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
29689         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
29690         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
29691         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
29692         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
29693         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
29694         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
29695         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
29696         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
29697         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29698         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
29699         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
29700         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
29701         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
29702         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29703         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29704         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29705         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29706         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
29707         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
29708         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29709         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29710         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
29711         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
29712         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29713         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
29714         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
29715         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
29716         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
29717         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
29718         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
29719         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
29720         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
29721         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
29722         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29723         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
29724         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29725         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29726         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
29727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
29729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
29730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
29731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
29732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
29733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
29734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
29735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
29738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
29739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
29740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
29741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
29747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
29748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
29749         * sysdeps/unix/sysv/linux/pread.c: Likewise.
29750         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
29751         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
29752         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
29753         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
29754         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
29755         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
29756         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
29757         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
29758         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
29759         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
29760         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
29761         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
29762         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
29763         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
29764         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
29765         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29766         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
29767         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
29768         * sysdeps/unix/sysv/linux/system.c: Likewise.
29769         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
29770         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29771         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29772         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29773         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29774         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29775         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29777         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
29778         * configure: Regenerated.
29779         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
29781         * configure.ac (base_machine): Do not set specially for particular
29782         machines here.
29783         * configure: Regenerated.
29784         * sysdeps/powerpc/preconfigure: Move machine and base_machine
29785         settings from configure.ac.
29786         * sysdeps/i386/preconfigure: New file.
29787         * sysdeps/s390/preconfigure: Likewise.
29788         * sysdeps/sh/preconfigure: Likewise.
29789         * sysdeps/sparc/preconfigure: Likewise.
29791 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29793         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
29794         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
29795         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
29796         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
29797         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
29798         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
29799         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
29800         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
29801         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
29802         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
29803         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
29804         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
29805         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
29806         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
29807         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
29808         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
29809         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
29810         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
29811         * sysdeps/sparc/sparc64/Makefile: ... appended here.
29813         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
29814         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
29815         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
29816         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
29817         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
29818         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
29819         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
29820         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
29821         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
29822         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
29823         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
29824         * sysdeps/sparc/sparc32/sem_post.c: ... here.
29825         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
29826         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
29827         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
29828         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
29829         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
29830         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
29831         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
29832         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
29833         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
29834         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
29835         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
29836         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
29837         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
29838         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
29839         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
29840         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
29841         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
29842         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
29843         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
29844         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
29845         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
29846         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
29847         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
29848         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
29849         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
29850         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
29852         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
29853         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
29854         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
29855         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
29856         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29857         Moved ...
29858         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
29859         ... here.
29860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
29861         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
29862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
29863         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
29864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
29865         Moved ...
29866         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
29867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
29868         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
29869         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
29870         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
29871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
29872         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
29873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29874         Moved ...
29875         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
29876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29877         Moved ...
29878         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
29879         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
29880         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
29881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29882         Moved ...
29883         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
29884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
29885         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
29886         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
29887         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
29888         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
29889         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
29890         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
29891         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
29892         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29893         Moved ...
29894         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
29895         ... here.
29896         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
29897         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
29898         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
29899         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
29900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
29901         Moved ...
29902         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
29903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
29904         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
29905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
29906         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
29907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
29908         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
29909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29910         Moved ...
29911         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
29912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29913         Moved ...
29914         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
29915         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
29916         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
29917         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29918         Moved ...
29919         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
29920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
29921         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
29922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
29923         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
29925 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29927         * timezone/checktab.awk: Update from tzcode 2014e.
29928         * timezone/private.h: Likewise.
29929         * timezone/tzfile.h: Likewise.
29930         * timezone/zdump.c: Likewise.
29931         * timezone/zic.c: Likewise.
29933         * sysdeps/unix/sysv/linux/kernel-features.h
29934         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
29935         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
29936         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
29937         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29938         Remove conditional code.
29940 2014-06-25  Will Newton  <will.newton@linaro.org>
29942         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
29943         (_dl_arm_cap_flags): Add HWCAP2 values.
29944         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
29945         (_DL_HWCAP_COUNT): Increase to 37.
29946         (_DL_HWCAP_LAST): New define.
29947         (_DL_HWCAP2_LAST): New define.
29948         (_dl_procinfo): Add support for printing
29949         AT_HWCAP2 entries.
29950         (_dl_string_hwcap): Use _dl_hwcap_string.
29952 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29956 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29958         * README: Do not mention ports directory.
29960         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
29961         Remove macro.
29962         * sysdeps/unix/sysv/linux/futimes.c: Do not include
29963         <kernel-features.h>.
29964         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
29965         conditional variable definition.
29966         (__futimes): Update comment.
29967         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
29968         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
29970         [BZ #16560]
29971         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
29972         arguments close to 0.
29973         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
29974         Likewise.
29975         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
29976         Likewise.
29977         * math/auto-libm-test-in: Add more tests of exp10.
29978         * math/auto-libm-test-out: Regenerated.
29979         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29981         * sysdeps/unix/sysv/linux/kernel-features.h
29982         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
29983         * sysdeps/unix/sysv/linux/readv.c: Do not include
29984         <kernel-features.h>.
29985         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29986         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29987         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29988         unconditional.
29989         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29990         conditional code.
29991         * sysdeps/unix/sysv/linux/writev.c: Do not include
29992         <kernel-features.h>.
29993         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29994         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29995         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29996         unconditional.
29997         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29998         conditional code.
30000 2014-06-25  Will Newton  <will.newton@linaro.org>
30002         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
30003         comment changes throughout the file.  Remove checks
30004         for HAVE_*_H definitions that are not required.
30005         (__gen_tempname): Call abort if an unknown kind value is
30006         passed.
30008 2014-06-25  Andreas Schwab  <schwab@suse.de>
30010         [BZ #17086]
30011         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
30012         scalbln, scalblnf, scalblnl in libc.
30014 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30016         [BZ #17086]
30017         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
30018         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30019         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30021 2014-06-24  Roland McGrath  <roland@hack.frob.com>
30023         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
30024         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
30025         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
30026         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
30027         Update #include.
30028         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
30029         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
30030         Update #include.
30031         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
30032         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
30033         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
30034         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
30035         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
30036         * sysdeps/x86/bits/pthreadtypes.h: ... here.
30037         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
30038         * sysdeps/x86/bits/semaphore.h: ... here.
30039         * sysdeps/x86/nptl/elide.h: Moved ...
30040         * sysdeps/x86/elide.h: ... here.
30041         * sysdeps/x86_64/nptl/Implies: File removed.
30042         * sysdeps/i386/nptl/Implies: File removed.
30044 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
30046         [BZ #16539]
30047         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
30048         return the argument for normal arguments with exponent below -64.
30049         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30050         Likewise.
30051         * math/auto-libm-test-in: Add another test of expm1.
30052         * math/auto-libm-test-out: Regenerated.
30054         [BZ #16287]
30055         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
30056         calling __erfcl for arguments at least 16.
30057         * math/auto-libm-test-in: Add more tests of erf.
30058         * math/auto-libm-test-out: Regenerated.
30060         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
30061         individual architectures.
30062         * sysdeps/unix/sysv/linux/configure: Regenerated.
30063         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
30064         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
30065         * sysdeps/unix/sysv/linux/powerpc/configure.ac
30066         (ldd_rewrite_script): Define variable.
30067         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
30069         file.
30070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
30071         generated file.
30072         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30073         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
30074         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
30075         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
30076         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
30077         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
30078         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
30079         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30081 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30083         [BZ #17084]
30084         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
30085         Rename member __data.d to __data.__elision_data.
30087 2014-06-24  Wilco  <wdijkstr@arm.com>
30089         * NEWS: Add 16918 to fixed bug list.
30091 2014-06-24  Wilco  <wdijkstr@arm.com>
30093         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
30095 2014-06-24  Wilco  <wdijkstr@arm.com>
30097         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
30098         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
30099         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
30100         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
30101         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
30102         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
30103         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
30104         Use _FPU_MASK_RM.
30106 2014-06-24  Wilco  <wdijkstr@arm.com>
30108         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30110 2014-06-24  Wilco  <wdijkstr@arm.com>
30112         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
30113         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
30114         * sysdeps/arm/fesetround.c (fesetround): Remove space.
30115         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30117 2014-06-24  Wilco  <wdijkstr@arm.com>
30119         [BZ #16918]
30120         * sysdeps/arm/feupdateenv.c (feupdateenv):
30121         Rewrite to reduce FPSCR accesses and fix return value.
30123 2014-06-24  Wilco  <wdijkstr@arm.com>
30125         * sysdeps/arm/fclrexcpt.c (feclearexcept):
30126         Optimize to avoid unnecessary FPSCR writes.
30127         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
30128         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
30129         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
30130         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
30132 2014-06-24  Wilco  <wdijkstr@arm.com>
30134         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
30135         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
30136         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
30137         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
30138         Call libc_fetestexcept_vfp.
30139         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
30140         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
30141         __SOFTFP__ ifdef so that they can be built for softfp.
30143 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30145         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30146         argument type signed char.
30148         * Makerules (check-abi): Dump diff of symlist if the test
30149         fails.
30151 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30153         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30154         using abort.
30156         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30157         Remove unused variable ST.
30159 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30161         [BZ #16354]
30162         [BZ #17061]
30163         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30164         small arguments before calling __expm1.
30165         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30166         small arguments before calling __expm1f.
30167         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30168         small arguments before calling __expm1l.
30169         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30170         Likewise.
30171         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30172         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
30173         spurious underflow for some cosh tests.
30174         * math/auto-libm-test-out: Regenerated.
30175         * sysdeps/i386/fpu/libm-test-ulps: Update.
30177         [BZ #17050]
30178         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30179         (__ieee754_y1): Set errno if return value overflows.
30180         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30181         (__ieee754_y1f): Set errno if return value overflows.
30182         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30183         (__ieee754_y1l): Set errno if return value overflows.
30184         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
30185         (__ieee754_y1l): Set errno if return value overflows.
30186         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
30187         * math/auto-libm-test-out: Regenerated.
30189         * math/gen-auto-libm-tests.c: Document use of
30190         ignore-zero-inf-sign.
30191         (input_flag_type): Add value flag_ignore_zero_inf_sign.
30192         (input_flags): Add ignore-zero-inf-sign.
30193         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
30194         * math/gen-libm-test.pl (generate_testfile): Handle
30195         ignore-zero-inf-sign.
30196         * math/auto-libm-test-in: Mark some cpow tests with
30197         ignore-zero-inf-sign and some with xfail-rounding.
30198         * math/auto-libm-test-out: Regenerated.
30199         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
30200         * sysdeps/i386/fpu/libm-test-ulps: Update.
30201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30203         [BZ #16315]
30204         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
30205         overflowing or underflowing operations take place with sign of
30206         result.
30207         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30208         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30209         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
30210         (__ieee754_pow): Recompute overflowing and underflowing results in
30211         original rounding mode.
30212         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
30213         (__powl_helper): Allow negative argument X and scale negated value
30214         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
30215         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
30216         overflowing or underflowing operations take place with sign of
30217         result.
30218         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
30219         Include <math.h>.
30220         * math/auto-libm-test-in: Add more tests of pow.
30221         * math/auto-libm-test-out: Regenerated.
30222         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
30223         (pow_tonearest_test_data): Remove.
30224         (pow_test_tonearest): Likewise.
30225         (pow_towardzero_test_data): Likewise.
30226         (pow_test_towardzero): Likewise.
30227         (pow_downward_test_data): Likewise.
30228         (pow_test_downward): Likewise.
30229         (pow_upward_test_data): Likewise.
30230         (pow_test_upward): Likewise.
30231         (main): Don't call removed functions.
30232         * sysdeps/i386/fpu/libm-test-ulps: Update.
30233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30235 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
30238         Moved ...
30239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
30240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30241         Moved ...
30242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
30243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30244         Moved ...
30245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
30246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30247         Moved ...
30248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
30249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30250         File removed.
30251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30252         File removed.
30253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
30254         File removed.
30255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
30256         File removed.
30257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30258         File removed.
30259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30260         File removed.
30261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30262         File removed.
30263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30264         File removed.
30265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30266         File removed.
30267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30268         File removed.
30269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30270         File removed.
30271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30272         File removed.
30273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30274         Moved ...
30275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30277         Moved ...
30278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30279         ... here.
30280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30281         Moved ...
30282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30284         Moved ...
30285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30287         Moved ...
30288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30290         Moved ...
30291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30293         Moved ...
30294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30296         Moved ...
30297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30299         Moved ...
30300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30303         ... here.
30304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30305         Moved ...
30306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30308         Moved ...
30309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30310         ... here.
30311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30312         Moved ...
30313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30314         ... here.
30315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30316         Moved ...
30317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30318         ... here.
30319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30320         Moved ...
30321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30323         Moved ...
30324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30328         Moved ...
30329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30330         ... here.
30331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30332         Moved ...
30333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30334         ... here.
30335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30336         Moved ...
30337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
30338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30339         Moved ...
30340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
30341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30342         Moved ...
30343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
30344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30345         Moved ...
30346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
30347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30348         Moved ...
30349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
30350         ... here.
30351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30352         Moved ...
30353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
30354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30355         Moved ...
30356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
30357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30358         Moved ...
30359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
30360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30361         Moved ...
30362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
30363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
30364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
30365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30366         Moved ...
30367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
30368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30369         Moved ...
30370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
30371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30372         Moved ...
30373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
30374         ... here.
30375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30376         Moved ...
30377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
30378         ... here.
30379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30380         Moved ...
30381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
30382         ... here.
30383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30384         Moved ...
30385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
30386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30387         Moved ...
30388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
30389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30390         Moved ...
30391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
30392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30393         Moved ...
30394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
30395         ... here.
30396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30397         Moved ...
30398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
30399         ... here.
30400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30401         Moved ...
30402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
30403         ... here.
30404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30405         Moved ...
30406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
30407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30408         Moved ...
30409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
30411 2014-06-23  Will Newton  <will.newton@linaro.org>
30412             Wilco  <wdijkstr@arm.com>
30414         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
30415         implementation.  Include get-rounding-mode.h.
30416         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
30417         [!libc_feholdsetround_noex_ctx]: Define
30418         libc_feholdsetround_noex_ctx.
30419         [!libc_feholdsetround_noexf_ctx]: Define
30420         libc_feholdsetround_noexf_ctx.
30421         [!libc_feholdsetround_noexl_ctx]: Define
30422         libc_feholdsetround_noexl_ctx.
30423         (libc_feholdsetround_ctx): New function.
30424         (libc_feresetround_ctx): New function.
30425         (libc_feholdsetround_noex_ctx): New function.
30426         (libc_feresetround_noex_ctx): New function.
30428 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30430         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
30431         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
30432         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
30433         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
30434         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
30435         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
30437         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
30438         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
30439         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
30440         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
30441         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
30442         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
30443         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
30444         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
30445         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
30446         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
30447         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
30448         Moved ...
30449         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
30450         ... here.
30451         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
30452         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
30453         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
30454         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
30455         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
30456         Moved ...
30457         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
30458         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
30459         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
30460         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
30461         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
30462         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
30463         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
30464         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
30465         Moved ...
30466         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
30467         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
30468         Moved ...
30469         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
30470         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
30471         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
30472         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
30473         Moved ...
30474         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
30475         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
30476         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
30477         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
30478         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
30479         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
30480         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
30481         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
30482         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
30483         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
30484         Moved ...
30485         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
30486         ... here.
30487         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
30488         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
30489         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
30490         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
30491         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
30492         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
30493         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
30494         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
30495         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
30496         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
30497         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
30498         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
30499         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
30500         Moved ...
30501         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
30502         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
30503         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
30504         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
30505         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
30506         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
30507         Moved ...
30508         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
30509         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
30510         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
30511         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
30512         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
30514         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
30515         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
30516         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
30517         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
30518         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
30519         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
30520         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
30521         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
30522         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
30523         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
30524         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
30525         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
30526         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
30527         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
30528         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
30529         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
30530         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
30531         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
30532         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
30533         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
30534         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
30535         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
30536         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
30537         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
30538         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
30539         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
30540         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
30541         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
30543 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30545         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30546         (FALLOC_FL_COLLAPSE_RANGE): New macro.
30547         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
30548         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
30549         (IPV6_PMTUDISC_INTERFACE): Likewise.
30550         (IPV6_PMTUDISC_OMIT): Likewise.
30552 2014-06-23  Andreas Schwab  <schwab@suse.de>
30554         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
30555         Remove unused errout label.
30557 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30559         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
30560         macro: hardware supports Vector Crypto instructions.
30562 2014-06-23  Will Newton  <will.newton@linaro.org>
30564         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
30565         rather than __builtin_expect.
30567         * elf/dl-lookup.c (undefined_msg): Remove variable.
30568         (_dl_lookup_symbol_x): Replace undefined_msg with string
30569         literal.
30571         * elf/dl-lookup.c (do_lookup_unique): New function.
30572         (do_lookup_x): Move STB_GNU_UNIQUE handling code
30573         to a separate function.
30575 2014-06-23  Andreas Schwab  <schwab@suse.de>
30577         [BZ #17079]
30578         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
30579         before reading the next line.
30581 2014-06-23  Will Newton  <will.newton@linaro.org>
30583         * test-skeleton.c (signal_handler): Use printf and %m
30584         rather than perror.  Use printf rather than fprintf to
30585         stderr.  Use puts rather than fputs to stderr.
30586         (main): Likewise.
30588 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
30590         * nscd/nscd.c (thread_info_t): Remove typedef.
30591         (thread_info): Remove variable.
30593 2014-06-21  Allan McRae  <allan@archlinux.org>
30595         * NEWS: Mention CVE-2014-4043.
30597 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30599         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
30600         * nptl/smp.h: ... here.
30602         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
30604         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
30605         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
30606         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
30607         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
30609         * nptl/allocatestack.c: Include <stack-aliasing.h>.
30610         * nptl/stack-aliasing.h: New file.
30611         * sysdeps/i386/i686/stack-aliasing.h: New file.
30612         * sysdeps/i386/i686/nptl/Makefile: File removed.
30613         * sysdeps/x86_64/stack-aliasing.h: New file.
30614         * sysdeps/x86_64/nptl/Makefile
30615         (CFLAGS-pthread_create.c): Variable removed.
30617         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
30618         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
30619         old file.
30620         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
30621         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
30622         old file.
30624 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
30626         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30627         (__ASSUME_SIGFRAME_V2): Remove macro.
30628         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
30629         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
30630         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
30631         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
30632         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
30633         Declare as function.  Remove conditional macro definitions.
30634         (__default_rt_sa_restorer): Likewise.
30635         (__default_sa_restorer_v1): Remove declaration.
30636         (__default_sa_restorer_v2): Likewise.
30637         (__default_rt_sa_restorer_v1): Likewise.
30638         (__default_rt_sa_restorer_v2): Likewise.
30639         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
30640         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
30641         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
30643 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30645         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
30646         (libpthread-routines): Add sysdep.
30647         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
30648         * sysdeps/unix/sysv/linux/sparc/Versions
30649         (libpthread: GLIBC_2.3.3): New version set.
30650         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
30651         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
30652         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
30653         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
30654         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
30655         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
30656         Moved ...
30657         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
30658         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
30659         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
30660         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
30661         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
30662         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
30663         * sysdeps/sparc/nptl/sem_init.c: ... here.
30664         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
30665         * sysdeps/sparc/nptl/sem_post.c: ... here.
30666         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
30667         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
30668         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
30669         * sysdeps/sparc/nptl/sem_wait.c: ... here.
30670         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
30671         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
30672         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
30673         (libpthread-routines): Add cpu_relax.
30674         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
30675         File removed.
30676         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
30677         (librt: GLIBC_2.3.3): New version set.
30678         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
30679         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
30680         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
30681         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
30682         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
30683         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
30684         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
30685         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
30686         Moved ...
30687         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
30688         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
30689         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
30690         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
30691         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
30692         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
30693         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
30694         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
30695         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
30696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
30697         Moved ...
30698         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
30699         Update #include.
30700         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
30701         Moved ...
30702         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
30703         Update #include.
30704         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
30705         Moved ...
30706         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
30707         Update #include.
30708         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
30709         Moved ...
30710         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
30711         Update #include.
30712         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
30713         Moved ...
30714         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
30715         Update #include.
30716         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
30717         Moved ...
30718         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
30719         Update #include.
30720         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
30721         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
30722         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
30723         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
30724         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
30725         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
30726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
30727         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
30728         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
30729         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
30730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30731         Moved ...
30732         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
30733         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
30734         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
30735         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
30736         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
30738 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30740         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
30741         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
30742         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30743         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
30744         * nscd/nscd.c: Likewise.
30745         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
30746         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
30747         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
30748         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
30750         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
30751         <kernel-features.h>.
30752         (init_mq_netlink): Remove conditional have_sock_cloexec
30753         definitions.  Remove code conditional on have_sock_cloexec < 0.
30754         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
30755         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
30756         * sysdeps/unix/sysv/linux/opensock.c: Do not include
30757         <kernel-features.h>.
30758         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
30759         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
30761 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30763         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30764         Add tests for memset_chk and memset.
30766         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
30767         with AVX2_Usable.
30769 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30771         [BZ #16046]
30772         * elf/tst-dl-iter-static.c: New file.
30773         * elf/Makefile (tests-static): Add tst-dl-iter-static.
30775         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
30776         error.
30778 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30780         * sysdeps/unix/sysv/linux/kernel-features.h
30781         (__ASSUME_F_GETOWN_EX): Remove macro.
30782         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
30783         <kernel-features.h>.
30784         (miss_F_GETOWN_EX): Remove variable or macro.
30785         (do_fcntl): Do not check miss_F_GETOWN_EX.
30786         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
30788         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
30789         Remove macro.
30790         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
30791         [!__ASSUME_AT_RANDOM]: Remove conditional code.
30792         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
30794         * sysdeps/unix/sysv/linux/kernel-features.h
30795         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
30796         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
30797         [ADJ_OFFSET_SS_READ]: Make code unconditional.
30798         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
30800 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30802         [BZ #17075]
30803         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
30804         Fix calculation of the symbol's value.
30805         * sysdeps/arm/tst-armtlsdescloc.c: New file.
30806         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
30807         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
30808         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
30809         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
30810         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
30811         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
30812         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
30813         (modules-names): Add `tst-armtlsdescmod',
30814         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
30815         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
30816         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30817         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
30818         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
30819         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30820         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
30821         ($(objpfx)tst-armtlsdescloc): New dependency.
30822         ($(objpfx)tst-armtlsdescextnow): Likewise.
30823         ($(objpfx)tst-armtlsdescextlazy): Likewise.
30824         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
30825         TLS scheme support.
30826         * sysdeps/arm/configure: Regenerate.
30828 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30830         * include/fcntl.h (__atfct_seterrno): Remove prototype.
30831         (__atfct_seterrno_2): Likewise.
30832         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
30833         <kernel-features.h>.
30834         (__ASSUME_ATFCTS): Do not undefine and redefine.
30835         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
30836         (__have_atfcts): Remove conditional definition.
30837         (__fxstatat([__NR_fstatat64]: Make code unconditional.
30838         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
30839         unreachable if [__ASSUME_ATFCTS].
30840         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
30841         not undefine and redefine.
30842         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
30843         <kernel-features.h>.
30844         (faccessat) [__NR_faccessat]: Make code unconditional.
30845         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
30846         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
30847         <kernel-features.h>.
30848         (fchmodat) [__NR_fchmodat]: Make code unconditional.
30849         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30850         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
30851         <kernel-features.h>.
30852         (fchownat) [__NR_fchownat]: Make code unconditional.
30853         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
30854         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
30855         <kernel-features.h>.
30856         (futimesat) [__NR_futimesat]: Make code unconditional.
30857         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
30858         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30859         <kernel-features.h>.
30860         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30861         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30862         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30863         <kernel-features.h>.
30864         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
30865         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30866         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
30867         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30868         <kernel-features.h>.
30869         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
30870         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30871         * sysdeps/unix/sysv/linux/linkat.c: Do not include
30872         <kernel-features.h>.
30873         (linkat) [__NR_linkat]: Make code unconditional.
30874         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30875         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
30876         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
30877         <kernel-features.h>.
30878         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
30879         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30880         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
30881         <kernel-features.h>.
30882         (mkdirat) [__NR_mkdirat]: Make code unconditional.
30883         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
30884         * sysdeps/unix/sysv/linux/openat.c: Do not include
30885         <kernel-features.h>.
30886         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
30887         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
30888         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
30889         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
30890         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
30891         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
30892         <kernel-features.h>.
30893         (readlinkat) [__NR_readlinkat]: Make code unconditional.
30894         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
30895         result of INLINE_SYSCALL directly, not via int variable.
30896         * sysdeps/unix/sysv/linux/renameat.c: Do not include
30897         <kernel-features.h>.
30898         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
30899         (renameat) [__NR_renameat]: Make code unconditional.
30900         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
30901         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
30902         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
30903         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
30904         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
30905         (__ASSUME_ATFCTS): Do not undefine and redefine.
30906         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
30907         <kernel-features.h>.
30908         (symlinkat) [__NR_symlinkat]: Make code unconditional.
30909         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30910         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
30911         <kernel-features.h>.
30912         (unlinkat) [__NR_unlinkat]: Make code unconditional.
30913         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30914         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
30915         (__ASSUME_ATFCTS): Do not undefine and redefine.
30916         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30917         <kernel-features.h>.
30918         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30919         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30920         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30921         <kernel-features.h>.
30922         (__xmknodat) [__NR_mknodat]: Make code unconditional.
30923         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30925 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30927         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
30929 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
30931         [BZ #17069]
30932         * posix/regcomp.c (parse_reg_exp): Deallocate partially
30933         constructed tree before returning error.
30934         * posix/bug-regexp36.c: Expand test case.
30936 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30938         [BZ #6803]
30939         * math/libm-test.inc (scalbln_test_date):
30940         Add errno expectations.
30941         * math/w_scalblnf.c: New File.
30942         Add wrapper which checks for setting errno to ERANGE.
30943         Add weak_alias for corresponding scalbln function.
30944         * math/w_scalbln.c: Likewise.
30945         * math/w_scalblnl.c: Likewise.
30946         * math/Makefile (libm-calls): Add w_scalbln.
30947         * sysdeps/ieee754/flt-32/s_scalblnf.c:
30948         Remove weak_alias for corresponding scalbln function.
30949         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30950         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30951         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30952         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30953         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
30954         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30955         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
30956         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30957         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
30958         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
30959         Remove long_double_symbol for scalblnl function in libm, libc.
30960         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
30961         Add wrapper which checks for setting errno to ERANGE.
30962         Add long_double_symbol for scalblnl function in libm, libc.
30963         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
30964         Remove long_double_symbol for scalblnl in libm.
30965         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
30966         Add wrapper which checks for setting errno to ERANGE.
30967         Add long_double_symbol for scalblnl function in libm.
30968         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
30969         Do not use wrapper because of own implementation.
30971 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
30973         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
30974         3 bytes for __pad1 for x32.
30975         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
30977 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
30978             H.J. Lu  <hongjiu.lu@intel.com>
30980         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
30981         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
30982         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30983         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30984         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30986 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
30988         [BZ #17069]
30989         * posix/regcomp.c (parse_expression): Deallocate partially
30990         constructed tree before returning error.
30991         * posix/Makefile.c (tests): Add bug-regex36.
30992         (generated): Add bug-regex36.mtrace.
30993         (tests-special): Add $(objpfx)bug-regex36-mem.out
30994         (bug-regex36-ENV): New variable.
30995         ($(objpfx)bug-regex36-mem.out): New rule.
30996         * posix/bug-regex36.c: New file.
30998 2014-06-19  Will Newton  <will.newton@linaro.org>
31000         * malloc/malloc.c (systrim): If extra is zero then return
31001         early.
31003 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31005         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
31007 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
31009         * sysdeps/aarch64/strchr.S: New file.
31011 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31013         [BZ #17022]
31014         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
31015         from arguments -2 or below.
31016         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31017         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
31019 2014-06-18  Andreas Schwab  <schwab@suse.de>
31021         [BZ #17062]
31022         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
31023         of a bracket expr not to run off the end of the string.
31024         * posix/Makefile (tests): Add tst-fnmatch3.
31025         * posix/tst-fnmatch3.c: New file.
31027 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31029         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
31030         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31031         [$(cross-compiling) = no]: Likewise.
31032         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31033         [$(cross-compiling) = no]: Likewise.
31035 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31037         [BZ #17031]
31038         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
31039         double, adjusted for any remainder from the high double.
31040         * math/libm-test.inc (nearbyint): Add tests.
31041         (rint): Likewise.
31043 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31045         * nptl/sysdeps/powerpc/Makefile: Moved ...
31046         * sysdeps/powerpc/nptl/Makefile: ... here.
31047         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
31048         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
31049         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
31050         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
31051         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
31052         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
31053         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
31054         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
31055         * nptl/sysdeps/powerpc/tls.h: Moved ...
31056         * sysdeps/powerpc/nptl/tls.h: ... here.
31058 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
31060         [BZ #16681]
31061         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
31062         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
31063         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
31064         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
31065         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
31066         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
31067         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
31068         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
31069         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
31071 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
31073         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31075 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
31077         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
31078         defined operator.
31080         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
31081         $TIMEOUTFACTOR.
31083 2014-06-16  Florian Weimer  <fweimer@redhat.com>
31085         [BZ #17058]
31086         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
31087         non-executed part of the test.
31089 2014-06-16  Andreas Schwab  <schwab@suse.de>
31091         * string/bits/string2.h (strdup, strndup): Update feature guard.
31093 2014-06-14  David S. Miller  <davem@davemloft.net>
31095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31097 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
31099         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
31100         that was previously under [RESET_PID].
31101         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
31103         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
31104         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31105         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
31106         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31107         (__libc_vfork): New strong alias.
31108         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
31110 2014-06-14 Andi Kleen  <ak@linux.intel.com>
31112         * sysdeps/generic/elide.h: New file.
31114 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31116         * Makefile (installed-headers): Adjust path of pthread.h header.
31118 2014-06-13  Roland McGrath  <roland@hack.frob.com>
31120         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
31121         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
31122         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
31123         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
31125         * nptl/sysdeps/s390/Makefile: Moved ...
31126         * sysdeps/s390/nptl/Makefile: ... here.
31127         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
31128         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
31129         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
31130         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
31131         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
31132         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
31133         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
31134         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
31135         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
31136         * sysdeps/s390/nptl/pthreaddef.h: ... here.
31137         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
31138         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
31139         * nptl/sysdeps/s390/tls.h: Moved ...
31140         * sysdeps/s390/nptl/tls.h: ... here.
31142         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
31143         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31145 2014-06-13  David S. Miller  <davem@davemloft.net>
31147         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31148         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31149         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31150         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31153         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31154         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31155         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31156         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31157         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31158         Remove RESET_PID cpp guards.
31159         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31160         Remove RESET_PID cpp guards.
31161         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31163 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
31165         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31166         __sp to uintptr_t.
31168 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31170         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31171         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31172         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31173         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31174         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31175         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31176         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31177         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31178         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31179         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31180         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31181         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
31182         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
31183         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
31184         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
31185         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
31186         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
31187         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
31188         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
31189         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
31191         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
31192         (pthread_rwlock_rdlock): Add elision.
31193         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
31194         (pthread_rwlock_wrlock): Add elision.
31195         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31196         (pthread_rwlock_trywrlock): Add elision.
31197         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
31198         (pthread_rwlock_tryrdlock): Add elision.
31199         * nptl/pthread_rwlock_unlock.c: Include elide.h.
31200         (pthread_rwlock_tryrdlock): Add elision unlock.
31201         * nptl/sysdeps/pthread/pthread.h:
31202         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
31203         (PTHREAD_RWLOCK_INITIALIZER,
31204         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
31205         Handle new elision field.
31206         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
31207         * sysdeps/arm/nptl/bits/pthreadtypes.h
31208         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31209         * sysdeps/sh/nptl/bits/pthreadtypes.h
31210         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31211         * sysdeps/tile/nptl/bits/pthreadtypes.h
31212         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31213         * sysdeps/a/nptl/bits/pthreadtypes.h
31214         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31215         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31216         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31217         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31218         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31219         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
31220         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31221         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31222         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31223         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31224         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31225         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31226         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31227         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31228         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31229         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
31230         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31231         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
31232         (elision_init): Set try_xbegin to zero when no RTM.
31233         * sysdeps/x86/nptl/bits/pthreadtypes.h
31234         (pthread_rwlock_t): Change __pad1 to __rwelision.
31235         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31237 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31239         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
31240         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
31241         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
31242         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
31244 2014-06-13  Meador Inge  <meadori@codesourcery.com>
31246         [BZ #16996]
31247         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
31248         that the cached result has been set before returning it.
31250 2014-06-12  Roland McGrath  <roland@hack.frob.com>
31252         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
31253         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
31254         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
31255         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
31256         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
31257         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31259         * nptl/sysdeps/sparc/Makefile: Moved ...
31260         * sysdeps/sparc/nptl/Makefile: ... here.
31261         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31262         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31263         * nptl/sysdeps/sparc/tls.h: Moved ...
31264         * sysdeps/sparc/nptl/tls.h: ... here.
31265         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31266         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31267         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31268         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31269         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31270         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31271         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31272         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31273         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31274         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31275         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31276         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31277         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31278         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31279         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31280         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31281         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31282         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31283         Update #include.
31284         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31285         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31286         Update #include.
31287         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31288         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31289         Update #include.
31290         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31291         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31292         Update #include.
31294         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31296         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31297         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31299         * sysdeps/pthread/posix-timer.h: Include <list.h>.
31300         (struct list_links): Type removed.
31301         (struct thread_node, struct timer_node): Replace struct list_links
31302         with struct list_head.
31303         (list_unlink_ip): Likewise.
31304         * sysdeps/pthread/timer_routines.c
31305         (timer_free_list, thread_free_list, thread_active_list): Likewise.
31306         (list_append, list_insbefore): Likewise.
31307         (list_init): Function removed.
31308         (thread_init, init_module): Use INIT_LIST_HEAD instead.
31309         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31310         * sysdeps/pthread/Makefile: ... here, new file.
31312         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31313         * sysdeps/nptl/Implies: ... here.
31314         * sysdeps/unix/sysv/linux/Implies: Add nptl.
31315         * nptl/sysdeps/pthread/list.h: Moved ...
31316         * include/list.h: ... here.
31317         * nptl/sysdeps/pthread/createthread.c: Moved ...
31318         * nptl/createthread.c: ... here.
31319         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31320         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31321         * nptl/pt-longjmp.c: ... here.
31322         * nptl/sysdeps/pthread/Makefile: Moved ...
31323         * sysdeps/nptl/Makefile: ... here.
31324         * nptl/sysdeps/pthread/Subdirs: Moved ...
31325         * sysdeps/nptl/Subdirs: ... here.
31326         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31327         * sysdeps/nptl/aio_misc.h: ... here.
31328         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31329         * sysdeps/nptl/bits/libc-lock.h: ... here.
31330         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31331         * sysdeps/nptl/bits/libc-lockP.h: ... here.
31332         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31333         * sysdeps/nptl/bits/stdio-lock.h: ... here.
31334         * nptl/sysdeps/pthread/configure: Moved ...
31335         * sysdeps/nptl/configure: ... here.
31336         * nptl/sysdeps/pthread/configure.ac: Moved ...
31337         * sysdeps/nptl/configure.ac: ... here.
31338         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
31339         * sysdeps/nptl/gai_misc.h: ... here.
31340         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
31341         * sysdeps/nptl/librt-cancellation.c: ... here.
31342         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
31343         * sysdeps/nptl/malloc-machine.h: ... here.
31344         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
31345         * sysdeps/nptl/pthread-functions.h: ... here.
31346         * nptl/sysdeps/pthread/pthread.h: Moved ...
31347         * sysdeps/nptl/pthread.h: ... here.
31348         * nptl/sysdeps/pthread/setxid.h: Moved ...
31349         * sysdeps/nptl/setxid.h: ... here.
31350         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
31351         * sysdeps/nptl/sigfillset.c: ... here.
31352         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
31353         * sysdeps/nptl/tcb-offsets.h: ... here.
31354         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
31355         * sysdeps/nptl/tst-mqueue8x.c: ... here.
31356         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
31357         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
31358         * nptl/sysdeps/pthread/allocalim.h: Moved ...
31359         * sysdeps/pthread/allocalim.h: ... here.
31360         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
31361         * sysdeps/pthread/bits/sigthread.h: ... here.
31362         * nptl/sysdeps/pthread/flockfile.c: Moved ...
31363         * sysdeps/pthread/flockfile.c: ... here.
31364         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
31365         * sysdeps/pthread/ftrylockfile.c: ... here.
31366         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
31367         * sysdeps/pthread/funlockfile.c: ... here.
31368         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
31369         * sysdeps/pthread/posix-timer.h: ... here.
31370         * nptl/sysdeps/pthread/timer_create.c: Moved ...
31371         * sysdeps/pthread/timer_create.c: ... here.
31372         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
31373         * sysdeps/pthread/timer_delete.c: ... here.
31374         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
31375         * sysdeps/pthread/timer_getoverr.c: ... here.
31376         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
31377         * sysdeps/pthread/timer_gettime.c: ... here.
31378         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
31379         * sysdeps/pthread/timer_routines.c: ... here.
31380         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
31381         * sysdeps/pthread/timer_settime.c: ... here.
31382         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
31383         * sysdeps/pthread/tst-timer.c: ... here.
31384         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
31385         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
31387         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
31388         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
31390         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
31391         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
31392         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
31393         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
31394         Update #include target.
31395         * nptl/sysdeps/i386/i686/Makefile: Moved ...
31396         * sysdeps/i386/i686/nptl/Makefile: ... here.
31397         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
31398         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
31399         Update #include target.
31400         * nptl/sysdeps/i386/i686/tls.h: Moved ...
31401         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
31402         * nptl/sysdeps/i386/Makefile: Moved ...
31403         * sysdeps/i386/nptl/Makefile: ... here.
31404         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
31405         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
31406         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
31407         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
31408         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
31409         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
31410         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
31411         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
31412         * sysdeps/i386/nptl/pthreaddef.h: ... here.
31413         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
31414         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
31415         * nptl/sysdeps/i386/tls.h: Moved ...
31416         * sysdeps/i386/nptl/tls.h: ... here.
31418         * sysdeps/sh/Makefile [$(subdir) = csu]
31419         (gen-as-const-headers): Add tcb-offsets.sym.
31420         * nptl/sysdeps/sh/Makefile: File removed.
31421         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
31422         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
31423         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
31424         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
31425         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
31426         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
31427         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
31428         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
31429         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
31430         * sysdeps/sh/nptl/pthreaddef.h: ... here.
31431         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
31432         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
31433         * nptl/sysdeps/sh/tls.h: Moved ...
31434         * sysdeps/sh/nptl/tls.h: ... here.
31435         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
31436         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
31437         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
31438         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
31439         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
31440         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
31441         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
31442         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
31443         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
31444         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
31445         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
31446         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
31447         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
31448         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
31449         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
31450         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
31451         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
31452         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
31453         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
31454         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
31455         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
31456         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
31457         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
31458         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
31459         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
31460         Moved ...
31461         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
31462         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
31463         Moved ...
31464         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
31465         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
31466         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
31467         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
31468         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
31469         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
31470         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
31471         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
31472         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
31473         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
31474         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
31475         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
31476         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
31477         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
31478         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
31479         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
31480         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
31481         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
31482         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
31484 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31486         * posix/spawn_faction_addopen.c: Include string.h.
31488 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31490         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
31491         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
31492         * nptl/sysdeps/x86_64/Makefile: Moved ...
31493         * sysdeps/x86_64/nptl/Makefile: ... here.
31494         * nptl/sysdeps/x86_64/configure: Moved ...
31495         * sysdeps/x86_64/nptl/configure: ... here.
31496         * nptl/sysdeps/x86_64/configure.ac: Moved ...
31497         * sysdeps/x86_64/nptl/configure.ac: ... here.
31498         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
31499         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
31500         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
31501         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
31502         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
31503         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
31504         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
31505         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
31506         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
31507         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
31508         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
31509         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
31510         * nptl/sysdeps/x86_64/tls.h: Moved ...
31511         * sysdeps/x86_64/nptl/tls.h: ... here.
31512         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
31513         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
31514         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
31515         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
31517         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
31519 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31523 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
31525         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
31526         type.
31527         [POSIX] (off_t): Likewise.
31528         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
31529         [POSIX] (S_ISBLK): Require macro.
31530         [POSIX] (S_ISCHR): Likewise.
31531         [POSIX] (S_ISDIR): Likewise.
31532         [POSIX] (S_ISFIFO): Likewise.
31533         [POSIX] (S_ISREG): Likewise.
31534         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
31535         optional-macro.
31536         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
31537         type.
31538         [POSIX] (time_t): Likewise.
31539         [POSIX] (timer_t): Likewise.
31541 2014-06-11  Florian Weimer  <fweimer@redhat.com>
31543         [BZ #17048]
31544         * posix/spawn_int.h (struct __spawn_action): Make the path string
31545         non-const to support deallocation.
31546         * posix/spawn_faction_addopen.c
31547         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
31548         * posix/spawn_faction_destroy.c
31549         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
31550         path in all spawn_do_open actions.
31551         * posix/tst-spawn.c (do_test): Exercise the copy operation in
31552         posix_spawn_file_actions_addopen.
31554 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
31556         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
31557         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
31558         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
31559         conditional code always true.
31560         (__libc_vfork): New alias.
31562 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31564         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31565         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
31567         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
31569         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31570         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
31572         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31573         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
31575         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31576         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
31578 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31580         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
31581         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
31582         multiarch strcmp for PPC64.
31583         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
31584         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
31585         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
31586         multiarch optimizations.
31587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31588         (__libc_ifunc_impl_list): Likewise.
31590 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31592         * benchtests/scripts/validate_benchout.py: New script.
31593         * benchtests/Makefile (bench-func): Call it.
31594         * benchtests/scripts/benchout.schema.json: New file.
31596 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
31598         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
31599         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
31600         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
31601         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
31602         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
31603         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
31604         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
31605         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
31606         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
31607         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
31608         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
31609         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
31610         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
31611         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
31612         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
31613         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
31614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
31615         Moved ...
31616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
31617         ... here.
31618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
31619         Moved ...
31620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
31621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
31622         Moved ...
31623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
31624         ... here.
31625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
31626         Moved ...
31627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
31628         ... here.
31629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
31630         Moved ...
31631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
31632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
31633         Moved ...
31634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
31635         ... here.
31636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
31637         Moved ...
31638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
31639         ... here.
31640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
31641         Moved ...
31642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
31643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
31644         Moved ...
31645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
31646         ... here.
31647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
31648         Moved ...
31649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
31650         ... here.
31651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
31652         Moved ...
31653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
31654         ... here.
31655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
31656         Moved ...
31657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
31658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
31659         Moved ...
31660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
31661         ... here.
31662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
31663         Moved ...
31664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
31665         ... here.
31666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
31667         Moved ...
31668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
31669         ... here.
31670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
31671         Moved ...
31672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
31673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
31674         Moved ...
31675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
31676         ... here.
31677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
31678         Moved ...
31679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
31680         ... here.
31681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
31682         Moved ...
31683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
31684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
31685         Moved ...
31686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
31687         ... here.
31688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
31689         Moved ...
31690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
31691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
31692         Moved ...
31693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
31694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
31695         Moved ...
31696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
31697         ... here.
31698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
31699         Moved ...
31700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
31701         ... here.
31702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
31703         Moved ...
31704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
31705         ... here.
31706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
31707         Moved ...
31708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
31709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
31710         Moved ...
31711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
31712         ... here.
31713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
31714         Moved ...
31715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
31716         ... here.
31717         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
31718         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
31719         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
31720         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
31721         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
31722         Moved ...
31723         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
31724         ... here.
31725         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
31726         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
31727         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
31728         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
31729         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
31730         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
31731         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
31732         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
31733         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
31734         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
31735         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
31736         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
31737         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
31738         Moved ...
31739         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
31740         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
31741         Moved ...
31742         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
31743         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
31744         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
31745         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
31746         Moved ...
31747         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
31748         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
31749         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
31750         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
31751         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
31752         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
31753         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
31755 2014-06-10  Wilco  <wdijkstr@arm.com>
31757         * math/test-fenv-return.c: New file.
31758         * math/Makefile: Add new test test-fenv-return.
31760 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
31762         [BZ #17042]
31763         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
31764         when x - 1 is zero.
31765         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
31766         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
31767         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
31768         0.0L for an argument of 1.0L.
31769         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
31770         Likewise.
31771         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
31772         value when x - 1 is zero.
31773         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
31774         * sysdeps/i386/fpu/libm-test-ulps: Update.
31775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31777 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
31779         [BZ #15119]
31780         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
31782 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31784         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
31785         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
31787 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31789         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31790         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
31792         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31793         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
31795         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31796         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
31798         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31799         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
31801         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
31802         if not already defined.
31803         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
31804         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
31805         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
31806         (TLS_INIT_TP): Use it.
31807         (TLS_DEFINE_INIT_TP): New macro.
31808         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
31810 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
31812         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
31813         constant.
31814         [POSIX] (IXANY): Likewise.
31815         [POSIX] (OLCUC): Likewise.
31816         [POSIX || POSIX2008] (CBAUD): Do not allow.
31817         [POSIX || POSIX2008] (DEFECHO): Likewise.
31818         [POSIX || POSIX2008] (ECHOCTL): Likewise.
31819         [POSIX || POSIX2008] (ECHOKE): Likewise.
31820         [POSIX || POSIX2008] (ECHOPRT): Likewise.
31821         [POSIX || POSIX2008] (EXTA): Likewise.
31822         [POSIX || POSIX2008] (EXTB): Likewise.
31823         [POSIX || POSIX2008] (FLUSHO): Likewise.
31824         [POSIX || POSIX2008] (LOBLK): Likewise.
31825         [POSIX || POSIX2008] (PENDIN): Likewise.
31826         [POSIX || POSIX2008] (SWTCH): Likewise.
31827         [POSIX || POSIX2008] (VDISCARD): Likewise.
31828         [POSIX || POSIX2008] (VDSUSP): Likewise.
31829         [POSIX || POSIX2008] (VLNEXT): Likewise.
31830         [POSIX || POSIX2008] (VREPRINT): Likewise.
31831         [POSIX || POSIX2008] (VSTATUS): Likewise.
31832         [POSIX || POSIX2008] (VWERASE): Likewise.
31833         (B*): Change to B[0123456789]*.
31834         * conform/data/time.h-data [POSIX || UNIX98]
31835         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
31836         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31837         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
31838         [POSIX] (tm_*): Do not allow.
31840 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
31842         * Makefile (install): Don't set LANGUAGE.
31843         * Makefile.in (install): Likewise.
31844         * assert/Makefile (test-assert-ENV): Remove variable.
31845         (test-assert-perr-ENV): Likewise.
31846         * elf/Makefile (neededtest4-ENV): Likewise.
31847         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31848         [$(cross-compiling) = no]: Don't set LANGUAGE.
31849         * io/ftwtest-sh (LANG): Remove variable.
31850         * libio/Makefile (tst-widetext-ENV): Likewise.
31851         * manual/install.texi (Running make install): Don't refer to
31852         environment settings for make install.
31853         * INSTALL: Regenerated.
31854         * nptl/tst-tls6.sh: Don't set LANG.
31855         * posix/globtest.sh (LANG): Remove variable.
31856         * string/Makefile (tester-ENV): Likewise.
31857         (inl-tester-ENV): Likewise.
31858         (noinl-tester-ENV): Likewise.
31859         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31860         [$(cross-compiling) = no]: Don't set LANGUAGE.
31861         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
31862         without explicit environment settings.
31864 2014-06-06  Roland McGrath  <roland@hack.frob.com>
31866         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
31867         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
31868         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
31869         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
31871 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
31873         * crypt/crypt-private.h [DOS]: Add some includes taken from the
31874         other files in the crypt directory.
31875         * crypt/crypt.c: Remove duplicate includes.
31876         * crypt/crypt-entry.c: Likewise.
31877         * crypt/crypt_util.c: Likewise.
31879 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
31881         * Makeconfig (run-program-env): New variable.
31882         (run-program-prefix-before-env): Likewise.
31883         (run-program-prefix-after-env): Likewise.
31884         (run-program-prefix): Define in terms of new variables.
31885         (built-program-cmd-before-env): New variable.
31886         (built-program-cmd-after-env): Likewise.
31887         (built-program-cmd): Define in terms of new variables.
31888         (test-program-prefix-before-env): New variable.
31889         (test-program-prefix-after-env): Likewise.
31890         (test-program-prefix): Define in terms of new variables.
31891         (test-program-cmd-before-env): New variable.
31892         (test-program-cmd-after-env): Likewise.
31893         (test-program-cmd): Define in terms of new variables.
31894         * Rules (make-test-out): Use $(run-program-env).
31895         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
31896         (help): Do not mention environment variables.  Mention
31897         --timeoutfactor option.
31898         (timeoutfactor): New variable.
31899         (blacklist_exports): Remove function.
31900         (exports): Remove variable.
31901         (command): Do not include ${exports}.
31902         * manual/install.texi (Configuring and compiling): Do not mention
31903         test wrappers preserving environment variables.  Mention that last
31904         assignment to a variable must take precedence.
31905         * INSTALL: Regenerated.
31906         * benchtests/Makefile (run-bench): Use $(run-program-env).
31907         * catgets/Makefile ($(objpfx)test1.cat): Use
31908         $(built-program-cmd-before-env), $(run-program-env) and
31909         $(built-program-cmd-after-env).
31910         ($(objpfx)test2.cat): Do not specify environment variables
31911         explicitly.
31912         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
31913         $(run-program-env) and $(built-program-cmd-after-env).
31914         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
31915         $(run-program-env) and $(test-program-cmd-after-env).
31916         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
31917         explicitly.
31918         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
31919         run_program_env and test_program_cmd_after_env arguments.
31920         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
31921         * elf/tst-pathopt.sh: Use run_program_env argument.
31922         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
31923         $(test-wrapper-env) and $(run-program-env).
31924         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
31925         run_program_env arguments.
31926         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
31927         * intl/Makefile ($(objpfx)tst-gettext.out): Use
31928         $(test-program-prefix-before-env), $(run-program-env) and
31929         $(test-program-prefix-after-env).
31930         ($(objpfx)tst-gettext2.out): Likewise.
31931         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
31932         run_program_env and test_program_prefix_after_env arguments.
31933         * intl/tst-gettext2.sh: Likewise.
31934         * intl/tst-gettext4.sh: Do not set environment variables
31935         explicitly.
31936         * intl/tst-gettext6.sh: Likewise.
31937         * intl/tst-translit.sh: Likewise.
31938         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
31939         $(test-program-prefix-before-env), $(run-program-env) and
31940         $(test-program-prefix-after-env).
31941         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
31942         run_program_env and test_program_prefix_after_env arguments.
31943         * math/Makefile (run-regen-ulps): Use $(run-program-env).
31944         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
31945         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
31946         explicitly with each use of ${test_wrapper_env}.
31947         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
31948         $(test-program-prefix-before-env), $(run-program-env) and
31949         $(test-program-prefix-after-env).
31950         * posix/tst-getconf.sh: Do not set environment variables
31951         explicitly.
31952         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
31953         run_program_env and test_program_prefix_after_env arguments.
31954         * stdio-common/tst-printf.sh: Do not set environment variables
31955         explicitly.
31956         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
31957         $(test-program-prefix-before-env), $(run-program-env) and
31958         $(test-program-prefix-after-env).
31959         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
31960         run_program_env and test_program_prefix_after_env arguments.
31961         Split $test calls into $test_pre and $test.
31962         * timezone/Makefile (build-testdata): Use
31963         $(built-program-cmd-before-env), $(run-program-env) and
31964         $(built-program-cmd-after-env).
31966 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31968         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
31969         strlen for non SHARED builds.
31971 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31973         * nptl/allocatestack.c (check_list): Inlined function...
31974         (__reclaim_stacks): ... here.
31976 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31978         [BZ #15698]
31979         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31980         memory overrun.
31982 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
31984         * Rules (make-test-out): Include
31985         LOCPATH=$(common-objpfx)localedata in default environment.
31986         * debug/Makefile (tst-chk1-ENV): Remove variable.
31987         (tst-chk2-ENV): Likewise.
31988         (tst-chk3-ENV): Likewise.
31989         (tst-chk4-ENV): Likewise.
31990         (tst-chk5-ENV): Likewise.
31991         (tst-chk6-ENV): Likewise.
31992         (tst-lfschk1-ENV): Likewise.
31993         (tst-lfschk2-ENV): Likewise.
31994         (tst-lfschk3-ENV): Likewise.
31995         (tst-lfschk4-ENV): Likewise.
31996         (tst-lfschk5-ENV): Likewise.
31997         (tst-lfschk6-ENV): Likewise.
31998         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
31999         (tst-iconv7-ENV): Likewise.
32000         * intl/Makefile (LOCPATH-ENV): Likewise.
32001         (tst-codeset-ENV): Likewise.
32002         (tst-gettext3-ENV): Likewise.
32003         (tst-gettext5-ENV): Likewise.
32004         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
32005         (tst-fopenloc-ENV): Likewise.
32006         (tst-fgetws-ENV): Remove variable.
32007         (tst-ungetwc1-ENV): Likewise.
32008         (tst-ungetwc2-ENV): Likewise.
32009         (bug-ungetwc2-ENV): Likewise.
32010         (tst-swscanf-ENV): Likewise.
32011         (bug-ftell-ENV): Likewise.
32012         (tst-fgetwc-ENV): Likewise.
32013         (tst-fseek-ENV): Likewise.
32014         (tst-ftell-partial-wide-ENV): Likewise.
32015         (tst-ftell-active-handler-ENV): Likewise.
32016         (tst-ftell-append-ENV): Likewise.
32017         * posix/Makefile (tst-fnmatch-ENV): Likewise.
32018         (tst-regexloc-ENV): Likewise.
32019         (bug-regex1-ENV): Likewise.
32020         (tst-regex-ENV): Likewise.
32021         (tst-regex2-ENV): Likewise.
32022         (bug-regex5-ENV): Likewise.
32023         (bug-regex6-ENV): Likewise.
32024         (bug-regex17-ENV): Likewise.
32025         (bug-regex18-ENV): Likewise.
32026         (bug-regex19-ENV): Likewise.
32027         (bug-regex20-ENV): Likewise.
32028         (bug-regex22-ENV): Likewise.
32029         (bug-regex23-ENV): Likewise.
32030         (bug-regex25-ENV): Likewise.
32031         (bug-regex26-ENV): Likewise.
32032         (bug-regex30-ENV): Likewise.
32033         (bug-regex32-ENV): Likewise.
32034         (bug-regex33-ENV): Likewise.
32035         (bug-regex34-ENV): Likewise.
32036         (bug-regex35-ENV): Likewise.
32037         (tst-rxspencer-ENV): Likewise.
32038         (tst-rxspencer-no-utf8-ENV): Likewise.
32039         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
32040         (tst-sscanf-ENV): Likewise.
32041         (tst-swprintf-ENV): Likewise.
32042         (tst-swscanf-ENV): Likewise.
32043         (test-vfprintf-ENV): Likewise.
32044         (scanf13-ENV): Likewise.
32045         (bug14-ENV): Likewise.
32046         (tst-grouping-ENV): Likewise.
32047         * stdlib/Makefile (tst-strtod-ENV): Likewise.
32048         (tst-strtod3-ENV): Likewise.
32049         (tst-strtod4-ENV): Likewise.
32050         (tst-strtod5-ENV): Likewise.
32051         (testmb2-ENV): Likewise./
32052         * string/Makefile (tst-strxfrm-ENV): Likewise.
32053         (tst-strxfrm2-ENV): Likewise.
32054         (bug-strcoll1-ENV): Likewise.
32055         (test-strcasecmp-ENV): Likewise.
32056         (test-strncasecmp-ENV): Likewise.
32057         * time/Makefile (tst-strptime-ENV): Likewise.
32058         (tst-ftime_l-ENV): Likewise.
32059         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
32060         (tst-mbrtowc-ENV): Likewise.
32061         (tst-wcrtomb-ENV): Likewise.
32062         (tst-mbrtowc2-ENV): Likewise.
32063         (tst-c16c32-1-ENV): Likewise.
32064         (tst-mbsnrtowcs-ENV): Likewise.
32066 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32068         * manual/resource.texi (How to get information about the memory
32069         subsystem?): Fix typo.
32070         Reported by Peon de la Parra Ivan <peon@keba.com>
32072 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
32074         [BZ #16882]
32075         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
32076         (pthread_spin_lock): Branch out of spin loop to proper location.
32077         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
32078         (pthread_spin_lock): Likewise.
32080         * nptl/tst-spin4.c: New test.
32081         * nptl/Makefile (tests): Add tst-spin4.
32083 2014-06-03  Andreas Schwab  <schwab@suse.de>
32085         [BZ #15946]
32086         * resolv/res_send.c (send_dg): Reload file descriptor after
32087         calling reopen.
32089 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
32091         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32093 2014-06-03  Richard Henderson  <rth@redhat.com>
32095         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
32096         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32097         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
32098         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
32099         in the SAVE_PID block.
32100         (__libc_vfork): New alias.
32101         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
32103         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
32104         child in registers, not on the stack.  Remove RESET_PID conditionals.
32105         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
32107 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32109         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32111 2014-06-03  Wilco  <wdijkstr@arm.com>
32113         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
32114         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
32115         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32116         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
32117         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
32118         Likewise.
32120 2014-06-03  Wilco  <wdijkstr@arm.com>
32122         * sysdeps/aarch64/fpu/math_private.h
32123         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
32124         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32125         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
32126         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32127         Fix declarations.
32129 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32131         * crypt/crypt-private.h: Include ufc-crypt.h.
32132         (__b64_from_24bit): Declare extern.
32133         * crypt/crypt_util.c(__b64_from_24bit): New function.
32134         (b64t): New static const variable.
32135         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
32136         (b64t): Remove variable.
32137         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32138         * crypt/sha256-crypt.c: Include crypt-private.h.
32139         (b64t): Remove variable.
32140         (__sha256_crypt_r): Remove b64_from_24bit and replace
32141         with __b64_from_24bit.
32142         * crypt/sha512-crypt.c: Likewise.
32144 2014-06-02  Roland McGrath  <roland@hack.frob.com>
32146         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32147         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32148         Label the code __libc_vfork rather than __vfork.
32149         [!NOT_IN_libc] (vfork): Define as weak alias.
32150         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32151         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32152         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32154 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32156         * malloc/malloc.c (malloc_info): Fix format specifier for
32157         n_mmaps.
32159 2014-06-02  Wilco  <wdijkstr@arm.com>
32161         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32162         FPCR write.
32164 2014-06-02  Wilco  <wdijkstr@arm.com>
32166         [BZ #17009]
32167         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32168         Rewrite to reduce FPCR/FPSR accesses.
32170 2014-06-01  David S. Miller  <davem@davemloft.net>
32172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32174 2014-05-31  David S. Miller  <davem@davemloft.net>
32176         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32177         to occur in round to nearest mode when |x| >= 2.0
32179 2014-05-30  Richard Henderson  <rth@twiddle.net>
32181         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
32182         (PSEUDO_RET_NOERRNO): Remove.
32183         (ret): Don't redefine.
32184         (ret_NOERRNO): Define in terms of ret.
32185         (ret_ERRVAL): Likewise.
32187         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
32188         use of PSEUDO_RET; perform the error check directly.
32190 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
32192         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
32193         with __int128_t.
32195 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32197         * malloc/malloc (malloc_info): Fix formatting.
32199 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32200             Roland McGrath  <roland@hack.frob.com>
32202         * malloc/malloc (malloc_info): Also print mmapped statistics.
32204 2014-05-30  Roland McGrath  <roland@hack.frob.com>
32206         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
32207         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
32209 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
32211         * malloc/malloc.c (malloc_info): Inline mi_arena.
32213 2014-05-29  Richard Henderson  <rth@twiddle.net>
32215         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
32216         Remove comma before expanding ASM_ARGS_##nr.
32217         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
32218         Make _x0 a strict output; make _x8 a strict input; adjust expansion
32219         of ASM_ARGS_##nr.
32220         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
32221         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
32222         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
32223         (ASM_ARGS_1): Add leading comma.
32225         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
32226         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
32227         to __errno_location.
32228         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
32229         Remove the expected plt for __errno_location.
32231         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32232         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
32233         call to __read_tp.
32235         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32236         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
32237         it and break it down.
32238         (DOCARGS_0, DOCARGS_1): Do nothing.
32239         (DOCARGS_2): Update to store into the new stack frame.
32240         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
32241         (UNDOCARGS_1): Update to restore from the new stack frame.
32242         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
32243         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
32245         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32246         (SINGLE_THREAD_P): New parameter for result regno.
32247         (PSEUDO): Update to match; use cbz instead of beq.
32249         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32250         Use ENTRY to define the _nocancel entry point.  Share the syscall
32251         and syscall error check paths with the cancel path.
32252         (PSEUDO_END): New.
32254         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
32255         whitespace; tabs before and after asm mnemonics.
32257 2014-05-29  Eric Wong  <normalperson@yhbt.net>
32259         [BZ #15132]
32260         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32261         Call fstat64 or stat64 internally, depending on arguments passed.
32262         Replace stat buffer argument with file descriptor argument.
32263         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32264         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32265         Pass fd to __internal_statvfs instead of calling fstat64.
32266         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32267         Pass fd to __internal_statvfs64 instead of calling fstat64.
32268         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32269         Pass -1 to __internal_statvfs instead of calling stat64.
32270         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32271         Pass -1 to __internal_statvfs64 instead of calling stat64.
32273 2014-05-28  Roland McGrath  <roland@hack.frob.com>
32275         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32276         that was previously under [RESET_PID].
32277         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32279         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32280         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32282 2014-05-27  Roland McGrath  <roland@hack.frob.com>
32284         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32286         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32287         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32289 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
32291         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32293 2014-05-27  Andreas Schwab  <schwab@suse.de>
32295         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32296         TLS_INIT_TP macro.
32297         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32298         * elf/rtld.c (init_tls, dl_main): Likewise.
32299         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32300         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32301         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32302         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32303         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32304         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32305         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32306         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32307         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32308         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32309         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32310         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32311         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32312         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32313         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32314         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32315         * sysdeps/generic/tls.h: Update description.
32317 2014-05-27  Will Newton  <will.newton@linaro.org>
32319         [BZ #16990]
32320         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32321         and restore r2 rather than just restoring.
32323 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32325         [BZ #16724]
32326         * libio/tst-ftell-append.c: New test case.
32327         * libio/Makefile (tests): Add test case.
32328         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32329         append mode.
32330         * libio/wfileops.c (do_ftell_wide): Likewise.
32332 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32336         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32337         ...
32338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
32339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32340         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
32341         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
32342         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
32343         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
32344         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
32345         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
32346         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32347         Moved ...
32348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
32349         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32350         Moved ...
32351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
32352         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
32353         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
32354         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
32355         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
32356         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
32357         ...
32358         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
32359         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
32360         Moved ...
32361         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
32362         here.
32363         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
32364         ...
32365         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
32366         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
32367         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
32369         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
32370         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
32371         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
32372         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
32374         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
32375         merge into ...
32376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
32377         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
32378         ...
32379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
32380         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
32381         ...
32382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
32383         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32384         Moved ...
32385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
32386         here.
32387         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32388         Moved ...
32389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
32390         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32391         Moved ...
32392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
32394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
32395         conditional [RESET_PID].
32396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
32397         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
32398         removed.
32399         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
32400         removed.
32402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
32403         <tcb-offsets.h>.
32404         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32405         (__libc_vfork): New strong alias.
32406         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
32407         removed.
32408         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
32409         Removed.
32411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
32412         <tcb-offsets.h>.
32413         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
32414         (__libc_vfork): New strong alias.
32415         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
32416         removed.
32417         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
32418         removed.
32420 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
32422         * malloc/malloc.c (mi_arena): New function.
32423         (malloc_info): Remove nested function mi_arena. Call non-nosted
32424         function mi_arena.
32426 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32428         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
32429         by insrwi.
32430         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32431         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32432         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
32433         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
32434         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
32435         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
32436         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
32438 2014-05-26  Andreas Schwab  <schwab@suse.de>
32440         [BZ #16984]
32441         * locale/programs/repertoire.c (repertoire_read): Add slash
32442         between I18NPATH element and file name.
32443         * locale/programs/locfile.c (locfile_read): Likewise.
32445 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32447         * nptl/pthread_mutexattr_settype.c
32448         (__pthread_mutexattr_settype):
32449         Disable lock elision for PTHREAD_MUTEX_NORMAL.
32451 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32453         * nptl/tst-mutex5 (do_test):
32454         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
32456 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32458         * benchtests/README: Document 'init' directive.
32459         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
32460         BENCH_INIT.
32461         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
32462         (parse_file): Recognize 'init' directive.
32464 2014-05-26  Kyle McMartin  <kyle@redhat.com>
32466         [BZ #16796]
32467         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
32468         alignment of struct pthread.
32470 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32472         [BZ #16878]
32473         * nscd/netgroupcache.c (addgetnetgrentX): Look for
32474         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32475         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
32476         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32478 2014-05-25  Richard Henderson  <rth@twiddle.net>
32480         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32481         (SINGLE_THREAD_P_PIC): Remove.
32482         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
32483         (SINGLE_THREAD_P_PIC): Remove.
32485         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
32486         branch to syscall error ...
32487         (PSEUDO): ... here.
32488         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
32489         from __local_syscall_error to .Lsyscall_error.
32490         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
32491         (SYSCALL_ERROR): Update label name.
32493         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32494         Do not use DOARGS/UNDOARGS.
32495         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
32496         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
32497         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
32498         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
32499         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
32501         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
32502         block comment.
32504         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
32505         define if !NOT_IN_libc.
32506         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
32507         define with non-default symbol versions.
32509 2014-05-23  Richard Henderson  <rth@twiddle.net>
32511         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
32512         (vfork, __vfork): Define via compat_symbol.
32514         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
32515         [!HAVE_IFUNC] (vfork_compat): Remove.
32516         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
32518 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32520         [BZ #16978]
32521         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
32522         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
32523         variable.
32525 2014-05-23  Richard Henderson  <rth@twiddle.net>
32527         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
32528         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
32529         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
32530         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
32532         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
32533         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
32534         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
32535         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
32536         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
32537         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
32538         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
32539         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
32540         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
32541         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
32542         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
32543         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
32544         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
32545         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
32546         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
32547         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
32548         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
32549         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
32550         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
32551         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
32552         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
32553         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
32554         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
32555         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
32556         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
32557         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
32558         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
32559         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
32560         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
32561         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
32562         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
32563         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
32564         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
32565         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
32566         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
32567         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
32568         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
32569         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
32570         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
32571         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
32572         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
32573         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
32574         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
32575         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
32576         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
32577         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
32578         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
32579         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
32580         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
32581         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
32582         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
32583         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
32584         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
32585         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
32586         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
32587         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
32589         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
32590         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
32591         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
32592         before exiting on error.
32593         (__libc_vfork): New strong alias.
32594         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
32595         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
32597         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
32598         that was previously under [RESET_PID].
32599         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
32601         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
32603 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32605         [BZ #16977]
32606         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
32607         value when x - 1 is zero.
32608         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
32609         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
32610         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
32611         0.0L for an argument of 1.0L.
32612         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
32613         Likewise.
32614         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
32615         value when x - 1 is zero.
32616         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
32617         * sysdeps/i386/fpu/libm-test-ulps: Update.
32618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32620 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32622         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
32623         alphasort and versionsort.
32625 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32627         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
32628         macro.
32629         [copysignf]: Likewise.
32631 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32633         * crypt/md5-crypt.c: Fix formatting.
32635 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32637         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
32638         (b64_from_24bit): New function.
32640 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32642         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
32643         libc_hidden_builtin_def to ifunc.
32644         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32645         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
32647 2014-05-21  Roland McGrath  <roland@hack.frob.com>
32649         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
32650         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
32652 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
32654         * nscd/Depend (linuxthreads): Remove.
32655         (nptl): Add.
32656         * resolv/Depend (linuxthreads): Remove.
32657         * rt/Depend (linuxthreads): Remove.
32659         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
32660         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
32661         $(common-objpfx)elf/.
32662         (link-libc-before-gnulib): Likewise.
32663         (elfobjdir): Remove variable.
32664         * Makefile (install): Use $(elf-objpfx) instead of
32665         $(common-objpfx)elf/.
32666         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
32667         $(elfobjdir)/.
32668         (link-libc-deps): Likewise.
32669         ($(common-objpfx)libc.so): Likewise.
32670         ($(common-objpfx)linkobj/libc.so): Likewise.
32671         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
32672         instead of $(common-objpfx)elf/.
32673         (symbolic-link-list): Likewise.
32674         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32675         [$(cross-compiling) = no]: Likewise.
32676         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
32677         $(elfobjdir)/.
32678         (static-gnulib-arch): Likewise.
32679         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32680         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
32681         $(common-objpfx)elf/.
32683 2014-05-21  Richard Henderson  <rth@redhat.com>
32685         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32686         (SINGLE_THREAD_P): Use the correct width load.  Fold
32687         into the ldr offset.
32689         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
32690         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
32692 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
32694         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
32695         (libgcc_s_resume): Use __attribute_used__.
32696         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
32697         Likewise.
32699 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32701         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
32702         optimization when used with float constants.
32704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32706 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
32708         [BZ #16915]
32709         * locale/nl_langinfo_l.c: Make direct reference to every
32710         _nl_current_CATEGORY symbol.
32711         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
32712         (tests-static): Add tst-langinfo-static.
32713         (tests-special): Add tst-langinfo-static.out.
32714         ($(objpfx)tst-langinfo.out): Redirect output.
32715         ($(objpfx)tst-langinfo-static.out): New.
32716         * localedata/tst-langinfo.sh: Send output to stdout.
32717         * localedata/tst-langinfo-static.c: New file.
32719         [BZ #16965]
32720         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
32721         when the shift amount is modulo the limb size.
32723 2014-05-20  Richard Henderson  <rth@redhat.com>
32725         [BZ #16967]
32726         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
32727         Change type of sa_flags from unsigned int to int.
32729         [BZ #16966]
32730         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
32732         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
32734 2014-05-20  Will Newton  <will.newton@linaro.org>
32736         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32737         Test the return value of the system call in the nocancel case.
32739 2014-05-20  Will Newton  <will.newton@linaro.org>
32740             Yvan Roux  <yvan.roux@linaro.org>
32742         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
32743         #include of asm/ptrace.h.
32744         (PTRACE_GET_THREAD_AREA): Remove #undef.
32745         (PTRACE_GETHBPREGS): Likewise.
32746         (PTRACE_SETHBPREGS): Likewise.
32747         (struct user_regs_struct): New structure.
32748         (struct user_fpsimd_struct): New structure.
32749         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
32750         #include of asm/ptrace.h and second #include of sys/user.h.
32751         (PTRACE_GET_THREAD_AREA): Remove #undef.
32752         (PTRACE_GETHBPREGS): Likewise.
32753         (PTRACE_SETHBPREGS): Likewise.
32754         (ELF_NGREG): Use new struct user_regs_struct.
32755         (elf_fpregset_t): Use new struct user_fpsimd_struct.
32757 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32759         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
32760         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
32762 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
32764         [BZ #16958]
32765         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
32766         membar to avoid block loads/stores to overlap previous stores.
32768 2014-05-17  Richard Henderson  <rth@redhat.com>
32770         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
32771         Create the __##syscall_name##_nocancel entry point.
32772         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
32773         Remove; let the sysdep-cancel.h code create it.
32775 2014-05-17  David S. Miller  <davem@davemloft.net>
32777         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
32778         Protect with __USE_GNU.
32779         (TIOCSET_TEMPT): Likewise.
32780         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32781         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
32782         these are already provided in bits/ioctl-types.h
32784 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32786         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
32787         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
32789         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
32790         Use wait4 regardless of [__NR_waitpid].
32792 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32794         PR libgcc/60166
32795         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32796         (_FP_NANSIGN_Q): Set the quiet bit.
32798 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
32800         * benchtests/Makefile
32801         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
32802         not $(common-objpfx)math/libm.so.
32803         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
32804         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
32805         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
32806         $(common-objpfx)dlfcn/libdl.so.
32807         ($(objpfx)tst-audit8): Depend on $(libm), not
32808         $(common-objpfx)math/libm.so.
32809         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
32810         not $(common-objpfx)dlfcn/libdl.so.
32811         * math/Makefile
32812         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32813         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
32814         [$(build-shared) = yes].
32815         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
32816         $(common-objpfx)nptl/libpthread.so.
32817         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
32818         $(common-objpfx)math/libm.so$(libm.so-version) or
32819         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
32820         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
32821         $(common-objpfx)dlfcn/libdl.so.
32822         * setjmp/Makefile (link-libm): Remove variable.
32823         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
32824         * stdio-common/Makefile (link-libm): Remove variable.
32825         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
32826         * stdlib/Makefile (link-libm): Remove variable.
32827         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
32828         ($(objpfx)tst-strtod-round): Likewise.
32829         ($(objpfx)tst-tininess): Likewise.
32830         ($(objpfx)tst-strtod-underflow): Likewise.
32831         ($(objpfx)tst-strtod6): Likewise.
32832         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
32833         $(libdl), not $(common-objpfx)nptl/libpthread.so and
32834         $(common-objpfx)dlfcn/libdl.so.
32836 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32838         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
32839         BSD terminal modes definitions.
32841 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32843         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
32844         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
32846         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
32847         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
32848         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
32849         Don't do #include_next.
32850         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
32851         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
32852         Don't do #include_next.
32853         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
32854         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
32855         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
32856         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
32858 2014-05-16  Allan McRae  <allan@archlinux.org>
32860         * po/sv.po: Update Swedish translation from translation project.
32862         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
32863         in sed expression.
32865 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
32867         [BZ #16917]
32868         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
32869         errno if the TIOCGPTN ioctl fails with an error different than
32870         EINVAL.
32871         * login/tst-ptsname.c: New file.
32872         * login/Makefile (tests): Add tst-ptsname.
32874         [BZ #16943]
32875         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
32876         and prlimit64.
32878 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32880         [BZ #16849]
32881         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
32882         herrno to return EAI_AGAIN.
32884 2014-05-14  Roland McGrath  <roland@hack.frob.com>
32886         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
32887         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
32888         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
32889         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
32890         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
32891         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
32892         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
32893         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
32894         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
32895         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
32896         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
32897         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
32898         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
32899         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
32900         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
32901         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
32902         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
32903         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
32904         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
32905         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
32906         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
32907         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
32908         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
32909         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
32910         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
32911         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
32912         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
32913         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
32914         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
32915         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
32916         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
32917         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
32918         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
32919         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
32920         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32921         Moved ...
32922         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
32923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
32924         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
32925         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
32926         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
32927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
32928         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
32929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
32930         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
32931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
32932         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
32933         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
32934         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
32935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
32936         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
32937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
32938         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
32939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
32940         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
32941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
32942         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
32943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
32944         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
32945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
32946         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
32947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
32948         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
32949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32950         Moved ...
32951         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
32952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
32953         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
32954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
32955         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
32956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
32957         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
32958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
32959         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
32960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
32961         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
32962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
32963         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
32964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
32965         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
32966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
32967         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
32968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
32969         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
32970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32971         Moved ...
32972         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
32973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
32974         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
32976         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
32977         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
32978         (libpthread-sysdep_routines): Add elision-related stuff here instead.
32979         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
32980         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
32981         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
32982         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
32983         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
32984         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
32985         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
32986         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
32987         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
32988         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
32989         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
32990         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
32991         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
32992         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
32993         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
32994         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
32995         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
32996         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
32997         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
32998         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
32999         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
33000         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
33001         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
33002         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
33003         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
33004         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
33005         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
33006         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
33008         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
33009         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
33011         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
33012         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
33013         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
33014         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
33015         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
33016         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
33017         Moved ...
33018         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
33019         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
33020         Moved ...
33021         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
33022         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
33023         Moved ...
33024         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
33025         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
33026         Moved ...
33027         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
33028         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
33029         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
33030         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
33031         Moved ...
33032         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
33033         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
33034         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
33035         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
33036         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
33037         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
33038         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
33039         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
33040         Moved ...
33041         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
33042         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33043         Moved ...
33044         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33045         ... here.
33046         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
33047         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
33048         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
33049         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
33050         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33051         Moved ...
33052         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33053         ... here.
33054         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
33055         Moved ...
33056         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
33057         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
33058         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
33059         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
33060         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
33061         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
33062         Moved ...
33063         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
33064         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
33065         Moved ...
33066         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
33067         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
33068         Moved ...
33069         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
33070         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
33071         Moved ...
33072         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
33073         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
33074         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
33075         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
33076         Moved ...
33077         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
33078         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
33079         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
33080         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
33081         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
33082         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
33083         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
33084         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
33085         Moved ...
33086         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
33087         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33088         Moved ...
33089         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33090         ... here.
33091         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
33092         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
33093         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
33094         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
33095         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33096         Moved ...
33097         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33098         ... here.
33099         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
33100         Moved ...
33101         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
33102         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
33103         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
33104         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
33105         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
33106         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
33107         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
33108         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
33109         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
33110         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
33111         Moved ...
33112         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
33113         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
33114         Moved ...
33115         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
33116         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
33117         Moved ...
33118         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
33119         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
33120         Moved ...
33121         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
33122         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
33123         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
33124         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
33125         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
33126         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
33127         Moved ...
33128         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
33129         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
33130         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
33131         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
33132         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
33133         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
33134         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
33135         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
33136         Moved ...
33137         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
33138         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33139         Moved ...
33140         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33141         ... here.
33142         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
33143         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
33144         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
33145         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33146         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33147         Moved ...
33148         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33149         ... here.
33150         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33151         Moved ...
33152         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33153         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33154         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33155         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33156         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33157         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33158         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33159         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33160         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33161         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33162         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33164         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33165         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33167         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33168         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33170         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33171         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33172         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33173         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33174         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33175         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33176         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33177         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33178         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33179         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33180         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33181         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
33182         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
33183         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
33184         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
33185         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
33186         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
33187         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
33188         Moved ...
33189         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
33190         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
33191         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
33192         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
33193         Moved ...
33194         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
33195         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
33196         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33197         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
33198         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
33199         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
33200         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
33201         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
33202         Moved ...
33203         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
33204         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
33205         Moved ...
33206         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
33207         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
33208         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
33209         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
33210         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
33211         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
33212         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
33213         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
33214         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
33215         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
33216         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
33217         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
33218         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
33219         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
33220         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
33221         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
33222         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
33224         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
33225         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
33226         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
33227         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
33228         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
33230         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
33231         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
33232         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
33233         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
33234         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
33235         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
33236         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
33237         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
33238         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
33239         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
33241         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
33242         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
33244         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
33245         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
33246         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
33247         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
33248         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
33249         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
33250         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
33251         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
33252         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
33253         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
33254         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
33255         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
33256         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
33257         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
33258         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33259         Update #include.
33260         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33261         Likewise.
33262         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33263         Likewise.
33264         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33265         Likewise.
33266         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33267         Likewise.
33268         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33269         Likewise.
33270         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33271         Likewise.
33272         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33273         Likewise.
33274         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33275         Likewise.
33276         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33277         Likewise.
33278         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33279         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33280         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33281         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33282         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33283         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33284         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33285         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33286         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33287         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33288         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33289         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33290         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33291         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
33292         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
33294         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33295         that was previously under [RESET_PID].
33296         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33297         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33298         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33300         * sysdeps/i386/nptl/Implies: New file.
33301         * sysdeps/x86_64/nptl/Implies: New file.
33302         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33303         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33304         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33305         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33307         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33308         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33309         (__libc_vfork): New strong alias.
33310         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33311         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33313         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33314         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33315         (__libc_vfork): New strong alias.
33316         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33317         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33319         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33320         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33321         (__libc_vfork): New strong alias.
33322         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33323         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33324         * nptl/pt-vfork.c: New file.
33325         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33326         (libpthread: GLIBC_2.20): New version set (empty).
33328 2014-05-14  Will Newton  <will.newton@linaro.org>
33330         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33331         rather than #if.
33333 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33335         [BZ #16564]
33336         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33337         arguments with exponent 65 or above.
33338         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
33339         arguments 0x1p113L or above.
33340         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
33341         to arguments 0x1p107L or above.
33342         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
33343         positive arguments with exponent 65 or above.
33344         * math/auto-libm-test-in: Add more tests of log1p.
33345         * math/auto-libm-test-out: Regenerated.
33347         [BZ #16928]
33348         * math/s_cacos.c (__cacos): Ensure zero real part of result from
33349         non-finite arguments is +0.
33350         * math/s_cacosf.c (__cacosf): Likewise.
33351         * math/s_cacosl.c (__cacosl): Likewise.
33352         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
33353         * sysdeps/i386/fpu/libm-test-ulps: Update.
33354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33356         [BZ #16927]
33357         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
33358         value.
33359         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
33360         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
33361         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
33362         for explicit high bit of mantissa when testing for argument equal
33363         to 1.
33364         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33365         * sysdeps/i386/fpu/libm-test-ulps: Update.
33366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33368         [BZ #16516]
33369         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
33370         (__erf): Scale by 16 instead of 8 in potentially underflowing
33371         case.  Ensure exception if result actually underflows.
33372         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
33373         (__erff): Scale by 16 instead of 8 in potentially underflowing
33374         case.  Ensure exception if result actually underflows.
33375         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
33376         (efx8): Remove variable.
33377         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33378         case.  Ensure exception if result actually underflows.
33379         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
33380         (efx8): Remove variable.
33381         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33382         case.  Ensure exception if result actually underflows.
33383         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
33384         (efx8): Remove variable.
33385         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33386         case.  Ensure exception if result actually underflows.
33387         * math/auto-libm-test-in: Add more tests of erf.
33388         * math/auto-libm-test-out: Regenerated.
33390 2014-05-14  Andreas Schwab  <schwab@suse.de>
33392         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
33393         Remove code conditionalized on USE___THREAD.
33395         * config.h.in (HAVE_PT_CHOWN): Define as 0.
33396         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
33397         not definedness.
33399 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33401         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
33402         Define unconditionally.
33403         (__ASSUME_O_CLOEXEC): Likewise.
33404         (__ASSUME_SOCK_CLOEXEC): Likewise.
33405         (__ASSUME_IN_NONBLOCK): Likewise.
33406         (__ASSUME_PIPE2): Likewise.
33407         (__ASSUME_EVENTFD2): Likewise.
33408         (__ASSUME_SIGNALFD4): Likewise.
33409         (__ASSUME_DUP3): Likewise.
33410         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33411         (__ASSUME_DUP3): Do not define.
33412         (__ASSUME_EVENTFD2): Likewise.
33413         (__ASSUME_IN_NONBLOCK): Likewise.
33414         (__ASSUME_O_CLOEXEC): Likewise.
33415         (__ASSUME_PIPE2): Likewise.
33416         (__ASSUME_SIGNALFD4): Likewise.
33417         (__ASSUME_SOCK_CLOEXEC): Likewise.
33418         (__ASSUME_UTIMES): Undefine.
33419         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33420         (__ASSUME_UTIMES): Do not define.
33421         (__ASSUME_O_CLOEXEC): Likewise.
33422         (__ASSUME_SOCK_CLOEXEC): Likewise.
33423         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
33424         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
33425         0x020621].
33426         (__ASSUME_PIPE2): Likewise.
33427         (__ASSUME_EVENTFD2): Likewise.
33428         (__ASSUME_SIGNALFD4): Likewise.
33429         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
33430         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
33431         Do not define.
33432         (__ASSUME_EVENTFD2): Likewise.
33433         (__ASSUME_SIGNALFD4): Likewise.
33434         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33435         (__ASSUME_32BITUIDS): Likewise.
33436         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33437         (__ASSUME_IPC64): Likewise.
33438         (__ASSUME_ST_INO_64_BIT): Likewise.
33439         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
33440         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
33441         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33442         (__ASSUME_UTIMES): Do not define.
33443         (__ASSUME_PSELECT): Likewise.
33444         (__ASSUME_PPOLL): Likewise.
33445         (__ASSUME_O_CLOEXEC): Likewise.
33446         (__ASSUME_SOCK_CLOEXEC): Likewise.
33447         (__ASSUME_IN_NONBLOCK): Likewise.
33448         (__ASSUME_PIPE2): Likewise.
33449         (__ASSUME_EVENTFD2): Likewise.
33450         (__ASSUME_SIGNALFD4): Likewise.
33451         (__ASSUME_DUP3): Likewise.
33452         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33453         (__ASSUME_UTIMES): Likewise.
33454         (__ASSUME_O_CLOEXEC): Likewise.
33455         (__ASSUME_SOCK_CLOEXEC): Likewise.
33456         (__ASSUME_IN_NONBLOCK): Likewise.
33457         (__ASSUME_PIPE2): Likewise.
33458         (__ASSUME_EVENTFD2): Likewise.
33459         (__ASSUME_SIGNALFD4): Likewise.
33460         (__ASSUME_DUP3): Likewise.
33461         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33462         (__ASSUME_UTIMES): Likewise.
33463         (__ASSUME_O_CLOEXEC): Likewise.
33464         (__ASSUME_SOCK_CLOEXEC): Likewise.
33465         (__ASSUME_IN_NONBLOCK): Likewise.
33466         (__ASSUME_PIPE2): Likewise.
33467         (__ASSUME_EVENTFD2): Likewise.
33468         (__ASSUME_SIGNALFD4): Likewise.
33469         (__ASSUME_DUP3): Likewise.
33470         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
33471         Likewise.
33472         (__ASSUME_UTIMES): Likewise.
33473         (__ASSUME_EVENTFD2): Likewise.
33474         (__ASSUME_SIGNALFD4): Likewise.
33475         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33476         (__ASSUME_O_CLOEXEC): Likewise.
33477         (__ASSUME_SOCK_CLOEXEC): Likewise.
33478         (__ASSUME_IN_NONBLOCK): Likewise.
33479         (__ASSUME_PIPE2): Likewise.
33480         (__ASSUME_EVENTFD2): Likewise.
33481         (__ASSUME_SIGNALFD4): Likewise.
33482         (__ASSUME_DUP3): Likewise.
33483         (__ASSUME_UTIMES): Undefine.
33485         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
33486         feclearexcept.  Remove symbol versioning code.
33487         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
33488         symbol versioning code.
33489         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
33490         symbol versioning code.
33491         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
33492         feupdateenv.  Remove symbol versioning code.
33493         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
33494         fegetexceptflag.  Remove symbol versioning code.
33495         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
33496         fesetexceptflag.  Remove symbol versioning code.
33497         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
33498         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
33499         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
33500         (__posix_fadvise64_l32): Remove prototype.
33501         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
33502         code.
33504 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33506         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
33507         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
33508         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
33509         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
33511 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
33513         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
33514         current working directory
33516 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33518         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
33519         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
33520         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
33521         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
33522         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
33523         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
33524         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
33525         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
33526         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
33527         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
33528         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
33529         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
33530         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
33531         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
33532         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
33533         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
33534         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
33535         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
33536         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
33537         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
33538         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
33539         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
33540         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
33541         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
33542         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
33543         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
33544         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
33545         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
33546         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
33547         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
33548         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
33549         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
33550         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
33551         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
33552         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
33553         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
33554         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
33555         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
33556         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
33557         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
33558         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
33559         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
33561         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
33562         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
33564         * sysdeps/unix/sysv/linux/arm/Makefile
33565         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33566         Add rt-aeabi_unwind_cpp_pr1.
33567         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
33568         Add nptl-aeabi_unwind_cpp_pr1.
33569         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
33570         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
33571         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
33572         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33573         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
33574         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33576         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
33577         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
33578         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
33579         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
33581         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
33582         Deconditionalize the code that was previously under [RESET_PID].
33583         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
33585         * sysdeps/generic/exit-thread.h: New file.
33586         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
33587         * include/unistd.h (__exit_thread): Remove declaration.
33588         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
33589         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
33590         * csu/libc-start.c: Include <exit-thread.h>.
33591         (LIBC_START_MAIN): Pass no argument to __exit_thread.
33592         * nptl/pthread_create.c: Include <exit-thread.h>.
33593         (start_thread): Call __exit_thread in place of __exit_thread_inline.
33594         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
33595         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
33596         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
33597         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
33598         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
33599         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
33600         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
33601         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
33602         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
33603         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
33604         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
33605         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
33606         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
33607         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
33608         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
33609         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
33611 2014-05-13  Andreas Schwab  <schwab@suse.de>
33613         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
33615 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
33617         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33618         (__ASSUME_UTIMES): Do not condition on kernel version.
33619         (__ASSUME_PSELECT): Define unconditionally.
33620         (__ASSUME_PPOLL): Likewise.
33621         (__ASSUME_ATFCTS): Likewise.
33622         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
33623         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
33624         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
33625         (__ASSUME_UTIMENSAT): Define unconditionally.
33626         (__ASSUME_PRIVATE_FUTEX): Likewise.
33627         (__ASSUME_FALLOCATE): Likewise.
33628         (__ASSUME_O_CLOEXEC): Likewise.
33629         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
33630         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
33631         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
33632         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
33633         (__ASSUME_IN_NONBLOCK): Likewise.
33634         (__ASSUME_PIPE2): Likewise.
33635         (__ASSUME_EVENTFD2): Likewise.
33636         (__ASSUME_SIGNALFD4): Likewise.
33637         (__ASSUME_DUP3): Likewise.
33638         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33639         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
33640         (__ASSUME_AT_RANDOM): Likewise.
33641         (__ASSUME_PREADV): Likewise.
33642         (__ASSUME_PWRITEV): Likewise.
33643         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
33644         (__ASSUME_F_GETOWN_EX): Define unconditionally.
33645         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
33646         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33647         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
33648         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33649         (__ASSUME_O_CLOEXEC): Define unconditionally.
33650         (__ASSUME_PSELECT): Do not undefine conditionally.
33651         (__ASSUME_PPOLL): Likewise.
33652         (__ASSUME_ATFCTS): Likewise.
33653         (__ASSUME_SET_ROBUST_LIST): Likewise.
33654         (__ASSUME_UTIMENSAT): Likewise.
33655         (__ASSUME_FDATASYNC): Define unconditionally.
33656         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33657         (__ASSUME_SIGFRAME_V2): Likewise.
33658         )__ASSUME_EVENTFD2): Likewise.
33659         (__ASSUME_SIGNALFD4): Likewise.
33660         (__ASSUME_PSELECT): Do not undefine conditionally.
33661         (__ASSUME_PPOLL): Likewise.
33662         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33663         (__ASSUME_PSELECT): Define unconditionally.
33664         (__ASSUME_PPOLL): Likewise.
33665         (__ASSUME_O_CLOEXEC): Likewise.
33666         (__ASSUME_SOCK_CLOEXEC): Likewise.
33667         (__ASSUME_IN_NONBLOCK): Likewise.
33668         (__ASSUME_PIPE2): Likewise.
33669         (__ASSUME_EVENTFD2): Likewise.
33670         (__ASSUME_SIGNALFD4): Likewise.
33671         (__ASSUME_DUP3): Likewise.
33672         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33673         (__ASSUME_O_CLOEXEC): Likewise.
33674         (__ASSUME_SOCK_CLOEXEC): Likewise.
33675         (__ASSUME_IN_NONBLOCK): Likewise.
33676         (__ASSUME_PIPE2): Likewise.
33677         (__ASSUME_EVENTFD2): Likewise.
33678         (__ASSUME_SIGNALFD4): Likewise.
33679         (__ASSUME_DUP3): Likewise.
33680         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33681         (__ASSUME_EVENTFD2): Likewise.
33682         (__ASSUME_SIGNALFD4): Likewise.
33683         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33685 2014-05-12  Andreas Schwab  <schwab@suse.de>
33687         [BZ #16932]
33688         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
33689         (_nss_nis_gethostbyname4_r): Return error if item length is larger
33690         than maximum RPC packet size.
33691         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
33692         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
33693         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
33694         (_nss_nis_getservbyport_r): Likewise.
33696 2014-05-12  Will Newton  <will.newton@linaro.org>
33698         * malloc/Makefile (tests): Add tst-mallopt.
33699         * malloc/tst-mallopt.c: New file.
33701 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33703         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
33704         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
33706 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33708         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
33709         (tst-tlsmod6.so): Likewise.
33711 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33713         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
33715 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
33717         [BZ #16064]
33718         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
33719         and <dl-procinfo.h>.
33720         (__fegetenv): Save SSE state in envp->__eip if supported.
33721         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
33722         envp->__eip if supported.
33723         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
33724         and <dl-procinfo.h>.
33725         (__fesetenv): Always set __eip, __cs_selector, __opcode,
33726         __data_offset and __data_selector in environment to 0.  Set SSE
33727         state if supported.
33728         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
33729         test-fenv-sse.
33730         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
33731         -mfpmath=sse.
33732         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
33734 2014-05-09  Will Newton  <will.newton@linaro.org>
33736         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
33737         and libc_relro_required for ARM.
33738         * sysdeps/arm/preconfigure: Regenerate.
33740 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
33741             Stefan Liebler  <stli@linux.vnet.ibm.com>
33743         * config.make.in (enable-lock-elision): New Makefile variable.
33744         * configure.ac: Likewise.
33745         * configure: Regenerate.
33746         * sysdeps/s390/configure.ac:
33747         Add check for gcc transactions support.
33748         * sysdeps/s390/configure: Regenerate.
33749         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
33750         Build elision files if enabled.
33751         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
33752         Add lock elision support for s390.
33753         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
33754         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
33755         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
33756         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
33757         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
33758         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
33759         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33760         Likewise.
33761         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
33762         Likewise.
33763         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
33764         Likewise.
33765         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
33766         Likewise.
33767         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
33768         (__lll_timedlock_elision, __lll_lock_elision)
33769         (__lll_unlock_elision, __lll_trylock_elision)
33770         (lll_timedlock_elision, lll_lock_elision)
33771         (lll_unlock_elision, lll_trylock_elision): Add.
33772         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33773         (pthread_mutex_t): Add lock elision support for s390.
33775 2014-05-14  Wilco  <wdijkstr@arm.com>
33777         * sysdeps/arm/fclrexcpt.c: Cleanup.
33778         * sysdeps/arm/fedisblxcpt.c: Cleanup.
33779         * sysdeps/arm/feenablxcpt.c: Cleanup.
33780         * sysdeps/arm/fegetenv.c: Cleanup.
33781         * sysdeps/arm/fegetexcept.c: Cleanup.
33782         * sysdeps/arm/fegetround.c: Cleanup.
33783         * sysdeps/arm/feholdexcpt.c: Cleanup.
33784         * sysdeps/arm/fesetenv.c: Cleanup.
33785         * sysdeps/arm/fesetround.c: Cleanup.
33786         * sysdeps/arm/feupdateenv.c: Cleanup.
33787         * sysdeps/arm/fgetexcptflg.c: Cleanup.
33788         * sysdeps/arm/fraiseexcpt.c: Cleanup.
33789         * sysdeps/arm/fsetexcptflg.c: Cleanup.
33790         * sysdeps/arm/ftestexcept.c: Cleanup.
33791         * sysdeps/arm/get-rounding-mode.h: Cleanup.
33792         * sysdeps/arm/setfpucw.c: Cleanup.
33794 2014-05-09  Will Newton  <will.newton@linaro.org>
33796         * sysdeps/arm/armv7/strcmp.S: New file.
33797         * NEWS: Mention addition of ARMv7 optimized strcmp.
33799 2014-05-08  Roland McGrath  <roland@hack.frob.com>
33801         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
33802         look for %.ac rather than %.in.
33804         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
33805         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
33806         * sysdeps/mach/hurd/configure: Regenerated.
33807         * sysdeps/unix/sysv/linux/configure: Regenerated.
33809         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
33811 2014-05-07  Steve Ellcey  <sellcey@mips.com>
33813         [BZ# 16922]
33814         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
33815         (LONG_SUB): Ditto.
33816         (PTR_SUB): Ditto.
33818 2014-05-07  Andreas Schwab  <schwab@suse.de>
33820         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
33821         when skipping over non-matching result from nscd.
33823 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
33825         [BZ #16876]
33826         * nptl/sockperf.c (client): Check socket return value.
33828         [BZ #16877]
33829         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
33830         nscd security class.
33832 2014-05-06  Roland McGrath  <roland@hack.frob.com>
33834         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
33835         * sysdeps/arm/unwind.h: ... here.
33837 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
33839         [BZ# 16916]
33840         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
33841         Define.
33843 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33845         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
33846         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
33847         multiarch strncpy for PPC64.
33848         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
33849         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
33850         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
33851         multiarch optimizations.
33852         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33853         (__libc_ifunc_impl_list): Likewise.
33854         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
33855         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
33856         multiarch stpncpy for PPC64.
33857         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
33858         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
33860 2014-05-06  Andreas Schwab  <schwab@suse.de>
33862         [BZ #16912]
33863         * gmon/mcount.c (_MCOUNT_DECL): Use
33864         atomic_compare_and_exchange_bool_acq instead of
33865         catomic_compare_and_exchange_bool_acq.
33867 2014-05-05  Roland McGrath  <roland@hack.frob.com>
33869         * elf/Makefile (others, install-bin): Remove pldd.
33870         (pldd-modules): Variable removed.
33871         ($(objpfx)pldd): Target removed.
33872         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
33873         (others, install-bin): Append pldd here.
33874         ($(objpfx)pldd): New target.
33876         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
33877         to 0, so the first #if test emitted later doesn't see it undefined.
33878         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
33879         * sysdeps/gnu/errlist.c: Regenerated.
33881 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33883         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33884         [libc_hidden_builtin_def]: Define to empty value.
33885         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
33886         [libc_hidden_builtin_def]: Likewise.
33887         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
33888         [libc_hidden_builtin_def]: Likewise.
33889         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
33890         [libc_hidden_builtin_def]: Likewise.
33891         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
33892         __redirect_memcpy and define ifunc as default hidden symbol.
33893         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
33894         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
33896 2014-05-04  Adam Conrad  <adconrad@0c3.net>
33898         * locale/iso-4217.def: Reintroduce XDR currency.
33900 2014-05-04  Allan McRae  <allan@archlinux.org>
33902         * po/eo.po: Update Esperanto translation from translation project.
33904 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
33906         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
33907         and FEATURE_INDEX_MAX to 1.
33908         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
33910 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33912         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
33913         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
33914         * iconvdata/big5.c (ONE_DIRECTION): Define.
33915         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
33916         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
33917         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
33918         * iconvdata/cp932.c (ONE_DIRECTION): Define.
33919         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
33920         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
33921         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
33922         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
33923         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
33924         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
33925         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
33926         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
33927         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
33928         * iconvdata/gbk.c (ONE_DIRECTION): Define.
33929         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
33930         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
33931         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
33932         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
33933         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
33934         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
33935         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
33936         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
33937         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
33938         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
33939         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
33940         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
33941         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
33942         * iconvdata/iso646.c (ONE_DIRECTION): Define.
33943         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
33944         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
33945         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
33946         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
33947         * iconvdata/johab.c (ONE_DIRECTION): Define.
33948         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
33949         * iconvdata/sjis.c (ONE_DIRECTION): Define.
33950         * iconvdata/t.61.c (ONE_DIRECTION): Define.
33951         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
33952         * iconvdata/tscii.c (ONE_DIRECTION): Define.
33953         * iconvdata/uhc.c (ONE_DIRECTION): Define.
33954         * iconvdata/unicode.c (ONE_DIRECTION): Define.
33955         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
33956         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
33957         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
33959 2014-05-01  Roland McGrath  <roland@hack.frob.com>
33961         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
33962         (_IO_JUMPS_OFFSET): Define to 0.
33964         * nptl/sysdeps/pthread/bits/libc-lock.h
33965         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
33966         (__libc_lock_define_initialized_recursive): Always define using
33967         initializer.  Modern compilers treat uninitialized (implicit zero) and
33968         explicit zero initializers the same (i.e. put the datum in bss).
33970 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33972         * nscd/nscd-client.h: Include <string.h>.
33974 2014-05-01  David S. Miller  <davem@davemloft.net>
33976         [BZ #16885]
33977         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
33978         multiple zero bytes exist at the end of a string.
33979         Reported by Aurelien Jarno <aurelien@aurel32.net>
33981         * string/test-strcmp.c (check): Add explicit test for situations where
33982         there are multiple zero bytes after the first.
33984 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33986         [BZ #16890]
33987         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
33988         when compiling wprintf.
33989         * stdio-common/tstdiomisc.c (t3): New function.
33990         (main): Call it.
33992 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33994         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
33995         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
33996         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
33997         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
33999 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34001         * stdlib/longlong.h: Updated from GCC.
34003 2014-05-01  Will Newton  <will.newton@linaro.org>
34004             Bernard Ogden  <bernie.ogden@linaro.org>
34006         * NEWS: Update fixed bug list.
34008         [BZ #15119]
34009         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
34011 2014-04-30  David S. Miller  <davem@davemloft.net>
34013         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
34014         (libc_feholdexcept_setround_sparc_ctx): New function.
34015         (libc_fesetenv_sparc_ctx): Likewise.
34016         (libc_feupdateenv_sparc_ctx): Likewise.
34017         (libc_feholdsetround_sparc_ctx): Likewise.
34018         (libc_feholdexcept_setround_ctx): Define.
34019         (libc_feholdexcept_setroundf_ctx): Likewise.
34020         (libc_feholdexcept_setroundl_ctx): Likewise.
34021         (libc_fesetenv_ctx): Likewise.
34022         (libc_fesetenvf_ctx): Likewise.
34023         (libc_fesetenvl_ctx): Likewise.
34024         (libc_feupdateenv_ctx): Likewise.
34025         (libc_feupdateenvf_ctx): Likewise.
34026         (libc_feupdateenvl_ctx): Likewise.
34027         (libc_feresetround_ctx): Likewise.
34028         (libc_feresetroundf_ctx): Likewise.
34029         (libc_feresetroundl_ctx): Likewise.
34030         (libc_feholdsetround_ctx): Likewise.
34031         (libc_feholdsetroundf_ctx): Likewise.
34032         (libc_feholdsetroundl_ctx): Likewise.
34034         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34035         with __USE_GNU instead of XOPEN cpp guards.
34037         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
34038         0.
34040         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34041         with XOPEN cpp guards.
34043 2014-04-30  Julian Brown  <julian@codesourcery.com>
34045         [BZ #16888]
34046         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
34047         handling.
34049 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
34051         [BZ #9894]
34052         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
34053         Change to 2.6.32.
34054         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
34055         * sysdeps/unix/sysv/linux/configure: Regenerated.
34056         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
34057         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
34058         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
34059         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
34060         * README: Update reference to required Linux kernel version.
34061         * manual/install.texi (Linux): Update reference to required Linux
34062         kernel headers version.
34063         * INSTALL: Regenerated.
34065         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
34066         header inclusion.
34067         [POSIX] (limits.h): Likewise.
34068         [POSIX] (math.h): Likewise.
34069         [POSIX] (sys/wait.h): Likewise.
34070         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34071         function.
34072         [POSIX] (stddef.h): Do not allow header inclusion.
34074 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34076         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
34078 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
34080         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
34081         Return immediately after lll_futex_wake.
34083 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34085         [BZ #16791]
34086         * nscd/nscd-client.h (datahead_init_common): Initialize entire
34087         structure.
34088         (datahead_init_pos): Call datahead_init_common early.
34089         (datahead_init_neg): Likewise.
34091         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
34092         datahead_init_neg): New functions.
34093         * nscd/aicache.c (addhstaiX): Use them.
34094         * nscd/grpcache.c (cache_addgr): Likewise.
34095         * nscd/hstcache.c (cache_addhst): Likewise.
34096         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34097         * nscd/netgroupcache.c (do_notfound): Likewise.
34098         (addgetnetgrentX): Likewise.
34099         (addinnetgrX): Likewise.
34100         * nscd/pwdcache.c (cache_addpw): Likewise.
34101         * nscd/servicescache.c (cache_addserv): Likewise.
34103 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34104             Atsushi Onoe  <atsushi@onoe.org>
34106         [BZ #14308]
34107         [BZ #12994]
34108         [BZ #13651]
34109         * resolv/res_query.c (__libc_res_nsearch): Return if at least
34110         one response is valid.
34111         * resolv/res_send.c (send_dg): Check for validity of other
34112         response if the current response is a referral.
34114 2014-04-29  Steve Ellcey  <sellcey@mips.com>
34116         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
34118 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
34120         [BZ #16823]
34121         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
34122         Always divide by positive zero when computing -Inf result.
34123         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34124         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
34126 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34128         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
34129         FPSCR if value do not change.
34130         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34131         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
34132         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34133         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34134         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
34135         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
34136         function.
34138 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
34140         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
34141         * sysdeps/unix/sysv/linux/hppa: Move directory from
34142         ports/systeps/unix/sysv/linux/hppa.
34143         * README: Update listing for hppa-*-linux-gnu.
34145 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
34147         [BZ #16754]
34148         * manual/stdio.texi (Hook functions): Fix types of stream hook
34149         functions.
34150         [BZ #16854]
34151         * socket/sys/socket.h: Fix typo in comment.
34153 2014-04-28  Wilco  <wdijkstr@arm.com>
34155         * sysdeps/arm/fenv_private.h: New file.
34156         * sysdeps/arm/math_private.h: New file.
34157         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34159 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
34161         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34162         with __int128_t.
34163         (La_x86_64_retval): Likewise.
34165 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
34167         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34168         fpsr if value didn't change.
34169         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34170         to fpcr if value didn't change.
34171         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34172         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34173         fpsr or fpcr if value didn't change.
34174         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34175         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34176         fpcr if value didn't change.
34177         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34178         to fpsr if value didn't change.
34180 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34182         * nptl/tst-sem3.c: Use test-skeleton.c
34183         (main): Rename to do_test.  Use return instead of
34184         exit.
34185         * nptl/tst-sem4.c: Use test-skeleton.c
34186         (main): Rename to do_test.
34188 2014-04-22  David S. Miller  <davem@davemloft.net>
34190         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34191         (struct sigaction): New struct member __glibc_reserved0, change
34192         type of sa_flags to int.
34194 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
34196         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
34197         (COUNT_LEADING_ZEROS_0): Define for AArch64.
34199 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34201         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
34202         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
34204 2014-04-22  Will Newton  <will.newton@linaro.org>
34205             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
34207         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
34208         (__longjmp): Add longjmp and longjmp_target SystemTap
34209         probes.
34210         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
34211         (__sigsetjmp): Add setjmp SystemTap probe.
34213 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
34215         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
34216         match manual order.
34218 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34220         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
34222         * sysdeps/powerpc/fpu/fenv_private.h
34223         (libc_feholdexcept_setroundl_ctx): Define to
34224         libc_feholdexcept_setround_ppc_ctx.
34225         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
34226         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
34227         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
34228         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
34230 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34232         * sysdeps/aarch64/math-tests.h: New file.
34234 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
34236         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
34237         New.
34238         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34239         Check and set bit_AVX2_Usable.
34240         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
34241         macro.
34242         (bit_AVX2): Likewise.
34243         (index_AVX2_Usable): Likewise.
34244         (CPUID_AVX2): Likewise.
34245         (HAS_AVX2): Likewise.
34247 2014-04-17  Will Newton  <will.newton@linaro.org>
34249         * manual/setjmp.texi (System V contexts): Add note that
34250         calling setcontext on a context created by a call to a
34251         signal handler is undefined.  Update text to note that
34252         setcontext from a signal handler is possible but not
34253         recommended.
34255         [BZ #16629]
34256         * stdlib/tst-setcontext.c: Include signal.h.
34257         (main): Check that the signal stack before and
34258         after swapcontext is the same.
34260         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34261         Re-implement to restore registers in user code and avoid
34262         rt_sigreturn system call.
34264 2014-04-17  Wilco  <wdijkstr@arm.com>
34266         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34267         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34268         * math/test-fenv.c: Skip exception trap tests on targets which only
34269         support non-stop mode.
34271 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34272             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34274         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34275         (libc_feholdsetround_aarch64_ctx)
34276         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34277         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34278         (libc_feresetround_ctx, libc_feresetroundf_ctx)
34279         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34280         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34281         (libc_feresetround_noexl_ctx): Define.
34283 2014-04-16  Richard Henderson  <rth@redhat.com>
34285         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34287         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34288         unwind tables.
34290         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34291         const from the non-libc, non-ldso copy.
34293         * sysdeps/alpha/libm-test-ulps: Regenerate.
34295 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
34296             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34298         * sysdeps/aarch64/fpu/math_private.h: New file.
34300 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34302         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34304 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
34306         [BZ #16275]
34307         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34308         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34309         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34310         Intel MPX bound registers before _dl_profile_fixup.
34311         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34312         registers after _dl_profile_fixup.  Save and restore bound
34313         registers bnd0/bnd1 when calling _dl_call_pltexit.
34314         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34315         (LR_BND_OFFSET): Likewise.
34316         (LRV_BND0_OFFSET): Likewise.
34317         (LRV_BND1_OFFSET): Likewise.
34319 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34321         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34322         to...
34323         * sysdeps/mach/hurd/i386/tls.h: ... here.
34324         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34325         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34326         fields.
34328 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34330         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34332 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34334         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34336 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34338         [BZ #14770]
34339         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
34340         * sysdeps/s390/configure: Regenerate.
34342         [BZ #16824]
34343         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
34344         Set round-to-nearest internally to reduce error accumulation.
34346 2014-04-16  Alan Modra  <amodra@gmail.com>
34348         [BZ #16740]
34349         [BZ #16619]
34350         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
34351         * math/libm-test.inc (frexp_test_data): Add tests.
34352         * NEWS: Update fixed bug list.
34354 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34356         * benchtests/Makefile: Depend on libraries in build directory.
34357         (bench-math): Separate out math tests.
34358         (bench-pthread): Separate out pthread tests.
34359         (bench): Include math and pthread tests.
34361 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
34363         [BZ #16831]
34364         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
34365         _dl_debug_initialize.
34367         * configure.ac: Remove SELinux header check.
34368         * configure: Regenerate.
34369         * nscd/selinux.c (perms): Array of const char* to permission names.
34370         (nscd_request_avc_has_perm): Call security_deny_unknown to find
34371         default policy. Call string_to_security_class and string_to_av_perm to
34372         translate strings. Enforce default policy and call avs_has_perm with
34373         results of translated strings.
34375 2014-04-13  David S. Miller  <davem@davemloft.net>
34377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34379 2014-04-12  Allan McRae  <allan@archlinux.org>
34381         [BZ #16838]
34382         * manual/string.texi (Collation Functions): Fix qsort argument
34383         order in example.
34384         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34386 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
34388         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
34389         Make the test a no-op if there are no exceptions defined.
34391 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34393         * elf/Makefile (tests): make tst-dlopen-aout conditional on
34394         enable-hardcoded-path-in-tests
34396 2014-04-11  Will Newton  <will.newton@linaro.org>
34398         * benchtests/Makefile (extra-objs): Add json-lib.o.
34399         (bench-func): Tidy up JSON output.
34400         * benchtests/bench-skeleton.c: Include json-lib.h.
34401         (main): Use JSON library functions to do output of
34402         benchmark results.
34403         * benchtests/bench-timing-type.c (main): Output the
34404         timing type simply, leaving formatting to the user.
34405         * benchtests/json-lib.c: New file.
34406         * benchtests/json-lib.h: Likewise.
34408 2014-04-11  Torvald Riegel  <triegel@redhat.com>
34410         [BZ #15215]
34411         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34412         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
34413         memory barriers.  Add comments.
34414         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
34415         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
34416         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
34417         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
34418         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
34419         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
34421 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34423         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
34424         * sysdeps/s390/s390-64/configure.ac: ... this ...
34425         * sysdeps/s390/configure.ac: ... to here.
34426         * sysdeps/s390/s390-32/configure: Delete file.
34427         * sysdeps/s390/s390-64/configure: Delete file.
34428         * sysdeps/s390/configure: Regenerate.
34430 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
34432         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
34434 2014-04-11  Will Newton  <will.newton@linaro.org>
34436         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
34437         to zero if it is not defined elsewhere.  (mtrim): Test
34438         the value of MALLOC_DEBUG with #if rather than #ifdef.
34440 2014-04-10 Torvald Riegel  <triegel@redhat.com>
34442         * benchtests/pthread_once-inputs: New file.
34443         * benchtests/pthread_once-source.c: New file.
34444         * benchtests/README: Update documentation.
34446 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34447             H.J. Lu  <hongjiu.lu@intel.com>
34449         [BZ #16275]
34450         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
34451         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
34452         * sysdeps/x86_64/configure: Regenerated.
34453         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
34454         macro.
34455         (REGISTER_SAVE_RAX): Likewise.
34456         (REGISTER_SAVE_RCX): Likewise.
34457         (REGISTER_SAVE_RDX): Likewise.
34458         (REGISTER_SAVE_RSI): Likewise.
34459         (REGISTER_SAVE_RDI): Likewise.
34460         (REGISTER_SAVE_R8): Likewise.
34461         (REGISTER_SAVE_R9): Likewise.
34462         (REGISTER_SAVE_BND0): Likewise.
34463         (REGISTER_SAVE_BND1): Likewise.
34464         (REGISTER_SAVE_BND2): Likewise.
34465         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
34466         bound registers when calling _dl_fixup.
34468 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34470         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
34471         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
34472         of its definition.
34473         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
34474         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
34475         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
34476         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
34477         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
34478         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
34479         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
34481 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
34483         [BZ #15514]
34484         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
34485         pathconf(_PC_NAME_MAX).
34487 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34489         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
34490         Remove macro usage.
34491         (__PTHREAD_SPINS): Move definition to ...
34492         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34493         (__PTHREAD_SPINS): ... here.
34494         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34495         (__PTHREAD_SPIN): Likewise.
34496         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
34497         (__PTHREAD_SPIN): Likewise.
34498         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
34499         (__PTHREAD_SPIN): Likewise.
34500         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
34501         (__PTHREAD_SPIN): Likewise.
34502         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34503         (__PTHREAD_SPIN): Likewise.
34504         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34505         (__PTHREAD_SPIN): Likewise.
34506         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
34507         (__PTHREAD_SPIN): Likewise.
34508         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34509         (__PTHREAD_SPIN): Likewise.
34510         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34511         (__PTHREAD_SPIN): Likewise.
34512         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34513         (__PTHREAD_SPIN): Likewise.
34514         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34515         (__PTHREAD_SPIN): Likewise.
34516         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
34517         (__PTHREAD_SPIN): Likewise.
34519         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
34520         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
34521         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
34522         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
34523         imply folder.
34524         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
34525         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
34526         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
34527         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
34528         correct imply path.
34529         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
34530         strlen symbol for non multi-arch builds.
34531         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
34532         missing hidden_def and weak_alias.
34534 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
34536         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
34538 2014-04-07  Will Newton  <will.newton@linaro.org>
34540         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
34541         and contents.  [!_LIBC] Remove #ifndef and contents.
34542         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
34543         * string/memccpy.c (__memccpy): Use ANSI prototype.
34544         * string/memfrob.c (memfrob): Likewise.
34545         * string/strcoll.c (STRCOLL): Likewise.
34546         * string/strlen.c (strlen): Likewise.
34547         * string/strtok.c (STRTOK): Likewise.
34548         * string/strcat.c: Remove unused #include of memcopy.h.
34549         (strcat): Use ANSI prototype.
34550         * string/strchr.c: Remove unused #include of memcopy.h.
34551         (strchr): Use ANSI prototype.
34552         * string/strcmp.c: Remove unused #include of memcopy.h.
34553         (strcmp): Use ANSI prototype.
34554         * string/strcpy.c: Remove unused #include of memcopy.h.
34555         (strcpy): Use ANSI prototype.
34557 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34559         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
34560         * config.make.in (config-extra-cppflags): Set it from
34561         libc_extra_cppflags.
34562         * configure.ac (libc_extra_cflags): Make it accumulate over
34563         configure fragments.
34564         (libc_extra_cppflags): New flag.
34565         * configure. Regenerate.
34566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34567         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
34568         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
34569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
34571         [BZ #16815]
34572         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
34573         result for FE_DOWNWARD rounding mode.
34574         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
34575         Likewise.
34576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34578 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
34580         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
34581         in function argument name.
34583 2014-04-03  David Svoboda  <svoboda@cert.org>
34585         [BZ #5666]
34586         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
34587         explicitly.
34589 2014-04-03  Roland McGrath  <roland@hack.frob.com>
34591         * elf/dl-unmap-segments.h: New file.
34592         * sysdeps/generic/ldsodefs.h
34593         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
34594         * elf/dl-close.c: Include <dl-unmap-segments.h>.
34595         * elf/dl-fptr.c: Likewise.
34596         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
34597         * sysdeps/aarch64/tlsdesc.c: Likewise.
34598         * sysdeps/arm/tlsdesc.c: Likewise.
34599         * sysdeps/i386/tlsdesc.c: Likewise.
34600         * sysdeps/tile/dl-runtime.c: Likewise.
34601         * sysdeps/x86_64/tlsdesc.c: Likewise.
34602         * elf/dl-load.h: New file.
34603         * elf/dl-load.c: Include it.
34604         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
34605         Macros moved to dl-load.h.
34606         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
34607         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
34608         Use _dl_unmap_segments in place of __munmap.
34609         Break out segment-mapping loop into ...
34610         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
34612 2014-04-03  Will Newton  <will.newton@linaro.org>
34614         * elf/dl-lookup.c (do_lookup_x): Remove comment
34615         referring to nested function and move variable
34616         declarations down to before first use.
34618 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
34620         [BZ #16799]
34621         [BZ #16800]
34622         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
34623         with 0 numerator.
34624         * math/s_catanf.c (__catanf): Likewise.
34625         * math/s_catanh.c (__catanh): Likewise.
34626         * math/s_catanhf.c (__catanhf): Likewise.
34627         * math/s_catanhl.c (__catanhl): Likewise.
34628         * math/s_catanl.c (__catanl): Likewise.
34629         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
34630         by positive zero when computing -Inf result.
34631         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
34632         (catanh_test): Likewise.
34633         * sysdeps/i386/fpu/libm-test-ulps: Update.
34634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34636         [BZ #16789]
34637         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
34638         instead of using underflowing value in computing result.
34639         * math/s_clog10.c (__clog10): Likewise.
34640         * math/s_clog10f.c (__clog10f): Likewise.
34641         * math/s_clog10l.c (__clog10l): Likewise.
34642         * math/s_clogf.c (__clogf): Likewise.
34643         * math/s_clogl.c (__clogl): Likewise.
34644         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
34645         (clog10_test): Likewise.
34646         * sysdeps/i386/fpu/libm-test-ulps: Update.
34647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34649 2014-04-02  Alan Modra  <amodra@gmail.com>
34651         [BZ #16739]
34652         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
34653         output when value is near a power of two.  Use int64_t for lx and
34654         remove casts.  Use decimal rather than hex exponent constants.
34655         Don't use long double multiplication when double will suffice.
34656         * math/libm-test.inc (nextafter_test_data): Add tests.
34657         * NEWS: Add 16739 and 16786 to bug list.
34659         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
34661         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
34663 2014-04-01  Will Newton  <will.newton@linaro.org>
34665         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
34666         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
34668 2014-04-01  Florian Weimer  <fweimer@redhat.com>
34670         [BZ #13347]
34671         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
34672         * nptl/tst-setuid2.c: New file.
34673         * nptl/Makefile (xtests): Add tst-setuid2.
34675 2014-04-01  Alan Modra  <amodra@gmail.com>
34677         [BZ #16786]
34678         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
34680 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34682         [BZ #6803]
34683         [BZ #6804]
34684         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
34685         set errno as appropriate.
34686         * math/w_scalbf.c (__scalbf): Likewise.
34687         * math/w_scalbl.c (__scalbl): Likewise.
34688         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
34689         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
34690         * math/libm-test.inc (scalb_test_data): Add errno expectations.
34691         Add more NaN tests.
34693         [BZ #16349]
34694         * math/w_atan2.c: Include <errno.h>.
34695         (__atan2): Set errno for result underflowing to zero.
34696         * math/w_atan2f.c: Include <errno.h>.
34697         (__atan2f): Set errno for result underflowing to zero.
34698         * math/w_atan2l.c: Include <errno.h>.
34699         (__atan2l): Set errno for result underflowing to zero.
34700         * math/auto-libm-test-in: Don't allow missing errno for some atan2
34701         tests.
34702         * math/auto-libm-test-out: Regenerated.
34704 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34706         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34707         Encode instruction correctly in little endian.
34708         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34709         Likewise.
34710         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34711         Likewise.
34712         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34713         Likewise.
34714         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34715         Likewise.
34717 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34719         [BZ #9894]
34720         * sysdeps/unix/sysv/linux/kernel-features.h
34721         [__sparc__ && !__arch64__ && !__sparc_v9__]
34722         (__ASSUME_SET_ROBUST_LIST): Do not define.
34723         [__sparc__ && !__arch64__ && !__sparc_v9__]
34724         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34725         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
34726         Likewise.
34727         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34728         (__ASSUME_FUTEX_LOCK_PI): Undefine.
34729         (__ASSUME_REQUEUE_PI): Likewise.
34730         (__ASSUME_SET_ROBUST_LIST): Likewise.
34731         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34732         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
34733         Undefine.
34734         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34735         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
34736         Likewise.
34737         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
34738         Likewise.
34739         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
34740         Likewise.
34741         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34742         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
34743         Undefine.
34744         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
34745         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
34746         Likewise.
34748         [BZ #16648]
34749         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34750         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
34751         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
34753 2014-03-31  Will Newton  <will.newton@linaro.org>
34755         * benchtests/Makefile (bench): Add ffs and ffsll to list
34756         of tests.
34757         * benchtests/ffs-inputs: New file.
34758         * benchtests/ffsll-inputs: Likewise.
34760 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
34762         [BZ #16770]
34763         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
34764         too large before casting to int.
34765         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
34766         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
34767         * math/libm-test.inc (scalb_test_data): Add more tests.
34769 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34771         * benchtests/Makefile (DETAILED_OPT): New make option.
34772         (bench-func): Run benchmark program with -d if DETAILED_OPT is
34773         set.
34774         * benchtests/bench-skeleton.c: Include stdbool.h.
34775         (main): Store and print timings per input.
34776         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
34777         member to each argument value.
34778         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
34779         (_print_arg_data): Initialize per-input timing to 0.
34781         * benchtests/Makefile (timing-type): New binary.
34782         (bench-clean): Also remove bench-timing-type.
34783         (bench): New target for timing-type.
34784         (bench-func): Print output in JSON format.
34785         * benchtests/bench-skeleton.c (main): Print output in JSON
34786         format.
34787         * benchtests/bench-timing-type.c: New file.
34788         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
34789         (TIMING_PRINT_STATS): Remove.
34790         * benchtests/scripts/bench.py (_print_arg_data): Store variant
34791         name separately.
34793         * benchtests/bench-modf.c: Remove.
34794         * benchtests/modf-inputs: New inputs file.
34796 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
34798         [BZ #16362]
34799         * math/s_clog10.c (M_PI_LOG10E): New macro.
34800         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
34801         imaginary parts are 0.
34802         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
34803         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
34804         imaginary parts are 0.
34805         * math/s_clog10l.c (M_PI_LOG10El): New macro.
34806         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
34807         imaginary parts are 0.
34808         * math/libm-test.inc (clog10_test_data): Update expected results
34809         for when real and imaginary parts are 0.
34811 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
34813         * elf/dl-load.c: Finish conversion of __builtin_expect into
34814         __glibc_{un}likely.
34816 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
34818         [BZ #16348]
34819         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
34820         1+x for argument with exponent below -67.
34821         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
34822         Likewise.
34823         * math/auto-libm-test-in: Add more tests of exp.
34824         * math/auto-libm-test-out: Regenerated.
34826 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34828         [BZ #16759]
34829         * inet/getnetgrent_r.c (get_nonempty_val): New function.
34830         (nscd_getnetgrent): Use it.
34832         [BZ #16760]
34833         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
34834         of stpcpy.
34836 2014-03-27  Andi Kleen  <ak@linux.intel.com>
34838         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
34839         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34840         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34841         (lll_robust_unlock): Remove out of line section. Use cfi
34842         intrinsics.
34843         (LLL_STUB_UNWIND_INFO*): Remove.
34844         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
34845         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34846         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34847         (lll_robust_unlock): Remove out of line section. Use cfi
34848         intrinsics.
34849         (LLL_STUB_UNWIND_INFO*): Remove.
34851 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34853         [BZ #16758]
34854         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
34855         blank values.
34857 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
34859         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
34861 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
34863         [BZ #16198]
34864         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
34865         fnstenv.
34866         * math/test-fenv-preserve.c: New file.
34867         * math/Makefile (tests): Add test-fenv-preserve.
34869 2014-03-26  Will Newton <will.newton@linaro.org>
34871         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
34873 2014-03-25  Roland McGrath  <roland@hack.frob.com>
34875         * scripts/versionlist.awk: Partition the version sets and emit all
34876         GLIBC_* (sorted) before all others (sorted).
34878 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34880         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
34881         GLIBC_2.2.5 version.
34883 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34885         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
34886         calls.
34888         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
34889         previous change.
34891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34893 2014-03-25  Andreas Schwab  <schwab@suse.de>
34895         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
34896         label to be used after in6ailist is initialized.
34898 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34900         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34901         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34903 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34905         [BZ #16357]
34906         [BZ #16599]
34907         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
34908         min_plus_half.
34909         (fp_formats): Update initializers.
34910         (init_fp_formats): Initialize new field.
34911         (output_for_one_input_case): Allow underflow for results up to
34912         min_plus_half.
34913         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
34914         * math/auto-libm-test-in: Don't mark some underflows from asin and
34915         atanh as spurious.
34916         * math/auto-libm-test-out: Regenerated.
34917         * sysdeps/i386/fpu/libm-test-ulps: Update.
34918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34920 2014-03-25  Andreas Schwab  <schwab@suse.de>
34922         * libio/Makefile (tst-ftell-partial-wide-ENV)
34923         (tst-ftell-active-handler-ENV): Define.
34925 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
34927         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
34929 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34931         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
34933 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34935         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
34936         * sysdeps/x86_64/fpu/multiarch/e_exp.c
34937         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
34939 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34941         [BZ #16634]
34942         * elf/dl-load.c (open_verify): Add mode parameter.
34943         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
34944         (open_path): Change from boolean 'secure' to complete flag 'mode'
34945         (_dl_map_object): Adjust.
34946         * elf/Makefile (tests): Add tst-dlopen-aout.
34947         * elf/tst-dlopen-aout.c: New test.
34949 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
34951         [BZ #16714]
34952         * sysdeps/unix/sysv/linux/s390/bits/stat.h
34953         (struct stat): Rename member pad0 to __glibc_reserved0.
34955         [BZ #16712]
34956         * sysdeps/s390/s390-32/bits/wordsize.h
34957         (__WORDSIZE32_SIZE_ULONG): New define.
34958         * sysdeps/s390/s390-64/bits/wordsize.h
34959         (__WORDSIZE32_SIZE_ULONG): Likewise.
34960         * sysdeps/generic/stdint.h (SIZE_MAX):
34961         Define as UL if __WORDSIZE32_SIZE_ULONG.
34963         [BZ #16713]
34964         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34965         (__glibc_reserved0): New variable.
34966         (sa_flags): Change type to int.
34968         * posix/Makefile (before-compile): Use += before-compile instead
34969         of a :=.
34971         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34972         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34974 2014-03-20  Andreas Schwab  <schwab@suse.de>
34976         [BZ #16743]
34977         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
34978         non-matching result from nscd.
34980 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34982         * scripts/bench.py: Moved to ...
34983         * benchtests/scripts/bench.py: ... here.
34984         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
34986 2014-03-24  Andreas Schwab  <schwab@suse.de>
34988         [BZ #16002]
34989         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
34990         alloca_account and account alloca use for struct in6ailist.
34992 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34994         [BZ #16284]
34995         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
34996         rounding mode to recompute results that overflow to infinity or
34997         underflow to zero.
34998         * math/auto-libm-test-in: Don't mark tests as expected to fail for
34999         bug 16284.
35000         * math/auto-libm-test-out: Regenerated.
35001         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
35002         (ccosh_test): Likewise.
35003         (csin_test_data): Use plus_oflow.
35004         (csin_test): Use ALL_RM_TEST.
35005         (csinh_test_data): Use plus_oflow.
35006         (csinh_test): Use ALL_RM_TEST.
35007         * sysdeps/i386/fpu/libm-test-ulps: Update.
35008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35010 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
35012         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
35013         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
35014         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
35016         [BZ #16731]
35017         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
35018         when x - 1 is zero.
35019         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
35020         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
35021         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35022         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
35023         argument is 1.
35024         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
35025         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
35026         zero.
35027         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
35028         * sysdeps/i386/fpu/libm-test-ulps: Update.
35029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35031 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35033         * scripts/bench.pl: Remove file.
35034         * scripts/bench.py: New benchmark script.
35035         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
35036         * benchtests/README: Mention python dependency.
35037         * scripts/pylintrc: New file.
35038         * scripts/pylint: New file.
35040         * bits/mathdef.h: Use #ifdef instead of #if.
35041         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
35042         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35043         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
35044         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35045         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
35046         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35048 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35049             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35051         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
35052         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
35053         and strpbrk-ppc64 objects.
35054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35055         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
35056         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
35057         multiarch strpbrk for POWER7.
35058         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
35059         multiarch strpbrk for PPC64.
35060         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
35061         ifunc selector.
35062         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
35063         strpbrk for POWER7.
35065 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35067         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
35068         (atan_test): Likewise.
35069         (atanh_test_data): Use NO_TEST_INLINE for two tests.
35070         (atanh_test): Use ALL_RM_TEST.
35071         (atan2_test_data): Likewise.
35072         (cabs_test): Likewise.
35073         (cacosh_test): Likewise.
35074         (carg_test): Likewise.
35075         (casin_test): Likewise.
35076         (casinh_test): Likewise.
35077         (cbrt_test): Likewise.
35078         (csqrt_test): Likewise.
35079         (erf_test): Likewise.
35080         (erfc_test): Likewise.
35081         (pow10_test): Likewise.
35082         (exp2_test): Likewise.
35083         (hypot_test): Likewise.
35084         (j0_test): Likewise.
35085         (j1_test): Likewise.
35086         (lgamma_test): Likewise.
35087         (gamma_test): Likewise.
35088         (sincos_test): Likewise.
35089         (tanh_test): Likewise.
35090         (y0_test): Likewise.
35091         (y1_test): Likewise.
35092         * sysdeps/i386/fpu/libm-test-ulps: Update.
35093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35095 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35097         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
35098         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35099         and strcspn-ppc64 objects.
35100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35101         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
35102         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
35103         multiarch strcspn for POWER7.
35104         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
35105         multiarch strcspn for PPC64.
35106         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
35107         ifunc selector.
35108         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
35109         strcspn for POWER7.
35111 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35113         * math/gen-libm-test.pl (generate_testfile): Expect only function
35114         name as argument to AUTO_TESTS_* and pass results for all rounding
35115         modes to parse_args.
35116         (parse_auto_input): Separate inputs of automatic tests from
35117         outputs before storing in %auto_tests.
35118         * math/libm-test.inc (acos_test_data): Update call to
35119         AUTO_TESTS_f_f.
35120         (acos_test): Use ALL_RM_TEST.
35121         (acos_tonearest_test_data): Remove.
35122         (acos_test_tonearest): Likewise.
35123         (acos_towardzero_test_data): Likewise.
35124         (acos_test_towardzero): Likewise.
35125         (acos_downward_test_data): Likewise.
35126         (acos_test_downward): Likewise.
35127         (acos_upward_test_data): Likewise.
35128         (acos_test_upward): Likewise.
35129         (acosh_test_data): Update call to AUTO_TESTS_f_f.
35130         (asin_test_data): Likewise.
35131         (asin_test): Use ALL_RM_TEST.
35132         (asin_tonearest_test_data): Remove.
35133         (asin_test_tonearest): Likewise.
35134         (asin_towardzero_test_data): Likewise.
35135         (asin_test_towardzero): Likewise.
35136         (asin_downward_test_data): Likewise.
35137         (asin_test_downward): Likewise.
35138         (asin_upward_test_data): Likewise.
35139         (asin_test_upward): Likewise.
35140         (asinh_test_data): Update call to AUTO_TESTS_f_f.
35141         (atan_test_data): Likewise.
35142         (atanh_test_data): Likewise.
35143         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
35144         (cabs_test_data): Update call to AUTO_TESTS_c_f.
35145         (carg_test_data): Likewise.
35146         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35147         (ccos_test_data): Update call to AUTO_TESTS_c_c.
35148         (ccosh_test_data): Likewise.
35149         (cexp_test_data): Likewise.
35150         (clog_test_data): Likewise.
35151         (clog10_test_data): Likewise.
35152         (cos_test_data): Update call to AUTO_TESTS_f_f.
35153         (cos_test): Use ALL_RM_TEST.
35154         (cos_tonearest_test_data): Remove.
35155         (cos_test_tonearest): Likewise.
35156         (cos_towardzero_test_data): Likewise.
35157         (cos_test_towardzero): Likewise.
35158         (cos_downward_test_data): Likewise.
35159         (cos_test_downward): Likewise.
35160         (cos_upward_test_data): Likewise.
35161         (cos_test_upward): Likewise.
35162         (cosh_test_data): Update call to AUTO_TESTS_f_f.
35163         (cosh_test): Use ALL_RM_TEST.
35164         (cosh_tonearest_test_data): Remove.
35165         (cosh_test_tonearest): Likewise.
35166         (cosh_towardzero_test_data): Likewise.
35167         (cosh_test_towardzero): Likewise.
35168         (cosh_downward_test_data): Likewise.
35169         (cosh_test_downward): Likewise.
35170         (cosh_upward_test_data): Likewise.
35171         (cosh_test_upward): Likewise.
35172         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35173         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35174         (ctan_test_data): Likewise.
35175         (ctan_test): Use ALL_RM_TEST.
35176         (ctan_tonearest_test_data): Remove.
35177         (ctan_test_tonearest): Likewise.
35178         (ctan_towardzero_test_data): Likewise.
35179         (ctan_test_towardzero): Likewise.
35180         (ctan_downward_test_data): Likewise.
35181         (ctan_test_downward): Likewise.
35182         (ctan_upward_test_data): Likewise.
35183         (ctan_test_upward): Likewise.
35184         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
35185         (ctanh_test): Use ALL_RM_TEST.
35186         (ctanh_tonearest_test_data): Remove.
35187         (ctanh_test_tonearest): Likewise.
35188         (ctanh_towardzero_test_data): Likewise.
35189         (ctanh_test_towardzero): Likewise.
35190         (ctanh_downward_test_data): Likewise.
35191         (ctanh_test_downward): Likewise.
35192         (ctanh_upward_test_data): Likewise.
35193         (ctanh_test_upward): Likewise.
35194         (erf_test_data): Update call to AUTO_TESTS_f_f.
35195         (erfc_test_data): Likewise.
35196         (exp_test_data): Likewise.
35197         (exp_test): Use ALL_RM_TEST.
35198         (exp_tonearest_test_data): Remove.
35199         (exp_test_tonearest): Likewise.
35200         (exp_towardzero_test_data): Likewise.
35201         (exp_test_towardzero): Likewise.
35202         (exp_downward_test_data): Likewise.
35203         (exp_test_downward): Likewise.
35204         (exp_upward_test_data): Likewise.
35205         (exp_test_upward): Likewise.
35206         (exp10_test_data): Update call to AUTO_TESTS_f_f.
35207         (exp10_test): Use ALL_RM_TEST.
35208         (exp10_tonearest_test_data): Remove.
35209         (exp10_test_tonearest): Likewise.
35210         (exp10_towardzero_test_data): Likewise.
35211         (exp10_test_towardzero): Likewise.
35212         (exp10_downward_test_data): Likewise.
35213         (exp10_test_downward): Likewise.
35214         (exp10_upward_test_data): Likewise.
35215         (exp10_test_upward): Likewise.
35216         (exp2_test_data): Update call to AUTO_TESTS_f_f.
35217         (expm1_test_data): Likewise.
35218         (expm1_test): Use ALL_RM_TEST.
35219         (expm1_tonearest_test_data): Remove.
35220         (expm1_test_tonearest): Likewise.
35221         (expm1_towardzero_test_data): Likewise.
35222         (expm1_test_towardzero): Likewise.
35223         (expm1_downward_test_data): Likewise.
35224         (expm1_test_downward): Likewise.
35225         (expm1_upward_test_data): Likewise.
35226         (expm1_test_upward): Likewise.
35227         (fma_test_data): Update call to AUTO_TESTS_fff_f.
35228         (fma_test): Use ALL_RM_TEST.
35229         (fma_towardzero_test_data): Remove.
35230         (fma_test_towardzero): Likewise.
35231         (fma_downward_test_data): Likewise.
35232         (fma_test_downward): Likewise.
35233         (fma_upward_test_data): Likewise.
35234         (fma_test_upward): Likewise.
35235         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
35236         (j0_test_data): Update call to AUTO_TESTS_f_f.
35237         (j1_test_data): Likewise.
35238         (jn_test_data): Update call to AUTO_TESTS_if_f.
35239         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
35240         (log_test_data): Update call to AUTO_TESTS_f_f.
35241         (log10_test_data): Likewise.
35242         (log1p_test_data): Likewise.
35243         (log2_test_data): Likewise.
35244         (pow_test_data): Update call to AUTO_TESTS_ff_f.
35245         (pow_tonearest_test_data): Likewise.
35246         (sin_test_data): Update call to AUTO_TESTS_f_f.
35247         (sin_test): Use ALL_RM_TEST.
35248         (sin_tonearest_test_data): Remove.
35249         (sin_test_tonearest): Likewise.
35250         (sin_towardzero_test_data): Likewise.
35251         (sin_test_towardzero): Likewise.
35252         (sin_downward_test_data): Likewise.
35253         (sin_test_downward): Likewise.
35254         (sin_upward_test_data): Likewise.
35255         (sin_test_upward): Likewise.
35256         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
35257         (sinh_test_data): Update call to AUTO_TESTS_f_f.
35258         (sinh_test): Use ALL_RM_TEST.
35259         (sinh_tonearest_test_data): Remove.
35260         (sinh_test_tonearest): Likewise.
35261         (sinh_towardzero_test_data): Likewise.
35262         (sinh_test_towardzero): Likewise.
35263         (sinh_downward_test_data): Likewise.
35264         (sinh_test_downward): Likewise.
35265         (sinh_upward_test_data): Likewise.
35266         (sinh_test_upward): Likewise.
35267         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35268         (sqrt_test): Use ALL_RM_TEST.
35269         (sqrt_tonearest_test_data): Remove.
35270         (sqrt_test_tonearest): Likewise.
35271         (sqrt_towardzero_test_data): Likewise.
35272         (sqrt_test_towardzero): Likewise.
35273         (sqrt_downward_test_data): Likewise.
35274         (sqrt_test_downward): Likewise.
35275         (sqrt_upward_test_data): Likewise.
35276         (sqrt_test_upward): Likewise.
35277         (tan_test_data): Update call to AUTO_TESTS_f_f.
35278         (tan_test): Use ALL_RM_TEST.
35279         (tan_tonearest_test_data): Remove.
35280         (tan_test_tonearest): Likewise.
35281         (tan_towardzero_test_data): Likewise.
35282         (tan_test_towardzero): Likewise.
35283         (tan_downward_test_data): Likewise.
35284         (tan_test_downward): Likewise.
35285         (tan_upward_test_data): Likewise.
35286         (tan_test_upward): Likewise.
35287         (tanh_test_data): Update call to AUTO_TESTS_f_f.
35288         (tgamma_test_data): Likewise.
35289         (y0_test_data): Likewise.
35290         (y1_test_data): Likewise.
35291         (yn_test_data): Update call to AUTO_TESTS_if_f.
35292         (main): Do not call removed functions.
35294 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35296         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35297         (ldexp_test_data): Remove.
35298         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
35299         scalbn_test_data.
35300         (scalb_test): Use ALL_RM_TEST.
35302 2014-03-19  Andreas Schwab  <schwab@suse.de>
35304         * nscd/nscd.service: Also invalidate netgroup cache on reload.
35306 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35308         [BZ #16649]
35309         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35310         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35311         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35312         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35313         (__ASSUME_PREADV): Undefine.
35314         (__ASSUME_PWRITEV): Likewise.
35316 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35318         * bits/mman-linux.h: Add comment about non-Linux use.
35319         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35320         bits/mman-linux.h resting place.
35322         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35323         * bits/mman-linux.h: ... here.
35325 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35327         * conform/conformtest.pl: Add standard definition when calling C
35328         preprocessor on data files.
35329         (checknamespace): Remove unused variable.
35331 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35333         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35334         minus_oflow, plus_uflow and minus_uflow in expected results.
35335         * math/libm-test.inc (scalbn_test_data): Add more tests of
35336         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
35337         minus_uflow.
35338         (scalbn_test): Use ALL_RM_TEST.
35339         (scalbln_test_data): Add more tests of negative arguments.  Use
35340         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
35341         (scalbln_test): Use ALL_RM_TEST.
35343 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35345         * scripts/abilist.awk: Ignore symbols marked with .hidden.
35347 2014-03-18  Will Newton  <will.newton@linaro.org>
35349         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35350         inaccurate comment.
35352 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35354         * Makerules [!subdir] (check-abi): Exit with error status if a
35355         test failed.
35357 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35359         * math/libm-test.inc (nearbyint_test_data): Include all tests used
35360         for rint.  Include results for all rounding modes.
35361         (nearbyint_test): Use ALL_RM_TEST.
35362         (rint_test_data): Include all tests used for nearbyint.
35364 2014-03-17  Will Newton  <will.newton@linaro.org>
35366         * nptl/sysdeps/pthread/pthread.h: Revert previous
35367         change.
35369         * sysdeps/generic/ldsodefs.h: Revert previous
35370         change.
35372         * libio/genops.c: Revert previous change.
35373         * libio/libioP.h: Likewise.
35374         * stdio-common/vfprintf.c: Likewise.
35376         * sysdeps/generic/math_private.h: Revert previous
35377         change.
35379         * sysdeps/generic/math_private.h: Check whether
35380         HAVE_RM_CTX is defined with #ifdef rather
35381         than #if.
35383         * argp/argp-fmtstream.h: Check whether
35384         __STRICT_ANSI__ is defined with #ifdef rather
35385         than #if.
35386         * argp/argp.h: Likewise.
35388         * libio/genops.c: Check whether
35389         _IO_JUMPS_OFFSET is defined with #ifdef rather
35390         than #if.
35391         * libio/libioP.h: Likewise.
35392         * stdio-common/vfprintf.c: Likewise.
35394         * sysdeps/generic/ldsodefs.h: Check whether
35395         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
35396         than #if.
35398         * nptl/sysdeps/pthread/pthread.h: Check
35399         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
35400         its value.
35402 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35404         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
35405         setting O_APPEND.
35406         * libio/tst-ftell-active-handler.c (do_append_test): Add a
35407         test case.
35409         [BZ #16680]
35410         * libio/fileops.c (_IO_file_open): Seek to end of file but
35411         don't cache the offset.
35412         (get_file_offset): Remove function.
35413         (do_ftell): Use cached offset when available.
35414         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
35415         don't cache the offset.
35416         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
35417         case.
35418         (do_one_test): Call it.
35419         (do_ftell_test): Fix up expected old offset for a+ mode.
35420         * libio/wfileops.c (do_ftell_wide): Used cached offset when
35421         available.
35423         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
35424         up test status with function return status.
35425         (do_write_test): Likewise.
35426         (do_append_test): Likewise.
35428         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
35429         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
35430         Remove.
35432 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35434         * math/gen-libm-test.pl (parse_args): Handle results specified for
35435         each rounding mode separately.
35436         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
35437         tests and results from lrint_tonearest_test_data,
35438         lrint_towardzero_test_data, lrint_downward_test_data and
35439         lrint_upward_test_data.
35440         (lrint_test): Use ALL_RM_TEST.
35441         (lrint_tonearest_test_data): Remove.
35442         (lrint_test_tonearest): Likewise.
35443         (lrint_towardzero_test_data): Likewise.
35444         (lrint_test_towardzero): Likewise.
35445         (lrint_downward_test_data): Likewise.
35446         (lrint_test_downward): Likewise.
35447         (lrint_upward_test_data): Likewise.
35448         (lrint_test_upward): Likewise.
35449         (llrint_test_data): Merge in per-rounding-mode tests and results
35450         from llrint_tonearest_test_data, llrint_towardzero_test_data,
35451         llrint_downward_test_data and llrint_upward_test_data.
35452         (llrint_test): Use ALL_RM_TEST.
35453         (llrint_tonearest_test_data): Remove.
35454         (llrint_test_tonearest): Likewise.
35455         (llrint_towardzero_test_data): Likewise.
35456         (llrint_test_towardzero): Likewise.
35457         (llrint_downward_test_data): Likewise.
35458         (llrint_test_downward): Likewise.
35459         (llrint_upward_test_data): Likewise.
35460         (llrint_test_upward): Likewise.
35461         (rint_test_data): Merge in per-rounding-mode tests and results
35462         from rint_tonearest_test_data, rint_towardzero_test_data,
35463         rint_downward_test_data and rint_upward_test_data.  Add
35464         per-rounding-mode results for tests not in those arrays.
35465         (rint_test): Use ALL_RM_TEST.
35466         (rint_tonearest_test_data): Remove.
35467         (rint_test_tonearest): Likewise.
35468         (rint_towardzero_test_data): Likewise.
35469         (rint_test_towardzero): Likewise.
35470         (rint_downward_test_data): Likewise.
35471         (rint_test_downward): Likewise.
35472         (rint_upward_test_data): Likewise.
35473         (rint_test_upward): Likewise.
35474         (main): Don't call removed functions.
35476 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35478         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
35479         "Compiled on ..." crapola.  It is anti-useful.
35481 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
35483         * scripts/evaluate-test.sh: Handle fourth argument to determine
35484         whether test run should stop on failure.
35485         * Makeconfig (stop-on-test-failure): New variable.
35486         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
35487         $(stop-on-test-failure).
35488         * Makefile (tests): Give a summary of results from testing and
35489         exit with failure status if they include an ERROR or FAIL.
35490         (xtests): Likewise.
35491         * manual/install.texi (Configuring and compiling): Mention
35492         stop-on-test-failure=y.
35493         * INSTALL: Regenerated.
35495 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35497         * scripts/versionlist.awk: New file.
35498         * Makerules [$(build-shared) = yes]
35499         (postclean-generated): Add Versions.def, not Versions.def.v and
35500         Versions.def.v.i.
35501         ($(common-objpfx)Versions.def.v.i): Target removed.
35502         ($(common-objpfx)Versions.def): New target.
35503         ($(common-objpfx)Versions.all): Depend on that rather that
35504         $(common-objpfx)Versions.def.v.
35505         * Versions.def: File removed.
35507         * Makeconfig (+gccwarn): Add -Wundef.
35508         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
35509         a dl-sysdep.h breaking its contract.
35510         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
35511         * include/stackinfo.h: New file.
35512         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
35513         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
35514         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
35515         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
35516         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
35517         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
35518         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35519         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35520         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35521         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35522         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35523         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
35524         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35525         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35526         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35528 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35530         [BZ #16707]
35531         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
35532         implementation.
35533         * math/libm-test.inc (round_test_data): Add more tests.
35535         [BZ #16706]
35536         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
35537         implementation.
35538         * math/libm-test.inc (nearbyint_test_data): Add more tests.
35540         [BZ #16701]
35541         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
35542         implementation.
35543         * math/libm-test.inc (ceil_test_data): Add more tests.
35545         * math/libm-test.inc (trunc_test_data): Add more tests related to
35546         BZ#16414.
35548 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35550         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
35551         with #if rather than #ifdef.
35552         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
35554 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
35556         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
35557         first.  Disable AVX-512 GCC support if assembler doesn't support
35558         it.
35559         * sysdeps/x86_64/configure: Regenerated.
35561 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
35563         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
35564         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
35565         (__old_pthread_attr_setstack): Likewise.
35566         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
35567         [!_STACK_GROWS_DOWN]: Likewise.
35569 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
35571         * config.make.in (have-bash2): Delete.
35572         * configure.ac (libc_cv_have_bash2): Delete.
35573         * configure: Regenerate.
35574         * elf/Makefile (common-ldd-rewrite): Rename to ...
35575         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
35576         (sh-ldd-rewrite): Delete.
35577         (bash-ldd-rewrite): Delete.
35578         (have-bash2): Delete checks.
35579         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
35580         ldd-rewrite.
35582         * config.make.in (have-ksh): Delete.
35583         (KSH): Delete.
35584         * configure.ac (libc_cv_have_ksh): Delete.
35585         * configure: Regenerate.
35587         * elf/Makefile: Delete $(have-ksh) check.
35588         ($(objpfx)sotruss): Change KSH to BASH.
35589         * elf/sotruss.ksh: Rename to ...
35590         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
35591         function style to match POSIX.  Drop ksh vim mode setting.
35593         * manual/time.texi (Specifying the Time Zone with TZ): Change
35594         Tuesday to Thursday.
35596         * debug/tst-longjmp_chk2.c: Update header comment.
35597         (stackoverflow_handler): Add comment.  Call assert on pass value.
35599 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
35601         [BZ #16194]
35602         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
35603         (HAVE_AVX512_ASM_SUPPORT): Likewise.
35604         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
35605         (La_x86_64_vector): Add zmm.
35606         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
35607         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
35608         ($(objpfx)tst-audit10): New target.
35609         ($(objpfx)tst-audit10.out): Likewise.
35610         (tst-audit10-ENV): New.
35611         (AVX512-CFLAGS): Likewise.
35612         (CFLAGS-tst-audit10.c): Likewise.
35613         (CFLAGS-tst-auditmod10a.c): Likewise.
35614         (CFLAGS-tst-auditmod10b.c): Likewise.
35615         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
35616         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
35617         * sysdeps/x86_64/configure: Regenerated.
35618         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
35619         AVX-512 zmm register support.
35620         (_dl_x86_64_save_sse): Likewise.
35621         (_dl_x86_64_restore_sse): Likewise.
35622         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
35623         size vector registers.
35624         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
35625         (ZMM_SIZE): Likewise.
35626         * sysdeps/x86_64/tst-audit10.c: New file.
35627         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
35628         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
35630 2014-03-13  Roland McGrath  <roland@hack.frob.com>
35632         * configure.ac (HAVE_EHDR_START): New check.
35633         * configure: Regenerated.
35634         * config.h.in (HAVE_EHDR_START): New #undef.
35635         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
35636         assuming the lowest-addressed segment maps the start of the file.
35638 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
35640         * INSTALL: Regenerated.
35642 2014-03-13  Will Newton  <will.newton@linaro.org>
35644         * manual/setjmp.texi (System V contexts): Improve
35645         clarity and grammar of documentation.
35647 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
35649         [BZ #16381]
35650         * elf/Makefile (tests): Add tst-pie2.
35651         (tests-pie): Add tst-pie2.
35652         * elf/tst-pie2.c: New file.
35653         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
35654         for ET_EXEC.
35655         * elf/rtld.c (map_doit): Load executable as lt_executable.
35656         (dl_main): Likewise.
35658 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
35660         [BZ #16642]
35661         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35662         (__ASSUME_PSELECT): Undefine.
35664 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35666         [BZ #16689]
35667         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
35668         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
35669         static build.
35670         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
35671         selector for static builds.
35673 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35675         [BZ #16695]
35676         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
35677         key in the buffer.
35679 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35681         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
35682         IFUNC selector for static builds.
35684 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
35686         * sysdeps/mips/math_private.h [__mips_hard_float]
35687         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
35688         libc_feresetround_mips_ctx.
35689         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
35690         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
35691         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
35693         [BZ #16677]
35694         * math/s_nextafter.c (__nextafter): Do not return value from
35695         overflowing computation.
35696         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35697         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
35698         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35699         Likewise.
35700         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
35701         Likewise.
35702         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35703         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
35705 2014-03-11  Roland McGrath  <roland@hack.frob.com>
35707         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
35708         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
35709         Move sfi_sp use from the load-multiple (that no longer sets sp) to
35710         the new mov targetting sp.
35712 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35714         [BZ #16683]
35715         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
35716         Define it for static builds as well.
35717         (NO_BZERO_IMPL): Likewise.
35719 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35721         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
35722         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
35723         multiarch strspn for PPC64.
35724         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
35725         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
35726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35727         (__libc_ifunc_impl_list): Likewise.
35728         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
35729         multiarch optimizations
35730         * string/strspn.c (strspn): Using macro to redefine symbol name.
35732 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35733             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35735         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
35736         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
35737         multiarch strncat for PPC64.
35738         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
35739         * sysdeps/powerpc/powerpc64/multiarch/strncat-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 strncat
35743         multiarch optimizations
35745 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35747         [BZ #16639]
35748         * nscd/nscd.service: Make service type forking.
35750 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35752         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
35753         sign in non default rounding modes.
35754         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
35756 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
35758         * math/libm-test.inc (ALL_RM_TEST): New macro.
35759         (ceil_test): Use ALL_RM_TEST.
35760         (cimag_test): Likewise.
35761         (conj_test): Likewise.
35762         (copysign_test): Likewise.
35763         (cproj_test): Likewise.
35764         (creal_test): Likewise.
35765         (fabs_test): Likewise.
35766         (floor_test): Likewise.
35767         (fmax_test): Likewise.
35768         (fmin_test): Likewise.
35769         (fmod_test): Likewise.
35770         (fpclassify_test): Likewise.
35771         (frexp_test): Likewise.
35772         (ilogb_test): Likewise.
35773         (isfinite_test): Likewise.
35774         (finite_test): Likewise.
35775         (isgreater_test): Likewise.
35776         (isgreaterequal_test): Likewise.
35777         (isinf_test): Likewise.
35778         (isless_test): Likewise.
35779         (islessequal_test): Likewise.
35780         (islessgreater_test): Likewise.
35781         (isnan_test): Likewise.
35782         (isnormal_test): Likewise.
35783         (issignaling_test): Likewise.
35784         (isunordered_test): Likewise.
35785         (logb_test): Likewise.
35786         (logb_downward_test_data): Remove.
35787         (logb_test_downward): Likewise.
35788         (lround_test): Use ALL_RM_TEST.
35789         (llround_test): Likewise.
35790         (modf_test): Likewise.
35791         (nexttoward_test): Likewise.
35792         (remainder_test): Likewise.
35793         (drem_test): Likewise.
35794         (remainder_tonearest_test_data): Likewise.
35795         (remainder_test_tonearest): Likewise.
35796         (drem_test_tonearest): Likewise.
35797         (remainder_towardzero_test_data): Likewise.
35798         (remainder_test_towardzero): Likewise.
35799         (drem_test_towardzero): Likewise.
35800         (remainder_downward_test_data): Likewise.
35801         (remainder_test_downward): Likewise.
35802         (drem_test_downward): Likewise.
35803         (remainder_upward_test_data): Likewise.
35804         (remainder_test_upward): Likewise.
35805         (drem_test_upward): Likewise.
35806         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
35807         (round_test): Use ALL_RM_TEST.
35808         (signbit_test): Likewise.
35809         (trunc_test): Likewise.
35810         (significand_test): Likewise.
35811         (main): Don't call removed functions.
35813 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35815         [BZ #16674]
35816         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
35817         || __USE_XOPEN2K8].
35818         (ILL_ILLOPN): Likewise.
35819         (ILL_ILLADR): Likewise.
35820         (ILL_ILLTRP): Likewise.
35821         (ILL_PRVOPC): Likewise.
35822         (ILL_PRVREG): Likewise.
35823         (ILL_COPROC): Likewise.
35824         (ILL_BADSTK): Likewise.
35825         (FPE_INTDIV): Likewise.
35826         (FPE_INTOVF): Likewise.
35827         (FPE_FLTDIV): Likewise.
35828         (FPE_FLTOVF): Likewise.
35829         (FPE_FLTUND): Likewise.
35830         (FPE_FLTRES): Likewise.
35831         (FPE_FLTINV): Likewise.
35832         (FPE_FLTSUB): Likewise.
35833         (SEGV_MAPERR): Likewise.
35834         (SEGV_ACCERR): Likewise.
35835         (BUS_ADRALN): Likewise.
35836         (BUS_ADRERR): Likewise.
35837         (BUS_OBJERR): Likewise.
35838         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35839         (TRAP_TRACE): Likewise.
35840         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35841         __USE_XOPEN2K8].
35842         (CLD_KILLED): Likewise.
35843         (CLD_DUMPED): Likewise.
35844         (CLD_TRAPPED): Likewise.
35845         (CLD_STOPPED): Likewise.
35846         (CLD_CONTINUED): Likewise.
35847         (POLL_IN): Likewise.
35848         (POLL_OUT): Likewise.
35849         (POLL_MSG): Likewise.
35850         (POLL_ERR): Likewise.
35851         (POLL_PRI): Likewise.
35852         (POLL_HUP): Likewise.
35853         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
35854         Likewise.
35855         (ILL_ILLOPN): Likewise.
35856         (ILL_ILLADR): Likewise.
35857         (ILL_ILLTRP): Likewise.
35858         (ILL_PRVOPC): Likewise.
35859         (ILL_PRVREG): Likewise.
35860         (ILL_COPROC): Likewise.
35861         (ILL_BADSTK): Likewise.
35862         (FPE_INTDIV): Likewise.
35863         (FPE_INTOVF): Likewise.
35864         (FPE_FLTDIV): Likewise.
35865         (FPE_FLTOVF): Likewise.
35866         (FPE_FLTUND): Likewise.
35867         (FPE_FLTRES): Likewise.
35868         (FPE_FLTINV): Likewise.
35869         (FPE_FLTSUB): Likewise.
35870         (SEGV_MAPERR): Likewise.
35871         (SEGV_ACCERR): Likewise.
35872         (BUS_ADRALN): Likewise.
35873         (BUS_ADRERR): Likewise.
35874         (BUS_OBJERR): Likewise.
35875         (BUS_MCEERR_AR): Likewise.
35876         (BUS_MCEERR_AO): Likewise.
35877         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35878         (TRAP_TRACE): Likewise.
35879         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35880         __USE_XOPEN2K8].
35881         (CLD_KILLED): Likewise.
35882         (CLD_DUMPED): Likewise.
35883         (CLD_TRAPPED): Likewise.
35884         (CLD_STOPPED): Likewise.
35885         (CLD_CONTINUED): Likewise.
35886         (POLL_IN): Likewise.
35887         (POLL_OUT): Likewise.
35888         (POLL_MSG): Likewise.
35889         (POLL_ERR): Likewise.
35890         (POLL_PRI): Likewise.
35891         (POLL_HUP): Likewise.
35892         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
35893         (ILL_ILLOPN): Likewise.
35894         (ILL_ILLADR): Likewise.
35895         (ILL_ILLTRP): Likewise.
35896         (ILL_PRVOPC): Likewise.
35897         (ILL_PRVREG): Likewise.
35898         (ILL_COPROC): Likewise.
35899         (ILL_BADSTK): Likewise.
35900         (FPE_INTDIV): Likewise.
35901         (FPE_INTOVF): Likewise.
35902         (FPE_FLTDIV): Likewise.
35903         (FPE_FLTOVF): Likewise.
35904         (FPE_FLTUND): Likewise.
35905         (FPE_FLTRES): Likewise.
35906         (FPE_FLTINV): Likewise.
35907         (FPE_FLTSUB): Likewise.
35908         (SEGV_MAPERR): Likewise.
35909         (SEGV_ACCERR): Likewise.
35910         (BUS_ADRALN): Likewise.
35911         (BUS_ADRERR): Likewise.
35912         (BUS_OBJERR): Likewise.
35913         (BUS_MCEERR_AR): Likewise.
35914         (BUS_MCEERR_AO): Likewise.
35915         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35916         (TRAP_TRACE): Likewise.
35917         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35918         __USE_XOPEN2K8].
35919         (CLD_KILLED): Likewise.
35920         (CLD_DUMPED): Likewise.
35921         (CLD_TRAPPED): Likewise.
35922         (CLD_STOPPED): Likewise.
35923         (CLD_CONTINUED): Likewise.
35924         (POLL_IN): Likewise.
35925         (POLL_OUT): Likewise.
35926         (POLL_MSG): Likewise.
35927         (POLL_ERR): Likewise.
35928         (POLL_PRI): Likewise.
35929         (POLL_HUP): Likewise.
35930         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
35931         Likewise.
35932         (ILL_ILLOPN): Likewise.
35933         (ILL_ILLADR): Likewise.
35934         (ILL_ILLTRP): Likewise.
35935         (ILL_PRVOPC): Likewise.
35936         (ILL_PRVREG): Likewise.
35937         (ILL_COPROC): Likewise.
35938         (ILL_BADSTK): Likewise.
35939         (ILL_BADIADDR): Likewise.
35940         (ILL_BREAK): Likewise.
35941         (FPE_INTDIV): Likewise.
35942         (FPE_INTOVF): Likewise.
35943         (FPE_FLTDIV): Likewise.
35944         (FPE_FLTOVF): Likewise.
35945         (FPE_FLTUND): Likewise.
35946         (FPE_FLTRES): Likewise.
35947         (FPE_FLTINV): Likewise.
35948         (FPE_FLTSUB): Likewise.
35949         (FPE_DECOVF): Likewise.
35950         (FPE_DECDIV): Likewise.
35951         (FPE_DECERR): Likewise.
35952         (FPE_INVASC): Likewise.
35953         (FPE_INVDEC): Likewise.
35954         (SEGV_MAPERR): Likewise.
35955         (SEGV_ACCERR): Likewise.
35956         (SEGV_PSTKOVF): Likewise.
35957         (BUS_ADRALN): Likewise.
35958         (BUS_ADRERR): Likewise.
35959         (BUS_OBJERR): Likewise.
35960         (BUS_MCEERR_AR): Likewise.
35961         (BUS_MCEERR_AO): Likewise.
35962         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35963         (TRAP_TRACE): Likewise.
35964         (TRAP_BRANCH): Likewise.
35965         (TRAP_HWBKPT): Likewise.
35966         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35967         __USE_XOPEN2K8].
35968         (CLD_KILLED): Likewise.
35969         (CLD_DUMPED): Likewise.
35970         (CLD_TRAPPED): Likewise.
35971         (CLD_STOPPED): Likewise.
35972         (CLD_CONTINUED): Likewise.
35973         (POLL_IN): Likewise.
35974         (POLL_OUT): Likewise.
35975         (POLL_MSG): Likewise.
35976         (POLL_ERR): Likewise.
35977         (POLL_PRI): Likewise.
35978         (POLL_HUP): Likewise.
35979         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
35980         (ILL_ILLOPN): Likewise.
35981         (ILL_ILLADR): Likewise.
35982         (ILL_ILLTRP): Likewise.
35983         (ILL_PRVOPC): Likewise.
35984         (ILL_PRVREG): Likewise.
35985         (ILL_COPROC): Likewise.
35986         (ILL_BADSTK): Likewise.
35987         (FPE_INTDIV): Likewise.
35988         (FPE_INTOVF): Likewise.
35989         (FPE_FLTDIV): Likewise.
35990         (FPE_FLTOVF): Likewise.
35991         (FPE_FLTUND): Likewise.
35992         (FPE_FLTRES): Likewise.
35993         (FPE_FLTINV): Likewise.
35994         (FPE_FLTSUB): Likewise.
35995         (SEGV_MAPERR): Likewise.
35996         (SEGV_ACCERR): Likewise.
35997         (BUS_ADRALN): Likewise.
35998         (BUS_ADRERR): Likewise.
35999         (BUS_OBJERR): Likewise.
36000         (BUS_MCEERR_AR): Likewise.
36001         (BUS_MCEERR_AO): Likewise.
36002         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36003         (TRAP_TRACE): Likewise.
36004         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36005         __USE_XOPEN2K8].
36006         (CLD_KILLED): Likewise.
36007         (CLD_DUMPED): Likewise.
36008         (CLD_TRAPPED): Likewise.
36009         (CLD_STOPPED): Likewise.
36010         (CLD_CONTINUED): Likewise.
36011         (POLL_IN): Likewise.
36012         (POLL_OUT): Likewise.
36013         (POLL_MSG): Likewise.
36014         (POLL_ERR): Likewise.
36015         (POLL_PRI): Likewise.
36016         (POLL_HUP): Likewise.
36017         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
36018         (ILL_ILLOPN): Likewise.
36019         (ILL_ILLADR): Likewise.
36020         (ILL_ILLTRP): Likewise.
36021         (ILL_PRVOPC): Likewise.
36022         (ILL_PRVREG): Likewise.
36023         (ILL_COPROC): Likewise.
36024         (ILL_BADSTK): Likewise.
36025         (FPE_INTDIV): Likewise.
36026         (FPE_INTOVF): Likewise.
36027         (FPE_FLTDIV): Likewise.
36028         (FPE_FLTOVF): Likewise.
36029         (FPE_FLTUND): Likewise.
36030         (FPE_FLTRES): Likewise.
36031         (FPE_FLTINV): Likewise.
36032         (FPE_FLTSUB): Likewise.
36033         (SEGV_MAPERR): Likewise.
36034         (SEGV_ACCERR): Likewise.
36035         (BUS_ADRALN): Likewise.
36036         (BUS_ADRERR): Likewise.
36037         (BUS_OBJERR): Likewise.
36038         (BUS_MCEERR_AR): Likewise.
36039         (BUS_MCEERR_AO): Likewise.
36040         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36041         (TRAP_TRACE): Likewise.
36042         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36043         __USE_XOPEN2K8].
36044         (CLD_KILLED): Likewise.
36045         (CLD_DUMPED): Likewise.
36046         (CLD_TRAPPED): Likewise.
36047         (CLD_STOPPED): Likewise.
36048         (CLD_CONTINUED): Likewise.
36049         (POLL_IN): Likewise.
36050         (POLL_OUT): Likewise.
36051         (POLL_MSG): Likewise.
36052         (POLL_ERR): Likewise.
36053         (POLL_PRI): Likewise.
36054         (POLL_HUP): Likewise.
36055         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
36056         (ILL_ILLOPN): Likewise.
36057         (ILL_ILLADR): Likewise.
36058         (ILL_ILLTRP): Likewise.
36059         (ILL_PRVOPC): Likewise.
36060         (ILL_PRVREG): Likewise.
36061         (ILL_COPROC): Likewise.
36062         (ILL_BADSTK): Likewise.
36063         (FPE_INTDIV): Likewise.
36064         (FPE_INTOVF): Likewise.
36065         (FPE_FLTDIV): Likewise.
36066         (FPE_FLTOVF): Likewise.
36067         (FPE_FLTUND): Likewise.
36068         (FPE_FLTRES): Likewise.
36069         (FPE_FLTINV): Likewise.
36070         (FPE_FLTSUB): Likewise.
36071         (SEGV_MAPERR): Likewise.
36072         (SEGV_ACCERR): Likewise.
36073         (BUS_ADRALN): Likewise.
36074         (BUS_ADRERR): Likewise.
36075         (BUS_OBJERR): Likewise.
36076         (BUS_MCEERR_AR): Likewise.
36077         (BUS_MCEERR_AO): Likewise.
36078         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36079         (TRAP_TRACE): Likewise.
36080         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36081         __USE_XOPEN2K8].
36082         (CLD_KILLED): Likewise.
36083         (CLD_DUMPED): Likewise.
36084         (CLD_TRAPPED): Likewise.
36085         (CLD_STOPPED): Likewise.
36086         (CLD_CONTINUED): Likewise.
36087         (POLL_IN): Likewise.
36088         (POLL_OUT): Likewise.
36089         (POLL_MSG): Likewise.
36090         (POLL_ERR): Likewise.
36091         (POLL_PRI): Likewise.
36092         (POLL_HUP): Likewise.
36093         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
36094         (ILL_ILLOPN): Likewise.
36095         (ILL_ILLADR): Likewise.
36096         (ILL_ILLTRP): Likewise.
36097         (ILL_PRVOPC): Likewise.
36098         (ILL_PRVREG): Likewise.
36099         (ILL_COPROC): Likewise.
36100         (ILL_BADSTK): Likewise.
36101         (ILL_DBLFLT): Likewise.
36102         (ILL_HARDWALL): Likewise.
36103         (FPE_INTDIV): Likewise.
36104         (FPE_INTOVF): Likewise.
36105         (FPE_FLTDIV): Likewise.
36106         (FPE_FLTOVF): Likewise.
36107         (FPE_FLTUND): Likewise.
36108         (FPE_FLTRES): Likewise.
36109         (FPE_FLTINV): Likewise.
36110         (FPE_FLTSUB): Likewise.
36111         (SEGV_MAPERR): Likewise.
36112         (SEGV_ACCERR): Likewise.
36113         (BUS_ADRALN): Likewise.
36114         (BUS_ADRERR): Likewise.
36115         (BUS_OBJERR): Likewise.
36116         (BUS_MCEERR_AR): Likewise.
36117         (BUS_MCEERR_AO): Likewise.
36118         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36119         (TRAP_TRACE): Likewise.
36120         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36121         __USE_XOPEN2K8].
36122         (CLD_KILLED): Likewise.
36123         (CLD_DUMPED): Likewise.
36124         (CLD_TRAPPED): Likewise.
36125         (CLD_STOPPED): Likewise.
36126         (CLD_CONTINUED): Likewise.
36127         (POLL_IN): Likewise.
36128         (POLL_OUT): Likewise.
36129         (POLL_MSG): Likewise.
36130         (POLL_ERR): Likewise.
36131         (POLL_PRI): Likewise.
36132         (POLL_HUP): Likewise.
36133         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
36134         (ILL_ILLOPN): Likewise.
36135         (ILL_ILLADR): Likewise.
36136         (ILL_ILLTRP): Likewise.
36137         (ILL_PRVOPC): Likewise.
36138         (ILL_PRVREG): Likewise.
36139         (ILL_COPROC): Likewise.
36140         (ILL_BADSTK): Likewise.
36141         (FPE_INTDIV): Likewise.
36142         (FPE_INTOVF): Likewise.
36143         (FPE_FLTDIV): Likewise.
36144         (FPE_FLTOVF): Likewise.
36145         (FPE_FLTUND): Likewise.
36146         (FPE_FLTRES): Likewise.
36147         (FPE_FLTINV): Likewise.
36148         (FPE_FLTSUB): Likewise.
36149         (SEGV_MAPERR): Likewise.
36150         (SEGV_ACCERR): Likewise.
36151         (BUS_ADRALN): Likewise.
36152         (BUS_ADRERR): Likewise.
36153         (BUS_OBJERR): Likewise.
36154         (BUS_MCEERR_AR): Likewise.
36155         (BUS_MCEERR_AO): Likewise.
36156         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36157         (TRAP_TRACE): Likewise.
36158         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36159         __USE_XOPEN2K8].
36160         (CLD_KILLED): Likewise.
36161         (CLD_DUMPED): Likewise.
36162         (CLD_TRAPPED): Likewise.
36163         (CLD_STOPPED): Likewise.
36164         (CLD_CONTINUED): Likewise.
36165         (POLL_IN): Likewise.
36166         (POLL_OUT): Likewise.
36167         (POLL_MSG): Likewise.
36168         (POLL_ERR): Likewise.
36169         (POLL_PRI): Likewise.
36170         (POLL_HUP): Likewise.
36171         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36172         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36174         [BZ #16670]
36175         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36176         before #include of <time.h>.
36177         [!__USE_XOPEN2K] (__need_timespec): Likewise.
36178         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36179         (test-xfail-UNIX98/sched.h/conform): Likewise.
36181 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36183         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
36184         error absence of trapping exception support.
36185         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36187 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36189         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
36190         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
36191         * timezone/Makefile (testdata): Move definition above include of
36192         Rules.
36193         (test-zones): New variable.
36194         (tests-special): Add zone files.
36195         (build-testdata): Use $(evaluate-test).
36197         * elf/Makefile (tests-special): Rename tests to end with .out.
36198         ($(objpfx)noload-mem): Likewise.
36199         ($(objpfx)tst-leaks1-mem): Likewise.
36200         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
36201         * iconv/Makefile (xtests-special): Change test-iconvconfig to
36202         $(objpfx)test-iconvconfig.out.
36203         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
36204         set -e inside subshell and redirect output to file.
36205         * iconvdata/Makefile (generated): Rename tests to end with .out.
36206         Correct type.
36207         (tests-special): Rename tests to end with .out.
36208         ($(objpfx)mtrace-tst-loading): Likewise.
36209         * intl/Makefile (generated): Likewise.
36210         (tests-special): Likewise.
36211         ($(objpfx)mtrace-tst-gettext): Likewise.
36212         * misc/Makefile (generated): Likewise.
36213         (tests-special): Likewise.
36214         ($(objpfx)tst-error1-mem): Likewise.
36215         * nptl/Makefile (tests-special): Likewise.
36216         ($(objpfx)tst-stack3-mem): Likewise.
36217         (generated): Likewise.
36218         * posix/Makefile (generated): Likewise.
36219         (tests-special): Likewise.
36220         (xtests-special): Likewise.
36221         ($(objpfx)tst-fnmatch-mem): Likewise.
36222         ($(objpfx)bug-regex2-mem): Likewise.
36223         ($(objpfx)bug-regex14-mem): Likewise.
36224         ($(objpfx)bug-regex21-mem): Likewise.
36225         ($(objpfx)bug-regex31-mem): Likewise.
36226         ($(objpfx)tst-vfork3-mem): Likewise.
36227         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36228         ($(objpfx)tst-pcre-mem): Likewise.
36229         ($(objpfx)tst-boost-mem): Likewise.
36230         ($(objpfx)bug-ga2-mem): Likewise.
36231         ($(objpfx)bug-glob2-mem): Likewise.
36232         * resolv/Makefile (generate): Likewise.
36233         (tests-special): Likewise.
36234         (xtests-special): Likewise.
36235         (generated): Likewise.
36236         ($(objpfx)mtrace-tst-leaks): Likewise.
36237         ($(objpfx)mtrace-tst-leaks2): Likewise.
36239         * scripts/merge-test-results.sh: New file.
36240         * Makefile (tests-special-notdir): New variable.
36241         (tests): Run merge-test-results.sh.
36242         (xtests): Likewise.
36243         * Rules (tests-special-notdir): New variable.
36244         (xtests-special-notdir): Likewise.
36245         (tests): Run merge-test-results.sh
36246         (xtests): Likewise.
36248         * Makeconfig (test-xfail-name): New variable.
36249         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
36250         compute variable name for expected failures.
36251         * conform/Makefile (conformtest-headers-data): New variable.
36252         (conformtest-standards): Likewise.
36253         (conformtest-headers-ISO): Likewise.
36254         (conformtest-headers-ISO99): Likewise.
36255         (conformtest-headers-ISO11): Likewise.
36256         (conformtest-headers-POSIX): Likewise.
36257         (conformtest-headers-XPG3): Likewise.
36258         (conformtest-headers-XPG4): Likewise.
36259         (conformtest-headers-UNIX98): Likewise.
36260         (conformtest-headers-XOPEN2K): Likewise.
36261         (conformtest-headers-POSIX2008): Likewise.
36262         (conformtest-headers-XOPEN2K8): Likewise.
36263         (conformtest-header-list-base): Likewise.
36264         (conformtest-header-list-tests): Likewise.
36265         (conformtest-header-base): Likewise.
36266         (conformtest-header-tests): Likewise.
36267         (tests-special): Add $(conformtest-header-list-tests).  If
36268         [$(fast-check) && !$(cross-compiling)], add
36269         $(conformtest-header-tests) instead of
36270         $(objpfx)run-conformtest.out.
36271         (generated): Add $(conformtest-header-list-base).  If
36272         [$(fast-check) && !$(cross-compiling)], add
36273         $(conformtest-header-base).  Remove previous setting.
36274         ($(conformtest-header-list-tests)): New target.
36275         (test-xfail-run-conformtest): Remove variable.
36276         ($(objpfx)run-conformtest.out): Remove target.
36277         (test-xfail-ISO11/complex.h/conform): New variable.
36278         (test-xfail-ISO11/stdalign.h/conform): Likewise.
36279         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36280         (test-xfail-XPG3/varargs.h/conform): Likewise.
36281         (test-xfail-XPG4/varargs.h/conform): Likewise.
36282         (test-xfail-UNIX98/varargs.h/conform): Likewise.
36283         (test-xfail-XPG4/ndbm.h/conform): Likewise.
36284         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36285         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36286         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36287         (test-xfail-XPG3/fcntl.h/conform): Likewise.
36288         (test-xfail-XPG3/ftw.h/conform): Likewise.
36289         (test-xfail-XPG3/grp.h/conform): Likewise.
36290         (test-xfail-XPG3/langinfo.h/conform): Likewise.
36291         (test-xfail-XPG3/limits.h/conform): Likewise.
36292         (test-xfail-XPG3/pwd.h/conform): Likewise.
36293         (test-xfail-XPG3/search.h/conform): Likewise.
36294         (test-xfail-XPG3/signal.h/conform): Likewise.
36295         (test-xfail-XPG3/stdio.h/conform): Likewise.
36296         (test-xfail-XPG3/stdlib.h/conform): Likewise.
36297         (test-xfail-XPG3/string.h/conform): Likewise.
36298         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36299         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36300         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36301         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36302         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36303         (test-xfail-XPG3/sys/types.h/conform): Likewise.
36304         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36305         (test-xfail-XPG3/termios.h/conform): Likewise.
36306         (test-xfail-XPG3/time.h/conform): Likewise.
36307         (test-xfail-XPG3/unistd.h/conform): Likewise.
36308         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36309         (test-xfail-XPG4/fcntl.h/conform): Likewise.
36310         (test-xfail-XPG4/langinfo.h/conform): Likewise.
36311         (test-xfail-XPG4/netdb.h/conform): Likewise.
36312         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36313         (test-xfail-XPG4/signal.h/conform): Likewise.
36314         (test-xfail-XPG4/stdio.h/conform): Likewise.
36315         (test-xfail-XPG4/stdlib.h/conform): Likewise.
36316         (test-xfail-XPG4/stropts.h/conform): Likewise.
36317         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36318         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36319         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36320         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36321         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36322         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36323         (test-xfail-XPG4/sys/time.h/conform): Likewise.
36324         (test-xfail-XPG4/sys/types.h/conform): Likewise.
36325         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36326         (test-xfail-XPG4/termios.h/conform): Likewise.
36327         (test-xfail-XPG4/ucontext.h/conform): Likewise.
36328         (test-xfail-XPG4/unistd.h/conform): Likewise.
36329         (test-xfail-XPG4/utmpx.h/conform): Likewise.
36330         (test-xfail-POSIX/sched.h/conform): Likewise.
36331         (test-xfail-POSIX/signal.h/conform): Likewise.
36332         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36333         (test-xfail-POSIX/tar.h/conform): Likewise.
36334         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36335         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36336         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36337         (test-xfail-UNIX98/netdb.h/conform): Likewise.
36338         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
36339         (test-xfail-UNIX98/sched.h/conform): Likewise.
36340         (test-xfail-UNIX98/signal.h/conform): Likewise.
36341         (test-xfail-UNIX98/stdio.h/conform): Likewise.
36342         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
36343         (test-xfail-UNIX98/stropts.h/conform): Likewise.
36344         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
36345         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
36346         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
36347         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
36348         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
36349         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
36350         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36351         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36352         (test-xfail-UNIX98/unistd.h/conform): Likewise.
36353         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
36354         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
36355         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
36356         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
36357         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
36358         (test-xfail-XOPEN2K/math.h/conform): Likewise.
36359         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
36360         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
36361         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
36362         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
36363         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36364         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
36365         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
36366         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
36367         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
36368         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
36369         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
36370         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
36371         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
36372         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36373         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
36374         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
36375         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36376         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
36377         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
36378         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
36379         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
36380         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
36381         (test-xfail-POSIX2008/signal.h/conform): Likewise.
36382         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
36383         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
36384         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36385         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
36386         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
36387         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
36388         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
36389         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
36390         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
36391         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36392         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
36393         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
36394         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
36395         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
36396         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
36397         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
36398         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
36399         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
36400         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
36401         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36402         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
36403         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
36404         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
36405         (conformtest-cc-flags): Likewise.
36406         ($(conformtest-header-tests): New target.
36407         * conform/check-header-lists.sh: New file.
36408         * conform/run-conformtest.sh: Remove.
36410         * conform/conformtest.pl: Allow ' and \ in values given for
36411         constants.
36412         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
36413         inclusion.
36414         [POSIX] (sys/types.h): Likewise.
36415         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
36416         inclusion.
36417         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
36418         inclusion.
36419         * conform/data/signal.h-data (SIGIO): Remove expectation.
36420         [XPG3] (SIGBUS): Do not expect.
36421         [POSIX || XPG3] (SIGPOLL): Likewise.
36422         [POSIX || XPG3] (SIGPROF): Likewise.
36423         [POSIX || XPG3] (SIGSYS): Likewise.
36424         [XPG3] (SIGTRAP): Likewise.
36425         [POSIX || XPG3] (SIGURG): Likewise.
36426         [POSIX || XPG3] (SIGVTALRM): Likewise.
36427         [POSIX || XPG3] (SIGXCPU): Likewise.
36428         [POSIX || XPG3] (SIGXFSZ): Likewise.
36429         [POSIX] (SA_SIGINFO): Expect.
36430         [XPG3] (siginfo_t): Do not expect type or contents.
36431         [POSIX] (si_pid): Do not expect element.
36432         [POSIX] (si_uid): Likewise.
36433         [POSIX] (si_addr): Likewise.
36434         [POSIX] (si_status): Likewise.
36435         [POSIX] (si_band): Likewise.
36436         [XPG4] (si_value): Likewise.
36437         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
36438         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
36439         [POSIX || XPG3] (ILL_ILLADR): Likewise.
36440         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
36441         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
36442         [POSIX || XPG3] (ILL_PRVREG): Likewise.
36443         [POSIX || XPG3] (ILL_COPROC): Likewise.
36444         [POSIX || XPG3] (ILL_BADSTK): Likewise.
36445         [POSIX || XPG3] (FPE_INTDIV): Likewise.
36446         [POSIX || XPG3] (FPE_INTOVF): Likewise.
36447         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
36448         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
36449         [POSIX || XPG3] (FPE_FLTUND): Likewise.
36450         [POSIX || XPG3] (FPE_FLTRES): Likewise.
36451         [POSIX || XPG3] (FPE_FLTINV): Likewise.
36452         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
36453         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
36454         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
36455         [POSIX || XPG3] (BUS_ADRALN): Likewise.
36456         [POSIX || XPG3] (BUS_ADRERR): Likewise.
36457         [POSIX || XPG3] (BUS_OBJERR): Likewise.
36458         [POSIX || XPG3] (CLD_EXITED): Likewise.
36459         [POSIX || XPG3] (CLD_KILLED): Likewise.
36460         [POSIX || XPG3] (CLD_DUMPED): Likewise.
36461         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
36462         [POSIX || XPG3] (CLD_STOPPED): Likewise.
36463         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
36464         [POSIX || XPG3] (POLL_IN): Likewise.
36465         [POSIX || XPG3] (POLL_OUT): Likewise.
36466         [POSIX || XPG3] (POLL_MSG): Likewise.
36467         [POSIX || XPG3] (POLL_ERR): Likewise.
36468         [POSIX || XPG3] (POLL_PRI): Likewise.
36469         [POSIX || XPG3] (POLL_HUP): Likewise.
36470         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
36471         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
36472         (SIG*): Do not allow.
36473         [XPG3] (si_*): Likewise.
36474         [XPG3] (SI_*): Likewise.
36475         [XPG3 || XPG4] (sigev_*): Likewise.
36476         [XPG3 || XPG4] (SIGEV_*): Likewise.
36477         [XPG3 || XPG4] (sival_*): Likewise.
36478         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
36479         [POSIX || XPG3] (BUS_*): Likewise.
36480         [POSIX || XPG3] (CLD_*): Likewise.
36481         [POSIX || XPG3] (FPE_*): Likewise.
36482         [POSIX || XPG3] (ILL_*): Likewise.
36483         [POSIX || XPG3] (POLL_*): Likewise.
36484         [POSIX || XPG3] (SEGV_*): Likewise.
36485         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
36486         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
36487         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
36488         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
36489         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
36490         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
36491         Specify type and value.
36492         (TVERSLEN): Likewise.
36493         (REGTYPE): Likewise.
36494         (AREGTYPE): Likewise.
36495         (LNKTYPE): Likewise.
36496         (SYMTYPE): Likewise.
36497         (CHRTYPE): Likewise.
36498         (BLKTYPE): Likewise.
36499         (DIRTYPE): Likewise.
36500         (FIFOTYPE): Likewise.
36501         (CONTTYPE): Likewise.
36502         (TSUID): Likewise.
36503         (TSGID): Likewise.
36504         (TSVTX): Likewise.
36505         (TUREAD): Likewise.
36506         (TUWRITE): Likewise.
36507         (TUEXEC): Likewise.
36508         (TGREAD): Likewise.
36509         (TGWRITE): Likewise.
36510         (TGEXEC): Likewise.
36511         (TOREAD): Likewise.
36512         (TOWRITE): Likewise.
36513         (TOEXEC): Likewise.
36514         [POSIX] (TSVTX): Expect constant.
36516 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
36518         * Makefile (tests): Change dependencies to ....
36519         (tests-special): ... additions to this variable.
36520         (tests): Depend on $(tests-special).
36521         * Makerules (check-abi-list): New variable.
36522         (check-abi): Depend on $(check-abi-list).
36523         [$(subdir) = elf] (tests-special): Add
36524         $(objpfx)check-abi-libc.out.
36525         [$(build-shared) = yes && subdir] (tests-special): Add
36526         $(check-abi-list).
36527         [$(build-shared) = yes && subdir] (tests): Do not depend on
36528         check-abi.
36529         * Rules (tests): Depend on $(tests-special).
36530         (xtests): Depend on $(xtests-special).
36531         * catgets/Makefile (tests): Change dependencies to ....
36532         (tests-special): ... additions to this variable.
36533         * conform/Makefile (tests): Change dependencies to ....
36534         (tests-special): ... additions to this variable.
36535         * elf/Makefile (tests): Change dependencies to ....
36536         (tests-special): ... additions to this variable.
36537         * grp/Makefile (tests): Change dependencies to ....
36538         (tests-special): ... additions to this variable.
36539         * iconv/Makefile (xtests): Change dependencies to ....
36540         (xtests-special): ... additions to this variable.
36541         * iconvdata/Makefile (tests): Change dependencies to ....
36542         (tests-special): ... additions to this variable.
36543         * intl/Makefile (tests): Change dependencies to ....
36544         (tests-special): ... additions to this variable.  Also add
36545         $(objpfx)tst-gettext.out.
36546         * io/Makefile (tests): Change dependencies to ....
36547         (tests-special): ... additions to this variable.
36548         * libio/Makefile (tests): Change dependencies to ....
36549         (tests-special): ... additions to this variable.
36550         * malloc/Makefile (tests): Change dependencies to ....
36551         (tests-special): ... additions to this variable.
36552         * misc/Makefile (tests): Change dependencies to ....
36553         (tests-special): ... additions to this variable.
36554         * nptl/Makefile (tests): Change dependencies to ....
36555         (tests-special): ... additions to this variable.
36556         * nptl_db/Makefile (tests): Change dependencies to ....
36557         (tests-special): ... additions to this variable.
36558         * posix/Makefile (tests): Change dependencies to ....
36559         (tests-special): ... additions to this variable.
36560         (xtests): Change dependencies to ....
36561         (xtests-special): ... additions to this variable.
36562         * resolv/Makefile (tests): Change dependencies to ....
36563         (tests-special): ... additions to this variable.
36564         (xtests): Change dependencies to ....
36565         (xtests-special): ... additions to this variable.
36566         * stdio-common/Makefile (tests): Change dependencies to ....
36567         (tests-special): ... additions to this variable.
36568         (do-tst-unbputc): Remove target.
36569         (do-tst-printf): Likewise.
36570         * stdlib/Makefile (tests): Change dependencies to ....
36571         (tests-special): ... additions to this variable.
36572         * string/Makefile (tests): Change dependencies to ....
36573         (tests-special): ... additions to this variable.
36574         * sysdeps/x86/Makefile (tests): Change dependencies to ....
36575         (tests-special): ... additions to this variable.
36577         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
36578         whole file.
36579         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
36580         whole file.
36581         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
36582         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
36584         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
36585         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
36586         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
36587         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
36588         * conform/data/libgen.h-data [XPG3]: Likewise.
36589         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
36590         * conform/data/ndbm.h-data [XPG3]: Likewise.
36591         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36592         * conform/data/netdb.h-data [XPG3]: Likewise.
36593         * conform/data/netinet/in.h-data [XPG3]: Likewise.
36594         * conform/data/poll.h-data [XPG3]: Likewise.
36595         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36596         * conform/data/strings.h-data [XPG3]: Likewise.
36597         * conform/data/stropts.h-data [XPG3]: Likewise.
36598         * conform/data/sys/mman.h-data [XPG3]: Likewise.
36599         * conform/data/sys/resource.h-data [XPG3]: Likewise.
36600         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
36601         Likewise.
36602         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
36603         * conform/data/sys/time.h-data [XPG3]: Likewise.
36604         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
36605         * conform/data/sys/uio.h-data [XPG3]: Likewise.
36606         * conform/data/sys/un.h-data [XPG3]: Likewise.
36607         * conform/data/syslog.h-data [XPG3]: Likewise.
36608         * conform/data/ucontext.h-data [XPG3]: Likewise.
36609         * conform/data/utmpx.h-data [XPG3]: Likewise.
36610         * conform/data/varargs.h-data [UNIX98]: Enable file.
36612         * manual/Makefile (INSTALL_INFO): Remove variable setting.
36614         * math/libm-test.inc (struct test_f_f_data): Move expected results
36615         into structure for each rounding mode.
36616         (struct test_ff_f_data): Likewise.
36617         (struct test_ff_f_data_nexttoward): Likewise.
36618         (struct test_fi_f_data): Likewise.
36619         (struct test_fl_f_data): Likewise.
36620         (struct test_if_f_data): Likewise.
36621         (struct test_fff_f_data): Likewise.
36622         (struct test_c_f_data): Likewise.
36623         (struct test_f_f1_data): Likewise.
36624         (struct test_fF_f1_data): Likewise.
36625         (struct test_ffI_f1_data): Likewise.
36626         (struct test_c_c_data): Likewise.
36627         (struct test_cc_c_data): Likewise.
36628         (struct test_f_i_data): Likewise.
36629         (struct test_ff_i_data): Likewise.
36630         (struct test_f_l_data): Likewise.
36631         (struct test_f_L_data): Likewise.
36632         (struct test_fFF_11_data): Likewise.
36633         (RM_): New macro.
36634         (RM_FE_DOWNWARD): Likewise.
36635         (RM_FE_TONEAREST): Likewise.
36636         (RM_FE_TOWARDZERO): Likewise.
36637         (RM_FE_UPWARD): Likewise.
36638         (RUN_TEST_LOOP_f_f): Update references to expected results.
36639         (RUN_TEST_LOOP_2_f): Likewise.
36640         (RUN_TEST_LOOP_fff_f): Likewise.
36641         (RUN_TEST_LOOP_c_f): Likewise.
36642         (RUN_TEST_LOOP_f_f1): Likewise.
36643         (RUN_TEST_LOOP_fF_f1): Likewise.
36644         (RUN_TEST_LOOP_fI_f1): Likewise.
36645         (RUN_TEST_LOOP_ffI_f1): Likewise.
36646         (RUN_TEST_LOOP_c_c): Likewise.
36647         (RUN_TEST_LOOP_cc_c): Likewise.
36648         (RUN_TEST_LOOP_f_i): Likewise.
36649         (RUN_TEST_LOOP_f_i_tg): Likewise.
36650         (RUN_TEST_LOOP_ff_i_tg): Likewise.
36651         (RUN_TEST_LOOP_f_b): Likewise.
36652         (RUN_TEST_LOOP_f_b_tg): Likewise.
36653         (RUN_TEST_LOOP_f_l): Likewise.
36654         (RUN_TEST_LOOP_f_L): Likewise.
36655         (RUN_TEST_LOOP_fFF_11): Likewise.
36656         * math/gen-libm-test.pl (parse_args): Output four copies of
36657         expected results for each test.
36659         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36660         (__ASSUME_UTIMES): Remove.
36661         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36662         (__ASSUME_UTIMES): Likewise.
36664         * math/gen-auto-libm-tests.c: Update comment on output format.
36665         (output_for_one_input_case): Generate before-rounding and
36666         after-rounding information as conditions on output flags not
36667         floating-point format.
36668         * math/auto-libm-test-out: Regenerated.
36669         * math/gen-libm-test.pl (cond_value): New function.
36670         (or_cond_value): Use cond_value.
36671         (generate_testfile): Handle conditional exceptions.
36673 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
36675         * math/libm-test.inc (max_valid_error): New variable.
36676         (init_max_error): Take new argument specifying whether function
36677         results are exactly determined.  Set max_valid_error and bound
36678         other variables for errors based on this argument.
36679         (set_max_error): Do not record results above max_valid_error.
36680         (check_float_internal): Only accept errors of up to 0.5ulps if
36681         also at most max_valid_error.
36682         (START): Take new argument EXACT and pass it to init_max_error.
36683         (acos_test): Update call to START.
36684         (acos_test_tonearest): Likewise.
36685         (acos_test_towardzero): Likewise.
36686         (acos_test_downward): Likewise.
36687         (acos_test_upward): Likewise.
36688         (acosh_test): Likewise.
36689         (asin_test): Likewise.
36690         (asin_test_tonearest): Likewise.
36691         (asin_test_towardzero): Likewise.
36692         (asin_test_downward): Likewise.
36693         (asin_test_upward): Likewise.
36694         (asinh_test): Likewise.
36695         (atan_test): Likewise.
36696         (atanh_test): Likewise.
36697         (atan2_test): Likewise.
36698         (cabs_test): Likewise.
36699         (cacos_test): Likewise.
36700         (cacosh_test): Likewise.
36701         (carg_test): Likewise.
36702         (casin_test): Likewise.
36703         (casinh_test): Likewise.
36704         (catan_test): Likewise.
36705         (catanh_test): Likewise.
36706         (cbrt_test): Likewise.
36707         (ccos_test): Likewise.
36708         (ccosh_test): Likewise.
36709         (ceil_test): Likewise.
36710         (cexp_test): Likewise.
36711         (cimag_test): Likewise.
36712         (clog_test): Likewise.
36713         (clog10_test): Likewise.
36714         (conj_test): Likewise.
36715         (copysign_test): Likewise.
36716         (cos_test): Likewise.
36717         (cos_test_tonearest): Likewise.
36718         (cos_test_towardzero): Likewise.
36719         (cos_test_downward): Likewise.
36720         (cos_test_upward): Likewise.
36721         (cosh_test): Likewise.
36722         (cosh_test_tonearest): Likewise.
36723         (cosh_test_towardzero): Likewise.
36724         (cosh_test_downward): Likewise.
36725         (cosh_test_upward): Likewise.
36726         (cpow_test): Likewise.
36727         (cproj_test): Likewise.
36728         (creal_test): Likewise.
36729         (csin_test): Likewise.
36730         (csinh_test): Likewise.
36731         (csqrt_test): Likewise.
36732         (ctan_test): Likewise.
36733         (ctan_test_tonearest): Likewise.
36734         (ctan_test_towardzero): Likewise.
36735         (ctan_test_downward): Likewise.
36736         (ctan_test_upward): Likewise.
36737         (ctanh_test): Likewise.
36738         (ctanh_test_tonearest): Likewise.
36739         (ctanh_test_towardzero): Likewise.
36740         (ctanh_test_downward): Likewise.
36741         (ctanh_test_upward): Likewise.
36742         (erf_test): Likewise.
36743         (erfc_test): Likewise.
36744         (exp_test): Likewise.
36745         (exp_test_tonearest): Likewise.
36746         (exp_test_towardzero): Likewise.
36747         (exp_test_downward): Likewise.
36748         (exp_test_upward): Likewise.
36749         (exp10_test): Likewise.
36750         (exp10_test_tonearest): Likewise.
36751         (exp10_test_towardzero): Likewise.
36752         (exp10_test_downward): Likewise.
36753         (exp10_test_upward): Likewise.
36754         (pow10_test): Likewise.
36755         (exp2_test): Likewise.
36756         (expm1_test): Likewise.
36757         (expm1_test_tonearest): Likewise.
36758         (expm1_test_towardzero): Likewise.
36759         (expm1_test_downward): Likewise.
36760         (expm1_test_upward): Likewise.
36761         (fabs_test): Likewise.
36762         (fdim_test): Likewise.
36763         (floor_test): Likewise.
36764         (fma_test): Likewise.
36765         (fma_test_towardzero): Likewise.
36766         (fma_test_downward): Likewise.
36767         (fma_test_upward): Likewise.
36768         (fmax_test): Likewise.
36769         (fmin_test): Likewise.
36770         (fmod_test): Likewise.
36771         (fpclassify_test): Likewise.
36772         (frexp_test): Likewise.
36773         (hypot_test): Likewise.
36774         (ilogb_test): Likewise.
36775         (isfinite_test): Likewise.
36776         (finite_test): Likewise.
36777         (isgreater_test): Likewise.
36778         (isgreaterequal_test): Likewise.
36779         (isinf_test): Likewise.
36780         (isless_test): Likewise.
36781         (islessequal_test): Likewise.
36782         (islessgreater_test): Likewise.
36783         (isnan_test): Likewise.
36784         (isnormal_test): Likewise.
36785         (issignaling_test): Likewise.
36786         (isunordered_test): Likewise.
36787         (j0_test): Likewise.
36788         (j1_test): Likewise.
36789         (jn_test): Likewise.
36790         (ldexp_test): Likewise.
36791         (lgamma_test): Likewise.
36792         (gamma_test): Likewise.
36793         (lrint_test): Likewise.
36794         (lrint_test_tonearest): Likewise.
36795         (lrint_test_towardzero): Likewise.
36796         (lrint_test_downward): Likewise.
36797         (lrint_test_upward): Likewise.
36798         (llrint_test): Likewise.
36799         (llrint_test_tonearest): Likewise.
36800         (llrint_test_towardzero): Likewise.
36801         (llrint_test_downward): Likewise.
36802         (llrint_test_upward): Likewise.
36803         (log_test): Likewise.
36804         (log10_test): Likewise.
36805         (log1p_test): Likewise.
36806         (log2_test): Likewise.
36807         (logb_test): Likewise.
36808         (logb_test_downward): Likewise.
36809         (lround_test): Likewise.
36810         (llround_test): Likewise.
36811         (modf_test): Likewise.
36812         (nearbyint_test): Likewise.
36813         (nextafter_test): Likewise.
36814         (nexttoward_test): Likewise.
36815         (pow_test): Likewise.
36816         (pow_test_tonearest): Likewise.
36817         (pow_test_towardzero): Likewise.
36818         (pow_test_downward): Likewise.
36819         (pow_test_upward): Likewise.
36820         (remainder_test): Likewise.
36821         (drem_test): Likewise.
36822         (remainder_test_tonearest): Likewise.
36823         (drem_test_tonearest): Likewise.
36824         (remainder_test_towardzero): Likewise.
36825         (drem_test_towardzero): Likewise.
36826         (remainder_test_downward): Likewise.
36827         (drem_test_downward): Likewise.
36828         (remainder_test_upward): Likewise.
36829         (drem_test_upward): Likewise.
36830         (remquo_test): Likewise.
36831         (rint_test): Likewise.
36832         (rint_test_tonearest): Likewise.
36833         (rint_test_towardzero): Likewise.
36834         (rint_test_downward): Likewise.
36835         (rint_test_upward): Likewise.
36836         (round_test): Likewise.
36837         (scalb_test): Likewise.
36838         (scalbn_test): Likewise.
36839         (scalbln_test): Likewise.
36840         (signbit_test): Likewise.
36841         (sin_test): Likewise.
36842         (sin_test_tonearest): Likewise.
36843         (sin_test_towardzero): Likewise.
36844         (sin_test_downward): Likewise.
36845         (sin_test_upward): Likewise.
36846         (sincos_test): Likewise.
36847         (sinh_test): Likewise.
36848         (sinh_test_tonearest): Likewise.
36849         (sinh_test_towardzero): Likewise.
36850         (sinh_test_downward): Likewise.
36851         (sinh_test_upward): Likewise.
36852         (sqrt_test): Likewise.
36853         (sqrt_test_tonearest): Likewise.
36854         (sqrt_test_towardzero): Likewise.
36855         (sqrt_test_downward): Likewise.
36856         (sqrt_test_upward): Likewise.
36857         (tan_test): Likewise.
36858         (tan_test_tonearest): Likewise.
36859         (tan_test_towardzero): Likewise.
36860         (tan_test_downward): Likewise.
36861         (tan_test_upward): Likewise.
36862         (tanh_test): Likewise.
36863         (tgamma_test): Likewise.
36864         (trunc_test): Likewise.
36865         (y0_test): Likewise.
36866         (y1_test): Likewise.
36867         (yn_test): Likewise.
36868         (significand_test): Likewise.
36870         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
36871         individual tests in comment.
36872         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
36873         (prev_max_error): New variable.
36874         (prev_real_max_error): Likewise.
36875         (prev_imag_max_error): Likewise.
36876         (compare_ulp_data): Don't refer to test names in comment.
36877         (find_test_ulps): Remove function.
36878         (find_function_ulps): Likewise.
36879         (find_complex_function_ulps): Likewise.
36880         (init_max_error): Take function name as argument.  Look up ulps
36881         for that function.
36882         (print_ulps): Remove function.
36883         (print_max_error): Use prev_max_error instead of calling
36884         find_function_ulps.
36885         (print_complex_max_error): Use prev_real_max_error and
36886         prev_imag_max_error instead of calling find_complex_function_ulps.
36887         (check_float_internal): Take max_ulp parameter instead of calling
36888         find_test_ulps.  Don't call print_ulps.
36889         (check_float): Update call to check_float_internal.
36890         (check_complex): Update calls to check_float_internal.
36891         (START): Pass argument to init_max_error.
36892         * math/gen-libm-test.pl (%results): Don't include "kind"
36893         information.
36894         (parse_ulps): Don't handle ulps of individual tests.
36895         (print_ulps_file): Likewise.
36896         (output_ulps): Likewise.
36897         * math/README.libm-test: Update.
36898         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
36899         individual tests.
36900         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
36901         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
36902         * sysdeps/arm/libm-test-ulps: Likewise.
36903         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
36904         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
36905         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
36906         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
36907         * sysdeps/microblaze/libm-test-ulps: Likewise.
36908         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
36909         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36910         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36911         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
36912         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36913         * sysdeps/sh/libm-test-ulps: Likewise.
36914         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36915         * sysdeps/tile/libm-test-ulps: Likewise.
36916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36918 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
36920         * math/libm-test.inc (print_complex_max_error): Check separately
36921         whether real and imaginary errors are within allowed range and
36922         pass 0 to print_complex_function_ulps instead of value within
36923         allowed range.
36925 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36927         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
36928         formatting.
36929         (get_handles_fopen): Likewise.
36930         (do_write_test): Likewise.
36932         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
36934         * libio/fileops.c (do_ftell): Use cached offset when
36935         available.
36936         * libio/iofwide.c (do_ftell_wide): Likewise.
36937         * libio/iofdopen.c (_IO_new_fdopen): Don't use
36938         _IO_file_attach.
36939         * libio/wfileops.c (_IO_fwide): Don't cache offset.
36941         [BZ #16532]
36942         * libio/libioP.h (get_file_offset): New function.
36943         * libio/fileops.c (get_file_offset): Likewise.
36944         (do_ftell): Likewise.
36945         (_IO_new_file_seekoff): Split out ftell logic.
36946         * libio/wfileops.c (do_ftell_wide): Likewise.
36947         (_IO_wfile_seekoff): Split out ftell logic.
36948         * libio/tst-ftell-active-handler.c: New test case.
36949         * libio/Makefile (tests): Add it.
36951 2014-03-03  Roland McGrath  <roland@hack.frob.com>
36953         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
36954         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
36956 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36958         [BZ #16639]
36959         * nscd/connections.c (nscd_init): Call do_exit.
36960         (start_threads): Call do_exit and notify_parent.
36961         (begin_drop_privileges): Call do_exit.
36962         (finish_drop_privileges): Likewise.
36963         * nscd/selinux.c (preserve_capabilities): Likewise.
36964         (install_real_capabilities): Likewise.
36965         (nscd_selinux_enabled): Likewise.
36966         (avc_create_thread): Likewise.
36967         (avc_alloc_lock): Likewise.
36968         (nscd_avc_init): Likewise.
36969         * nscd/nscd.c (parent_fd): New static variable.
36970         (main): Create a pipe between parent and child processes.
36971         Skip closing parent_fd.
36972         (monitor_child): New function.
36973         (do_exit): Likewise.
36974         (notify_parent): Likewise.
36975         * nscd/nscd.h (notify_parent): Likewise.
36976         (do_exit): Likewise.
36978 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
36980         * malloc/malloc.c (__libc_calloc): Revert last change.
36982 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36986 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36988         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
36989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
36990         implementation.
36991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36992         (__libc_ifunc_impl_list): Likewise.
36993         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
36994         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
36995         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
36996         * string/strrchr.c: Define STRRCHR.
36998 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
37000         * benchtest/bench-strtok.c (simple_strtok): Delete.
37001         (strtok_string): Use as benchmark.
37002         * string/strtok (STRTOK): New macro.
37004 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
37006         * manual/threads.texi: Add header and standard comments to all
37007         functions.
37009         * elf/dl-lookup.c (check_match): New function.
37010         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
37011         (do_lookup_x): Remove nested function check_match. Use non-nested
37012         function check_match.
37014 2014-02-28  Roland McGrath  <roland@hack.frob.com>
37016         * csu/Makefile (generated, before-compile): Use += rather than =.
37017         * catgets/Makefile (generated, generated-dirs): Likewise.
37018         * debug/Makefile (generated): Likewise.
37019         * dlfcn/Makefile (generated): Likewise.
37020         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
37021         * iconvdata/Makefile (before-compile, generated): Likewise.
37022         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
37023         * libio/Makefile (generated): Likewise.
37024         * malloc/Makefile (generated): Likewise.
37025         * manual/Makefile (generated, generated-dirs): Likewise.
37026         * misc/Makefile (generated): Likewise.
37027         * posix/Makefile (generated): Likewise.
37028         * resolv/Makefile (generated): Likewise.
37029         * sunrpc/Makefile (generated, generated-dirs): Likewise.
37030         * timezone/Makefile (generated, generated-dirs): Likewise.
37032         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
37034 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37036         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37037         power8 implementation.
37038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
37039         file: POWER8 llround ifunc implementation.
37040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
37041         (__lllround): Add POWER8 implementation.
37042         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
37043         POWER8 llround implementation.
37045         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
37046         power8 implementation.
37047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
37048         file: POWER8 llrint ifunc implementation.
37049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
37050         Add POWER8 implementation.
37051         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
37052         POWER8 llrint implementation.
37054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
37055         power8 implementation.
37056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
37057         file: POWER8 finite ifunc implementation.
37058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
37059         Add POWER8 implementation.
37060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
37061         Likewise.
37062         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
37063         POWER8 finite implementation.
37064         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
37066         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
37067         power8 implementation.
37068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
37069         file: POWER8 isinf ifunc implementation.
37070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
37071         POWER8 implementation.
37072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
37073         Likewise.
37074         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
37075         isinf implementation.
37076         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
37078         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
37079         (INIT_ARCH): Add hwcap2 initialization.
37080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37081         power8 implementation.
37082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
37083         file: POWER8 isnan ifunc implementation.
37084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
37085         POWER8 implementation.
37086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
37087         Likewise.
37088         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
37089         isnan implementation.
37090         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
37092 2014-02-27  Joey Ye  <joey.ye@arm.com>
37094         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37095         (_FP_NANFRAC_Q): Set to zero.
37097 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37099         [BZ #16623]
37100         * math/auto-libm-test-in: New test inputs.
37101         * math/auto-libm-test-out: Regenerate.
37102         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
37103         and DA.
37104         (__cos): Likewise.
37105         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37107 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
37109         * scripts/evaluate-test.sh: Take new argument indicating whether
37110         failure is expected.
37111         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
37112         indicating whether failure is expected.
37113         * conform/Makefile (test-xfail-run-conformtest): New variable.
37114         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
37115         level.
37116         * posix/Makefile (test-xfail-annexc): New variable.
37117         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
37119 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
37121         * argp/Makefile: Include Makeconfig immediately after defining
37122         subdir.
37123         * assert/Makefile: Likewise.
37124         * benchtests/Makefile: Likewise.
37125         * catgets/Makefile: Likewise.
37126         * conform/Makefile: Likewise.
37127         * crypt/Makefile: Likewise.
37128         * csu/Makefile: Likewise.
37129         (all): Remove target.
37130         * ctype/Makefile: Include Makeconfig immediately after defining
37131         subdir.
37132         * debug/Makefile: Likewise.
37133         * dirent/Makefile: Likewise.
37134         * dlfcn/Makefile: Likewise.
37135         * gmon/Makefile: Likewise.
37136         * gnulib/Makefile: Likewise.
37137         * grp/Makefile: Likewise.
37138         * gshadow/Makefile: Likewise.
37139         * hesiod/Makefile: Likewise.
37140         * hurd/Makefile: Likewise.
37141         (all): Remove target.
37142         * iconvdata/Makefile: Include Makeconfig immediately after
37143         defining subdir.
37144         * inet/Makefile: Likewise.
37145         * intl/Makefile: Likewise.
37146         * io/Makefile: Likewise.
37147         * libio/Makefile: Likewise.
37148         (all): Remove target.
37149         * locale/Makefile: Include Makeconfig immediately after defining
37150         subdir.
37151         * login/Makefile: Likewise.
37152         * mach/Makefile: Likewise.
37153         (all): Remove target.
37154         * malloc/Makefile: Include Makeconfig immediately after defining
37155         subdir.
37156         (all): Remove target.
37157         * manual/Makefile: Include Makeconfig immediately after defining
37158         subdir.
37159         * math/Makefile: Likewise.
37160         * misc/Makefile: Likewise.
37161         * nis/Makefile: Likewise.
37162         * nss/Makefile: Likewise.
37163         * po/Makefile: Likewise.
37164         (all): Remove target.
37165         * posix/Makefile: Include Makeconfig immediately after defining
37166         subdir.
37167         * pwd/Makefile: Likewise.
37168         * resolv/Makefile: Likewise.
37169         * resource/Makefile: Likewise.
37170         * rt/Makefile: Likewise.
37171         * setjmp/Makefile: Likewise.
37172         * shadow/Makefile: Likewise.
37173         * signal/Makefile: Likewise.
37174         * socket/Makefile: Likewise.
37175         * soft-fp/Makefile: Likewise.
37176         * stdio-common/Makefile: Likewise.
37177         * stdlib/Makefile: Likewise.
37178         * streams/Makefile: Likewise.
37179         * string/Makefile: Likewise.
37180         * sunrpc/Makefile: Likewise.
37181         (all): Remove target.
37182         * sysvipc/Makefile: Include Makeconfig immediately after defining
37183         subdir.
37184         * termios/Makefile: Likewise.
37185         * time/Makefile: Likewise.
37186         * timezone/Makefile: Likewise.
37187         (all): Remove target.
37188         * wcsmbs/Makefile: Include Makeconfig immediately after defining
37189         subdir.
37190         * wctype/Makefile: Likewise.
37192 2014-02-26  Steve Ellcey  <sellcey@mips.com>
37194         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
37195         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
37196         (libc_feholdexcept_setround_mips): Ditto.
37197         (libc_feholdsetround): New.
37198         (libc_feholdsetroundf): New.
37199         (libc_feholdsetroundl): New.
37200         (libc_feupdateenv_test_mips): New.
37201         (libc_feupdateenv_test): New.
37202         (libc_feupdateenv_testf): New.
37203         (libc_feupdateenv_testl): New.
37204         (libc_feresetround): New.
37205         (libc_feresetroundf): New.
37206         (libc_feresetroundl): New.
37207         (libc_fetestexcept_mips): New.
37208         (libc_fetestexcept): New.
37209         (libc_fetestexceptf): New.
37210         (libc_fetestexceptl): New.
37211         (HAVE_RM_CTX): New.
37212         (libc_feholdexcept_setround_mips_ctx): New.
37213         (libc_feholdexcept_setround_ctx): New.
37214         (libc_feholdexcept_setroundf_ctx): New.
37215         (libc_feholdexcept_setroundl_ctx): New.
37216         (libc_fesetenv_mips_ctx): New.
37217         (libc_fesetenv_ctx): New.
37218         (libc_fesetenv_ctxf): New.
37219         (libc_fesetenv_ctxl): New.
37220         (libc_feupdateenv_mips_ctx): New.
37221         (libc_feupdateenv_ctx): New.
37222         (libc_feupdateenvf_ctx): New.
37223         (libc_feupdateenvl_ctx): New.
37224         (libc_feholdsetround_mips_ctx): New.
37225         (libc_feholdsetround_ctx): New.
37226         (libc_feholdsetroundf_ctx): New.
37227         (libc_feholdsetroundl_ctx): New.
37228         (libc_feresetround_mips_ctx): New.
37229         (libc_feresetround_ctx): New.
37230         (libc_feresetroundf_ctx): New.
37231         (libc_feresetroundl_ctx): New.
37233 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
37235         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
37237         * manual/ipc.texi: New file.
37238         * manual/Makefile (chapters): Add ipc.
37239         * manual/job.texi: Add "Inter-Process Communication" to next.
37240         * manual/process.texi: Add "Inter-Process Communication" to prev.
37242 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37246 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
37248         * malloc/malloc.c (__libc_calloc): Simplify implementation.
37250         * manual/arith.texi: Fix spaces after sentences.
37251         * manual/charset.texi: Likewise.
37252         * manual/errno.texi: Likewise.
37253         * manual/install.texi: Likewise.
37254         * manual/llio.texi: Likewise.
37255         * manual/locale.texi: Likewise.
37256         * manual/maint.texi: Likewise.
37257         * manual/math.texi: Likewise.
37258         * manual/memory.texi: Likewise.
37259         * manual/message.texi: Likewise.
37260         * manual/probes.texi: Likewise.
37261         * manual/resource.texi: Likewise.
37262         * manual/signal.texi: Likewise.
37263         * manual/socket.texi: Likewise.
37264         * manual/stdio.texi: Likewise.
37265         * manual/string.texi: Likewise.
37266         * manual/time.texi: Likewise.
37267         * manual/users.texi: Likewise.
37269 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
37271         [BZ #16632]
37272         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37273         _DEFAULT_SOURCE is defined.
37275 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
37276             Carlos O'Donell  <carlos@redhat.com>
37278         [BZ #16613]
37279         * elf/dl-tls.c (_dl_count_modids): New function.
37280         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37281         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37282         audit library and increment generation counter.
37283         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37284         * elf/tst-audit9.c: New file.
37285         * elf/tst-auditmod9a.c: New file.
37286         * elf/tst-auditmod9b.c: New file.
37287         * elf/Makefile: Add rules to build and run tst-audit9.
37289 2014-02-25  Florian Weimer  <fweimer@redhat.com>
37291         [BZ #15347]
37292         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37294 2014-02-25  Will Newton  <will.newton@linaro.org>
37296         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37297         (__longjmp): Restore sp and lr before restoring callee
37298         saved registers.  Add longjmp and longjmp_target
37299         SystemTap probe point.
37300         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37301         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37302         Define to zero to match jmpbuf layout.
37303         * sysdeps/arm/setjmp.S: Include stap-probe.h.
37304         (__sigsetjmp): Save sp and lr before saving callee
37305         saved registers.  Add setjmp SystemTap probe point.
37307 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37309         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37311 2014-02-24  Andreas Schwab  <schwab@suse.de>
37313         [BZ #15804]
37314         * elf/pldd.c (wait_for_ptrace_stop): New function.
37315         (main): Call it after attaching.
37317 2014-02-22  Roland McGrath  <roland@hack.frob.com>
37319         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37320         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37321         Versions files is now verboten.
37322         * hurd/Versions (libc: GLIBC_2.0):
37323         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37324         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37325         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37326         * mach/Versions: Likewise.
37328         * csu/Versions: Remove unused %include.
37329         * resolv/Versions: Likewise.
37331 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
37333         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37334         ($(objpfx)check-local-headers.out): Likewise.
37335         ($(objpfx)begin-end-check.out): Likewise.
37336         * Makerules (check-abi-%.out): Likewise.
37337         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
37338         ($(objpfx)test2.cat): Likewise.
37339         ($(objpfx)de/libc.cat): Likewise.
37340         ($(objpfx)test-gencat.out): Likewise.
37341         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
37342         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
37343         ($(objpfx)noload-mem): Likewise.
37344         ($(objpfx)tst-pathopt.out): Likewise.
37345         ($(objpfx)tst-rtld-load-self.out): Likewise.
37346         ($(objpfx)tst-array1-cmp.out): Likewise.
37347         ($(objpfx)tst-array1-static-cmp.out): Likewise.
37348         ($(objpfx)tst-array2-cmp.out): Likewise.
37349         ($(objpfx)tst-array3-cmp.out): Likewise.
37350         ($(objpfx)tst-array4-cmp.out): Likewise.
37351         ($(objpfx)tst-array5-cmp.out): Likewise.
37352         ($(objpfx)tst-array5-static-cmp.out): Likewise.
37353         ($(objpfx)check-textrel.out): Likewise.
37354         ($(objpfx)check-execstack.out): Likewise.
37355         ($(objpfx)check-localplt.out): Likewise.
37356         ($(objpfx)order2-cmp.out): Likewise.
37357         ($(objpfx)tst-leaks1-mem): Likewise.
37358         ($(objpfx)tst-leaks1-static-mem): Likewise.
37359         ($(objpfx)tst-initorder-cmp.out): Likewise.
37360         ($(objpfx)tst-initorder2-cmp.out): Likewise.
37361         ($(objpfx)tst-unused-dep.out): Likewise.
37362         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
37363         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37364         * iconv/Makefile (test-iconvconfig): Likewise.
37365         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
37366         ($(objpfx)iconv-test.out): Likewise.
37367         ($(objpfx)tst-tables.out): Likewise.
37368         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
37369         ($(objpfx)tst-gettext.out): Likewise.
37370         ($(objpfx)tst-translit.out): Likewise.
37371         ($(objpfx)tst-gettext2.out): Likewise.
37372         ($(objpfx)tst-gettext4.out): Likewise.
37373         ($(objpfx)tst-gettext6.out): Likewise.
37374         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
37375         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37376         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
37377         ($(objpfx)tst-fopenloc-mem.out): Likewise.
37378         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37379         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
37380         * posix/Makefile ($(objpfx)globtest.out): Likewise.
37381         ($(objpfx)wordexp-tst.out): Likewise.
37382         ($(objpfx)annexc.out): Likewise.
37383         ($(objpfx)tst-fnmatch-mem): Likewise.
37384         ($(objpfx)bug-regex2-mem): Likewise.
37385         ($(objpfx)bug-regex14-mem): Likewise.
37386         ($(objpfx)bug-regex21-mem): Likewise.
37387         ($(objpfx)bug-regex31-mem): Likewise.
37388         ($(objpfx)tst-vfork3-mem): Likewise.
37389         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37390         ($(objpfx)tst-pcre-mem): Likewise.
37391         ($(objpfx)tst-boost-mem): Likewise.
37392         ($(objpfx)tst-getconf.out): Likewise.
37393         ($(objpfx)bug-ga2-mem): Likewise.
37394         ($(objpfx)bug-glob2-mem): Likewise.
37395         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
37396         ($(objpfx)mtrace-tst-leaks2): Likewise.
37397         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
37398         ($(objpfx)tst-printf.out): Likewise.
37399         ($(objpfx)tst-setvbuf1.out): Likewise.
37400         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
37401         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
37402         ($(objpfx)tst-fmtmsg.out): Likewise.
37403         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
37404         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
37406         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
37407         * bits/sigaction.h [__USE_MISC]: Likewise.
37408         * bits/waitstatus.h: Update #endif comments.
37409         * ctype/ctype.h: Likewise.
37410         * dirent/dirent.h: Likewise.
37411         [__USE_MISC]: Remove redundant conditionals.
37412         * grp/grp.h: Update #endif comments.
37413         [__USE_GNU]: Remove redundant conditionals.
37414         [__USE_MISC]: Likewise.
37415         * inet/netinet/in.h [__USE_GNU]: Likewise.
37416         * io/sys/stat.h [__USE_MISC]: Likewise.
37417         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
37418         * libio/bits/stdio.h: Update #endif comments.
37419         [__USE_MISC]: Remove redundant conditionals.
37420         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
37421         * libio/stdio.h: Update #endif comments.
37422         [__USE_MISC]: Remove redundant conditionals.
37423         * math/bits/math-finite.h [__USE_MISC]: Likewise.
37424         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
37425         * math/math.h: Update #else and #endif comments.
37426         [__USE_MISC]: Remove redundant conditionals.
37427         * misc/sys/uio.h: Update #endif comments.
37428         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
37429         * posix/glob.h [__USE_MISC]: Likewise.
37430         * posix/sys/types.h: Update #endif comments.
37431         [__USE_MISC]: Remove redundant conditionals.
37432         * posix/sys/wait.h: Update #endif comments.
37433         [__USE_MISC]: Remove redundant conditionals.
37434         * posix/unistd.h: Update #endif comments.
37435         [__USE_MISC]: Remove redundant conditionals.
37436         * pwd/pwd.h [__USE_GNU]: Likewise.
37437         [__USE_MISC]: Likewise.
37438         * resolv/netdb.h [__USE_GNU]: Likewise.
37439         * signal/signal.h: Update #endif comments.
37440         [__USE_MISC]: Remove redundant conditionals.
37441         * stdlib/stdlib.h: Update #else and #endif comments.
37442         [__USE_MISC]: Remove redundant conditionals.
37443         [__USE_GNU]: Likewise.
37444         * string/bits/string2.h [__USE_MISC]: Likewise.
37445         * string/string.h: Update #endif comments.
37446         [__USE_MISC]: Remove redundant conditionals.
37447         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
37448         Likewise.
37449         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
37450         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
37451         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
37452         Likewise.
37453         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
37454         Likewise.
37455         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
37456         comments.
37457         [__USE_MISC]: Remove redundant conditionals.
37458         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
37459         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
37460         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
37461         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
37462         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
37463         Likewise.
37464         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
37465         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
37466         Likewise.
37467         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
37468         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
37469         Likewise.
37470         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
37471         Likewise.
37472         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
37473         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
37474         Likewise.
37475         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
37476         Likewise.
37477         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
37478         * sysdeps/x86/bits/string.h: Update #endif comments.
37479         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
37480         conditionals.
37481         * time/sys/time.h: Update #endif comments.
37482         * time/time.h: Likewise.
37483         [__USE_MISC]: Remove redundant conditionals.
37485 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
37487         [BZ #16600]
37488         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
37490 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
37492         * Versions.def (librt): Add GLIBC_2.17.
37494 2014-02-21  Adam Conrad  <adconrad@0c3.net>
37496         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
37497         synonym for _SYS_AUXV_H to allow direct inclusion.
37498         * sysdeps/sparc/bits/hwcap.h: Likewise.
37499         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
37500         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
37501         * sysdeps/sparc/sysdep.h: Likewise.
37503 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37505         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
37507 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37509         * benchtests/bench-strrchr.c: Print length instead of position.
37511 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
37513         [BZ #16611]
37514         * sysdeps/unix/sysv/linux/kernel-features.h
37515         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
37516         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
37517         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
37518         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
37519         Likewise.
37520         [__i386__ || __powerpc__ || __sh__ || __sparc__]
37521         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37522         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
37523         (__ASSUME_SENDMMSG): Define instead of using previous
37524         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
37525         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37526         (__ASSUME_SENDMMSG_SYSCALL): Define.
37527         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37528         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
37529         Likewise.
37530         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37531         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37532         Likewise.
37533         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37534         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37535         Likewise.
37536         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
37537         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37538         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37539         [__ASSUME_SENDMMSG]: Change conditionals to
37540         [__ASSUME_SENDMMSG_SOCKETCALL].
37541         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37542         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
37543         Define.
37544         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37545         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
37546         Likewise.
37547         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
37548         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37549         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37550         [!__ASSUME_SENDMMSG]: Change conditional to
37551         [!__ASSUME_SENDMMSG_SOCKETCALL].
37552         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37553         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37554         Define.
37556         [BZ #16610]
37557         * sysdeps/unix/sysv/linux/kernel-features.h
37558         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
37559         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
37560         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
37561         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
37562         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37563         [__i386__ || __sparc__]
37564         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37565         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
37566         (__ASSUME_RECVMMSG): Define instead of using previous
37567         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
37568         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37569         (__ASSUME_RECVMMSG_SYSCALL): Define.
37570         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37571         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37572         Likewise.
37573         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37574         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37575         Likewise.
37576         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37577         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37578         Likewise.
37579         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
37580         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37581         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37582         [__ASSUME_RECVMMSG]: Change condition to
37583         [__ASSUME_RECVMMSG_SOCKETCALL].
37584         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37585         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37586         Define.
37587         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37588         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37589         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37590         Likewise.
37591         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
37592         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37593         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37594         [!__ASSUME_RECVMMSG]: Change condition to
37595         [!__ASSUME_RECVMMSG_SOCKETCALL].
37596         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37597         (__ASSUME_RECVMMSG_SYSCALL): Define.
37599         [BZ #16609]
37600         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
37601         __powerpc__ || __s390__ || __sh__ || __sparc__]
37602         (__ASSUME_SOCKETCALL): Define.
37603         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
37604         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
37605         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
37606         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
37607         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37608         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37609         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
37610         (__ASSUME_ACCEPT4): Define instead of using previous
37611         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
37612         __powerpc__ || __sparc__ || __s390__)] condition.
37613         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37614         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37615         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
37616         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37617         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37618         [!__ASSUME_ACCEPT4]: Change condition to
37619         [!__ASSUME_ACCEPT4_SOCKETCALL].
37620         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37621         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
37622         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
37623         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37624         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
37625         __ASSUME_ACCEPT4_SYSCALL.
37626         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
37627         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
37628         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37629         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
37630         __ASSUME_ACCEPT4_SYSCALL.
37631         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
37632         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37633         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37634         [__ASSUME_ACCEPT4]: Change condition to
37635         [__ASSUME_ACCEPT4_SOCKETCALL].
37636         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37637         (__ASSUME_SOCKETCALL): Define.
37638         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
37639         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37640         (__ASSUME_SOCKETCALL): Define.
37641         (__ASSUME_ACCEPT4): Remove.
37642         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
37643         Define.
37644         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37645         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
37646         Likewise.
37647         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37648         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37650         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
37651         macro.
37652         (HWCAP_ARM_LPAE): Likewise.
37653         (HWCAP_ARM_EVTSTRM): Likewise.
37654         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
37655         Add vpfd32, lpae and evtstrm.
37656         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
37657         Increase to 22.
37659 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
37661         * math/auto-libm-test-in: Add tests of clog10.
37662         * math/auto-libm-test-out: Regenerated.
37663         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
37664         * sysdeps/i386/fpu/libm-test-ulps: Update.
37665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37667 2014-02-18  Andreas Schwab  <schwab@suse.de>
37669         [BZ #16574]
37670         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
37671         Store non-zero if the second buffer was newly allocated.
37672         (send_dg): Likewise.
37673         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
37674         to send_vc and send_dg.
37675         (res_nsend): Pass NULL for ansp2_malloced.
37676         * resolv/res_query.c (__libc_res_nquery): Add parameter
37677         answerp2_malloced and pass it down to __libc_res_nsend.
37678         (res_nquery): Pass additional NULL to __libc_res_nquery.
37679         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
37680         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
37681         second answer buffer if answerp2_malloced was set.
37682         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
37683         (__libc_res_nquerydomain): Add parameter
37684         answerp2_malloced and pass it down to __libc_res_nquery.
37685         (res_nquerydomain): Pass additional NULL to
37686         __libc_res_nquerydomain.
37687         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
37688         additional NULL to __libc_res_nsend and __libc_res_nquery.
37689         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
37690         additional NULL to __libc_res_nsearch.
37691         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
37692         parameter of __libc_res_nsearch to check for separately allocated
37693         second buffer.
37694         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
37695         __libc_res_nquery.
37696         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
37697         additional NULL to __libc_res_nquery.
37698         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
37699         __libc_res_nsearch.
37700         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
37701         * include/resolv.h: Update prototypes of __libc_res_nquery,
37702         __libc_res_nsearch, __libc_res_nsend.
37704 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
37706         * math/auto-libm-test-in: Add tests of fma.
37707         * math/auto-libm-test-out: Regenerated.
37708         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
37709         (fma_towardzero_test_data): Likewise.
37710         (fma_downward_test_data): Likewise.
37711         (fma_upward_test_data): Likewise.
37712         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
37713         mpc_mode.
37714         (rounding_modes): Add values for new field.
37715         (func_calc_method): Add value mpfr_fff_f.
37716         (func_calc_desc): Add mpfr_fff_f union field.
37717         (test_function): Add field exact_args.
37718         (FUNC): Add macro argument EXACT_ARGS.
37719         (FUNC_mpfr_f_f): Update call to FUNC.
37720         (FUNC_mpfr_f_f): Likewise.
37721         (FUNC_mpfr_ff_f): Likewise.
37722         (FUNC_mpfr_if_f): Likewise.
37723         (FUNC_mpc_c_f): Likewise.
37724         (FUNC_mpc_c_c): Likewise.
37725         (test_functions): Add fma.  Update calls to FUNC.
37726         (handle_input_arg): Add argument exact_args.
37727         (add_test): Update call to handle_input_arg.
37728         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
37729         (output_for_one_input_case): Update call to calc_generic_results.
37730         Recalculate exact zero results in each rounding mode.
37732         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
37733         non-negative before setting low bit.
37734         * math/auto-libm-test-in: Mark one asin test possibly having
37735         spurious underflow.
37736         * math/auto-libm-test-out: Regenerated.
37737         * sysdeps/i386/fpu/libm-test-ulps: Update.
37738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37740 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
37742         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
37743         * sysdeps/unix/sysv/linux/microblaze: Move directory from
37744         ports/sysdeps/unix/sysv/linux/microblaze.
37745         * README: Add missing listing for microblaze*-*-linux-gnu.
37747 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
37749         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
37750         duplicate code
37752 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
37754         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
37755         * sysdeps/unix/sysv/linux/ia64: Move directory from
37756         ports/sysdeps/unix/sysv/linux/ia64.
37757         * README: Update listing for ia64-*-linux-gnu.
37759 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
37760             Joseph Myers  <joseph@codesourcery.com>
37762         * Makeconfig (test-name): New variable.
37763         (evaluate-test): Likewise.
37764         * Makerules (do-test-clean): Remove .test-result files.
37765         (common-mostlyclean): Likewise.
37766         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
37767         * scripts/evaluate-test.sh: New file.
37769 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
37771         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
37772         separate $(objpfx)tst-fopenloc-cmp.out and
37773         $(objpfx)tst-fopenloc-mem.out targets.
37774         (tests): Update dependencies.
37775         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
37776         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
37777         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
37778         (tst-rxspencer-no-utf8-ARGS): New variable.
37779         (tst-rxspencer-no-utf8-ENV): Likewise.
37780         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
37781         instead of $(objpfx)tst-rxspencer-mem.
37782         ($(objpfx)tst-rxspencer-mem): Change target to
37783         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
37784         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
37785         * posix/tst-rxspencer-no-utf8.c: New file.
37787         * elf/Makefile ($(objpfx)order.out): Remove rule.
37788         [$(run-built-tests) = yes] (tests): Depend on
37789         $(objpfx)order-cmp.out.
37790         ($(objpfx)order-cmp.out): New rule.
37791         [$(run-built-tests) = yes] (tests): Depend on
37792         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
37793         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
37794         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
37795         $(objpfx)tst-array5-static-cmp.out.
37796         ($(objpfx)tst-array1.out): Remove rule.
37797         ($(objpfx)tst-array1-cmp.out): New rule.
37798         ($(objpfx)tst-array1-static.out): Remove rule.
37799         ($(objpfx)tst-array1-static-cmp.out): New rule.
37800         ($(objpfx)tst-array2.out): Remove rule.
37801         ($(objpfx)tst-array2-cmp.out): New rule.
37802         ($(objpfx)tst-array3.out): Remove rule.
37803         ($(objpfx)tst-array3-cmp.out): New rule.
37804         ($(objpfx)tst-array4.out): Remove rule.
37805         ($(objpfx)tst-array4-cmp.out): New rule.
37806         ($(objpfx)tst-array5.out): Remove rule.
37807         ($(objpfx)tst-array5-cmp.out): New rule.
37808         ($(objpfx)tst-array5-static.out): Remove rule.
37809         ($(objpfx)tst-array5-static-cmp.out): New rule.
37810         [$(run-built-tests) = yes] (tests): Depend on
37811         $(objpfx)order2-cmp.out.
37812         ($(objpfx)order2.out): Remove rule.
37813         ($(objpfx)order2-cmp.out): New rule.
37814         ($(objpfx)tst-initorder.out): Remove rule.
37815         [$(run-built-tests) = yes] (tests): Depend on
37816         $(objpfx)tst-initorder-cmp.out.
37817         ($(objpfx)tst-initorder-cmp.out): New rule.
37818         ($(objpfx)tst-initorder2.out): Remove rule.
37819         [$(run-built-tests) = yes] (tests): Depend on
37820         $(objpfx)tst-initorder2-cmp.out.
37821         ($(objpfx)tst-initorder2-cmp.out): New rule.
37822         [$(run-built-tests) = yes] (tests): Depend on
37823         $(objpfx)tst-unused-dep-cmp.out.
37824         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
37825         ($(objpfx)tst-unused-dep-cmp.out): New rule.
37826         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
37827         on $(objpfx)tst-setvbuf1-cmp.out.
37828         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
37829         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
37830         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
37831         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
37832         ($(objpfx)tst-svc.out): Remove rule.
37833         ($(objpfx)tst-svc-cmp.out): New rule.
37835 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
37837         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
37838         * ctype/ctype.h [__USE_MISC]: Likewise.
37839         * dirent/dirent.h [__USE_MISC]: Likewise.
37840         * grp/grp.h [__USE_MISC]: Likewise.
37841         * io/fcntl.h [__USE_MISC]: Likewise.
37842         * io/sys/stat.h [__USE_MISC]: Likewise.
37843         * libio/stdio.h [__USE_MISC]: Likewise.
37844         * posix/unistd.h [__USE_MISC]: Likewise.
37845         * pwd/pwd.h [__USE_MISC]: Likewise.
37846         * stdlib.h [__USE_MISC]: Likewise.
37847         * string/bits/string2.h [__USE_MISC]: Likewise.
37848         * string/string.h [__USE_MISC]: Likewise.
37849         * time/time.h [__USE_MISC]: Likewise.
37851 2014-02-13  Andreas Schwab  <schwab@suse.de>
37853         [BZ #16574]
37854         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
37855         second answer buffer if it was separately allocated.
37857 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
37859         * sysdeps/mips/math-tests.h: Include <features.h>.
37860         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37861         (ROUNDING_TESTS_long_double): Do not define.
37862         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37863         (EXCEPTION_TESTS_long_double): Likewise.
37864         * sysdeps/mips/mips64/libm-test-ulps: Update.
37866         * include/features.h (__USE_BSD): Remove macro definitions.
37867         (__USE_SVID): Likewise.
37868         (_BSD_SOURCE): Likewise.
37869         (_SVID_SOURCE): Likewise.
37870         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
37871         from definition of _DEFAULT_SOURCE.
37872         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
37873         [_DEFAULT_SOURCE].
37874         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
37875         * bits/mman.h [__USE_BSD]: Likewise.
37876         * bits/termios.h [__USE_BSD]: Likewise.
37877         * bits/waitstatus.h [__USE_BSD]: Likewise.
37878         * ctype/ctype.h [__USE_SVID]: Likewise.
37879         * dirent/dirent.h [__USE_BSD]: Likewise.
37880         * grp/grp.h [__USE_SVID]: Likewise.
37881         [__USE_BSD]: Likewise.
37882         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
37883         * io/fcntl.h [__USE_BSD]: Likewise.
37884         * io/ftw.h [__USE_BSD]: Likewise.
37885         * io/sys/stat.h [__USE_BSD]: Likewise.
37886         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
37887         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
37888         * libio/stdio.h [__USE_SVID]: Likewise.
37889         [__USE_BSD]: Likewise.
37890         * math/math.h [__USE_SVID]: Likewise.
37891         [__USE_BSD]: Likewise.
37892         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
37893         * misc/bits/syslog.h [__USE_BSD]: Likewise.
37894         * misc/search.h [__USE_SVID]: Likewise.
37895         * misc/sys/mman.h [__USE_BSD]: Likewise.
37896         * misc/sys/syslog.h [__USE_BSD]: Likewise.
37897         * misc/sys/uio.h [__USE_BSD]: Likewise.
37898         * posix/bits/unistd.h [__USE_BSD]: Likewise.
37899         * posix/glob.h [__USE_BSD]: Likewise.
37900         * posix/regex.h [__USE_BSD]: Likewise.
37901         * posix/sys/types.h [__USE_BSD]: Likewise.
37902         [__USE_SVID]: Likewise.
37903         * posix/sys/utsname.h [__USE_SVID]: Likewise.
37904         * posix/sys/wait.h [__USE_BSD]: Likewise.
37905         [__USE_SVID]: Likewise.
37906         * posix/unistd.h [__USE_BSD]: Likewise.
37907         [__USE_SVID]: Likewise.
37908         * pwd/pwd.h [__USE_SVID]: Likewise.
37909         * resolv/netdb.h [__USE_BSD]: Likewise.
37910         * setjmp/setjmp.h [__USE_BSD]: Likewise.
37911         * signal/signal.h [__USE_BSD]: Likewise.
37912         [__USE_SVID]: Likewise.
37913         * socket/sys/socket.h [__USE_BSD]: Likewise.
37914         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
37915         * stdlib/stdlib.h [__USE_BSD]: Likewise.
37916         [__USE_SVID]: Likewise.
37917         * string/bits/string2.h [__USE_BSD]: Likewise.
37918         [__USE_SVID]: Likewise.
37919         * string/bits/string3.h [__USE_BSD]: Likewise.
37920         * string/endian.h [__USE_BSD]: Likewise.
37921         * string/string.h [__USE_SVID]: Likewise.
37922         [__USE_BSD]: Likewise.
37923         * string/strings.h [__USE_BSD]: Likewise.
37924         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
37925         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
37926         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
37927         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
37928         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
37929         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
37930         Likewise.
37931         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
37932         Likewise.
37933         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
37934         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
37935         Likewise.
37936         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
37937         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
37938         Likewise.
37939         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
37940         Likewise.
37941         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
37942         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
37943         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
37944         Likewise.
37945         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
37946         Likewise.
37947         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
37948         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
37949         * termios/termios.h [__USE_BSD]: Likewise.
37950         * time/sys/time.h [__USE_BSD]: Likewise.
37951         * time/time.h [__USE_BSD]: Likewise.
37952         [__USE_SVID]: Likewise.
37954         * Makefile (subdir_targets): Remove subdir_lint.out.
37956         * stdio-common/Makefile (do-tst-unbputc): Remove target.
37957         (do-tst-printf): Likewise.
37958         (tests): Depend directly on $(objpfx)tst-unbputc.out and
37959         $(objpfx)tst-printf.out.
37961         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
37963         * Makerules (check-abi-%): Change target to
37964         $(objpfx)check-abi-%.out.
37965         (check-abi target): Update dependencies.
37966         (check-abi-pattern variable): Redirect output of diff to $@.
37967         (check-abi variable): Likewise.
37968         * elf/Makefile (check-abi): Update dependencies.
37970         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
37971         unused.
37972         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
37973         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
37974         subnormal range.
37975         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
37976         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
37977         value has largest subnormal exponent.
37978         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
37979         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
37980         * sysdeps/aarch64/soft-fp/sfp-machine.h
37981         (_FP_TININESS_AFTER_ROUNDING): New macro.
37982         * sysdeps/alpha/soft-fp/sfp-machine.h
37983         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37984         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37985         Likewise.
37986         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
37987         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37988         * sysdeps/mips/soft-fp/sfp-machine.h
37989         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37990         * sysdeps/powerpc/soft-fp/sfp-machine.h
37991         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37992         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37993         Likewise.
37994         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37995         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37996         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37997         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37998         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37999         Likewise.
38001 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
38003         [BZ #16545]
38004         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
38005         model 1.
38007 2014-02-12  Richard Henderson  <rth@redhat.com>
38009         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
38010         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
38011         * sysdeps/unix/sysv/linux/alpha: Move directory from
38012         ports/sysdeps/unix/sysv/linux/alpha.
38013         * README: Update listing for alpha-*-linux-gnu.
38015 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
38017         * include/features.h: Update comment documenting feature test
38018         macros.
38019         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
38020         _DEFAULT_SOURCE.
38021         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
38022         (_SVID_SOURCE): Likewise.
38023         (_DEFAULT_SOURCE): Update description of default features.
38024         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
38025         with _GNU_SOURCE.
38026         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
38027         (S_ISVTX): Likewise.
38028         * manual/math.texi (Mathematical Constants): Likewise.
38029         * manual/signal.texi (Interrupted Primitives): Likewise.
38030         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
38031         * math/test-matherr.c (_SVID_SOURCE): Do not define.
38032         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
38033         Don't refer to _SVID_SOURCE in warning text.
38035         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38037         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
38038         already defined.
38039         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
38040         * sysdeps/mips/dl-lookup.c: Remove.
38041         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
38043 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38045         [BZ #16447]
38046         * math/auto-libm-test-in: Add testcase for expl.
38047         * math/auto-libm-test-out: Regenerate.
38048         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
38049         calculation of unsafe.
38050         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
38052 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38054         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
38055         * sysdeps/unix/sysv/linux/aarch64: Move directory from
38056         ports/sysdeps/unix/sysv/linux/aarch64.
38057         * README: Update listing for aarch64*-*-linux-gnu.
38059 2014-02-11  Will Newton  <will.newton@linaro.org>
38061         * manual/probes.texi (Mathematical Function Probes): Use
38062         "triggered" instead of "hit".
38064         * manual/probes.texi (Internal Probes): Add documentation
38065         of setjmp, longjmp and longjmp_target probes.
38067         * include/stap-probe.h: Add comment about probe argument
38068         format.
38070         * malloc/mtrace.c (attribute_hidden): Remove unused macro
38071         definition.  (tr_where, tr_freehook, tr_mallochook,
38072         tr_reallochook, tr_memalignhook): Use ANSI protoype.
38074 2014-02-11  David S. Miller  <davem@davemloft.net>
38076         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
38077         processing int_tests.
38079 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
38081         * sysdeps/mips: Move directory from ports/sysdeps/mips.
38082         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38083         * sysdeps/unix/sysv/linux/mips: Move directory from
38084         ports/sysdeps/unix/sysv/linux/mips.
38085         * README: Update listing for mips-*-linux-gnu and
38086         mips64-*-linux-gnu.
38088 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
38090         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
38091         * sysdeps/unix/sysv/linux/m68k: Move directory from
38092         ports/sysdeps/unix/sysv/linux/m68k.
38093         * README: Update listing for m68k-*-linux-gnu.
38095 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
38097         * sysdeps/tile: Move directory from ports/sysdeps/tile.
38098         * sysdeps/unix/sysv/linux/generic: Move directory from
38099         ports/sysdeps/unix/sysv/linux/generic.
38100         * sysdeps/unix/sysv/linux/tile: Move directory from
38101         ports/sysdeps/unix/sysv/linux/tile.
38102         * README: Update listing for tile*-*-linux-gnu.
38104 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
38106         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
38107         __builtin_expect.
38108         * benchtests/bench-memmem.c (simple_memmem): Likewise.
38109         * catgets/open_catalog.c (__open_catalog): Likewise.
38110         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
38111         * debug/confstr_chk.c: Likewise.
38112         * debug/fread_chk.c (__fread_chk): Likewise.
38113         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
38114         * debug/getgroups_chk.c: Likewise.
38115         * debug/mbsnrtowcs_chk.c: Likewise.
38116         * debug/mbsrtowcs_chk.c: Likewise.
38117         * debug/mbstowcs_chk.c: Likewise.
38118         * debug/memcpy_chk.c: Likewise.
38119         * debug/memmove_chk.c: Likewise.
38120         * debug/mempcpy_chk.c: Likewise.
38121         * debug/memset_chk.c: Likewise.
38122         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38123         * debug/strcat_chk.c (__strcat_chk): Likewise.
38124         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
38125         * debug/strncat_chk.c (__strncat_chk): Likewise.
38126         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
38127         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
38128         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
38129         * debug/wcpncpy_chk.c: Likewise.
38130         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38131         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
38132         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38133         * debug/wcsncpy_chk.c: Likewise.
38134         * debug/wcsnrtombs_chk.c: Likewise.
38135         * debug/wcsrtombs_chk.c: Likewise.
38136         * debug/wcstombs_chk.c: Likewise.
38137         * debug/wmemcpy_chk.c: Likewise.
38138         * debug/wmemmove_chk.c: Likewise.
38139         * debug/wmempcpy_chk.c: Likewise.
38140         * debug/wmemset_chk.c: Likewise.
38141         * dirent/scandirat.c (SCANDIRAT): Likewise.
38142         * dlfcn/dladdr1.c (dladdr1): Likewise.
38143         * dlfcn/dladdr.c (dladdr): Likewise.
38144         * dlfcn/dlclose.c (dlclose_doit): Likewise.
38145         * dlfcn/dlerror.c (__dlerror): Likewise.
38146         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38147         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38148         * dlfcn/dlopen.c (dlopen_doit): Likewise.
38149         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38150         * dlfcn/dlsym.c (dlsym_doit): Likewise.
38151         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38152         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38153         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38154         Likewise.
38155         * elf/dl-conflict.c: Likewise.
38156         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38157         * elf/dl-dst.h: Likewise.
38158         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38159         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38160         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38161         * elf/dl-init.c (call_init, _dl_init): Likewise.
38162         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38163         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38164         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38165         Likewise.
38166         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38167         Likewise.
38168         * elf/dl-minimal.c (__libc_memalign): Likewise.
38169         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38170         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38171         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38172         * elf/dl-sym.c (do_sym): Likewise.
38173         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38174         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38175         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38176         * elf/dl-writev.h (_dl_writev): Likewise.
38177         * elf/ldconfig.c (search_dir): Likewise.
38178         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38179         (dl_main): Likewise.
38180         * elf/setup-vdso.h (setup_vdso): Likewise.
38181         * grp/compat-initgroups.c (compat_call): Likewise.
38182         * grp/fgetgrent.c (fgetgrent): Likewise.
38183         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
38184         * grp/putgrent.c (putgrent): Likewise.
38185         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38186         Likewise.
38187         * hurd/hurdinit.c: Likewise.
38188         * iconvdata/8bit-gap.c (struct): Likewise.
38189         * iconvdata/ansi_x3.110.c : Likewise.
38190         * iconvdata/big5.c : Likewise.
38191         * iconvdata/big5hkscs.c : Likewise.
38192         * iconvdata/cp1255.c: Likewise.
38193         * iconvdata/cp1258.c : Likewise.
38194         * iconvdata/cp932.c : Likewise.
38195         * iconvdata/euc-cn.c: Likewise.
38196         * iconvdata/euc-jisx0213.c : Likewise.
38197         * iconvdata/euc-jp.c: Likewise.
38198         * iconvdata/euc-jp-ms.c : Likewise.
38199         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
38200         * iconvdata/gb18030.c : Likewise.
38201         * iconvdata/gbbig5.c (const): Likewise.
38202         * iconvdata/gbgbk.c: Likewise.
38203         * iconvdata/gbk.c : Likewise.
38204         * iconvdata/ibm1364.c : Likewise.
38205         * iconvdata/ibm930.c : Likewise.
38206         * iconvdata/ibm932.c: Likewise.
38207         * iconvdata/ibm933.c : Likewise.
38208         * iconvdata/ibm935.c : Likewise.
38209         * iconvdata/ibm937.c : Likewise.
38210         * iconvdata/ibm939.c : Likewise.
38211         * iconvdata/ibm943.c: Likewise.
38212         * iconvdata/iso_11548-1.c: Likewise.
38213         * iconvdata/iso-2022-cn.c : Likewise.
38214         * iconvdata/iso-2022-cn-ext.c : Likewise.
38215         * iconvdata/iso-2022-jp-3.c: Likewise.
38216         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
38217         * iconvdata/iso-2022-kr.c : Likewise.
38218         * iconvdata/iso646.c (gconv_end): Likewise.
38219         * iconvdata/iso_6937-2.c : Likewise.
38220         * iconvdata/iso_6937.c : Likewise.
38221         * iconvdata/iso8859-1.c: Likewise.
38222         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
38223         * iconvdata/shift_jisx0213.c : Likewise.
38224         * iconvdata/sjis.c : Likewise.
38225         * iconvdata/t.61.c : Likewise.
38226         * iconvdata/tcvn5712-1.c : Likewise.
38227         * iconvdata/tscii.c: Likewise.
38228         * iconvdata/uhc.c : Likewise.
38229         * iconvdata/unicode.c (gconv_end): Likewise.
38230         * iconvdata/utf-16.c (gconv_end): Likewise.
38231         * iconvdata/utf-32.c (gconv_end): Likewise.
38232         * iconvdata/utf-7.c (base64): Likewise.
38233         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
38234         * iconv/gconv_close.c (__gconv_close): Likewise.
38235         * iconv/gconv_open.c (__gconv_open): Likewise.
38236         * iconv/gconv_simple.c (internal_ucs4_loop_single)
38237         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
38238         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
38239         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
38240         (ucs4le_internal_loop_single): Likewise.
38241         * iconv/iconv.c (iconv): Likewise.
38242         * iconv/iconv_close.c: Likewise.
38243         * iconv/loop.c (SINGLE): Likewise.
38244         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
38245         * include/atomic.h: Likewise.
38246         * inet/inet6_option.c (option_alloc): Likewise.
38247         * intl/bindtextdom.c (set_binding_values): Likewise.
38248         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
38249         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
38250         * intl/localealias.c (read_alias_file): Likewise.
38251         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
38252         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
38253         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
38254         * libio/fmemopen.c (fmemopen): Likewise.
38255         * libio/iofgets.c (_IO_fgets): Likewise.
38256         * libio/iofgets_u.c (fgets_unlocked): Likewise.
38257         * libio/iofgetws.c (fgetws): Likewise.
38258         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38259         * libio/iogetdelim.c (_IO_getdelim): Likewise.
38260         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38261         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38262         * locale/findlocale.c (_nl_find_locale): Likewise.
38263         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38264         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38265         Likewise.
38266         * locale/setlocale.c (setlocale): Likewise.
38267         * login/programs/pt_chown.c (main): Likewise.
38268         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38269         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38270         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38271         (mmap, mmap64, mremap, munmap): Likewise.
38272         * math/e_exp2l.c: Likewise.
38273         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38274         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38275         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38276         * math/s_catan.c (__catan): Likewise.
38277         * math/s_catanf.c (__catanf): Likewise.
38278         * math/s_catanh.c (__catanh): Likewise.
38279         * math/s_catanhf.c (__catanhf): Likewise.
38280         * math/s_catanhl.c (__catanhl): Likewise.
38281         * math/s_catanl.c (__catanl): Likewise.
38282         * math/s_ccosh.c (__ccosh): Likewise.
38283         * math/s_ccoshf.c (__ccoshf): Likewise.
38284         * math/s_ccoshl.c (__ccoshl): Likewise.
38285         * math/s_cexp.c (__cexp): Likewise.
38286         * math/s_cexpf.c (__cexpf): Likewise.
38287         * math/s_cexpl.c (__cexpl): Likewise.
38288         * math/s_clog10.c (__clog10): Likewise.
38289         * math/s_clog10f.c (__clog10f): Likewise.
38290         * math/s_clog10l.c (__clog10l): Likewise.
38291         * math/s_clog.c (__clog): Likewise.
38292         * math/s_clogf.c (__clogf): Likewise.
38293         * math/s_clogl.c (__clogl): Likewise.
38294         * math/s_csin.c (__csin): Likewise.
38295         * math/s_csinf.c (__csinf): Likewise.
38296         * math/s_csinh.c (__csinh): Likewise.
38297         * math/s_csinhf.c (__csinhf): Likewise.
38298         * math/s_csinhl.c (__csinhl): Likewise.
38299         * math/s_csinl.c (__csinl): Likewise.
38300         * math/s_csqrt.c (__csqrt): Likewise.
38301         * math/s_csqrtf.c (__csqrtf): Likewise.
38302         * math/s_csqrtl.c (__csqrtl): Likewise.
38303         * math/s_ctan.c (__ctan): Likewise.
38304         * math/s_ctanf.c (__ctanf): Likewise.
38305         * math/s_ctanh.c (__ctanh): Likewise.
38306         * math/s_ctanhf.c (__ctanhf): Likewise.
38307         * math/s_ctanhl.c (__ctanhl): Likewise.
38308         * math/s_ctanl.c (__ctanl): Likewise.
38309         * math/w_pow.c: Likewise.
38310         * math/w_powf.c: Likewise.
38311         * math/w_powl.c: Likewise.
38312         * math/w_scalb.c (sysv_scalb): Likewise.
38313         * math/w_scalbf.c (sysv_scalbf): Likewise.
38314         * math/w_scalbl.c (sysv_scalbl): Likewise.
38315         * misc/error.c (error_tail): Likewise.
38316         * misc/pselect.c (__pselect): Likewise.
38317         * nis/nis_callback.c (__nis_create_callback): Likewise.
38318         * nis/nis_call.c (__nisfind_server): Likewise.
38319         * nis/nis_creategroup.c (nis_creategroup): Likewise.
38320         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38321         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38322         * nis/nis_getservlist.c (nis_getservlist): Likewise.
38323         * nis/nis_lookup.c (nis_lookup): Likewise.
38324         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38325         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38326         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38327         * nis/nis_xdr.c (xdr_endpoint): Likewise.
38328         * nis/nss_compat/compat-grp.c (getgrent_next_file)
38329         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38330         * nis/nss_compat/compat-initgroups.c (add_group)
38331         (internal_getgrent_r): Likewise.
38332         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38333         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38334         * nis/nss_compat/compat-spwd.c (getspent_next_file)
38335         (internal_getspnam_r): Likewise.
38336         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38337         (_nss_nis_getaliasbyname_r): Likewise.
38338         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
38339         (_nss_nis_getntohost_r): Likewise.
38340         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
38341         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
38342         (_nss_nis_getgrgid_r): Likewise.
38343         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
38344         (internal_nis_gethostent_r, internal_gethostbyname2_r)
38345         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
38346         (_nss_nis_gethostbyname4_r): Likewise.
38347         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
38348         (initgroups_netid): Likewise.
38349         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
38350         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
38351         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
38352         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
38353         (_nss_nis_getprotobynumber_r): Likewise.
38354         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
38355         (_nss_nis_getsecretkey): Likewise.
38356         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
38357         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
38358         (_nss_nis_getpwuid_r): Likewise.
38359         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
38360         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
38361         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
38362         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
38363         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
38364         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
38365         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
38366         Likewise.
38367         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
38368         (_nss_nisplus_getntohost_r): Likewise.
38369         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
38370         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
38371         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
38372         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
38373         Likewise.
38374         * nis/nss_nisplus/nisplus-initgroups.c
38375         (_nss_nisplus_initgroups_dyn): Likewise.
38376         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
38377         (_nss_nisplus_getnetbyaddr_r): Likewise.
38378         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
38379         (_nss_nisplus_getprotobynumber_r): Likewise.
38380         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
38381         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
38382         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
38383         Likewise.
38384         * nis/nss_nisplus/nisplus-service.c
38385         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
38386         (_nss_nisplus_getservbyport_r): Likewise.
38387         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
38388         (_nss_nisplus_getspnam_r): Likewise.
38389         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
38390         Likewise.
38391         * nscd/aicache.c (addhstaiX): Likewise.
38392         * nscd/cache.c (cache_search, prune_cache): Likewise.
38393         * nscd/connections.c (register_traced_file, send_ro_fd)
38394         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
38395         (main_loop_epoll): Likewise.
38396         * nscd/grpcache.c (addgrbyX): Likewise.
38397         * nscd/hstcache.c (addhstbyX): Likewise.
38398         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38399         * nscd/mem.c (gc, mempool_alloc): Likewise.
38400         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
38401         (addinnetgrX): Likewise.
38402         * nscd/nscd-client.h (__nscd_acquire_maplock)
38403         (__nscd_drop_map_ref): Likewise.
38404         * nscd/nscd_getai.c (__nscd_getai): Likewise.
38405         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38406         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
38407         Likewise.
38408         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
38409         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38410         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
38411         (__nscd_get_map_ref): Likewise.
38412         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
38413         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
38414         Likewise.
38415         * nscd/pwdcache.c (addpwbyX): Likewise.
38416         * nscd/selinux.c (preserve_capabilities): Likewise.
38417         * nscd/servicescache.c (addservbyX): Likewise.
38418         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
38419         * posix/fnmatch.c (fnmatch): Likewise.
38420         * posix/getopt.c (_getopt_internal_r): Likewise.
38421         * posix/glob.c (glob, glob_in_dir): Likewise.
38422         * posix/wordexp.c (exec_comm_child): Likewise.
38423         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
38424         (getanswer_r, gaih_getanswer_slice): Likewise.
38425         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
38426         * resolv/res_init.c: Likewise.
38427         * resolv/res_mkquery.c (res_nmkquery): Likewise.
38428         * resolv/res_query.c (__libc_res_nquery): Likewise.
38429         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
38430         Likewise.
38431         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
38432         * stdio-common/perror.c (perror): Likewise.
38433         * stdio-common/printf_fp.c (___printf_fp): Likewise.
38434         * stdio-common/tmpnam.c (tmpnam): Likewise.
38435         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38436         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
38437         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
38438         Likewise.
38439         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
38440         * stdlib/putenv.c (putenv): Likewise.
38441         * stdlib/setenv.c (__add_to_environ): Likewise.
38442         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38443         * stdlib/strtol_l.c (INTERNAL): Likewise.
38444         * string/memmem.c (memmem): Likewise.
38445         * string/strerror.c (strerror): Likewise.
38446         * string/strnlen.c (__strnlen): Likewise.
38447         * string/test-memmem.c (simple_memmem): Likewise.
38448         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
38449         * sunrpc/pm_getport.c (__get_socket): Likewise.
38450         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
38451         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
38452         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
38453         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
38454         Likewise.
38455         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
38456         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38457         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38458         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
38459         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38460         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
38461         Likewise.
38462         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
38463         Likewise.
38464         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38465         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38466         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38467         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38468         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
38469         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
38470         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38471         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
38472         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38473         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
38474         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38475         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
38476         Likewise.
38477         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
38478         Likewise.
38479         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
38480         Likewise.
38481         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
38482         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38483         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
38484         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
38485         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
38486         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
38487         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38488         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
38489         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
38490         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
38491         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
38492         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38493         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38494         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
38495         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38496         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38497         Likewise.
38498         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
38499         Likewise.
38500         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
38501         Likewise.
38502         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
38503         Likewise.
38504         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38505         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38506         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
38507         Likewise.
38508         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
38509         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
38510         * sysdeps/posix/opendir.c (__opendirat): Likewise.
38511         * sysdeps/posix/sleep.c: Likewise.
38512         * sysdeps/posix/tempname.c: Likewise.
38513         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
38514         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38515         Likewise.
38516         * sysdeps/powerpc/powerpc32/dl-machine.h
38517         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
38518         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38519         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38520         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
38521         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
38522         Likewise.
38523         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
38524         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
38525         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38526         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
38527         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38528         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
38529         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
38530         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
38531         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38532         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
38533         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
38534         (elf_machine_lazy_rel): Likewise.
38535         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38536         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
38537         (elf_machine_lazy_rel): Likewise.
38538         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
38539         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
38540         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
38541         * sysdeps/unix/grantpt.c (grantpt): Likewise.
38542         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
38543         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
38544         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
38545         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38546         Likewise.
38547         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
38548         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
38549         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
38550         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
38551         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38552         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38553         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
38554         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
38555         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
38556         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38557         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38558         Likewise.
38559         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
38560         (__posix_fallocate64_l64): Likewise.
38561         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
38562         (posix_fallocate): Likewise.
38563         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
38564         Likewise.
38565         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38566         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
38567         (getifaddrs_internal): Likewise.
38568         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
38569         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
38570         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
38571         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38572         * sysdeps/unix/sysv/linux/posix_fallocate64.c
38573         (__posix_fallocate64_l64): Likewise.
38574         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38575         Likewise.
38576         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
38577         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
38578         (__get_clockfreq): Likewise.
38579         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
38580         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
38581         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
38582         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38583         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38584         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
38585         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
38586         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
38587         Likewise.
38588         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
38589         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
38590         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
38591         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
38592         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38593         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
38594         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
38595         Likewise.
38596         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38597         (posix_fallocate): Likewise.
38598         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38599         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
38600         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
38601         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
38602         (elf_machine_rela, elf_machine_rela_relative)
38603         (elf_machine_lazy_rel): Likewise.
38604         * time/asctime.c (asctime_internal): Likewise.
38605         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
38606         * time/tzset.c (__tzset_parse_tz): Likewise.
38607         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38608         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38609         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
38610         * wcsmbs/wcsmbsload.h: Likewise.
38612         [BZ #15894]
38613         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
38615         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
38616         (arena_get2): Remove THREAD_STATS conditionals.
38617         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
38618         (__malloc_stats, int): Likewise.
38620 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
38622         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
38623         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
38625         * manual/setjmp.texi: Fix typos/grammar errors.
38627         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
38628         Only return early when n is <= 0.  Delete unused return statement.
38630         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
38631         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
38632         * debug/tst-longjmp_chk3.c: New file.
38634         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
38635         (test_main): Replace code with set_fortify_handler call.
38636         * debug/test-strcpy_chk.c: Likewise.
38637         * debug/tst-chk1.c: Likewise.
38638         * debug/tst-longjmp_chk.c: Likewise.
38639         * test-skeleton.c: Include fcntl.h & paths.h
38640         (set_fortify_handler): Define.
38642         * debug/tst-longjmp_chk.c: Add header comment and include
38643         ../test-skeleton.c.
38644         (do_test): Mark static.
38645         (TEST_FUNCTION): Define.
38647         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
38648         (IP_PMTUDISC_INTERFACE): Likewise.
38649         (IP_MULTICAST_IF): Likewise.
38650         (IP_MULTICAST_TTL): Likewise.
38651         (IP_MULTICAST_LOOP): Likewise.
38652         (IP_ADD_MEMBERSHIP): Likewise.
38653         (IP_DROP_MEMBERSHIP): Likewise.
38654         (IP_UNBLOCK_SOURCE): Likewise.
38655         (IP_BLOCK_SOURCE): Likewise.
38656         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
38657         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
38658         (IP_MSFILTER): Likewise.
38659         (MCAST_JOIN_GROUP): Likewise.
38660         (MCAST_BLOCK_SOURCE): Likewise.
38661         (MCAST_UNBLOCK_SOURCE): Likewise.
38662         (MCAST_LEAVE_GROUP): Likewise.
38663         (MCAST_JOIN_SOURCE_GROUP): Likewise.
38664         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
38665         (MCAST_MSFILTER): Likewise.
38666         (IP_MULTICAST_ALL): Likewise.
38667         (IP_UNICAST_IF): Likewise.
38669         * timezone/Makefile: Delete $(have-ksh) check.
38670         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
38671         * timezone/tzselect.ksh: Add +x mode bits.
38673         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
38674         (ANON_INODE_FS_MAGIC): Likewise.
38675         (BDEVFS_MAGIC): Likewise.
38676         (BINFMTFS_MAGIC): Likewise.
38677         (BTRFS_TEST_MAGIC): Likewise.
38678         (CRAMFS_MAGIC_WEND): Likewise.
38679         (DEBUGFS_MAGIC): Likewise.
38680         (ECRYPTFS_SUPER_MAGIC): Likewise.
38681         (EXT3_SUPER_MAGIC): Likewise.
38682         (EXT4_SUPER_MAGIC): Likewise.
38683         (FUTEXFS_SUPER_MAGIC): Likewise.
38684         (HOSTFS_SUPER_MAGIC): Likewise.
38685         (HUGETLBFS_MAGIC): Likewise.
38686         (MINIX3_SUPER_MAGIC): Likewise.
38687         (MTD_INODE_FS_MAGIC): Likewise.
38688         (NILFS_SUPER_MAGIC): Likewise.
38689         (OPENPROM_SUPER_MAGIC): Likewise.
38690         (PIPEFS_MAGIC): Likewise.
38691         (PSTOREFS_MAGIC): Likewise.
38692         (QNX6_SUPER_MAGIC): Likewise.
38693         (RAMFS_MAGIC): Likewise.
38694         (REISERFS_SUPER_MAGIC_STRING): Likewise.
38695         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
38696         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
38697         (SECURITYFS_MAGIC): Likewise.
38698         (SELINUX_MAGIC): Likewise.
38699         (SMACK_MAGIC): Likewise.
38700         (SOCKFS_MAGIC): Likewise.
38701         (SQUASHFS_MAGIC): Likewise.
38702         (STACK_END_MAGIC): Likewise.
38703         (TMPFS_MAGIC): Likewise.
38704         (USBDEVICE_SUPER_MAGIC): Likewise.
38705         (V9FS_MAGIC): Likewise.
38706         (XENFS_SUPER_MAGIC): Likewise.
38707         (CRAMFS_MAGIC): Fix typo in comment.
38708         (EXT2_SUPER_MAGIC): Update comment.
38709         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
38711 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
38713         * sysdeps/arm: Move directory from ports/sysdeps/arm.
38714         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
38715         * sysdeps/unix/sysv/linux/arm: Move directory from
38716         ports/sysdeps/unix/sysv/linux/arm.
38717         * README: Update listing for arm-*-linux-gnueabi.
38719         * README: Remove mention of am33.
38721 2014-02-07  Roland McGrath  <roland@hack.frob.com>
38723         * bits/sigset.h (__sigemptyset): Use a statement expression rather
38724         than the comma operator, to avoid "rhs of comma has no effect"
38725         compiler warnings.
38726         (__sigfillset, __sigandset, __sigorset): Likewise.
38727         * include/signal.h (__sigemptyset): Likewise.
38728         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
38730 2014-02-07  Allan McRae  <allan@archlinux.org>
38732         * version.h (RELEASE): Set to "development".
38733         (VERSION): Set to "2.19.90"
38734         * NEWS: Add 2.20 section.
38736 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
38738         [BZ #16529]
38739         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
38741 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38743         * manual/contrib.texi: Update entry for Carlos O'Donell,
38744         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
38746 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
38748         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
38750         * sysdeps/unix/sysv/linux/kernel-features.h
38751         [__LINUX_KERNEL_VERSION >= 0x020621]
38752         (__ASSUME_PROC_PID_TASK_COMM): Define.
38754 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38756         [BZ #16398]
38757         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
38758         conversion when destination buffer does not have enough space.
38759         * libio/tst-ftell-partial-wide.c: New test case.
38760         * libio/Makefile (tests): Add tst-ftell-partial-wide.
38762         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
38763         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
38764         Leonard and Allan McRae.
38766 2014-02-04  David S. Miller  <davem@davemloft.net>
38768         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
38769         32-bit.
38771 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38774         New file
38775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38776         New file
38777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38778         New file.
38779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38780         New file.
38781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38782         New file.
38783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38784         New file.
38785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38786         New file.
38787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38788         New file.
38789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38790         New file.
38791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38792         New file.
38793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38794         New file.
38795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38796         New file.
38797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38798         New file.
38800 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38802         * nptl/shlib-versions: Change powerpc*le start to 2.17.
38803         * shlib-versions: Likewise.
38805 2014-02-04  Roland McGrath  <roland@hack.frob.com>
38806             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38808         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
38809         (abilist-pattern): New variable, set to %-le.abilist.
38811         * Makerules (abilist-pattern): New variable.
38812         (vpath): Use $(abilist-pattern) in place of %.abilist.
38813         (check-abi-% pattern rule): Likewise.
38814         (check-abi, update-abi): Likewise.
38816 2014-02-04  Eric Wong  <normalperson@yhbt.net>
38818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38820 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
38822         * manual/startup.texi: Add next, previous, and top entries for
38823         the `Program Arguments' and `Environment Variables' nodes.
38825 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
38827         * manual/macros.texi: Add comments before MTASC-safety macros.
38829         * manual/users.texi: Document MTASC-safety properties.
38831         * manual/threads.texi (pthread_key_create, pthread_key_delete)
38832         (pthread_getspecific, pthread_setspecific): Format with
38833         @deftypefun, and add @safety note.
38834         * manual/signal.texi: Move comments that analyze the above
38835         functions to their home place.
38837 2014-02-03  Allan McRae  <allan@archlinux.org>
38839         * po/sl.po: Update Slovenian translation from translation project.
38841 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
38843         * manual/time.texi (timegm): Add missing blank after @c.
38844         Reported by Joseph Myers <joseph@codesourcery.com>.
38846 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
38848         * manual/check-safety.sh: New.
38849         * manual/Makefile ($(objpfx)stamp-summary): Run it.
38851         * manual/terminal.texi: Document MTASC-safety properties.
38853         * manual/filesys.texi: Document MTASC-safety properties.
38855         * manual/errno.texi: Document MTASC-safety properties.
38857         * manual/intro.texi: Document safety identifiers and
38858         conditionals.
38860         * manual/string.texi (wcstok): Fix prototype.
38861         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
38863         * manual/time.texi: Document MTASC-safety properties.
38865         * manual/string.texi: Document MTASC-safety properties.
38867         * manual/threads.texi: Document MTASC-safety properties.
38869         * manual/stdio.texi: Document MTASC-safety properties.
38871         * manual/syslog.texi: Document MTASC-safety properties.
38873         * manual/sysinfo.texi: Document MTASC-safety properties.
38875         * manual/startup.texi: Document MTASC-safety properties.
38877         * manual/socket.texi: Document MTASC-safety properties.
38879         * manual/signal.texi: Document MTASC-safety properties.
38881 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
38883         * manual/setjmp.texi: Document MTASC-safety properties.
38885         * manual/search.texi: Document MTASC-safety properties.
38887         * manual/resource.texi: Document MTASC-safety properties.
38889         * manual/process.texi: Document MTASC-safety properties.
38891         * manual/platform.texi: Document MTASC-safety properties.
38893         * manual/pipe.texi: Document MTASC-safety properties.
38895         * manual/pattern.texi: Document MTASC-safety properties.
38897         * manual/message.texi: Document MTASC-safety properties.
38899         [BZ #12751]
38900         * manual/memory.texi: Document MTASC-safety properties.
38902         * manual/math.texi: Document MTASC-safety properties.
38904         * manual/locale.texi: Document MTASC-safety properties.
38906         * manual/llio.texi: Document MTASC-safety properties.
38908         * manual/libdl.texi: New.
38910         * manual/lang.texi: Document MTASC-safety properties.
38912         * manual/job.texi: Document MTASC-safety properties.
38914         * manual/getopt.texi: Document MTASC-safety properties.
38916         * manual/ctype.texi: Document MTASC-safety properties.
38918 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
38920         [BZ #16046]
38921         * csu/libc-tls.c (static_map): Remove variable.
38922         (__libc_setup_tls): Use main executable's link map for TLS data.
38923         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
38924         casing for LM_ID_BASE and GL(dl_nns).
38925         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
38926         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
38927         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
38928         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
38929         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
38930         member.
38931         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
38932         l_phnum members.
38934 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
38936         * manual/debug.texi: Document MTASC-safety properties.
38938 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
38940         [BZ #16510]
38941         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
38942         of __x86_64__ when disabling x87 inline functions.
38944 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
38946         * manual/charset.texi: Document MTASC-safety properties.
38948         * manual/crypt.texi: Document MTASC-safety properties.
38950         * manual/conf.texi: Document MTASC-safety properties.
38952         * manual/arith.texi: Document MTASC-safety properties.
38954         * manual/argp.texi: Document MTASC-safety properties.
38956         * manual/macros.texi: Introduce macros to document multi
38957         thread, asynchronous signal and asynchronous cancellation
38958         safety properties.
38959         * manual/intro.texi: Introduce the properties themselves.
38961 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38963         * sysdeps/sh/sh4/Makefile: New file.
38965 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
38967         * math/gen-libm-test.pl ($srcdir): New variable.
38968         ($auto_input): Use it.
38970 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38972         [BZ #16506]
38973         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
38974         access beyond array bounds when parsing netgroups file.
38976         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
38977         the old buffer before realloc.
38979 2014-01-27  Allan McRae  <allan@archlinux.org>
38981         * po/fr.po: Update French translation from translation project.
38983 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38985         * sysdeps/sh/libm-test-ulps: Regenerate.
38987 2014-01-24  David S. Miller  <davem@davemloft.net>
38989         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
38991 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38993         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
38994         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
38996 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38998         [BZ #16474]
38999         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
39000         string pointers after reallocation.
39002 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39004         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
39005         __SH4A__ instead of __SH_FPU_ANY__.
39007 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39009         * sysdeps/sh/fpu_control.h: New file.
39010         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
39011         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
39012         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
39013         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
39014         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
39015         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
39016         * sysdeps/sh/sys/ucontext.h: Remove.
39017         * sysdeps/sh/sys: Remove directory.
39019 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39021         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
39022         s390/sys/ucontext.h.
39023         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
39024         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
39026 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
39028         [BZ #15605]
39029         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
39031 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39033         [BZ#16431]
39034         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39035         Adjust the vDSO correctly for internal calls.
39036         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
39038 2014-01-20  Allan McRae  <allan@archlinux.org>
39040         * po/ca.po: Update Catalan translation from translation project.
39042 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
39044         * sysdeps/s390/sotruss-lib.c: New file.
39046 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39048         [BZ#16430]
39049         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
39050         (__GI___gettimeofday): Alias for a different internal symbol to avoid
39051         local calls issues by not having a PLT stub required for IFUNC calls.
39052         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
39054 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
39056         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
39057         * math/test-fpucw-static.c: Likewise.
39059 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39061         [BZ #16453]
39062         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
39064 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39066         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
39067         implementation for powerpc.
39069 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
39071         [BZ #14782]
39072         * sysdeps/posix/system.c (__libc_system): Do not enable
39073         asynchronous cancellation.
39075 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39077         [BZ #16427]
39078         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
39079         handling only for numbers special also in the IEEE case.
39081 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39083         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39085 2014-01-11  Allan McRae  <allan@archlinux.org>
39087         * po/bg.po: Update Bulgarian translation from translation project.
39089         * po/de.po: Update German translation from translation project.
39091 2014-01-10  Roland McGrath  <roland@hack.frob.com>
39093         * sysdeps/generic/gcc-compat.h: New file.
39095 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39097         * benchtests/asin-inputs: Correct slow inputs.
39098         * benchtests/acos-inputs: Likewise.
39100 2014-01-10  Allan McRae  <allan@archlinux.org>
39102         * po:sv.po: Update Swedish translation from translation project.
39104         * po/vi.po: Update Vietnamese translation from translation project.
39106         * po/eo.po: Update Esperanto translation from translation project.
39108         * po/cs.po: Update Czech translation from translation project.
39110         * po/nl.po: Update Dutch translation from translation project.
39112         * po/pl.po: Update Polish translation from translation project.
39114         * po/ru.po: Update Russian translation from translation project.
39116         * po/uk.po: Update Ukrainian translation from translation project.
39118 2014-01-08  Brooks Moses  <bmoses@google.com>
39120         * elf/dl-load.c: Fix comment typo.
39122 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
39124         * po/header.pot: Rename to...
39125         * po/pot.header: ... this.
39126         * po/Makefile: Use pot.header.
39128 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
39129             Maxim Kuvyrkov  <maxim@kugelworks.com>
39131         [BZ #16394]
39132         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
39133         SRC and DEST against LEN.
39135 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39137         [BZ #16414]
39138         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
39139         implementation.
39140         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
39142 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39146 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
39148         [BZ #16408]
39149         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39150         for large positive arguments.
39152 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
39154         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39156         * math/auto-libm-test-in: Mark various tests with
39157         xfail-rounding:ldbl-128ibm.
39158         * math/auto-libm-test-out: Regenerated.
39160         [BZ #16407]
39161         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39162         Increase overflow threshold.
39164 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
39166         [BZ #14286]
39167         * stdio-common/vfprintf.c: Check for integer overflow.
39169 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39171         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39172         the first argument and return value of __tls_get_addr_internal.
39174 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39176         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39177         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39179 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39181         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
39182         * sysdeps/s390/rtld-global-offsets.sym: New file.
39183         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39184         GLIBC_2.19 symbol.
39185         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
39186         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
39187         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39188         ... this.
39189         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39190         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39191         ... this.
39192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39193         Regenerate.
39194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39195         Regenerate.
39196         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
39197         halfs of GPRs for high_gprs contexts.
39198         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
39199         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
39200         field.
39201         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
39202         uc_flags field.
39203         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
39204         64 bit versions:
39205         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
39206         for high GPRs (uc_high_gprs) and for future extensions
39207         (__reserved).
39208         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
39209         for future extensions (__reserved).
39210         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
39211         64 bit versions:
39212         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
39213         SC_HIGHGPRS offset definition.
39214         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
39215         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
39217         * Versions.def: Add GLIBC_2.19 for libpthread.
39218         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
39219         siglongjmp for libpthread with GLIBC_2.19 symver.
39220         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
39221         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
39222         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
39223         * sysdeps/s390/__longjmp.c: New file.
39224         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
39225         * sysdeps/s390/longjmp.c: New file.
39226         * sysdeps/s390/setjmp.S: New file.
39227         * sysdeps/s390/sigjmp.S: New file.
39228         * sysdeps/s390/v1-longjmp.c: New file.
39229         * sysdeps/s390/v1-setjmp.h: New file.
39230         * sysdeps/s390/v1-sigjmp.c: New file.
39231         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
39232         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
39233         GLIBC_2.19 version.
39234         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
39235         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
39236         versioned symbols for ____longjmp_chk.
39237         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39238         Likewise.
39239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39240         Regenerate.
39241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39242         Regenerate.
39243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39244         Regenerate.
39245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39246         Regenerate.
39247         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
39248         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
39249         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
39250         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
39251         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
39252         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
39253         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
39254         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
39255         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
39256         * sysdeps/s390/rtld-__longjmp.c: New file.
39257         * sysdeps/s390/rtld-setjmp.S: New file.
39259 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
39261         [BZ #16400]
39262         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39263         Return -__logl (x) for small positive arguments without evaluating
39264         a polynomial.
39266 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
39268         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39269         Rename to ...
39270         (__ptrace_peeksiginfo_args): ... this.
39271         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39272         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39273         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39275 2014-01-06  Allan McRae  <allan@archlinux.org>
39277         * inet/netinet/in.h: Fix typo in comment.
39279 2014-01-05  Andreas Jaeger  <aj@suse.de>
39281         * sysdeps/i386/fpu/libm-test-ulps: Update.
39283 2014-01-05  Allan McRae  <allan@archlinux.org>
39285         * po/libc.pot: Regenerated.
39287         * malloc/memusagestat.c: Fix gettext call formatting.
39289 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
39291         * nscd/nscd.c: Improve usage() output.
39293 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
39295         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39296         * sysdeps/unix/sysv/linux/configure: Regenerated.
39297         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39298         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39300 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39302         [BZ #16390]
39303         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39304         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39306 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39308         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39309         extra tokens at end of #undef directive.
39310         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39311         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39312         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39314 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39316         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39318         * math/auto-libm-test-in: Mark various tests with
39319         xfail-rounding:ldbl-128ibm.
39320         * math/auto-libm-test-out: Regenerated.
39322 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
39324         [BZ #16386]
39325         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39326         numbers with subnormal high part when calculating exponent.
39328         [BZ #16385]
39329         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39330         fabs.
39332         [BZ #16384]
39333         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39334         M_LN2l.
39335         (__ieee754_acoshl): Use __log1pl not __log1p.
39337 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
39339         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
39340         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
39341         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
39342         (grow_heap, heap_trim, _int_new_arena, get_free_list)
39343         (reused_arena, arena_get2): Convert to GNU style.
39344         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
39345         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
39346         (memalign_check, __malloc_set_state): Likewise.
39347         * malloc/mallocbug.c (main): Likewise.
39348         * malloc/malloc.c (__malloc_assert, malloc_init_state)
39349         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
39350         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
39351         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
39352         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
39353         (__posix_memalign, malloc_info): Likewise.
39354         * malloc/malloc.h: Likewise.
39355         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
39356         (mallochook, memalignhook, reallochook, mabort): Likewise.
39357         * malloc/mcheck.h: Likewise.
39358         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
39359         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
39360         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39361         * malloc/morecore.c (__default_morecore): Likewise.
39362         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
39363         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
39364         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
39365         (print_and_abort): Likewise.
39366         * malloc/obstack.h: Likewise.
39367         * malloc/set-freeres.c (__libc_freeres): Likewise.
39368         * malloc/tst-mallocstate.c (main): Likewise.
39369         * malloc/tst-mtrace.c (main): Likewise.
39370         * malloc/tst-realloc.c (do_test): Likewise.
39372 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39374         [BZ #16366]
39375         * nscd/netgroupcache.c (do_notfound): New function.
39376         (addgetnetgrentX): Use it.
39378         [BZ # 16365]
39379         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
39380         NSS_STATUS_NOTFOUND.
39382 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
39384         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39387 2014-01-01  Allan McRae  <allan@archlinux.org>
39389         * scripts/update-copyrights: Update configure input file suffix.
39391         * NEWS: Update copyright year.
39392         * catgets/gencat.c: Likewise.
39393         * csu/version.c: Likewise.
39394         * debug/catchsegv.sh: Likewise.
39395         * debug/pcprofiledump.c: Likewise.
39396         * debug/xtrace.sh: Likewise.
39397         * elf/ldconfig.c: Likewise.
39398         * elf/ldd.bash.in: Likewise.
39399         * elf/pldd.c: Likewise.
39400         * elf/sotruss.ksh: Likewise.
39401         * elf/sprof.c: Likewise.
39402         * iconv/iconv_prog.c: Likewise.
39403         * iconv/iconvconfig.c: Likewise.
39404         * locale/programs/locale.c: Likewise.
39405         * locale/programs/localedef.c: Likewise.
39406         * login/programs/pt_chown.c: Likewise.
39407         * malloc/memusage.sh: Likewise.
39408         * malloc/memusagestat.c: Likewise.
39409         * malloc/mtrace.pl: Likewise.
39410         * manual/libc.texinfo: Likewise.
39411         * nscd/nscd.c: Likewise.
39412         * nss/getent.c: Likewise.
39413         * nss/makedb.c: Likewise.
39414         * posix/getconf.c: Likewise.
39415         * scripts/test-installation.pl: Likewise.
39417         * All files with FSF copyright notices: Update copyright dates
39418         using scripts/update-copyrights.
39419         * intl/plural.c: Regenerated.
39420         * locale/programs/charmap-kw.h: Likewise.
39421         * locale/programs/locfile-kw.h: Likewise.
39423 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
39425         * sysdeps/unix/sysv/linux/configure: Regenerated.
39426         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
39427         the linux/fanotify.h header.
39428         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
39429         HAVE_LINUX_FANOTIFY_H is defined.
39431 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39433         * benchtests/cos-inputs: New inputs.
39434         * benchtests/sin-inputs: Likewise.
39436         * benchtests/atan-inputs: New inputs. Fix name of multiple
39437         precision fallback inputs.
39439         * benchtests/atanh-inputs: New inputs.
39440         * benchtests/tanh-inputs: Likewise.
39442         * benchtests/acosh-inputs: New inputs.
39443         * benchtests/asinh-inputs: Likewise.
39445         * benchtests/cosh-inputs: New inputs.
39446         * benchtests/sinh-inputs: Likewise.
39448         * benchtests/acos-inputs: Add more inputs.
39449         * benchtests/asin-inputs: Likewise.
39451 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
39453         [BZ #16375]
39454         * manual/arith.texi: Fix spelling.
39455         * manual/charset.texi: Likewise.
39456         * manual/errno.texi: Likewise.
39457         * manual/filesys.texi: Likewise.
39458         * manual/lang.texi: Likewise.
39459         * manual/llio.texi: Likewise.
39460         * manual/locale.texi: Likewise.
39461         * manual/message.texi: Likewise.
39462         * manual/resource.texi: Likewise.
39463         * manual/search.texi: Likewise.
39464         * manual/setjmp.texi: Likewise.
39465         * manual/stdio.texi: Likewise.
39466         * manual/string.texi: Likewise.
39467         * manual/sysinfo.texi: Likewise.
39468         * manual/time.texi: Likewise.
39470 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
39472         * po/sl.po: New file.
39474 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
39476         * .gitignore: Add core/.gdbinit/.gdb_history.
39478 2013-12-27  Allan McRae  <allan@archlinux.org>
39480         [BZ #16369]
39481         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
39482         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
39484 2013-12-24  Brooks Moses  <bmoses@google.com>
39486         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
39487         all compilers that claim C++98 compliance, not just GCC.
39488         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39489         Likewise.
39491 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39493         * NEWS: Restore accidentally deleted bug-fix entries.
39495 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39496             Ondřej Bílka  <neleai@seznam.cz>
39498         [BZ #15073]
39499         * malloc/malloc.c (_int_free): Perform sanity check only if we
39500         have_lock.
39502 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
39504         [BZ #12986]
39505         * manual/stdio.texi (String Input Conversions): Clarify that character
39506         classes are not supported.
39508 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39512 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
39514         [BZ #16337]
39515         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39516         Calculate results for small negative arguments directly rather
39517         than using reflection formula with special underflow handling.
39519         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
39520         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
39521         sysdeps/unix/bsd/bsd4.4/syscalls.list.
39522         (fchflags): Likewise.
39523         (revoke): Likewise.
39524         (setlogin): Likewise.
39525         (sigaltstack): Likewise.
39526         (wait4): Likewise.
39527         (sigblock): Remove.
39528         (sigsetmask): Likewise.
39529         (wait3): Likewise.
39530         (waitpid): Likewise.
39531         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
39532         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
39533         file.
39534         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
39535         * sysdeps/unix/bsd/Makefile: ... here.
39536         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
39537         * sysdeps/unix/bsd/Versions: ... here.
39538         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
39539         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
39540         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
39541         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
39542         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
39543         * sysdeps/unix/bsd/sigblock.c: ... here.
39544         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
39545         * sysdeps/unix/bsd/sigsetmask.c: ... here.
39546         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
39547         * sysdeps/unix/bsd/sigvec.c: ... here.
39548         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
39549         * sysdeps/unix/bsd/tcdrain.c: ... here.
39550         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
39551         * sysdeps/unix/bsd/tcgetattr.c: ... here.
39552         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
39553         * sysdeps/unix/bsd/tcsetattr.c: ... here.
39554         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
39555         * sysdeps/unix/bsd/wait.c: ... here.
39556         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
39557         * sysdeps/unix/bsd/wait3.c: ... here.
39558         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
39559         * sysdeps/unix/bsd/waitpid.c: ... here.
39561 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
39563         [BZ #16356]
39564         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
39565         round-to-nearest for [!USE_AS_EXPM1L].
39566         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
39567         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
39568         more tests of exp and exp10.  Expect some exp10 tests to miss
39569         exceptions or fail in directed rounding modes.
39570         * math/auto-libm-test-out: Regenerated.
39571         * math/libm-test.inc (exp10_tonearest_test_data): New array.
39572         (exp10_test_tonearest): New function.
39573         (exp10_towardzero_test_data): New array.
39574         (exp10_test_towardzero): New function.
39575         (exp10_downward_test_data): New array.
39576         (exp10_test_downward): New function.
39577         (exp10_upward_test_data): New array.
39578         (exp10_test_upward): New function.
39579         (main): Call the new functions.
39580         * sysdeps/i386/fpu/libm-test-ulps: Update.
39581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39583 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
39585         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
39586         asinh, atan, atan2, atanh, cbrt, cos and cosh.
39587         * math/auto-libm-test-out: Regenerated.
39588         * math/libm-test.inc (acosh_test_data): Add more tests.
39589         (atanh_test_data): Likewise.
39590         (ceil_test_data): Likewise.
39591         (copysign_test_data): Likewise.
39592         * sysdeps/i386/fpu/libm-test-ulps: Update.
39593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39595         * timezone/checktab.awk: Update from tzcode 2013i.
39596         * timezone/private.h: Likewise.
39597         * timezone/scheck.c: Likewise.
39598         * timezone/tzfile.h: Likewise.
39599         * timezone/tzselect.ksh: Likewise.
39600         * timezone/zdump.c: Likewise.
39601         * timezone/zic.c: Likewise.
39603         * math/auto-libm-test-in: Add tests of cpow.
39604         * math/auto-libm-test-out: Regenerated.
39605         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
39606         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39607         mpc_cc_c.
39608         (func_calc_desc): Add mpc_cc_c union field.
39609         (test_functions): Add cpow.
39610         (special_fill_2pi): New function.
39611         (special_real_inputs): Add 2pi.
39612         (calc_generic_results): Handle mpc_cc_c.
39613         * sysdeps/i386/fpu/libm-test-ulps: Update.
39614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39616         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
39617         csqrt, ctan and ctanh.
39618         * math/auto-libm-test-out: Regenerated.
39619         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39620         (TEST_COND_x86): Likewise.
39621         (ccos_test_data): Use AUTO_TESTS_c_c.
39622         (ccosh_test_data): Likewise.
39623         (cexp_test_data): Likewise.
39624         (clog_test_data): Likewise.
39625         (csqrt_test_data): Likewise.
39626         (ctan_test_data): Likewise.
39627         (ctan_tonearest_test_data): Likewise.
39628         (ctan_towardzero_test_data): Likewise.
39629         (ctan_downward_test_data): Likewise.
39630         (ctan_upward_test_data): Likewise.
39631         (ctanh_test_data): Likewise.
39632         (ctanh_tonearest_test_data): Likewise.
39633         (ctanh_towardzero_test_data): Likewise.
39634         (ctanh_downward_test_data): Likewise.
39635         (ctanh_upward_test_data): Likewise.
39636         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39637         mpc_c_c.
39638         (func_calc_desc): Add mpc_c_c union field.
39639         (FUNC_mpc_c_c): New macro.
39640         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
39641         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
39642         ctanh.
39643         (special_fill_min_subnorm_p120): New function.
39644         (special_real_inputs): Add min_subnorm_p120.
39645         (calc_generic_results): Handle mpc_c_c.
39646         * sysdeps/i386/fpu/libm-test-ulps: Update.
39647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39649 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39651         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
39652         (do_sin_slow): New functions.
39653         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
39654         (cslow2, csloww1, csloww2): Use the new functions.
39656         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
39657         Use M to change sign of result instead of X.  Assume X is
39658         positive.
39659         (csloww1): Likewise.
39660         (__sin): Adjust.
39661         (__cos): Adjust.
39663         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
39664         arguments A and DA.
39665         (__sin): Adjust.
39666         (__cos): Likewise.
39668         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
39669         (__cos): Likewise.
39670         (sloww1): Don't adjust sign of DX.
39671         (csloww1): Likewise.
39672         (sloww2): Use X directly and don't adjust sign of DX.
39673         (csloww2): Likewise.
39675 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39677         * math/auto-libm-test-in: Add tests of cabs and carg.
39678         * math/auto-libm-test-out: Regenerated.
39679         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
39680         (carg_test_data): Likewise.
39681         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39682         mpc_c_f.
39683         (func_calc_desc): Add mpc_c_f union field.
39684         (test_functions): Add cabs and carg.
39685         (calc_generic_results): Handle mpc_c_f.
39687         * sysdeps/powerpc/powerpc32/libgcc-compat.S
39688         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
39689         as a macro and a compat symbol.
39690         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39691         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39692         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39693         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39694         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
39695         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
39696         not use .hidden.
39697         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
39698         Likewise.
39699         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
39700         Likewise.
39701         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
39702         Likewise.
39703         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
39704         Likewise.
39705         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
39706         Likewise.
39707         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
39708         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
39709         from GLIBC_2.3.2.
39711 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39715 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39717         * manual/texinfo.tex: Update to version 2013-11-26.10 with
39718         trailing whitespace removed.
39719         * scripts/config.guess: Update to version 2013-11-29.
39720         * scripts/config.sub: Update to version 2013-10-01.
39722         * math/auto-libm-test-in: Add tests of sincos.
39723         * math/auto-libm-test-out: Regenerated.
39724         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
39725         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39726         mpfr_f_11.
39727         (func_calc_desc): Add mpfr_f_11 union field.
39728         (test_functions): Add sincos.
39729         (calc_generic_results): Handle mpfr_f_11.
39730         * sysdeps/i386/fpu/libm-test-ulps: Update.
39731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39733 2013-12-19  Andreas Schwab  <schwab@suse.de>
39735         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
39736         CALL_MCOUNT.
39737         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39738         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
39739         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
39741 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39743         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
39744         * sysdeps/i386/fpu/libm-test-ulps: Update.
39745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39747         [BZ #16293]
39748         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
39749         round-to-nearest mode when using frndint.
39750         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
39751         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39752         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
39753         Likewise.
39754         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
39755         sinh test to fail.
39756         * math/auto-libm-test-out: Regenerated.
39757         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
39758         (TEST_COND_x86): Likewise.
39759         (expm1_tonearest_test_data): New array.
39760         (expm1_test_tonearest): New function.
39761         (expm1_towardzero_test_data): New array.
39762         (expm1_test_towardzero): New function.
39763         (expm1_downward_test_data): New array.
39764         (expm1_test_downward): New function.
39765         (expm1_upward_test_data): New array.
39766         (expm1_test_upward): New function.
39767         (main): Run the new test functions.
39768         * sysdeps/i386/fpu/libm-test-ulps: Update.
39769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39771         * include/features.h: Update comment documenting feature test
39772         macros.  Mention _DEFAULT_SOURCE in comment.
39773         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
39774         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
39775         _BSD_SOURCE and _SVID_SOURCE.
39776         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
39777         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
39778         !_SVID_SOURCE]: Likewise.
39779         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39780         (__USE_POSIX_IMPLICITLY): Define.
39781         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39782         (_POSIX_SOURCE): Undefine and redefine.
39783         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39784         (_POSIX_C_SOURCE): Likewise.
39785         * manual/creature.texi (_DEFAULT_SOURCE): Document.
39786         (Feature Test Macros): Update documentation of default features.
39788 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39790         * benchtests/Makefile: Add bench-strtok.
39791         * benchtests/bench-strtok.c: New file: strtok benchtest.
39793 2013-12-19  Allan McRae  <allan@archlinux.org>
39795         * manual/install.texi: Suppress menu for plain text output.
39796         * INSTALL: Regenerated.
39798 2013-12-18  Brooks Moses  <bmoses@google.com>
39800         [BZ #15846]
39801         * misc/getauxval.c: Include errno.h.
39802         (__getauxval): Set errno to ENOENT if the requested type is not
39803         found.
39804         * misc/sys/auxv.h (getauxval): Document that it may set errno;
39805         don't declare with __attribute_const__.
39806         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
39807         * manual/startup.texi: Document that getauxval sets errno.
39809 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39811         * math/auto-libm-test-in: Add tests of jn and yn.
39812         * math/auto-libm-test-out: Regenerated.
39813         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
39814         (yn_test_data): Likewise.
39815         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39816         mpfr_if_f.
39817         (func_calc_desc): Add mpfr_if_f union field.
39818         (FUNC_mpfr_if_f): New macro.
39819         (test_functions): Add jn and yn.
39820         (calc_generic_results): Assert type of second input for
39821         mpfr_ff_f.  Handle mpfr_if_f.
39822         (output_for_one_input_case): Disable all checking for arguments
39823         fitting floating-point types in case of an integer argument.
39824         * sysdeps/i386/fpu/libm-test-ulps: Update.
39825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39828         Don't expect fegetround reference in libm.so.
39830 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39832         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
39833         $(config-cflags-nofma).
39835 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39837         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
39838         * math/auto-libm-test-out: Regenerated.
39840         [BZ #16338]
39841         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
39842         to determine exponent and adjust argument to have exponent of -1.
39843         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
39844         log2.
39845         * math/auto-libm-test-out: Regenerated.
39846         * sysdeps/i386/fpu/libm-test-ulps: Update.
39847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39849 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
39851         * manual/probes.texi: Remove cases when per-thread arenas are
39852         disabled.
39854 2013-12-18  Andreas Schwab  <schwab@suse.de>
39856         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
39857         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
39858         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
39859         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
39860         * sysdeps/i386/i686/multiarch/Makefile: Update.
39861         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
39863 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39865         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
39866         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
39868 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
39870         [BZ #15968]
39871         Support TZ transition times < 00:00:00.
39872         This is needed for version-3 tz-format files; it supports time
39873         stamps past 2037 for America/Godthab (the only entry in the tz
39874         database for which this change is relevant).
39875         * manual/time.texi (TZ Variable): Document transition times
39876         from -167:59:59 through -00:00:01.
39877         * time/tzset.c (tz_rule): Time of day is now signed.
39878         (__tzset_parse_tz): Parse negative time of day.
39880         Document TZ transition times >= 25:00:00.
39881         * manual/time.texi (TZ Variable): Document transition times from
39882         25:00:00 through 167:59:59.  These are already supported, and this
39883         support will help with version-3 tz-format files.
39885         * manual/time.texi (TZ Variable): Modernize North America example
39886         to reflect current (i.e., 2007-and-later) daylight saving rules.
39888         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
39890 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39892         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
39893         * sysdeps/unix/bsd/bits/stat.h: Likewise.
39894         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
39895         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39896         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
39897         * sysdeps/unix/bsd/bsdstat.h: Likewise.
39898         * sysdeps/unix/bsd/clock.c: Likewise.
39899         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
39900         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
39901         * sysdeps/unix/bsd/init-posix.c: Likewise.
39902         * sysdeps/unix/bsd/poll.c: Likewise.
39903         * sysdeps/unix/bsd/ptsname.c: Likewise.
39904         * sysdeps/unix/bsd/seekdir.c: Likewise.
39905         * sysdeps/unix/bsd/setegid.c: Likewise.
39906         * sysdeps/unix/bsd/seteuid.c: Likewise.
39907         * sysdeps/unix/bsd/setgid.c: Likewise.
39908         * sysdeps/unix/bsd/setrgid.c: Likewise.
39909         * sysdeps/unix/bsd/setruid.c: Likewise.
39910         * sysdeps/unix/bsd/setsid.c: Likewise.
39911         * sysdeps/unix/bsd/setuid.c: Likewise.
39912         * sysdeps/unix/bsd/sigaction.c: Likewise.
39913         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
39914         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
39915         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
39916         * sysdeps/unix/bsd/telldir.c: Likewise.
39917         * sysdeps/unix/bsd/times.c: Likewise.
39918         * sysdeps/unix/bsd/usleep.c: Likewise.
39920         * misc/Makefile (install-lib): Remove libbsd-compat.a.
39921         ($(objpfx)libbsd-compat.a): Remove rule.
39923         * include/features.h (__FAVOR_BSD): Do not define.
39924         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
39925         features conflicting with POSIX.
39926         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
39927         (_BSD_SOURCE): Remove description of not being a subset of other
39928         feature test macros.
39929         * manual/job.texi (getpgrp): Do not document BSD version.
39930         (getpgid): Do not document by reference to BSD getpgrp.
39931         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
39932         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
39933         * signal/signal.h [__FAVOR_BSD]: Likewise.
39934         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
39935         instead of making contents conditional on [__FAVOR_BSD].
39936         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
39938 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39940         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39942 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39944         [BZ #16314]
39945         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
39946         values below 2**-450, not 2**-500.
39947         * math/auto-libm-test-in: Don't allow spurious underflow from
39948         hypot.
39949         * math/auto-libm-test-out: Regenerated.
39951         [BZ #16316]
39952         [BZ #16330]
39953         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
39954         values of ha and hb and sort them after adjusting subnormal
39955         arguments.
39956         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
39957         Likewise.
39958         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
39959         values of ea and eb and sort them after adjusting subnormal
39960         arguments.
39961         * math/auto-libm-test-in: Do not expect some hypot tests of
39962         subnormals to fail.  Add more hypot tests.
39963         * math/auto-libm-test-out: Regenerated.
39965 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39967         [BZ #13304]
39968         * sysdeps/sh/s_fma.c: New file.
39969         * sysdeps/sh/s_fmaf.c: New file.
39970         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
39971         version.
39972         * sysdeps/sh/Implies: Add sh/soft-fp.
39974 2013-12-16  Roland McGrath  <roland@hack.frob.com>
39976         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
39977         level of indirection to members `objname', `errstring', `malloced'.
39978         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
39979         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
39980         it as the __longjmp argument (just pass 1 instead).
39981         (_dl_catch_error): Initialize C with argument pointers and address of
39982         volatile local ERRCODE rather than copying values out of C at return.
39984 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
39986         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
39987         * math/auto-libm-test-out: Regenerated.
39988         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
39989         (hypot_test_data): Likewise.
39990         (pow_test_data): Likewise.
39991         (pow_tonearest_test_data): Likewise.
39992         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39993         mpfr_ff_f.
39994         (func_calc_desc): Add mpfr_ff_f union field.
39995         (FUNC_mpfr_ff_f): New macro.
39996         (test_functions): Add atan2, hypot and pow.
39997         (special_fill_min): New function.
39998         (special_fill_minus_min): Likewise.
39999         (special_fill_min_subnorm): Likewise.
40000         (special_fill_minus_min_subnorm): Likewise.
40001         (special_real_inputs): Add min, -min, min_subnorm and
40002         -min_subnorm.
40003         (calc_generic_results): Handle mpfr_ff_f.
40004         * sysdeps/i386/fpu/libm-test-ulps: Update.
40005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40007 2013-12-16  Will Newton  <will.newton@linaro.org>
40009         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
40010         (Aligned Memory Blocks): Add documentation for aligned_alloc
40011         and suggest it as an alternative to posix_memalign.
40012         (Hooks for Malloc): Document __memalign_hook is also called
40013         for aligned_alloc.  (Summary of Malloc): Add summary for
40014         aligned alloc.  Document __memalign_hook is also called
40015         for aligned_alloc.
40017 2013-12-16  Will Newton  <will.newton@linaro.org>
40019         * manual/memory.texi (Malloc Examples): Clarify default
40020         alignment documentation.  Suggest posix_memalign rather
40021         than memalign or valloc.
40022         (Aligned Memory Blocks): Remove suggestion to use memalign
40023         or valloc.  Remove obsolete comment about BSD.
40024         Document memalign errno values and mark the function obsolete.
40025         Document posix_memalign returned error codes.  Mark valloc
40026         as obsolete.  (Hooks for Malloc): __memalign_hook is also
40027         called for posix_memalign and valloc.
40028         (Summary of Malloc): Add posix_memalign to function summary.
40029         __memalign_hook is also called for posix_memalign and valloc.
40031 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40033         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
40034         TAYLOR_SIN.
40035         (__sin): Adjust.
40036         (__cos): Likewise.
40037         (sloww): Use mynumber union.  Expand ternary operator into
40038         if-else statements.
40039         (cslow): use mynumber union.
40041 2013-12-16  Allan McRae  <allan@archlinux.org>
40043         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
40044         * configure: Regenerated.
40046         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
40048         [BZ #14120]
40049         * configure.ac: Added --enable-maintainer-mode. Check for
40050         autoconf when enabled.
40051         * configure: Regenerated.
40053         * nscd/nscd.service: New file.
40054         * nscd/nscd.tmpfiles: New file.
40056 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
40058         [BZ #12100]
40059         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
40060         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
40061         * sysdeps/x86_64/multiarch/strstr.c: ... here.
40062         (strstr): Add __strstr_sse2_unaligned ifunc.
40063         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
40064         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
40065         (strcasestr): Remove __strcasestr_sse42 ifunc.
40066         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
40067         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40068         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40070 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40072         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
40073         * sysdeps/sh/bits/fenv.h: ... here.
40074         * sysdeps/sh/sh4/fpu/bits: Remove directory.
40076 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40078         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
40080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
40081         hypotf multiarch implementations.
40082         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40083         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
40084         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
40085         multiarch hypot for PPC64.
40086         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
40087         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
40088         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
40089         multiarch hypotf for PPC64.
40091         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
40092         modff multiarch implementations.
40093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
40094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
40095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
40096         multiarch modf for PPC64.
40097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
40098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
40099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
40100         multiarch modff for PPC64.
40102         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
40103         and logl multiarch implementations.
40104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
40105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
40106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
40107         multiarch logb for PPC64.
40108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
40110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
40111         multiarch logb for PPC64.
40112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
40114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
40115         multiarch logb for PPC64.
40117         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
40118         isinff multiarch implementation.
40119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
40120         file.
40121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
40122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
40123         multiarch isinf for PPC64.
40124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
40125         file.
40126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
40127         multiarch isinff for PPC64.
40129         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
40130         finitef multiarch implementation.
40131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
40132         file.
40133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
40134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40135         multiarch finite for PPC64.
40136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
40137         file.
40138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
40139         multiarch finitef for PPC64.
40141         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
40142         lrint multiarch implementation.
40143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
40144         file.
40145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40147         multiarch llrint for PPC64.
40148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40149         multiarch lrint for PPC64.
40151         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40152         copysignf multiarch implementation.
40153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40154         file.
40155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40156         file.
40157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40158         multiarch copysign for PPC64.
40159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40160         multiarch copysignf for PPC64.
40162         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40163         multiarch implementation.
40164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40165         file.
40166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40167         file.
40168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40169         file.
40170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40171         file.
40172         multiarch llround for PPC64.
40173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40174         multiarch trunc for PPC64.
40175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40176         multiarch truncf for PPC64.
40178         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40179         multiarch implementation.
40180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40181         file.
40182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
40183         file.
40184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
40185         file.
40186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
40187         file.
40188         multiarch llround for PPC64.
40189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
40190         multiarch round for PPC64.
40191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
40192         multiarch roundf for PPC64.
40194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
40195         multiarch implementation.
40196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
40197         file.
40198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
40199         file.
40200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
40201         file.
40202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
40203         file.
40204         multiarch llround for PPC64.
40205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
40206         multiarch floor for PPC64.
40207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
40208         multiarch floorf for PPC64.
40210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40211         multiarch implementation.
40212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
40213         file.
40214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
40215         file.
40216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
40217         file.
40218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
40219         file.
40220         multiarch llround for PPC64.
40221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
40222         multiarch ceil for PPC64.
40223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
40224         multiarch ceilf for PPC64.
40226         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40227         multiarch implementation.
40228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
40229         file.
40230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
40231         file.
40232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
40233         file.
40234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
40235         multiarch llround for PPC64.
40236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
40237         multiarch lround for PPC64.
40239         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40240         multiarch implementation.
40241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
40242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
40243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
40244         file.
40245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
40246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
40247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
40248         multiarch isnan for PPC64.
40249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
40250         multiarch isnanf for PPC64.
40252         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
40253         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
40254         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
40255         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
40256         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
40257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40259         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40260         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40261         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40262         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40264         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40265         multiarch implementations.
40266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40267         (__libc_ifunc_impl_list): Likewise.
40268         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40269         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40270         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40271         multiarch stpcpy for PPC64.
40273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40274         multiarch implementations.
40275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40276         (__libc_ifunc_impl_list): Likewise.
40277         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40278         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40279         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40280         multiarch strcpy for PPC64.
40282         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40283         redefine function name.
40284         (_wordcopy_fwd_dest_aligned): Likewise.
40285         (_wordcopy_bwd_aligned): Likewise.
40286         (_wordcopy_bwd_dest_aligned): Likewise.
40287         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40288         multiarch implementations.
40289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40290         (__libc_ifunc_impl_list): Likewise.
40291         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40292         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40293         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40294         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40295         multiarch wcscpy for PPC64.
40297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40298         multiarch implementations.
40299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40300         (__libc_ifunc_impl_list): Likewise.
40301         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40302         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40303         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40304         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40305         multiarch wcscpy for PPC64.
40307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40308         multiarch implementations.
40309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40310         (__libc_ifunc_impl_list): Likewise.
40311         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40312         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40313         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40314         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40315         multiarch wcsrchr for PPC64.
40317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40318         multiarch implementations.
40319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40320         (__libc_ifunc_impl_list): Likewise.
40321         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40322         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40323         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40324         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40325         multiarch wcschr for PPC64.
40327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40328         multiarch implementations.
40329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40330         (__libc_ifunc_impl_list): Likewise.
40331         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40332         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40333         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40334         multiarch strchrnul for PPC64.
40336         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40337         implementations.
40338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40339         (__libc_ifunc_impl_list): Likewise.
40340         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
40341         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
40342         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
40343         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
40344         strchr for PPC64.
40346         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
40347         implementations.
40348         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40349         (__libc_ifunc_impl_list): Likewise.
40350         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
40351         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
40352         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
40353         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
40354         strncmp for PPC64.
40356         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
40357         multiarch implementations.
40358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40359         (__libc_ifunc_impl_list): Likewise.
40360         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
40361         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
40362         strncasecmp for PPC64.
40363         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
40364         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
40365         multiarch strncasecmp_l for PPC64.
40367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
40368         multiarch implementations.
40369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40370         (__libc_ifunc_impl_list): Likewise.
40371         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
40372         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
40373         multiarch strcasecmp for PPC64.
40374         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
40375         file.
40376         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
40377         multiarch strcasecmp_l for PPC64.
40379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
40380         implementations.
40381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40382         (__libc_ifunc_impl_list): Likewise.
40383         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
40384         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
40385         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
40386         strnlen for PPC64.
40388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
40389         implementations.
40390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40391         (__libc_ifunc_impl_list): Likewise.
40392         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
40393         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
40394         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
40395         strlen for PPC64.
40397         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
40398         implementations.
40399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40400         (__libc_ifunc_impl_list): Likewise.
40401         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
40402         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
40403         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
40404         rawmemrchr for PPC64.
40406         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
40407         implementation.
40408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40409         (__libc_ifunc_impl_list): Likewise.
40410         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
40411         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
40412         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
40413         memrchr for PPC64.
40415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
40416         implementation.
40417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40418         (__libc_ifunc_impl_list): Likewise.
40419         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
40420         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
40421         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
40422         memchr for PPC64.
40424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
40425         implementation.
40426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40427         (__libc_ifunc_impl_list): Likewise.
40428         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
40429         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
40430         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
40431         mempcpy for PPC64.
40433         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
40434         avoid cretion of __bzero symbol.
40435         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
40436         Likewise.
40437         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
40438         Likewise.
40439         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
40440         Likewise.
40441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
40442         multiarch implementations.
40443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40444         (__libc_ifunc_impl_list): Likewise.
40445         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
40446         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
40447         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
40448         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
40449         bzero for PPC32.
40450         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
40451         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
40452         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
40453         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
40454         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
40455         memset for PPC64.
40456         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
40458         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
40459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
40460         implementations.
40461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40462         (__libc_ifunc_impl_list): Likewise.
40463         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
40464         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
40465         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
40466         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
40467         memcmp for PPC64.
40469         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
40470         multiarch for POWER/PPC64.
40471         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
40472         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
40473         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
40474         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
40475         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
40476         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
40477         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
40478         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
40479         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
40480         memcpy for PPC64.
40482         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
40483         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
40484         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
40485         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
40486         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
40487         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
40488         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
40489         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
40490         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
40491         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
40492         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
40493         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
40494         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
40495         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
40496         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
40497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
40498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
40499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
40500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
40501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
40502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
40503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
40505 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40507         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
40509 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40511         * benchtests/Makefile (bench): Add exp2 and log2.
40512         (LDLIBS-bench-exp2): Add -lm.
40513         (LDLIBS-bench-log2): Likewise.
40514         * benchtests/exp2-inputs: New inputs file.
40515         * benchtests/log2-inputs: New inputs file.
40516         * benchtests/log-inputs: Add new inputs.
40517         * benchtests/tan-inputs: Likewise.
40519 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40521         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
40522         definition...
40523         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
40524         (csloww2): ... from here.
40526         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
40527         instead of structures.
40528         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
40529         (POLYNOMIAL): Likewise.
40530         (TAYLOR_SLOW): Likewise.
40531         (__sin): Likewise.
40532         (__cos): Likewise.
40533         (slow1): Likewise.
40534         (slow2): Likewise.
40535         (sloww): Likewise.
40536         (sloww1); Likewise.
40537         (sloww2): Likewise.
40538         (bsloww1): Likewise.
40539         (bsloww2): Likewise.
40540         (cslow2): Likewise.
40541         (csloww): Likewise.
40542         (csloww1): Likewise.
40543         (csloww2): Likewise.
40545 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
40547         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
40548         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
40549         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
40550         * malloc/hooks.c (realloc_check): Likewise.
40552         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
40553         * malloc/arena.c: Remove PER_THREAD conditional.
40554         [!PER_THREAD]: Remove code.
40555         (ptmalloc_unlock_all2): Likewise.
40556         (ptmalloc_init): Likewise.
40557         (_int_new_arena): Likewise.
40558         (arena_get2): Likewise.
40559         * malloc/hooks.c (__malloc_get_state): Likewise.
40560         (__malloc_set_state): Likewise.
40561         * malloc/malloc.c: Likewise.
40562         (struct malloc_state): Likewise.
40563         (struct malloc_par): Likewise.
40564         (__libc_realloc): Likewise.
40565         (__libc_mallopt): Likewise.
40567 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40569         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
40571 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
40573         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
40574         macro to a function.  Check for zero perturb_byte.
40575         (_int_malloc, _int_free): Remove zero perturb_byte checks.
40577         * malloc/malloc.c: (force_reg): Remove.
40578         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
40579         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
40580         force_reg by atomic_forced_read.
40581         * malloc/arena.c (ptmalloc_init): Likewise.
40582         * malloc/hooks.c (top_check): Likewise.
40584 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40588 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
40590         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40592 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
40594         * math/auto-libm-test-in: Add tests of lgamma.
40595         * math/auto-libm-test-out: Regenerated.
40596         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
40597         (M_LOG_2_SQRT_PIl): Likewise.
40598         (lgamma_test_data): Use AUTO_TESTS_f_f1.
40599         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40600         mpfr_f_f1.
40601         (func_calc_desc): Add mpfr_f_f1 union field.
40602         (ARGS1): New macro.
40603         (ARGS2): Likewise.
40604         (ARGS3): Likewise.
40605         (ARGS4): Likewise.
40606         (RET1): Likewise.
40607         (RET2): Likewise.
40608         (CALC): Likewise.
40609         (FUNC): Likewise.
40610         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
40611         (test_functions): Add lgamma.
40612         (calc_generic_results): Handle mpfr_f_f1.
40613         * sysdeps/i386/fpu/libm-test-ulps: Update.
40614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40616 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40618         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
40619         __mpn_add_n for PowerPC64/POWER7.
40620         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
40621         __mpn_sub_n for PowerPC64/POWER7.
40623         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
40624         __mpn_addmul_1 for PowerPC64.
40625         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
40626         __mpn_submul_1 for PowerPC64.
40627         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
40628         for PowerPC64.
40629         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
40630         for PowerPC64.
40632 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
40634         [BZ #15089]
40635         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
40637 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40639         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
40641         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
40642         add multiarch folders.
40643         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
40644         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
40645         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
40646         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
40647         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
40648         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
40649         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
40650         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
40651         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
40652         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
40653         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
40654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
40655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
40656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
40657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
40658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
40659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
40661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40662         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
40663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
40664         New file.
40665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
40666         New file.
40667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
40668         multiarch __ieee754_hypot for PowerPC32.
40669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
40670         New file.
40671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
40672         New file.
40673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
40674         multiarch __ieee754_hypotf for PowerPC32.
40676         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
40677         long_double_symbol only if __logbl is defined.
40678         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
40679         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
40680         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
40681         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
40682         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
40683         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
40684         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
40685         path for implementation.
40686         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
40687         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
40688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
40689         logb, and logbl multiarch implementations for PowerPC32.
40690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
40691         file.
40692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
40693         file.
40694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
40695         multiarch logb for PowerPC32.
40696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
40697         file.
40698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
40699         file.
40700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
40701         multiarch logbf for PowerPC32.
40702         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
40703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
40704         file.
40705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
40706         multiarch logbl implementation for PowerPC32.
40708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
40709         and modff multiarch implementations.
40710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
40711         New file.
40712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
40713         New file.
40714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
40715         multiarch modf for PowerPC32.
40716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
40717         New file.
40718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
40719         New file.
40720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
40721         multiarch modff for PowerPC32.
40723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
40724         and lrintf multiarch implementations.
40725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
40726         New file.
40727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
40728         New file.
40729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
40730         multiarch lrint for PowerPC32.
40731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
40732         file: multiarch lrintf for PowerPC32.
40734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
40735         and lroundf multiarch implementations.
40736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
40737         New file.
40738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
40739         New file.
40740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
40741         New file.
40742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
40743         multiarch lround for PowerPC32.
40744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
40745         file: multiarch lroundf for PowerPC32.
40747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40748         copysign and copysignf multiarch implementations.
40749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
40750         New file.
40751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
40752         New file.
40753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
40754         file: multiarch copysign for PowerPC32.
40755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
40756         file: multiarch copysignf for PowerPC32.
40758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
40759         and truncf multiarch implementations.
40760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
40761         New file.
40762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
40763         file.
40764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
40765         multiarch trunc for PowerPC32.
40766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
40767         New file.
40768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
40769         New file.
40770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
40771         multiarch truncf for PowerPC32.
40773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
40774         and roundf multiarch implementations.
40775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
40776         New file.
40777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
40778         file.
40779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
40780         multiarch round for PowerPC32.
40781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
40782         New file.
40783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
40784         New file.
40785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
40786         multiarch roundf for PowerPC32.
40788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
40789         and floorf multiarch implementations.
40790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
40791         New file.
40792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
40793         file.
40794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
40795         multiarch floor for PowerPC32.
40796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
40797         New file.
40798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
40799         New file.
40800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
40801         multiarch floorf for PowerPC32.
40803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
40804         and ceilf multiarch implementations.
40805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
40806         New file.
40807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
40808         file.
40809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
40810         multiarch ceil for PowerPC32.
40811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
40812         New file.
40813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
40814         file.
40815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
40816         multiarch ceilf for PowerPC32.
40818         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
40819         is defined.
40820         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
40821         FINITEF is defined.
40822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
40823         and finitef multiarch implementations.
40824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
40825         New file.
40826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
40827         file.
40828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
40829         multiarch finite for PowerPC32.
40830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
40831         New file.
40832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
40833         file: multiarch finitef for PowerPC32.
40835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
40836         and isinff multiarch implementations.
40837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
40838         file.
40839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
40840         file.
40841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
40842         multiarch isinf for PowerPC32.
40843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
40844         New file.
40845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
40846         multiarch isinff for PowerPC32.
40848         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
40849         alias when __isnan is defined.
40850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
40851         and isnanf multiarch implementations.
40852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
40853         file.
40854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
40855         file.
40856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
40857         file.
40858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
40859         file.
40860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
40861         multiarch isnan for PowerPC32.
40862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
40863         New file.
40864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
40865         New file.
40866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
40867         multiarch isnanf for PowerPC32.
40869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
40870         and sqrtf multiarch implementations.
40871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
40872         file.
40873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
40874         file.
40875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
40876         multiarch sqrt for PowerPC32.
40877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
40878         file.
40879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
40880         file.
40881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
40882         multiarch sqrtf for PowerPC32.
40884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
40885         and llroundf multiarch implementations.
40886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
40887         New file.
40888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
40889         New file.
40890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
40891         New file.
40892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
40893         file: multiarch llround for PowerPC32.
40894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
40895         file: multiarch llroundf for PowerPC32.
40897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
40898         multiarch PowerPC32 fpu implementations.
40899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
40900         New file.
40901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
40902         New file.
40903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
40904         multiarch llrint for PowerPC32.
40905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
40906         New file.
40907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
40908         New file.
40909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
40910         file.
40912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
40914         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
40915         file.
40916         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
40917         file.
40918         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
40919         file.
40920         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
40921         multiarch wordcopy for PPC32.
40922         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40923         wordcopy objects.
40924         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40925         (__libc_ifunc_impl_list): Likewise.
40926         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
40927         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
40928         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
40929         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
40930         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
40931         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
40933         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
40934         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
40935         file.
40936         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
40937         file.
40938         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
40939         file.
40940         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
40941         multiarch wcscpy for PPC32.
40942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40943         multiarch objects.
40944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40945         (__libc_ifunc_impl_list): Likewise.
40946         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40947         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40948         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
40949         sysdeps/powerpc/power6/wcscpy.c.
40951         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
40952         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
40953         file.
40954         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
40955         file.
40956         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
40957         file.
40958         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
40959         multiarch wcsrchr for PPC32.
40960         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40961         multiarch objects.
40962         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40963         (__libc_ifunc_impl_list): Likewise.
40964         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40965         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40966         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
40967         sysdeps/powerpc/power6/wcsrchr.c.
40969         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
40970         file.
40971         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
40972         file.
40973         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
40974         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
40975         multiarch wcschr for PPc32.
40976         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40977         multiarch objects.
40978         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40979         (__libc_ifunc_impl_list): Likewise.
40980         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
40981         * sysdeps/powerpc/power6/wcschr.c: ... to here.
40982         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
40983         sysdeps/powerpc/power6/wcschr.c.
40985         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
40986         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
40987         file.
40988         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
40989         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
40990         file: multiarch strchr for PPC32.
40991         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
40992         multiarch objects.
40993         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40994         (__libc_ifunc_impl_list): Likewise.
40996         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
40997         name.
40998         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
40999         file.
41000         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
41001         file.
41002         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
41003         multiarch strchrnul for PPC32.
41004         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
41005         multiarch objects.
41006         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41007         (__libc_ifunc_impl_list): Likewise.
41009         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
41010         file.
41011         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
41012         multiarch strncasecmp for PPC32.
41013         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
41014         file.
41015         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
41016         multiarch strncasecmp_l for PPC32.
41017         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
41018         strncasecmp multiarch objects.
41019         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41020         (__libc_ifunc_impl_list): Likewise.
41022         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
41023         file.
41024         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
41025         multiarch strncasecmp for PPC32.
41026         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41027         New file.
41028         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
41029         multiarch strcasecmp_l for PPC32.
41030         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
41031         multiarch objects.
41032         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41033         (__libc_ifunc_impl_list): Likewise.
41035         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
41036         file.
41037         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
41038         file.
41039         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
41040         multiarch strncmp for PPC32.
41041         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
41042         multiarch objects.
41043         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41044         (__libc_ifunc_impl_list): Likewise.
41046         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
41047         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
41048         file.
41049         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
41050         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
41051         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
41052         multiarch objects.
41053         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41054         (__libc_ifunc_impl_list): Likewise.
41056         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
41057         file.
41058         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
41059         file.
41060         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
41061         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
41062         multiarch objects.
41063         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41064         (__libc_ifunc_impl_list): Likewise.
41066         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
41067         file.
41068         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
41069         file.
41070         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
41071         multiarch rawmemchr for PPC32.
41072         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
41073         multiarch objects.
41074         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41075         (__libc_ifunc_impl_list): Likewise.
41077         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
41078         file.
41079         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
41080         file.
41081         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
41082         file: memrchr multiarch for PPC32.
41083         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
41084         multiarch objects.
41085         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41086         (__libc_ifunc_impl_list): Likewise.
41088         * string/memchr.c (__memchr): Using macro to redefine symbol name.
41089         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
41090         file.
41091         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
41092         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
41093         multiarch memchr for PPC32.
41094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
41095         multiarch objects.
41096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41097         (__libc_ifunc_impl_list): Likewise.
41099         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
41100         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
41101         file.
41102         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
41103         file.
41104         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
41105         file: multiarch mempcpy for PPC32.
41106         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
41107         multiarch objects.
41108         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41109         (__libc_ifunc_impl_list): Likewise.
41111         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
41112         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
41113         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
41114         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
41115         multiarch bzero for PPC32.
41116         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
41117         file.
41118         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
41119         file.
41120         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
41121         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
41122         file: multiarch memset for PPC32.
41123         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
41124         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
41125         memset multiarch objects.
41126         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41127         (__libc_ifunc_impl_list): Likewise.
41129         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
41130         file.
41131         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
41132         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41133         memcmp for PPC32.
41134         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
41135         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
41136         multiarch objects.
41137         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41138         (__libc_ifunc_impl_list): Likewise.
41140         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
41141         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
41142         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
41143         file.
41144         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
41145         file.
41146         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41147         file.
41148         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41149         multiarch memcpy for PPC32.
41150         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41151         multiarch objects.
41152         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41153         (__libc_ifunc_impl_list): Likewise.
41155         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41156         support multiarch for POWER/PPC32.
41157         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41158         Likewise.
41159         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41161         Implies file to make multiarch folder appers before the fpu and
41162         default folder for power4 configuration.
41164 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41166         * scripts/bench.pl: Append volatile keyword to type.
41168 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41170         * sysdeps/sh/sotruss-lib.c: New file.
41171         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41173 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41177 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
41179         [BZ #6810]
41180         * math/w_tgamma.c: Include <errno.h>.
41181         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
41182         * math/w_tgammaf.c: Include <errno.h>.
41183         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
41184         * math/w_tgammal.c: Include <errno.h>.
41185         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
41186         * math/auto-libm-test-in: Do not allow missing errno on tgamma
41187         underflow.  Add more tgamma tests.
41188         * math/auto-libm-test-out: Regenerated.
41189         * sysdeps/i386/fpu/libm-test-ulps: Update.
41190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41192         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
41193         sin, sinh, tan, tanh, tgamma, y0 and y1.
41194         * math/auto-libm-test-out: Regenerated.
41195         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41196         (TEST_COND_x86): Likewise.
41197         (M_E2l): Remove macro.
41198         (M_E3l): Likewise.
41199         (M_2_SQRT_PIl): Likewise.
41200         (M_SQRT_PIl): Likewise.
41201         (M_1_DIV_El): Likewise.
41202         (log_test_data): Use AUTO_TESTS_f_f.
41203         (log10_test_data): Likewise.
41204         (log1p_test_data): Likewise.
41205         (log2_test_data): Likewise.
41206         (sin_test_data): Likewise.
41207         (sin_tonearest_test_data): Likewise.
41208         (sin_towardzero_test_data): Likewise.
41209         (sin_downward_test_data): Likewise.
41210         (sin_upward_test_data): Likewise.
41211         (sinh_test_data): Likewise.
41212         (sinh_tonearest_test_data): Likewise.
41213         (sinh_towardzero_test_data): Likewise.
41214         (sinh_downward_test_data): Likewise.
41215         (sinh_upward_test_data): Likewise.
41216         (tan_test_data): Likewise.
41217         (tan_tonearest_test_data): Likewise.
41218         (tan_towardzero_test_data): Likewise.
41219         (tan_downward_test_data): Likewise.
41220         (tan_upward_test_data): Likewise.
41221         (tanh_test_data): Likewise.
41222         (tgamma_test_data): Likewise.
41223         (y0_test_data): Likewise.
41224         (y1_test_data): Likewise.
41225         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
41226         (special_real_inputs): Add pi/4.
41227         * sysdeps/i386/fpu/libm-test-ulps: Update.
41228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41230 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41232         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
41233         "longjmp_target" static probes.
41234         (__longjmp): Rename to __longjmp_symbol.
41235         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41236         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
41237         on which longjmp to generate.
41238         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41239         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
41240         probe.
41241         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41242         (__sigjmp_save): Rename to __sigjmp_save_symbol.
41243         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41244         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
41245         and __sigjmp_save_symbol based on which sigsetjmp to generated.
41246         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
41248         __longjmp_symbol based on which __longjmp to generate.
41249         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
41250         probe.
41251         (setjmp): Rename to setjmp_symbol.
41252         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41253         (_setjmp): Rename to _setjmp_symbol.
41254         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41255         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
41256         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
41257         which setjmp to generate.
41258         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41259         "longjmp_target" static probes.
41261 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41263         * benchtests/README: Add note about output arguments.
41264         * benchtests/bench-sincos.c: Remove file.
41265         * benchtests/sincos-inputs: New file.
41266         * scripts/bench.pl: Identify output arguments and define
41267         static variables for them.
41269         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41271         [BZ #15941]
41272         * Makefile (INSTALL): Add install-plain.texi as the primary
41273         dependency.
41274         * manual/install-plain.texi: New file.
41275         * manual/install.texi: Include node directive only for
41276         non-plaintext output.
41278 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
41280         * stdlib/longlong.h: Update from GCC.
41282         [BZ #6807]
41283         [BZ #15901]
41284         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41285         * math/w_j0f.c (y0f): Likewise.
41286         * math/w_j0l.c (__y0l): Likewise.
41287         * math/w_j1.c (y1): Likewise.
41288         * math/w_j1f.c (y1f): Likewise.
41289         * math/w_j1l.c (__y1l): Likewise.
41290         * math/w_jn.c (yn): Likewise.
41291         * math/w_jnf.c (ynf): Likewise.
41292         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41293         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
41294         value for Bessel function domain errors outside _SVID_ mode.
41295         Adjust sign of return value for yn (negative integer, 0).
41296         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41297         by zero in return for negative x and set sign appropriately for
41298         negative n.
41299         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41300         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41301         * math/libm-test.inc (y0_test_data): Add more tests and adjust
41302         expectations in error cases.
41303         (y1_test_data): Likewise.
41304         (yn_test_data): Likewise.
41305         * sysdeps/i386/fpu/libm-test-ulps: Update.
41306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41308 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41310         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41311         "64" to "64-v1".  Add "64-v2".
41312         (abi-64-options): Rename to ...
41313         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
41314         (abi-64-condition): Rename to ...
41315         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
41316         (abi-64-ld-soname): Rename to ...
41317         (abi-64-v1-ld-soname): ... this.
41318         (abi-64-v2-options): Define.
41319         (abi-64-v2-condition): Likewise.
41320         (abi-64-v2-ld-soname): Likewise.
41321         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41322         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41327 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41328             Alan Modra  <amodra@gmail.com>
41330         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41331         New versions for use with the ELFv2 ABI.
41332         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41333         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41334         declaration.
41335         (struct La_ppc64v2_retval): Likewise.
41336         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41337         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
41338         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
41339         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
41340         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
41341         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41342         Do not save or restore CR.
41343         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
41344         (_dl_profile_resolve): Do no save or restore CR.  Support extended
41345         return values for ELFv2 ABI.  Fix location of FPR return registers.
41346         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
41347         updated values for _CALL_ELF == 2.
41348         (La_regs, La_retval, int_retval): Likewise.
41350 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41352         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
41353         (FRAME_MIN_SIZE_PARM): Likewise.
41354         (FRAME_BACKCHAIN): Likewise.
41355         (FRAME_CR_SAVE): Likewise.
41356         (FRAME_LR_SAVE): Likewise.
41357         (FRAME_TOC_SAVE): Likewise.
41358         (FRAME_PARM_SAVE): Likewise.
41359         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
41360         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
41361         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41362         (call_mcount_parm_offset): New macro.
41363         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
41364         (PROF): Use symbolic stack frame offsets.
41365         (TAIL_CALL_SYSCALL_ERROR): Likewise.
41366         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
41367         Redefine in terms of FRAME_MIN_SIZE.
41368         (_dl_runtime_resolve): Use symbolic stack frame offsets.
41369         (_dl_profile_resolve): Likewise.  Update comment.
41370         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
41371         symbols stack frame offsets.
41372         (__sigsetjmp): Likewise.
41373         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
41374         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
41375         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
41376         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
41378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
41379         (FRAME_BACKCHAIN): Remove.
41380         (FRAME_CR_SAVE): Likewise.
41381         (FRAME_LR_SAVE): Likewise.
41382         (FRAME_COMPILER_DW): Likewise.
41383         (FRAME_LINKER_DW): Likewise.
41384         (FRAME_TOC_SAVE): Likewise.
41385         (FRAME_PARM_SAVE): Likewise.
41386         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
41387         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
41388         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
41390         (CHECK_SP): Use symbolic stack frame offsets.
41391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
41392         zone" instead of caller's parameter save area for temp storage.
41393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41394         Likewise.  Also, use symbolic stack frame offsets.
41395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
41396         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
41397         our own stack frame instead of the caller's.
41398         (__socket): Use symbolic stack frame offsets.
41400 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41401             Alan Modra  <amodra@gmail.com>
41403         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
41404         Define.
41405         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
41406         (PPC64_LOCAL_ENTRY_OFFSET): Define.
41407         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
41408         New function.
41409         (elf_machine_fixup_plt): Call it.
41410         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
41411         reloc arguments.
41412         (elf_machine_rela): Update call to elf_machine_plt_conflict.
41413         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41414         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
41415         r2 before calling target.
41417 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41418             Alan Modra  <amodra@gmail.com>
41420         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
41421         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
41422         versions of macros to support ELFv2 ABI.
41423         (LOCALENTRY): New macro.
41424         (ENTRY, EALIGN): Use it.
41425         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
41426         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
41427         fall through into ENTRY entry point.
41428         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
41429         Only define if _CALL_ELF != 2.
41431         (elf_machine_matches_host): Verify ABI version matches.
41432         (RTLD_START): Use LOCALENTRY.
41433         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
41434         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
41435         (PLT_ENTRY_WORDS): New macro.
41436         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
41437         (elf_machine_runtime_setup): Support ELFv2 ABI.
41438         (elf_machine_fixup_plt): Likewise.
41439         (elf_machine_plt_conflict): Likewise.
41440         (resolve_ifunc): Likewise.
41441         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41442         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41443         Likewise.
41444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
41445         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
41446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41447         (makecontext): Support ELFv2 ABI.
41448         * elf/elf.h (EF_PPC64_ABI): Define.
41450 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41452         * sysdeps/powerpc/powerpc64/sysdep.h
41453         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
41454         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
41455         (ENTRY) [ASSEMBLER]: ... but instead here ...
41456         (EALIGN) [ASSEMBLER]: ... and here.
41457         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
41458         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
41459         (ENTRY_2) [!ASSEMBLER]: Use it.
41460         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
41461         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
41462         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41463         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
41464         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
41465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
41466         Use PPC64_LOAD_FUNCPTR.
41468         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
41470 2013-12-04  Alan Modra  <amodra@gmail.com>
41472         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
41473         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
41474         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
41475         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
41477         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
41478         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
41479         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
41480         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
41481         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
41482         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
41484 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41487         (__makecontext): Fix incorrect CFI when backtracing out of
41488         context created via makecontext.
41489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
41490         (__setcontext): Fix incorrect CFI during switch to new context.
41491         (__novec_setcontext): Likewise.
41493 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41495         [BZ #4772]
41496         * time/strptime_l.c (__strptime_internal): Allow modifiers
41497         in strptime.
41498         * time/tst-strptime.c (day_tests): Add testcase.
41500 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41502         * scripts/bench.pl: Skip over blank lines.
41504 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
41506         [BZ #926]
41507         * manual/time.texi (Calendar Time): Clarify what timezone functions
41508         use.
41510 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41514 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41516         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
41517         implementation.
41518         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
41519         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
41520         * debug/memset_chk.c (__memset_chk): Likewise.
41521         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
41522         * debug/strncpy_chk.c: Likewise.
41524 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41526         [BZ #15268]
41527         [BZ #15425]
41528         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
41529         (__ieee754_exp): For possibly underflowing results, check size of
41530         result and force underflow exception if required.
41531         * math/auto-libm-test-in: Add more tests of exp.
41532         * math/auto-libm-test-out: Regenerated.
41533         * sysdeps/i386/fpu/libm-test-ulps: Update.
41534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41536         [BZ #16283]
41537         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
41538         * math/w_exp2f.c (__exp2f): Likewise.
41539         * math/w_exp2l.c (__exp2l): Likewise.
41540         * math/auto-libm-test-in: Do not allow missing errno on exp2
41541         underflow.
41542         * math/auto-libm-test-out: Regenerated.
41544 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
41546         [BZ #16274]
41547         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
41548         handle filename validation.
41549         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
41550         (do_open): Delete.
41552 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41554         [BZ #6786]
41555         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
41556         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
41557         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
41558         <float.h>.
41559         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
41560         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
41561         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41562         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
41563         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41564         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
41565         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41566         * math/auto-libm-test-in: Don't allow missing errno from erfc.
41567         Add more erfc tests.
41568         * math/auto-libm-test-out: Regenerated.
41569         * sysdeps/i386/fpu/libm-test-ulps: Update.
41570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41572         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
41573         exp2, expm1, j0 and j1.
41574         * math/auto-libm-test-out: Regenerated.
41575         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
41576         (erfc_test_data): Likewise.
41577         (exp_test_data): Likewise.
41578         (exp_tonearest_test_data): Likewise.
41579         (exp_towardzero_test_data): Likewise.
41580         (exp_downward_test_data): Likewise.
41581         (exp_upward_test_data): Likewise.
41582         (exp10_test_data): Likewise.
41583         (exp2_test_data): Likewise.
41584         (expm1_test_data): Likewise.
41585         (j0_test_data): Likewise.
41586         (j1_test_data): Likewise.
41587         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
41588         (input_flag_type): Add flag_xfail_rounding.
41589         (input_flags): Add xfail-rounding.
41590         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
41591         (output_for_one_input_case): Handle flag_xfail_rounding.
41592         * sysdeps/i386/fpu/libm-test-ulps: Update.
41593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41595 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
41597         [BZ #16289]
41598         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
41599         division by 0.
41601 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41603         [BZ #16195]
41604         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
41605         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
41606         (STAP_PROBE0): New macro.
41607         (STAP_PROBE1): Likewise.
41608         (STAP_PROBE2): Likewise.
41609         (STAP_PROBE3): Likewise.
41610         (STAP_PROBE4): Likewise.
41612 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
41614         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
41616 2013-12-02  Steve Ellcey  <sellcey@mips.com>
41618         * benchtests/Makefile (bench): Add sqrt.
41619         (LDLIBS-bench-sqrt): New.
41620         * benchtests/sqrt-input: New.
41622 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
41624         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
41625         (GAIH_EAI): Likewise.
41626         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
41627         (gaih_inet): Likewise.
41628         (getaddrinfo): Don't use GAIH_EAI.
41630         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
41631         (struct gaih): Remove definition.
41633 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41635         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
41636         Use HERRNOP directly.
41638 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41642 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
41644         * math/gen-auto-libm-tests.c (test_functions): Add more
41645         single-argument functions.
41646         (special_fill_pi_2): New function.
41647         (special_fill_minus_pi_2): Likewise.
41648         (special_fill_pi_6): Likewise.
41649         (special_fill_minus_pi_6): Likewise.
41650         (special_fill_pi_3): Likewise.
41651         (special_fill_2pi_3): Likewise.
41652         (special_fill_e): Likewise.
41653         (special_fill_1_e): Likewise.
41654         (special_fill_e_minus_1): Likewise.
41655         (special_real_inputs): Add more special inputs.
41656         (output_for_one_input_case): Do not require ERANGE on underflow to
41657         zero if round-to-nearest result does not underflow to zero, unless
41658         exact results required.
41659         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
41660         atan, atanh, cbrt, cos and cosh.
41661         * math/auto-libm-test-out: Regenerated.
41662         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
41663         (acos_tonearest_test_data): Likewise.
41664         (acos_towardzero_test_data): Likewise.
41665         (acos_downward_test_data): Likewise.
41666         (acos_upward_test_data): Likewise.
41667         (acosh_test_data): Likewise.
41668         (asin_test_data): Likewise.
41669         (asin_tonearest_test_data): Likewise.
41670         (asin_towardzero_test_data): Likewise.
41671         (asin_upward_test_data): Likewise.
41672         (asinh_test_data): Likewise.
41673         (atan_test_data): Likewise.
41674         (atanh_test_data): Likewise.
41675         (cbrt_test_data): Likewise.
41676         (cos_test_data): Likewise.
41677         (cos_tonearest_test_data): Likewise.
41678         (cos_towardzero_test_data): Likewise.
41679         (cos_downward_test_data): Likewise.
41680         (cos_upward_test_data): Likewise.
41681         (cosh_test_data): Likewise.
41682         (cosh_tonearest_test_data): Likewise.
41683         (cosh_towardzero_test_data): Likewise.
41684         (cosh_downward_test_data): Likewise.
41685         (cosh_upward_test_data): Likewise.
41686         * sysdeps/i386/fpu/libm-test-ulps: Update.
41687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41689 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
41691         [BZ #6787]
41692         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
41693         * math/w_exp10f.c (__exp10f): Likewise.
41694         * math/w_exp10l.c (__exp10l): Likewise.
41695         * math/libm-test.inc (exp10_test_data): Add more tests and expect
41696         errno settings in existing tests.
41698         [BZ #14032]
41699         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
41700         precision control set to double precision.
41701         * sysdeps/i386/fpu/w_sqrt.c: New file.
41702         * math/auto-libm-test-in: Add more tests.
41703         * math/auto-libm-test-out: Update.
41705         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
41706         (sqrt_test_tonearest): New function.
41707         (sqrt_towardzero_test_data): New variable.
41708         (sqrt_test_towardzero): New function.
41709         (sqrt_downward_test_data): New variable.
41710         (sqrt_test_downward): New function.
41711         (sqrt_upward_test_data): New variable.
41712         (sqrt_test_upward): New function.
41713         (main): Call the new functions.
41715         * math/gen-auto-libm-tests.c: New file.
41716         * math/auto-libm-test-in: Likewise.
41717         * math/auto-libm-test-out: New generated file.
41718         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
41719         variables.
41720         (%beautify): Add generated representations of zero.
41721         (top level): Set $auto_input and call parse_auto_input.
41722         (beautify): Remove trailing "f" from hex float constants.
41723         (parse_args): Handle XFAIL_TEST.
41724         (convert_condition): New function.
41725         (or_value): Likewise.
41726         (or_cond_value): Likewise.
41727         (generate_testfile): Handle AUTO_TESTS_* lines.
41728         (parse_auto_input): New function.
41729         * math/libm-test.inc (XFAIL_TEST): New macro.
41730         (ERRNO_UNCHANGED): Update value.
41731         (ERRNO_EDOM): Likewise.
41732         (ERRNO_ERANGE): Likewise.
41733         (IGNORE_RESULT): Likewise.
41734         (TEST_COND_flt_32): New macro.
41735         (TEST_COND_dbl_64): Likewise.
41736         (TEST_COND_ldbl_96_intel): Likewise.
41737         (TEST_COND_ldbl_96_m68k): Likewise.
41738         (TEST_COND_ldbl_128): Likewise.
41739         (TEST_COND_ldbl_128ibm): Likewise.
41740         (TEST_COND_long32): Likewise.
41741         (TEST_COND_long64): Likewise.
41742         (TEST_COND_before_rounding): Likewise.
41743         (TEST_COND_after_rounding): Likewise.
41744         (enable_test): Handle XFAIL_TEST flag.
41745         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
41746         with finite results.
41747         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
41748         auto-libm-test-out.
41750 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41751             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41753         [BZ #16214]
41754         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
41755         __tls_get_addr_internal instead of __tls_get_offset in order to
41756         avoid GOT pointer dependency.  Make rtld export
41757         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
41758         __tls_get_addr since we are a __tls_get_offset platform.
41759         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
41760         GOT pointer being set up before.
41761         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
41763 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
41765         * manual/math.texi (Errors in Math Functions): Document accuracy
41766         goals.
41768         [BZ #15004]
41769         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
41770         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
41771         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41772         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41773         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41774         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41775         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41776         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41777         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41778         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41779         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41780         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41781         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41782         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41783         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41784         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41786         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
41787         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
41788         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
41789         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
41790         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
41791         Likewise.
41792         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
41793         Likewise.
41794         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
41795         Likewise.
41796         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
41797         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
41798         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
41799         atomic-feupdateenv and flt-rounds.
41800         * sysdeps/powerpc/nofpu/Versions (libc): Add
41801         __atomic_feholdexcept, __atomic_feclearexcept,
41802         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
41803         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
41804         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
41805         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
41806         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
41807         here.
41808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41809         Update.
41811         * manual/arith.texi (FP Exceptions): Document that exceptions may
41812         not be raised when matherr is used.
41813         (Math Error Reporting): Document overflow in directed rounding
41814         modes.  Document that errno may not be set when finite values are
41815         returned on overflow.  Document intent to set errno on underflow
41816         only for underflow to zero.
41818         [BZ #16271]
41819         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
41820         round-to-nearest then adjust result for other rounding modes.
41821         * include/fenv.h (fegetround): Use libm_hidden_proto.
41822         * math/fegetround.c (fegetround): Use libm_hidden_def.
41823         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41824         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41825         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41826         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41827         Likewise.
41828         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
41829         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41830         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41831         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
41833 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41835         [BZ #16077]
41836         * nss/Versions (libnss_files): Add
41837         _nss_files_gethostbyname3_r.
41838         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
41839         New function.
41840         (HOST_DB_LOOKUP): Remove macro.
41841         (_nss_files_gethostbyname_r): Implement function without the
41842         HOST_DB_LOOKUP macro.
41843         (_nss_files_gethostbyname2_r): Likewise.
41845 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
41847         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
41849 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
41851         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
41852         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
41853         warning.
41855 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41857         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
41858         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
41859         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41860         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41861         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
41862         __fe_nomask_env_priv and attribute_hidden.
41863         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
41864         (libc_feupdateenv_test_ppc): Likewise.
41865         (libc_feresetround_ppc): Likewise.
41866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41867         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
41868         compat_symbol macro.
41869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41870         (__fe_nomask_env): Likewise.
41871         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
41873 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41875         * string/Makefile: Remove ifunc tests.
41876         * string/test-string.h: Define TEST_IFUNC.
41877         * string/test-bcopy-ifunc.c: Remove.
41878         * string/test-bzero-ifunc.c: Likewise.
41879         * string/test-memccpy-ifunc.c: Likewise.
41880         * string/test-memchr-ifunc.c: Likewise.
41881         * string/test-memcmp-ifunc.c: Likewise.
41882         * string/test-memcpy-ifunc.c: Likewise.
41883         * string/test-memmem-ifunc.c: Likewise.
41884         * string/test-memmove-ifunc.c: Likewise.
41885         * string/test-mempcpy-ifunc.c: Likewise.
41886         * string/test-memrchr-ifunc.c: Likewise.
41887         * string/test-memset-ifunc.c: Likewise.
41888         * string/test-rawmemchr-ifunc.c: Likewise.
41889         * string/test-stpcpy-ifunc.c: Likewise.
41890         * string/test-stpncpy-ifunc.c: Likewise.
41891         * string/test-strcasecmp-ifunc.c: Likewise.
41892         * string/test-strcasestr-ifunc.c: Likewise.
41893         * string/test-strcat-ifunc.c: Likewise.
41894         * string/test-strchr-ifunc.c: Likewise.
41895         * string/test-strchrnul-ifunc.c: Likewise.
41896         * string/test-strcmp-ifunc.c: Likewise.
41897         * string/test-strcpy-ifunc.c: Likewise.
41898         * string/test-strcspn-ifunc.c: Likewise.
41899         * string/test-strlen-ifunc.c: Likewise.
41900         * string/test-strncasecmp-ifunc.c: Likewise.
41901         * string/test-strncat-ifunc.c: Likewise.
41902         * string/test-strncmp-ifunc.c: Likewise.
41903         * string/test-strncpy-ifunc.c: Likewise.
41904         * string/test-strnlen-ifunc.c: Likewise.
41905         * string/test-strpbrk-ifunc.c: Likewise.
41906         * string/test-strrchr-ifunc.c: Likewise.
41907         * string/test-strspn-ifunc.c: Likewise.
41908         * string/test-strstr-ifunc.c: Likewise.
41910 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41912         * benchtests/Makefile: Remove ifunc tests.
41913         * benchtests/bench-string.h: Define TEST_IFUNC.
41914         * benchtests/bench-bcopy-ifunc.c: Remove.
41915         * benchtests/bench-bzero-ifunc.c: Likewise.
41916         * benchtests/bench-memccpy-ifunc.c: Likewise.
41917         * benchtests/bench-memchr-ifunc.c: Likewise.
41918         * benchtests/bench-memcmp-ifunc.c: Likewise.
41919         * benchtests/bench-memcpy-ifunc.c: Likewise.
41920         * benchtests/bench-memmem-ifunc.c: Likewise.
41921         * benchtests/bench-memmove-ifunc.c: Likewise.
41922         * benchtests/bench-mempcpy-ifunc.c: Likewise.
41923         * benchtests/bench-memrchr-ifunc.c: Likewise.
41924         * benchtests/bench-memset-ifunc.c: Likewise.
41925         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
41926         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
41927         * benchtests/bench-stpcpy-ifunc.c: Likewise.
41928         * benchtests/bench-stpncpy-ifunc.c: Likewise.
41929         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
41930         * benchtests/bench-strcasestr-ifunc.c: Likewise.
41931         * benchtests/bench-strcat-ifunc.c: Likewise.
41932         * benchtests/bench-strchr-ifunc.c: Likewise.
41933         * benchtests/bench-strchrnul-ifunc.c: Likewise.
41934         * benchtests/bench-strcmp-ifunc.c: Likewise.
41935         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
41936         * benchtests/bench-strcpy-ifunc.c: Likewise.
41937         * benchtests/bench-strcspn-ifunc.c: Likewise.
41938         * benchtests/bench-strlen-ifunc.c: Likewise.
41939         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
41940         * benchtests/bench-strncat-ifunc.c: Likewise.
41941         * benchtests/bench-strncmp-ifunc.c: Likewise.
41942         * benchtests/bench-strncpy-ifunc.c: Likewise.
41943         * benchtests/bench-strnlen-ifunc.c: Likewise.
41944         * benchtests/bench-strpbrk-ifunc.c: Likewise.
41945         * benchtests/bench-strrchr-ifunc.c: Likewise.
41946         * benchtests/bench-strsep-ifunc.c: Likewise.
41947         * benchtests/bench-strspn-ifunc.c: Likewise.
41948         * benchtests/bench-strstr-ifunc.c: Likewise.
41950 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41952         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
41954 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41956         * resolv/netdb.h: Use __glibc_reserved instead __unused.
41957         * rt/aio.h: Likewise.
41958         * sysdeps/gnu/bits/utmp.h: Likewise.
41959         * sysdeps/gnu/bits/utmpx.h: Likewise.
41960         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41961         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
41962         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
41963         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
41964         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
41965         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
41966         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
41967         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
41968         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
41969         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
41970         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
41971         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
41972         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
41973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
41974         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41975         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
41976         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
41977         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
41978         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
41979         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
41980         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
41981         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
41982         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
41983         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41984         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
41985         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41986         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
41987         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
41988         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
41989         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
41990         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
41991         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
41992         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
41993         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41994         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
41995         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
41996         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
41997         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
41998         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
41999         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
42000         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
42001         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42003 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
42005         [BZ #16245]
42006         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
42007         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
42009 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
42011         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
42012         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
42013         Likewise.
42015 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42017         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
42018         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
42019         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
42020         (__fesetround): Remove define.
42021         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
42022         rounding and exceptions handling.
42023         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
42024         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
42025         (__fe_nomask_env): Likewise.
42026         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
42027         __fegetround instead of fegetround.
42028         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42029         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
42031 2013-11-21  Roland McGrath  <roland@hack.frob.com>
42033         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
42034         it's there.
42036         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
42038 2013-11-21  Meador Inge  <meadori@codesourcery.com>
42040         [BZ #11157]
42041         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
42042         (encrypt_r): Likewise.
42043         * malloc/obstack.h (obstack_free): Likewise.
42044         * posix/unistd.h (encrypt): Likewise.
42046 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
42048         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
42049         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
42050         DL_CALL_DT_FINI() that call the functions directly.
42051         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
42052         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
42053         * elf/dl-fini.c: Likewise.
42055 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
42057         * malloc/hooks.c (memalign_check): Add alignment rounding.
42058         * malloc/malloc.c (_mid_memalign): New function.
42059         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
42060         Implement by calling _mid_memalign.
42061         * manual/probes.texi (Memory Allocation Probes): Remove
42062         memory_valloc_retry and memory_pvalloc_retry.
42064 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42066         * locale/programs/locarchive.c (open_archive): Add const
42067         qualifier to ARCHIVEFNAME and copy default fname to
42068         DEFAULT_FNAME.
42070         [BZ #15601]
42071         * libio/tst-widetext.input: Rename Oriya to Odia.
42072         * locale/iso-639.def: Likewise.
42074         * manual/probes.texi (Mathematical Function Probes): Add
42075         documentation for sin, cos, asin and acos probes.
42076         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
42077         (__sin32): Add slowasin probe.
42078         (__cos32): Add slowacos probe.
42079         (__mpsin): Add slowsin probe.
42080         (__mpcos): Add slowcos probe.
42082 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
42084         [BZ #15483]
42085         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
42086         thread-local __sim_exceptions_thread and global
42087         __sim_exceptions_global.
42088         (__sim_disabled_exceptions): Change to thread-local
42089         __sim_disabled_exceptions_thread and global
42090         __sim_disabled_exceptions_global.
42091         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42092         and global __sim_round_mode_global.
42093         (__simulate_exceptions): Use thread-local floating-point state and
42094         set global state from it as needed.
42095         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42096         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
42097         __sim_round_mode_thread.
42098         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
42099         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
42100         and global __sim_exceptions_global.
42101         (__sim_disabled_exceptions): Change to thread-local
42102         __sim_disabled_exceptions_thread and global
42103         __sim_disabled_exceptions_global.
42104         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42105         and global __sim_round_mode_global.
42106         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
42107         (SIM_SET_GLOBAL): Likewise.
42108         * sysdeps/powerpc/soft-fp/sfp-machine.h
42109         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
42110         __sim_round_mode_thread.
42111         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
42112         __sim_disabled_exceptions_thread.
42113         (__sim_exceptions): Change to __sim_exceptions_thread.
42114         (__sim_disabled_exceptions): Change to
42115         __sim_disabled_exceptions_thread.
42116         (__sim_round_mode): Change to __sim_round_mode_thread.
42117         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
42118         thread-local floating-point state and set global state from it as
42119         needed.
42120         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
42121         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
42122         (__sim_disabled_exceptions): Remove extern declaration.
42123         (feenableexcept): Use thread-local floating-point state and set
42124         global state from it as needed.
42125         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
42126         extern declaration.
42127         (__sim_disabled_exceptions): Likewise.
42128         (__sim_round_mode): Likewise.
42129         (__fegetenv): Use thread-local floating-point state.
42130         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
42131         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42132         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
42133         floating-point state and set global state from it as needed.
42134         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
42135         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
42136         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
42137         Likewise.
42138         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
42139         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
42140         Likewise.
42141         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
42142         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
42143         Use __sim_round_mode_thread.
42144         * math/test-fenv-tls.c: New file.
42145         * math/Makefile (tests): Add test-fenv-tls.
42146         ($(objpfx)test-fenv-tls): Depend on
42147         $(common-objpfx)nptl/libpthread.so.
42149 2013-11-19  Andreas Schwab  <schwab@suse.de>
42151         * locale/programs/locale.c (show_info): Decode wordarray elements.
42152         * locale/categories.def (LC_MONETARY): Add element for
42153         _NL_MONETARY_CRNCYSTR.
42154         * locale/C-monetary.c (conversion_rate): New variable.
42155         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42156         element.
42158 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
42160         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42161         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42163 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42165         * elf/Makefile (tst-auxv): New test.
42166         * elf/tst-auxv.c: New
42167         * elf/rtld.c (dl_main): Adjust AT_EXECFN
42169 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
42171         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42172         (hidden_proto): Caller changed.
42173         (hidden_tls_proto): New macro.
42174         (libc_hidden_tls_proto): Likewise.
42175         (rtld_hidden_tls_proto): Likewise.
42176         (libm_hidden_tls_proto): Likewise.
42177         (libresolv_hidden_tls_proto): Likewise.
42178         (librt_hidden_tls_proto): Likewise.
42179         (libdl_hidden_tls_proto): Likewise.
42180         (libnss_files_hidden_tls_proto): Likewise.
42181         (libnsl_hidden_tls_proto): Likewise.
42182         (libnss_nisplus_hidden_tls_proto): Likewise.
42183         (libutil_hidden_tls_proto): Likewise.
42185 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
42187         [BZ #10253]
42188         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
42189         (decompose_rpath): Defer expansion to fillin_rpath.
42190         (_dl_init_paths): Pass linkmap to fillin_rpath.
42192 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42194         * benchtests/Makefile: Add strsep.
42195         * benchtests/bench-strsep.c: New file: strsep benchtest.
42196         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
42198 2013-11-18  Andreas Schwab  <schwab@suse.de>
42200         * locale/programs/locale.c (show_info) [case byte]: Check for
42201         '\377' instead of '\177'.
42202         * locale/C-monetary.c (not_available): Always use "\377".
42203         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
42204         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
42205         detect unavailable sign_posn locale elements.
42206         * locale/localeconv.c (__localeconv): For grouping and
42207         mon_grouping handle "\177" and "\377" like no grouping.
42208         (INT_ELEM): New macro.  Use it to set all numeric members.
42209         * locale/programs/ld-monetary.c (monetary_read)
42210         <tok_mon_grouping>: Normalize single -1 to the empty string.
42211         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
42212         Likewise.
42214 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42216         [BZ #16055]
42217         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
42218         when we match (nil).
42219         * stdio-common/tst-sscanf.c (struct test): Add testcase.
42221 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
42223         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
42224         (NO_TEST_INLINE): Update value.
42225         (ERRNO_UNCHANGED): Likewise.
42226         (ERRNO_EDOM): Likewise.
42227         (ERRNO_ERANGE): Likewise.
42228         (IGNORE_RESULT): Likewise.
42229         (check_float_internal): Check signs of NaN results if
42230         TEST_NAN_SIGN used.
42231         (check_complex): Pass TEST_NAN_SIGN flag through to second
42232         check_float_internal call.
42233         (copysign_test_data): Add tests with quiet NaNs as second
42234         argument.  Use TEST_NAN_SIGN.
42235         (fabs_test_data): Add test of negative quiet NaN argument.  Use
42236         TEST_NAN_SIGN.
42237         (signbit_test_data): Add tests of quiet NaN argument.
42238         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
42240         * math/gen-libm-test.pl (show_exceptions): Take extra argument
42241         $ignore_result.
42242         (parse_args): Handle function results specified as IGNORE.
42243         * math/libm-test.inc (IGNORE_RESULT): New macro.
42244         (check_float_internal): Do not check numerical result if flag
42245         IGNORE_RESULT set.
42246         (check_complex): Pass through IGNORE_RESULT to second
42247         check_float_internal call.
42248         (check_int): Do not check numerical result if flag IGNORE_RESULT
42249         set.
42250         (check_long): Likewise.
42251         (check_bool): Likewise.
42252         (check_longlong): Likewise.
42253         (lrint_test_data): Add tests of infinite and NaN arguments.
42254         (lrint_tonearest_test_data): Likewise.
42255         (lrint_towardzero_test_data): Likewise.
42256         (lrint_downward_test_data): Likewise.
42257         (lrint_upward_test_data): Likewise.
42258         (llrint_test_data): Likewise.
42259         (llrint_tonearest_test_data): Likewise.
42260         (llrint_towardzero_test_data): Likewise.
42261         (llrint_downward_test_data): Likewise.
42262         (llrint_upward_test_data): Likewise.
42263         (lround_test_data): Likewise.
42264         (llround_test_data): Likewise.
42266         * math/libm-test.inc (NO_TEST_INLINE): New macro.
42267         (ERRNO_UNCHANGED): Update value.
42268         (ERRNO_EDOM): Likewise.
42269         (ERRNO_ERANGE): Likewise.
42270         (NO_TEST_INLINE_FLOAT): New macro.
42271         (NO_TEST_INLINE_DOUBLE): Likewise.
42272         (enable_test): New function.
42273         (RUN_TEST_f_f): Check enable_test before running test.
42274         (RUN_TEST_2_f): Likewise.
42275         (RUN_TEST_fff_f): Likewise.
42276         (RUN_TEST_c_f): Likewise.
42277         (RUN_TEST_f_f1): Likewise.
42278         (RUN_TEST_fF_f1): Likewise.
42279         (RUN_TEST_fI_f1): Likewise.
42280         (RUN_TEST_ffI_f1): Likewise.
42281         (RUN_TEST_c_c): Likewise.
42282         (RUN_TEST_cc_c): Likewise.
42283         (RUN_TEST_f_i): Likewise.
42284         (RUN_TEST_f_i_tg): Likewise.
42285         (RUN_TEST_ff_i_tg): Likewise.
42286         (RUN_TEST_f_b): Likewise.
42287         (RUN_TEST_f_b_tg): Likewise.
42288         (RUN_TEST_f_l): Likewise.
42289         (RUN_TEST_f_L): Likewise.
42290         (RUN_TEST_fFF_11): Likewise.
42291         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42292         conditionals.
42293         (cosh_test_data): Likewise.
42294         (exp_test_data): Likewise.
42295         (expm1_test_data): Likewise.
42296         (hypot_test_data): Likewise.
42297         (pow_test_data): Likewise.
42298         (sinh_test_data): Likewise.
42299         (tanh_test_data): Likewise.
42300         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42301         flags argument.
42303         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42304         tests with quiet NaN input and output.
42305         (acosh_test_data): Likewise.
42306         (asin_test_data): Likewise.
42307         (asinh_test_data): Likewise.
42308         (atan_test_data): Likewise.
42309         (atanh_test_data): Likewise.
42310         (atan2_test_data): Likewise.
42311         (cbrt_test_data): Likewise.
42312         (cos_test_data): Likewise.
42313         (cosh_test_data): Likewise.
42314         (erf_test_data): Likewise.
42315         (erfc_test_data): Likewise.
42316         (exp_test_data): Likewise.
42317         (exp10_test_data): Likewise.
42318         (exp2_test_data): Likewise.
42319         (expm1_test_data): Likewise.
42320         (hypot_test_data): Likewise.
42321         (j0_test_data): Likewise.
42322         (j1_test_data): Likewise.
42323         (jn_test_data): Likewise.
42324         (lgamma_test_data): Likewise.
42325         (log_test_data): Likewise.
42326         (log10_test_data): Likewise.
42327         (log1p_test_data): Likewise.
42328         (log2_test_data): Likewise.
42329         (pow_test_data): Likewise.
42330         (scalb_test_data): Likewise.
42331         (sin_test_data): Likewise.
42332         (sincos_test_data): Likewise.
42333         (sinh_test_data): Likewise.
42334         (tan_test_data): Likewise.
42335         (tanh_test_data): Likewise.
42336         (tgamma_test_data): Likewise.
42337         (y0_test_data): Likewise.
42338         (y1_test_data): Likewise.
42339         (yn_test_data): Likewise.
42341         [BZ #16167]
42342         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
42343         argument being NaN and avoid computations with second argument in
42344         that case.
42345         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42346         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42347         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42349 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
42351         * locale/iso-639.def: Add Chitwani Tharu (the).
42353 2013-11-14  Andreas Schwab  <schwab@suse.de>
42355         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
42356         word instead of empty string.
42358 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42361         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
42362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42363         (__fe_nomask_env): Likewise.
42365 2013-11-13  Steve Ellcey  <sellcey@mips.com>
42367         * benchtests/bench-timing.h: Include time.h.
42369 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
42371         [BZ #15997]
42372         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
42373         to 3.4.0 for x32.
42374         * sysdeps/unix/sysv/linux/configure: Regenerated.
42376 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
42378         [BZ #16151]
42379         * stdlib/strtod_l.c (round_and_return): Do not consider
42380         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
42381         exponent one less than half the least subnormal exponent.
42382         * stdlib/test-strtod-round-data: Add more tests.
42383         * stdlib/tst-strtod-round.c (tests): Regenerated.
42385 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42387         [BZ #14143]
42388         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
42389         (__fe_mask_env): Likewise.
42390         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
42391         libm_hidden_proto and add function prototype.
42392         (__fe_mask_env): Add function prototype.
42393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42394         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
42395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42396         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
42397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42398         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42400 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42402         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
42403         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
42405 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42407         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
42408         of htab_find_slot().
42410 2013-11-11  David S. Miller  <davem@davemloft.net>
42412         [BZ #16150]
42413         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
42414         symbol in the non-vis3 case in static builds.
42415         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
42416         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
42417         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
42418         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
42420 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
42422         [BZ #387]
42423         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
42424         it is empty.
42426 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42428         * benchtests/Makefile: Add bench-strtod.
42429         * benchtests/bench-strtod.c: New file: strtod benchtest
42431 2013-11-11  Andreas Schwab  <schwab@suse.de>
42433         [BZ #16153]
42434         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
42435         terminating NUL in key length.
42437 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42439         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42440         Add artificial ODP entry for vDSO symbol for PPC64.
42441         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
42442         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
42444 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42446         [BZ #15374]
42447         * nss/getent.c (services_keys): Recognize services starting with digit.
42449 2013-11-06  David S. Miller  <davem@davemloft.net>
42451         [BZ #15985]
42452         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
42453         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
42455 2013-11-06  Will Newton  <will.newton@linaro.org>
42457         * manual/memory.texi (Malloc Examples): Remove register
42458         keyword from examples.
42460 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
42462         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
42464 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
42466         [BZ #6981]
42467         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
42468         depending on [__GCC_IEC_559 > 0].
42469         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
42470         depending on [__GCC_IEC_559_COMPLEX > 0].
42472 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
42474         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
42475         to iso-639.def.
42477 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
42479         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
42481 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
42483         [BZ #16112]
42484         * malloc/malloc (malloc_info): Do not handle first bin as
42485         special case.
42487 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
42489         * locale/iso-639.def: Add Central Nahuatl (nhn).
42491 2013-11-01  Bruno Haible  <bruno@clisp.org>
42493         [BZ #7003]
42494         * manual/math.texi (BSD Random): Specify range upper bound as
42495         in POSIX.
42497 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
42499         * locale/iso-639.def: Add Meadow Mari (mhr).
42501 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
42503         [BZ #14752], [BZ #15763]
42504         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
42505         Validate name.
42506         * rt/tst_shm.c: Add test for escaping directory.
42508 2013-10-31  Andreas Schwab  <schwab@suse.de>
42510         [BZ #15917]
42511         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
42512         followed by 'x' as part of digit sequence.
42513         * stdio-common/tst-sscanf.c (double_tests2): New tests.
42515 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
42517         [BZ #16037]
42518         * configure.ac: allow GNU Make 4.0 and greater.
42519         * configure: Regenerated.
42521 2013-10-30  Will Newton  <will.newton@linaro.org>
42523         [BZ #16038]
42524         * malloc/hooks.c (memalign_check): Limit alignment to the
42525         maximum representable power of two.
42526         * malloc/malloc.c (__libc_memalign): Likewise.
42527         * malloc/tst-memalign.c (do_test): Add test for very
42528         large alignment values.
42529         * malloc/tst-posix_memalign.c (do_test): Likewise.
42531 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42533         [BZ #11087]
42534         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
42535         (munmap_chunk): Likewise.
42536         (mremap_chunk): Likewise.
42538 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42540         [BZ #15799]
42541         * stdlib/div.c (div): Remove obsolete code.
42542         * stdlib/ldiv.c (ldiv): Likewise.
42543         * stdlib/lldiv.c (lldiv): Likewise.
42545 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42547         [BZ #16071]
42548         * nss/nss_files/files-XXX.c (get_contents_ret): New
42549         enumerator.
42550         (get_contents): New function.
42551         (internal_getent): Use it.  Expand size of LINEBUFLEN.
42553 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
42555         * configure.in: Moved to ...
42556         * configure.ac: ... here. Change reference to configure.in
42557         to configure.ac.
42558         * sysdeps/arm/preconfigure.ac: ... here.
42559         configure.in to configure.ac.
42560         * sysdeps/gnu/configure.in: Moved to ...
42561         * sysdeps/gnu/configure.ac: ... here.
42562         * sysdeps/i386/configure.in: Moved to ...
42563         * sysdeps/i386/configure.ac: ... here.
42564         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
42565         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
42566         * sysdeps/mach/configure.in: Moved to ...
42567         * sysdeps/mach/configure.ac: ... here.
42568         * sysdeps/mach/hurd/configure.in: Moved to ...
42569         * sysdeps/mach/hurd/configure.ac: ... here.
42570         * sysdeps/powerpc/configure.in: Moved to ...
42571         * sysdeps/powerpc/configure.ac: ... here.
42572         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
42573         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
42574         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
42575         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
42576         * sysdeps/s390/s390-32/configure.in: Moved to ...
42577         * sysdeps/s390/s390-32/configure.ac: ... here.
42578         * sysdeps/s390/s390-64/configure.in: Moved to ...
42579         * sysdeps/s390/s390-64/configure.ac: ... here.
42580         * sysdeps/sh/configure.in: Moved to ...
42581         * sysdeps/sh/configure.ac: ... here.
42582         * sysdeps/sparc/configure.in: Moved to ...
42583         * sysdeps/sparc/configure.ac: ... here.
42584         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
42585         * sysdeps/unix/sysv/linux/configure.ac: ... here.
42586         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
42587         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
42588         * sysdeps/x86_64/configure.in: Moved to ...
42589         * sysdeps/x86_64/configure.ac: ... here.
42590         * sysdeps/x86_64/preconfigure.in: Moved to ...
42591         * sysdeps/x86_64/preconfigure.ac: ... here.
42592         * aclocal.m4: Change reference to configure.in to configure.ac.
42593         * config.h.in: Likewise.
42594         * manual/install.texi: Likewise.
42595         * manual/maint.texi: Likewise.
42596         * Makefile: Likewise.
42597         * malloc/Makefile: Likewise.
42598         * nscd/Makefile: Likewise.
42599         * Makeconfig: Change reference to configure.in and
42600         preconfigure.in to configure.ac and preconfigure.ac
42601         respectively.
42602         * INSTALL: Regenerated.
42603         * configure: Likewise.
42604         * sysdeps/gnu/configure: Likewise.
42605         * sysdeps/i386/configure: Likewise.
42606         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
42607         * sysdeps/mach/configure: Likewise.
42608         * sysdeps/mach/hurd/configure: Likewise.
42609         * sysdeps/powerpc/configure: Likewise.
42610         * sysdeps/powerpc/powerpc32/configure: Likewise.
42611         * sysdeps/powerpc/powerpc64/configure: Likewise.
42612         * sysdeps/s390/s390-32/configure: Likewise.
42613         * sysdeps/s390/s390-64/configure: Likewise.
42614         * sysdeps/sh/configure: Likewise.
42615         * sysdeps/sparc/configure: Likewise.
42616         * sysdeps/unix/sysv/linux/configure: Likewise.
42617         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
42618         * sysdeps/x86_64/configure: Likewise.
42619         * sysdeps/x86_64/preconfigure: Likewise.
42621 2013-10-29  Andreas Schwab  <schwab@suse.de>
42623         * stdio-common/Makefile (tst-swscanf-ENV): Define.
42625 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42627         * benchtests/pow-inputs: Add new inputs.
42629         * benchtests/exp-inputs: Add new inputs.
42631         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
42632         conditional check for return value.
42633         (__cos32): Likewise.
42635 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42637         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
42638         to provide a boost for large inputs with word alignment.
42639         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
42640         implementation based on optimized PPC64 strcpy.
42641         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
42642         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
42643         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
42644         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
42646 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42648         [BZ #2801]
42649         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
42651 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42653         [BZ #14876]
42654         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
42655         * time/tst-strptime.c (day_tests): Add testcase.
42657 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42659         [BZ #14029]
42660         * manual/pattern.texi: Acknowledge that fnmatch can fail.
42662 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
42664         [BZ #16074]
42665         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
42666         MAP_FAILED on error.
42668 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42670         [BZ #16072]
42671         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
42672         heap for large requests.
42674 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
42676         [BZ #9954]
42677         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
42678         result if the result has no associated interface.
42679         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
42680         interface for all 127.X.Y.Z addresses.
42682 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
42684         * locale/iso-639.def: Add Ligurian (lij)
42686 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
42688         [BZ #15825]
42689         * sunrpc/rpc_main.c: Document rpcgen -5.
42691 2013-10-19  Michael Stahl  <mstahl@redhat.com>
42693         * elf/rtld.c (do_preload): Print the reason why preloading failed.
42695 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42697         [BZ #10278]
42698         * posix/glob.c: Match only directories when trailing slash is present.
42699         * posix/tst-gnuglob.c (my_opendir): Do not open files.
42700         (main): Add testcase.
42702 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42704         [BZ #15670]
42705         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
42707 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
42709         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
42710         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
42711         AUTH_DES and cindex for FIPS 140-2.
42712         (DES Encryption): Add cindex FIPS 46-3.
42714         * locale/locarchive.h (struct locarhandle): Add fname.
42715         * locale/programs/localedef.c (main): Pass ARGV[remaining]
42716         if an optional argument was specified to --list-archive,
42717         otherwise NULL.
42718         * locale/programs/locarchive.c (show_archive_content): Take new
42719         argument fname and pass it via ah.fname to open_archive.
42720         * locale/programs/localedef.h: Update decl.
42721         (open_archive): If AH->fname is non-null, open that file
42722         rather than the default file name, and don't ignore ENOENT.
42723         (create_archive): Set AH.fname to NULL.
42724         (delete_locales_from_archive): Likewise.
42725         (add_locales_to_archive): Likewise.
42726         * locale/programs/locfile.c (write_all_categories): Likewise.
42728 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
42729             Aldy Hernandez  <aldyh@redhat.com>
42731         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
42732         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
42733         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
42734         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
42735         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
42736         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
42737         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
42738         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
42739         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
42740         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
42741         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
42742         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
42743         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
42744         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
42745         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
42746         Likewise.
42747         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
42748         Likewise.
42749         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
42750         Likewise.
42751         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
42752         Likewise.
42753         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
42754         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
42755         Likewise.
42756         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
42757         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
42758         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
42759         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
42760         Likewise.
42761         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
42762         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
42763         * sysdeps/powerpc/preconfigure: Likewise.
42764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
42765         Likewise.
42766         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
42767         Replace contents of file by #include of <fenv_libc.h>.
42768         * sysdeps/powerpc/soft-fp/sfp-machine.h
42769         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
42770         and <sys/prctl.h>.
42771         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
42772         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
42773         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
42774         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
42775         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
42776         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
42777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
42778         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
42779         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
42780         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
42781         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
42782         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
42783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42784         Allow copysignl PLT reference to be missing.
42786 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
42787             Joseph Myers  <joseph@codesourcery.com
42789         [BZ #15948]
42790         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
42791         single character.
42792         (add_to_tablewc): Assert sequence of wide characters is nonempty.
42794 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42796         * elf/tst-tls-dlinfo.c: Don't include tls.h.
42797         * elf/tst-tls1.c: Likewise.
42798         * elf/tst-tls10.h: Likewise.
42799         * elf/tst-tls14.c: Likewise.
42800         * elf/tst-tls2.c: Likewise.
42801         * elf/tst-tls3.c: Likewise.
42802         * elf/tst-tls4.c: Likewise.
42803         * elf/tst-tls5.c: Likewise.
42804         * elf/tst-tls6.c: Likewise.
42805         * elf/tst-tls7.c: Likewise.
42806         * elf/tst-tls8.c: Likewise.
42807         * elf/tst-tls9.c: Likewise.
42808         * elf/tst-tlsmod1.c: Likewise.
42809         * elf/tst-tlsmod13.c: Likewise.
42810         * elf/tst-tlsmod13a.c: Likewise.
42811         * elf/tst-tlsmod14a.c: Likewise.
42812         * elf/tst-tlsmod16a.c: Likewise.
42813         * elf/tst-tlsmod16b.c: Likewise.
42814         * elf/tst-tlsmod2.c: Likewise.
42815         * elf/tst-tlsmod3.c: Likewise.
42816         * elf/tst-tlsmod4.c: Likewise.
42817         * elf/tst-tlsmod5.c: Likewise.
42818         * elf/tst-tlsmod6.c: Likewise.
42820 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
42822         [BZ #12486]
42823         * malloc/malloc.c: remove checks for statistics.
42825 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42827         [BZ #15277]
42828         * inet/inet_net.c (inet_network): Detect additional invalid strings.
42829         * inet/tst-network.c: Add testcase.
42831 2013-10-17  Andreas Schwab  <schwab@suse.de>
42833         [BZ #15218]
42834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
42835         to determine canonical name.
42837 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42839         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
42840         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
42841         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42842         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42843         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42844         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42845         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42846         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42847         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42848         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42849         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42850         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42851         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42852         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42853         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42854         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42855         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42856         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42857         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42858         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42859         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42860         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42861         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42862         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
42863         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
42864         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42865         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42866         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
42867         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42868         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
42869         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42870         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42871         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42872         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42873         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42874         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42875         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42876         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42877         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42878         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42879         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42880         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42881         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42882         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42883         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42884         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42885         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42886         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42887         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42888         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42889         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42890         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42891         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42892         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42893         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42894         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42895         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42896         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42898 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
42900         [BZ #16041]
42901         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
42902         make result into a quiet NaN.
42904 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
42906         * soft-fp/adddf3.c: Fix horizontal whitespace.
42907         * soft-fp/addsf3.c: Likewise.
42908         * soft-fp/addtf3.c: Likewise.
42909         * soft-fp/divdf3.c: Likewise.
42910         * soft-fp/divsf3.c: Likewise.
42911         * soft-fp/divtf3.c: Likewise.
42912         * soft-fp/double.h: Likewise.
42913         * soft-fp/eqdf2.c: Likewise.
42914         * soft-fp/eqsf2.c: Likewise.
42915         * soft-fp/eqtf2.c: Likewise.
42916         * soft-fp/extenddftf2.c: Likewise.
42917         * soft-fp/extended.h: Likewise.
42918         * soft-fp/extendsfdf2.c: Likewise.
42919         * soft-fp/extendsftf2.c: Likewise.
42920         * soft-fp/extendxftf2.c: Likewise.
42921         * soft-fp/fixdfdi.c: Likewise.
42922         * soft-fp/fixdfsi.c: Likewise.
42923         * soft-fp/fixdfti.c: Likewise.
42924         * soft-fp/fixsfdi.c: Likewise.
42925         * soft-fp/fixsfsi.c: Likewise.
42926         * soft-fp/fixsfti.c: Likewise.
42927         * soft-fp/fixtfdi.c: Likewise.
42928         * soft-fp/fixtfsi.c: Likewise.
42929         * soft-fp/fixtfti.c: Likewise.
42930         * soft-fp/fixunsdfdi.c: Likewise.
42931         * soft-fp/fixunsdfsi.c: Likewise.
42932         * soft-fp/fixunsdfti.c: Likewise.
42933         * soft-fp/fixunssfdi.c: Likewise.
42934         * soft-fp/fixunssfsi.c: Likewise.
42935         * soft-fp/fixunssfti.c: Likewise.
42936         * soft-fp/fixunstfdi.c: Likewise.
42937         * soft-fp/fixunstfsi.c: Likewise.
42938         * soft-fp/fixunstfti.c: Likewise.
42939         * soft-fp/floatdidf.c: Likewise.
42940         * soft-fp/floatdisf.c: Likewise.
42941         * soft-fp/floatditf.c: Likewise.
42942         * soft-fp/floatsidf.c: Likewise.
42943         * soft-fp/floatsisf.c: Likewise.
42944         * soft-fp/floatsitf.c: Likewise.
42945         * soft-fp/floattidf.c: Likewise.
42946         * soft-fp/floattisf.c: Likewise.
42947         * soft-fp/floattitf.c: Likewise.
42948         * soft-fp/floatundidf.c: Likewise.
42949         * soft-fp/floatundisf.c: Likewise.
42950         * soft-fp/floatunditf.c: Likewise.
42951         * soft-fp/floatunsidf.c: Likewise.
42952         * soft-fp/floatunsisf.c: Likewise.
42953         * soft-fp/floatunsitf.c: Likewise.
42954         * soft-fp/floatuntidf.c: Likewise.
42955         * soft-fp/floatuntisf.c: Likewise.
42956         * soft-fp/floatuntitf.c: Likewise.
42957         * soft-fp/fmadf4.c: Likewise.
42958         * soft-fp/fmasf4.c: Likewise.
42959         * soft-fp/fmatf4.c: Likewise.
42960         * soft-fp/gedf2.c: Likewise.
42961         * soft-fp/gesf2.c: Likewise.
42962         * soft-fp/getf2.c: Likewise.
42963         * soft-fp/ledf2.c: Likewise.
42964         * soft-fp/lesf2.c: Likewise.
42965         * soft-fp/letf2.c: Likewise.
42966         * soft-fp/muldf3.c: Likewise.
42967         * soft-fp/mulsf3.c: Likewise.
42968         * soft-fp/multf3.c: Likewise.
42969         * soft-fp/negdf2.c: Likewise.
42970         * soft-fp/negsf2.c: Likewise.
42971         * soft-fp/negtf2.c: Likewise.
42972         * soft-fp/op-1.h: Likewise.
42973         * soft-fp/op-2.h: Likewise.
42974         * soft-fp/op-4.h: Likewise.
42975         * soft-fp/op-8.h: Likewise.
42976         * soft-fp/op-common.h: Likewise.
42977         * soft-fp/quad.h: Likewise.
42978         * soft-fp/single.h: Likewise.
42979         * soft-fp/soft-fp.h: Likewise.
42980         * soft-fp/sqrtdf2.c: Likewise.
42981         * soft-fp/sqrtsf2.c: Likewise.
42982         * soft-fp/sqrttf2.c: Likewise.
42983         * soft-fp/subdf3.c: Likewise.
42984         * soft-fp/subsf3.c: Likewise.
42985         * soft-fp/subtf3.c: Likewise.
42986         * soft-fp/truncdfsf2.c: Likewise.
42987         * soft-fp/trunctfdf2.c: Likewise.
42988         * soft-fp/trunctfsf2.c: Likewise.
42989         * soft-fp/trunctfxf2.c: Likewise.
42990         * soft-fp/unorddf2.c: Likewise.
42991         * soft-fp/unordsf2.c: Likewise.
42992         * soft-fp/unordtf2.c: Likewise.
42994 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
42996         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
42997         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
42999 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
43001         * elf/dl-libc.c: Clear initfini list after freeing.
43003 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
43005         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
43006         * soft-fp/addsf3.c: Likewise.
43007         * soft-fp/addtf3.c: Likewise.
43008         * soft-fp/divdf3.c: Likewise.
43009         * soft-fp/divsf3.c: Likewise.
43010         * soft-fp/divtf3.c: Likewise.
43011         * soft-fp/double.h: Likewise.
43012         * soft-fp/eqdf2.c: Likewise.
43013         * soft-fp/eqsf2.c: Likewise.
43014         * soft-fp/eqtf2.c: Likewise.
43015         * soft-fp/extenddftf2.c: Likewise.
43016         * soft-fp/extended.h: Likewise.
43017         * soft-fp/extendsfdf2.c: Likewise.
43018         * soft-fp/extendsftf2.c: Likewise.
43019         * soft-fp/extendxftf2.c: Likewise.
43020         * soft-fp/fixdfdi.c: Likewise.
43021         * soft-fp/fixdfsi.c: Likewise.
43022         * soft-fp/fixdfti.c: Likewise.
43023         * soft-fp/fixsfdi.c: Likewise.
43024         * soft-fp/fixsfsi.c: Likewise.
43025         * soft-fp/fixsfti.c: Likewise.
43026         * soft-fp/fixtfdi.c: Likewise.
43027         * soft-fp/fixtfsi.c: Likewise.
43028         * soft-fp/fixtfti.c: Likewise.
43029         * soft-fp/fixunsdfdi.c: Likewise.
43030         * soft-fp/fixunsdfsi.c: Likewise.
43031         * soft-fp/fixunsdfti.c: Likewise.
43032         * soft-fp/fixunssfdi.c: Likewise.
43033         * soft-fp/fixunssfsi.c: Likewise.
43034         * soft-fp/fixunssfti.c: Likewise.
43035         * soft-fp/fixunstfdi.c: Likewise.
43036         * soft-fp/fixunstfsi.c: Likewise.
43037         * soft-fp/fixunstfti.c: Likewise.
43038         * soft-fp/floatdidf.c: Likewise.
43039         * soft-fp/floatdisf.c: Likewise.
43040         * soft-fp/floatditf.c: Likewise.
43041         * soft-fp/floatsidf.c: Likewise.
43042         * soft-fp/floatsisf.c: Likewise.
43043         * soft-fp/floatsitf.c: Likewise.
43044         * soft-fp/floattidf.c: Likewise.
43045         * soft-fp/floattisf.c: Likewise.
43046         * soft-fp/floattitf.c: Likewise.
43047         * soft-fp/floatundidf.c: Likewise.
43048         * soft-fp/floatundisf.c: Likewise.
43049         * soft-fp/floatunsidf.c: Likewise.
43050         * soft-fp/floatunsisf.c: Likewise.
43051         * soft-fp/floatuntidf.c: Likewise.
43052         * soft-fp/floatuntisf.c: Likewise.
43053         * soft-fp/floatuntitf.c: Likewise.
43054         * soft-fp/fmadf4.c: Likewise.
43055         * soft-fp/fmasf4.c: Likewise.
43056         * soft-fp/fmatf4.c: Likewise.
43057         * soft-fp/gedf2.c: Likewise.
43058         * soft-fp/gesf2.c: Likewise.
43059         * soft-fp/getf2.c: Likewise.
43060         * soft-fp/ledf2.c: Likewise.
43061         * soft-fp/lesf2.c: Likewise.
43062         * soft-fp/letf2.c: Likewise.
43063         * soft-fp/muldf3.c: Likewise.
43064         * soft-fp/mulsf3.c: Likewise.
43065         * soft-fp/multf3.c: Likewise.
43066         * soft-fp/negdf2.c: Likewise.
43067         * soft-fp/negsf2.c: Likewise.
43068         * soft-fp/negtf2.c: Likewise.
43069         * soft-fp/op-1.h: Likewise.
43070         * soft-fp/op-2.h: Likewise.
43071         * soft-fp/op-4.h: Likewise.
43072         * soft-fp/op-8.h: Likewise.
43073         * soft-fp/op-common.h: Likewise.
43074         * soft-fp/quad.h: Likewise.
43075         * soft-fp/single.h: Likewise.
43076         * soft-fp/soft-fp.h: Likewise.
43077         * soft-fp/sqrtdf2.c: Likewise.
43078         * soft-fp/sqrtsf2.c: Likewise.
43079         * soft-fp/sqrttf2.c: Likewise.
43080         * soft-fp/subdf3.c: Likewise.
43081         * soft-fp/subsf3.c: Likewise.
43082         * soft-fp/subtf3.c: Likewise.
43083         * soft-fp/truncdfsf2.c: Likewise.
43084         * soft-fp/trunctfdf2.c: Likewise.
43085         * soft-fp/trunctfsf2.c: Likewise.
43086         * soft-fp/trunctfxf2.c: Likewise.
43087         * soft-fp/unorddf2.c: Likewise.
43088         * soft-fp/unordsf2.c: Likewise.
43089         * soft-fp/unordtf2.c: Likewise.
43091 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
43093         [BZ #15672]
43094         * misc/error.c (error_tail): Fix possible buffer overflow.
43096 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
43098         [BZ #13028]
43099         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
43100         address.
43102 2013-10-14  P. J. McDermott  <pj@pehjota.net>
43104         [BZ #832]
43105         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
43106         testing pipefail option.
43108 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43110         * soft-fp/double.h: Indent preprocessor directives inside #if.
43111         * soft-fp/extended.h: Likewise.
43112         * soft-fp/op-2.h: Likewise.
43113         * soft-fp/op-4.h: Likewise.
43114         * soft-fp/op-common.h: Likewise.
43115         * soft-fp/quad.h: Likewise.
43116         * soft-fp/single.h: Likewise.
43117         * soft-fp/soft-fp.h: Likewise.
43119 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
43121         * iconv/iconv_prog.c: Fix typos.
43122         * stdio-common/psiginfo-data.h: Likewise.
43124 2013-10-12   Reuben Thomas <rrt@sc3d.org>
43126         [BZ #15764]
43127         * locale/setlocale.c: Fix typo.
43129 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43131         [BZ #16036]
43132         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43133         signaling NaN arguments.
43134         * soft-fp/unordsf2.c (__unordsf2): Likewise.
43135         * soft-fp/unordtf2.c (__unordtf2): Likewise.
43137         [BZ #14910]
43138         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
43139         unordered operands.
43140         * soft-fp/gesf2.c (__gesf2): Likewise.
43141         * soft-fp/getf2.c (__getf2): Likewise.
43142         * soft-fp/ledf2.c (__ledf2): Likewise.
43143         * soft-fp/lesf2.c (__lesf2): Likewise.
43144         * soft-fp/letf2.c (__letf2): Likewise.
43146         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43147         * soft-fp/eqsf2.c (__eqsf2): Likewise.
43148         * soft-fp/eqtf2.c (__eqtf2): Likewise.
43149         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43150         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43151         * soft-fp/fixdfti.c (__fixdfti): Likewise.
43152         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43153         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43154         * soft-fp/fixsfti.c (__fixsfti): Likewise.
43155         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43156         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43157         * soft-fp/fixtfti.c (__fixtfti): Likewise.
43158         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43159         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43160         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43161         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43162         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43163         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43164         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43165         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43166         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43167         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43168         * soft-fp/floatdisf.c (__floatdisf): Likewise.
43169         * soft-fp/floatsisf.c (__floatsisf): Likewise.
43170         * soft-fp/floattidf.c (__floattidf): Likewise.
43171         * soft-fp/floattisf.c (__floattisf): Likewise.
43172         * soft-fp/floattitf.c (__floattitf): Likewise.
43173         * soft-fp/floatundidf.c (__floatundidf): Likewise.
43174         * soft-fp/floatundisf.c (__floatundisf): Likewise.
43175         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43176         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43177         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43178         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43179         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43180         * soft-fp/gesf2.c (__gesf2): Likewise.
43181         * soft-fp/getf2.c (__getf2): Likewise.
43182         * soft-fp/ledf2.c (__ledf2): Likewise.
43183         * soft-fp/lesf2.c (__lesf2): Likewise.
43184         * soft-fp/letf2.c (__letf2): Likewise.
43186         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
43187         Undefine and redefine.
43188         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
43189         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
43190         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
43191         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
43192         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43193         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
43194         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43195         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
43196         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43197         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
43198         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43199         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
43200         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43201         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
43202         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43204         [BZ #16032]
43205         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
43206         without decrementing exponent if mantissa >= that for the
43207         denominator, not >.
43208         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
43209         denominator, not >.  Decrement exponent in < case instead of
43210         incrementing in >= case.
43211         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
43212         without decrementing exponent if mantissa >= that for the
43213         denominator, not >.
43215         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
43216         computing saturated result for unsigned overflow.
43218 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43219             Jeff Law  <law@redhat.com>
43221         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
43222         (atan2Mp): Add systemtap probe marker.
43223         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
43224         (__ieee754_log): Add systemtap probe marker.
43225         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
43226         (atanMp): Add systemtap probe marker.
43227         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
43228         (tanMp): Add systemtap probe marker.
43229         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
43230         (__slowexp): Add systemtap probe marker.
43231         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
43232         (__slowpow): Add systemtap probe marker.
43233         * manual/probes.texi: Document probes.
43235 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
43237         [BZ #15362]
43238         * libio/fileops.c (_IO_new_file_write): Return count of bytes
43239         written.
43240         (_IO_new_file_xsputn): Don't return EOF if nothing has been
43241         written.
43242         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
43243         written to buffer but not flushed.
43244         * libio/iofwrite_u.c:  Likewise.
43245         * libio/iopadn.c:  Return bytes returned even if EOF was
43246         encountered.
43247         * libio/iowpadn.c:  Likewise.
43248         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
43249         if _IO_padn does not write the whole buffer.
43250         [!COMPILE_WPRINTF] (PAD): Likewise.
43252 2013-10-10  David S. Miller  <davem@davemloft.net>
43254         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43255         directory block.
43257 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43259         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
43260         instead of FSF address.
43261         * soft-fp/fixdfti.c: Likewise.
43262         * soft-fp/fixsfti.c: Likewise.
43263         * soft-fp/fixtfti.c: Likewise.
43264         * soft-fp/fixunsdfti.c: Likewise.
43265         * soft-fp/fixunssfti.c: Likewise.
43266         * soft-fp/fixunstfti.c: Likewise.
43267         * soft-fp/floattidf.c: Likewise.
43268         * soft-fp/floattisf.c: Likewise.
43269         * soft-fp/floattitf.c: Likewise.
43270         * soft-fp/floatuntidf.c: Likewise.
43271         * soft-fp/floatuntisf.c: Likewise.
43272         * soft-fp/floatuntitf.c: Likewise.
43273         * soft-fp/trunctfxf2.c: Likewise.
43275         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
43276         * soft-fp/fixdfti.c: Likewise.
43277         * soft-fp/fixsfti.c: Likewise.
43278         * soft-fp/fixtfti.c: Likewise.
43279         * soft-fp/fixunsdfti.c: Likewise.
43280         * soft-fp/fixunssfti.c: Likewise.
43281         * soft-fp/fixunstfti.c: Likewise.
43282         * soft-fp/floattidf.c: Likewise.
43283         * soft-fp/floattisf.c: Likewise.
43284         * soft-fp/floattitf.c: Likewise.
43285         * soft-fp/floatuntidf.c: Likewise.
43286         * soft-fp/floatuntisf.c: Likewise.
43287         * soft-fp/floatuntitf.c: Likewise.
43288         * soft-fp/trunctfxf2.c: Likewise.
43290 2013-10-10  David S. Miller  <davem@davemloft.net>
43292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43294 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
43296         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43297         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43298         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43299         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43300         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43301         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43302         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43304         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43305         for NaNs before doing comparisons on argument.
43306         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43307         Likewise.
43309 2013-10-10  Will Newton  <will.newton@linaro.org>
43311         * malloc/hooks.c (memalign_check): Ensure the value of bytes
43312         passed to _int_memalign does not overflow.
43314 2013-10-10  Torvald Riegel  <triegel@redhat.com>
43316         * scripts/bench.pl: Add include-sources directive.
43317         * benchtests/README: Update documentation.
43319 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43321         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43322         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43323         instead of FP_INIT_ROUNDMODE.
43324         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43325         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43327         [BZ #16034]
43328         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
43329         copy class of input value.
43330         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
43331         not handle exceptions.
43332         * soft-fp/negsf2.c (__negsf2): Likewise.
43333         * soft-fp/negtf2.c (__negtf2): Likewise.
43334         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43336 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
43338         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
43339         semicolon.  From Linux kernel.
43341 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
43343         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
43345 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
43347         [BZ #156]
43348         * manual/socket.texi: Added statement about buffer
43349         for gethostbyname2_r.
43351 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
43353         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
43354         Use .p2align directive instead, throughout.
43355         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43356         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43357         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
43358         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43359         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43360         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
43361         * sysdeps/x86_64/strchr.S: Likewise.
43362         * sysdeps/x86_64/strrchr.S: Likewise.
43364 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43366         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
43368         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
43370         * sysdeps/generic/math_private.h (__mpsin1): Remove
43371         declaration.
43372         (__mpcos1): Likewise.
43373         (__mpsin): New argument __range_reduce.
43374         (__mpcos): Likewise.
43375         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43376         (slow): Use __mpsin and __mpcos.
43377         (slow1): Likewise.
43378         (slow2): Likewise.
43379         (sloww): Likewise.
43380         (sloww1): Likewise.
43381         (sloww2): Likewise.
43382         (bsloww): Likewise.
43383         (bsloww1): Likewise.
43384         (bsloww2): Likewise.
43385         (cslow2): Likewise.
43386         (csloww): Likewise.
43387         (csloww1): Likewise.
43388         (csloww2): Likewise.
43389         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
43390         range_reduce.  Merge in __mpsin1.
43391         (__mpcos): Likewise.
43392         (__mpsin1): Remove.
43393         (__mpcos1): Likewise.
43395 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
43397         * locale/loadlocale.c (_nl_intern_locale_data): Use
43398         LOCFILE_ALIGNED_P.
43399         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
43400         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
43401         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
43402         obstack data is appropriately aligned.
43403         (obstack_int32_grow_fast): Likewise.
43404         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
43405         * locale/programs/locfile.c (add_locale_uint32): Likewise.
43406         (add_locale_uint32_array): Likewise.
43408 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43410         * benchtests/Makefile: Remove ARGLIST and RET variables.
43411         ($(objpfx)bench-%.c): Pass only function name to the script.
43412         * benchtests/README: Update documentation.
43413         * benchtests/acos-inputs: Add new directives.
43414         * benchtests/acosh-inputs: Likewise.
43415         * benchtests/asin-inputs: Likewise.
43416         * benchtests/asinh-inputs: Likewise.
43417         * benchtests/atan-inputs: Likewise.
43418         * benchtests/atanh-inputs: Likewise.
43419         * benchtests/cos-inputs: Likewise.
43420         * benchtests/cosh-inputs: Likewise.
43421         * benchtests/exp-inputs: Likewise.
43422         * benchtests/log-inputs: Likewise.
43423         * benchtests/pow-inputs: Likewise.
43424         * benchtests/rint-inputs: Likewise.
43425         * benchtests/sin-inputs: Likewise.
43426         * benchtests/sinh-inputs: Likewise.
43427         * benchtests/tan-inputs: Likewise.
43428         * benchtests/tanh-inputs: Likewise.
43429         * scripts/bench.pl: Add support for new directives.
43431 2013-10-07  Alan Modra  <amodra@gmail.com>
43433         * README: Fix careless merge.
43435 2013-10-05  Alan Modra  <amodra@gmail.com>
43437         * NEWS: Mention powerpc64le support and bugs fixed.
43438         * README: Both big-endian and little-endian powerpc64 supported.
43440 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43442         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
43443         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
43444         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
43445         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
43447 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
43449         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
43450         match prototype.
43452 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
43454         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
43455         Move -mhard-float appending from
43456         ports/sysdeps/powerpc/powerpc32/Makefile.
43457         [$(with-fp) = yes] (ASFLAGS): Likewise.
43458         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
43459         * sysdeps/powerpc/nofpu: Move directory from
43460         ports/sysdeps/powerpc/nofpu.
43461         * sysdeps/powerpc/soft-fp: Move directory from
43462         ports/sysdeps/powerpc/soft-fp.
43463         * sysdeps/powerpc/powerpc32/405: Move directory from
43464         ports/sysdeps/powerpc/powerpc32/405.
43465         * sysdeps/powerpc/powerpc32/440: Move directory from
43466         ports/sysdeps/powerpc/powerpc32/440.
43467         * sysdeps/powerpc/powerpc32/464: Move directory from
43468         ports/sysdeps/powerpc/powerpc32/464.
43469         * sysdeps/powerpc/powerpc32/476: Move directory from
43470         ports/sysdeps/powerpc/powerpc32/476.
43471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
43472         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
43473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
43474         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
43475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
43476         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
43477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
43478         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
43479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
43480         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
43481         * README: Update for powerpc-*-linux-gnu software floating point
43482         support in libc.
43484         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
43485         case to powerpc/powerpc32*.
43486         * sysdeps/unix/sysv/linux/configure: Regenerated.
43488         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
43489         (_FPU_MASK_OM): Define as 0x04.
43490         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
43491         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
43492         0x00c10080.
43493         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
43494         0x0000003c.
43495         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
43497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
43498         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43499         getcontext_e500.
43500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
43501         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43502         setcontext_e500.
43503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
43504         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
43505         and setcontext_e500.
43507 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
43509         * locale/iso-3166.def: Update iso-1366.def and related occurrences
43511 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43513         * manual/threads.texi (Default Thread Attributes): Fix typo.
43515 2013-10-04  Will Newton  <will.newton@linaro.org>
43517         * malloc/Makefile: Add tst-memalign.
43518         * malloc/tst-memalign.c: New file.
43520         * malloc/tst-posix_memalign.c: Add comments.
43521         (do_test): Add comments and call free on all potentially
43522         allocated pointers. Add space after cast.
43524         * malloc/tst-pvalloc.c: Add comments.
43525         (do_test): Add comments and call free on all potentially
43526         allocated pointers. Remove duplicate check for NULL pointer.
43527         Add space after cast.
43529         * malloc/tst-valloc.c: Add comments.
43530         (do_test): Add comments and call free on all potentially
43531         allocated pointers. Remove duplicate check for NULL pointer.
43532         Add space after cast.
43534 2013-10-04  Alan Modra  <amodra@gmail.com>
43536         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43537         Use stdint types in rather than __attribute__((mode())).
43538         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43540 2013-10-04  Alan Modra  <amodra@gmail.com>
43542         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43543         Correct handling of unaligned relocs for little-endian.
43544         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43546 2013-10-04  Alan Modra  <amodra@gmail.com>
43548         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
43549         * configure: Regenerate.
43550         * nptl/shlib-versions: Powerpc*le starts at 2.18.
43551         * shlib-versions: Likewise.
43553 2013-10-04  Alan Modra  <amodra@gmail.com>
43555         * string/tester.c (test_memrchr): Increment reported test cycle.
43557 2013-10-04  Alan Modra  <amodra@gmail.com>
43559         * string/test-memcpy.c (do_one_test): When reporting errors, print
43560         string address and don't overrun end of string.
43562 2013-10-04  Alan Modra  <amodra@gmail.com>
43564         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
43565         insrdi.  Make better use of reg selection to speed exit slightly.
43566         Schedule entry path a little better.  Remove useless "are we done"
43567         checks on entry to main loop.  Handle wrapping around zero address.
43568         Correct main loop count.  Handle single left-over word from main
43569         loop inline rather than by using loop_small.  Remove extra word
43570         case in loop_small caused by wrong loop count.  Add little-endian
43571         support.
43572         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43573         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
43574         cache hint.
43575         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43576         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
43577         support.  Avoid rlwimi.
43578         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
43580 2013-10-04  Alan Modra  <amodra@gmail.com>
43582         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
43583         insrdi.  Formatting.
43584         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
43585         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43586         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43587         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43588         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43589         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
43591 2013-10-04  Alan Modra  <amodra@gmail.com>
43593         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
43594         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43595         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43596         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
43597         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43598         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43599         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43600         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43601         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
43602         use of regs.  Use power7 mtocrf.  Tidy function tails.
43604 2013-10-04  Alan Modra  <amodra@gmail.com>
43606         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
43607         Formatting.  Consistently use rXXX register defines or rN defines.
43608         Use early exit labels that avoid restoring unused non-volatile regs.
43609         Make cr field use more consistent with rWORDn compares.  Rename
43610         regs used as shift registers for unaligned loop, using rN defines
43611         for short lifetime/multiple use regs.
43612         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43613         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
43614         addi 1,1,64 to pop stack frame.  Simplify return value code.
43615         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43617 2013-10-04  Alan Modra  <amodra@gmail.com>
43619         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
43620         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
43621         rather than rlwimi.
43622         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
43623         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
43624         little-endian support.  Correct typos.
43625         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
43626         rather than rlwimi.
43627         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
43628         in loop and entry code to keep "and." results.
43629         (strchr): Add little-endian support.  Comment.  Move cntlzd
43630         earlier in tail.
43631         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
43633 2013-10-04  Alan Modra  <amodra@gmail.com>
43635         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
43636         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
43637         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
43638         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
43640 2013-10-04  Alan Modra  <amodra@gmail.com>
43642         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
43643         (rTMP): Define as r11.
43644         (strcmp): Add little-endian support.  Optimise tail.
43645         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
43646         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43647         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43648         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43649         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43650         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43651         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43653 2013-10-04  Alan Modra  <amodra@gmail.com>
43655         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
43656         little-endian support.  Remove unnecessary "are we done" tests.
43657         Handle "s" wrapping around zero and extremely large "size".
43658         Correct main loop count.  Handle single left-over word from main
43659         loop inline rather than by using small_loop.  Correct comments.
43660         Delete "zero" tail, use "end_max" instead.
43661         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
43663 2013-10-04  Alan Modra  <amodra@gmail.com>
43665         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
43666         support.  Don't branch over align.
43667         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
43668         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
43669         support.  Rearrange tmp reg use to suit.  Comment.
43670         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
43672 2013-10-04  Alan Modra  <amodra@gmail.com>
43674         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
43676 2013-10-04  Alan Modra  <amodra@gmail.com>
43678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
43679         conditional form of branch and link when obtaining pc.
43680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43682 2013-10-04  Alan Modra  <amodra@gmail.com>
43684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
43685         HIWORD/LOWORD.
43686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
43687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
43689 2013-10-04  Alan Modra  <amodra@gmail.com>
43691         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
43692         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
43693         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43694         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
43695         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43696         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43697         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
43698         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43699         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43700         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
43702 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43703             Alistair Popple <alistair@ozlabs.au.ibm.com>
43704             Alan Modra <amodra@gmail.com>
43706         [BZ #15723]
43707         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
43708         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
43709         _dl_hwcap access for little-endian.
43710         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
43711         destroy vmx regs when saving unaligned.
43712         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
43713         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
43714         destroy vmx regs when saving unaligned.
43716 2013-10-04  Alan Modra  <amodra@gmail.com>
43718         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
43719         Don't use a union to pack hi/low value.
43721 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43723         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
43724         for little-endian.
43725         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43726         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
43727         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43728         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43729         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43731 2013-10-04  Alan Modra  <amodra@gmail.com>
43733         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
43734         constants to usual value for .cst8 section, and remove redundant
43735         high address load.
43736         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
43737         constant for 0x1p52.  Load little-endian words of double from
43738         correct stack offsets.
43740 2013-10-04  Alan Modra  <amodra@gmail.com>
43742         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
43743         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
43744         words of double from correct stack offsets.
43745         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43746         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
43747         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43748         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43749         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43750         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43751         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43752         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43753         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43754         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43755         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43756         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43757         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43758         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43759         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43760         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
43761         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43763 2013-10-04  Alan Modra  <amodra@gmail.com>
43765         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
43766         64-bit int/double union.
43767         (_FPU_SETCW): Likewise.
43768         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
43769         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
43771 2013-10-04  Alan Modra  <amodra@gmail.com>
43773         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
43774         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
43776 2013-10-04  Alan Modra  <amodra@gmail.com>
43778         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
43779         use vector int constants.
43780         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
43782 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43784         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
43785         array with long long.
43786         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
43787         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
43788         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
43789         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
43790         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
43791         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
43792         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
43793         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
43794         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
43795         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
43796         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
43797         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
43798         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
43800 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43802         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
43803         (__signbit): Likewise.  Correct for little-endian.
43804         (__signbitl): Call __signbit.
43805         (lrint): Correct for little-endian.
43806         (lrintf): Call lrint.
43808 2013-10-04  Alan Modra  <amodra@gmail.com>
43810         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
43811         union 32-bit int array member with 64-bit int array.
43812         (t515, tm256): Double rather than long double.
43813         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
43815 2013-10-04  Alan Modra  <amodra@gmail.com>
43817         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
43818         Delete.
43819         (IEEE854_LONG_DOUBLE_BIAS): Delete.
43820         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
43821         version of math_ldbl.h.
43823 2013-10-04  Alan Modra  <amodra@gmail.com>
43825         [BZ #15734], [BZ #15735]
43826         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
43827         all uses of ieee875 long double macros and unions.  Simplify test
43828         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
43829         ldbl_extract_mantissa value for ix,iy exponents.  Properly
43830         normalize after ldbl_extract_mantissa, and don't add hidden bit
43831         already handled.  Don't treat low word of ieee854 mantissa like
43832         low word of IBM long double and mask off bit when testing for
43833         zero.
43834         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
43835         all uses of ieee875 long double macros and unions.  Simplify tests
43836         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
43837         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
43838         two1022, instead use their values.  Recognise that tests for large
43839         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
43840         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
43841         Rewrite all uses of ieee875 long double macros and unions.  Simplify
43842         test for 0.0L and nan.  Correct negation.
43843         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
43844         ieee875 long double macros and unions.  Correct output for large
43845         magnitude x.  Correct absolute value calculation.
43846         (__erfcl): Likewise.
43847         * math/libm-test.inc: Add tests for errors discovered in IBM long
43848         double versions of fmodl, remainderl, erfl and erfcl.
43850 2013-10-04  Alan Modra  <amodra@gmail.com>
43852         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
43853         all uses of ieee854 long double macros and unions.  Simplify tests
43854         for long doubles that are fully specified by the high double.
43855         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
43856         Likewise.
43857         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
43858         Remove dead code too.
43859         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
43860         (__ieee754_ynl): Likewise.
43861         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
43862         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
43863         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
43864         Remove dead code too.
43865         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
43866         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
43867         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
43868         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
43869         Simplify.
43870         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
43871         Simplify.
43872         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
43873         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
43874         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
43875         Comment on variable precision.
43876         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
43877         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43878         Likewise.
43879         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
43880         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43881         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43882         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
43883         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
43885 2013-10-04  Alan Modra  <amodra@gmail.com>
43887         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
43888         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
43889         all uses of ieee854 long double macros and unions.
43890         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
43891         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43892         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
43893         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
43894         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
43895         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43896         Likewise.
43897         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
43898         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43899         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
43900         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43901         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
43902         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
43903         Simplify sign and nan test too.
43904         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
43905         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
43906         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
43907         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
43908         Likewise.
43909         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43910         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
43911         Likewise.
43912         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43913         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
43914         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
43915         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
43916         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
43917         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
43919 2013-10-04  Alan Modra  <amodra@gmail.com>
43921         * stdio-common/printf_size.c (__printf_size): Don't use
43922         union ieee854_long_double in fpnum union.
43923         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
43924         signbit macro to retrieve sign from long double.
43925         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
43926         retrieve sign from long double.
43927         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
43928         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
43929         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
43930         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43931         * math/test-misc.c (main): Don't use union ieee854_long_double.
43933 2013-10-04  Alan Modra  <amodra@gmail.com>
43935         [BZ #15680]
43936         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
43937         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
43938         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
43939         calculation.  Remove unnecessary test for denormal exponent.
43940         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
43941         Correct handling of denormals.  Avoid undefined shift behaviour.
43942         Correct normalisation of low mantissa when low double is denormal.
43943         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
43944         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
43945         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
43946         Correct normalisation of low mantissa.  Test for overflow of high
43947         mantissa and normalise.
43948         (ldbl_nearbyint): Use more readable constant for two52.
43949         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
43950         (__mpn_construct_long_double): Fix test for overflow of high
43951         mantissa and correct normalisation.  Avoid undefined shift.
43953 2013-10-04  Alan Modra  <amodra@gmail.com>
43955         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43956         (union ibm_extended_long_double): Define as an array of ieee754_double.
43957         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
43958         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
43959         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
43960         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43961         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43962         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
43963         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43964         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43965         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43966         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
43967         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43969 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
43971         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
43972         page size instead of calling getpagesize.
43974         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
43975         (LOCFILE_ALIGN_MASK): Likewise.
43976         (LOCFILE_ALIGN_UP): Likewise.
43977         (LOCFILE_ALIGNED_P): Likewise.
43978         * locale/programs/ld-collate.c (collate_output): Use the new
43979         macros instead of __alignof__ (int32_t).
43980         * locale/weight.h (findidx): Likewise.
43982 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
43984         [BZ #431]
43985         * manual/string.texi: Fix strncat and wcsncat.
43987 2013-10-03  Brooks Moses  <bmoses@google.com>
43989         [BZ #15915]
43990         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
43991         * Makerules: ...here, and adjust associated comments.
43993 2013-10-02  Will Newton  <will.newton@linaro.org>
43995         * malloc/Makefile: Add tst-pvalloc.
43996         * malloc/tst-pvalloc.c: New file.
43998 2013-10-02  Will Newton  <will.newton@linaro.org>
44000         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
44001         improve test coverage.
44003 2013-10-02  Will Newton  <will.newton@linaro.org>
44005         * malloc/Makefile: Add tst-posix_memalign.
44006         * malloc/tst-posix_memalign.c: New file.
44008 2013-10-01  Eric Blake  <eblake@redhat.com>
44010         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
44011         Use __THROWNL rather than __THROW on static functions.
44013 2013-09-30  Petr Machata  <pmachata@redhat.com>
44015         * elf/elf.h (R_AARCH64_ABS16): New macro.
44016         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
44017         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
44018         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
44019         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
44020         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
44021         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
44022         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
44023         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
44024         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
44025         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
44026         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
44027         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
44028         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
44029         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
44030         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
44031         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
44032         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
44033         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
44034         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
44035         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
44036         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
44037         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
44038         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
44039         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
44040         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
44041         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
44042         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
44043         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
44044         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
44045         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
44046         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
44047         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
44048         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
44049         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
44050         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
44051         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
44052         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
44053         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
44054         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
44055         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
44056         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
44057         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
44058         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
44059         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
44060         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
44061         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
44062         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
44063         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
44064         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
44065         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
44066         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
44067         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
44068         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
44069         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
44070         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
44071         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
44072         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
44073         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
44074         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
44075         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
44076         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
44077         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
44078         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
44079         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
44080         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
44081         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
44082         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
44083         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
44084         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
44085         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
44086         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
44087         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
44088         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
44089         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
44090         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
44091         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
44092         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
44093         (R_AARCH64_TLSDESC_LDR): Likewise.
44094         (R_AARCH64_TLSDESC_ADD): Likewise.
44095         (R_AARCH64_TLSDESC_CALL): Likewise.
44097 2013-09-30  Andreas Schwab  <schwab@suse.de>
44099         [BZ #15048]
44100         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
44101         the nss database lookup.
44102         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44103         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44105 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
44107         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
44109 2013-09-28  P. J. McDermott  <pj@pehjota.net>
44111         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
44112         ${Bash-specific parameter/pattern/string} parameter expansion.
44113         * sysdeps/unix/make-syscalls.sh: Likewise.
44115 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44117         * sysdeps/sh/stackguard-macros.h: New file.
44119 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
44121         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44122         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
44123         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
44124         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
44125         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44126         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
44128 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44130         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
44131         Fix thread ID register.
44133 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
44135         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
44136         [POSIX || UNIX98]: Require rather than permitting all symbols from
44137         <time.h>.
44138         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
44139         element of struct sched_param.
44140         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
44141         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
44142         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
44143         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
44144         constant.
44146 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
44148         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44149         argument calculation.
44151 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44153         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44154         Expect macro.
44155         [POSIX] (pthread_attr_t): Do not require type.
44156         [POSIX] (pthread_cond_t): Likewise.
44157         [POSIX] (pthread_condattr_t): Likewise.
44158         [POSIX] (pthread_key_t): Likewise.
44159         [POSIX] (pthread_mutex_t): Likewise.
44160         [POSIX] (pthread_mutexattr_t): Likewise.
44161         [POSIX] (pthread_once_t): Likewise.
44162         [POSIX] (pthread_t): Likewise.
44163         [POSIX-based standards] (pthread_atfork): Expect function.
44165 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44166             Richard Sandiford  <richard@codesourcery.com>
44168         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44169         (swap_endianness_p): New extern variable.
44170         (set_big_endian): New inline function.
44171         (maybe_swap_uint32): Likewise.
44172         (maybe_swap_uint32_array): Likewise.
44173         (maybe_swap_uint32_obstack): Likewise.
44174         * locale/programs/locfile.c: Include <stdbool.h>.
44175         (swap_endianness_p): New variable.
44176         (add_locale_uint32): Call maybe_swap_uint32.
44177         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44178         (write_locale_data): Call maybe_swap_uint32_array.
44179         * locale/programs/ld-collate.c (obstack_int32_grow): Call
44180         maybe_swap_uint32.
44181         (obstack_int32_grow_fast): Likewise.
44182         (output_weightwc): Call maybe_swap_uint32_obstack.
44183         (collate_output): Likewise.
44184         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
44185         (OPT_LITTLE_ENDIAN): Likewise.
44186         (options): Add --little-endian and --big-endian options.
44187         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
44188         * locale/programs/locarchive.c: Include "locfile.h".
44189         (GET): New macro.
44190         (SET): Likewise.
44191         (INC): Likewise.
44192         (create_archive): Use the new macros to access fields of
44193         structures directly mapped from or written to locale archives.
44194         (oldlocrecentcmp): Likewise.
44195         (enlarge_archive): Likewise.
44196         (insert_name): Likewise.
44197         (add_alias): Likewise.
44198         (add_locale): Likewise.
44199         (delete_locales_from_archive): Likewise.
44200         (show_archive_content): Likewise.
44201         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
44202         locale data.
44204 2013-09-24  Roland McGrath  <roland@hack.frob.com>
44206         * manual/freemanuals.texi: Updated from (newly) canonical copy at
44207         http://www.gnu.org/doc/freemanuals.texi.
44208         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
44210 2013-09-24  Will Newton  <will.newton@linaro.org>
44212         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
44213         macro.
44215 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
44217         * locale/hashval.h (compute_hashval): Interpret bytes of key as
44218         unsigned char.
44220 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
44222         * manual/threads.texi (POSIX Threads): Fix a typo.
44224 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44226         [BZ #14547]
44227         * string/tst-strcoll-overflow.c: New test case.
44228         * string/Makefile (xtests): Add tst-strcoll-overflow.
44229         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
44230         cache if string sizes may cause integer overflow.
44232         [BZ #14547]
44233         * string/strcoll_l.c (coll_seq): New members rule, idx,
44234         save_idx and back_us.
44235         (get_next_seq_nocache): New function.
44236         (do_compare_nocache): New function.
44237         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
44238         when malloc fails.
44240 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
44242         [BZ #15754]
44243         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
44244         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
44245         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
44247         [BZ #15754]
44248         * elf/Makefile (tests): Add tst-ptrguard1.
44249         (tests-static): Add tst-ptrguard1-static.
44250         (tst-ptrguard1-ARGS): Define.
44251         (tst-ptrguard1-static-ARGS): Define.
44252         * elf/tst-ptrguard1.c: New file.
44253         * elf/tst-ptrguard1-static.c: New file.
44254         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
44255         * sysdeps/i386/stackguard-macros.h: Likewise.
44256         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44257         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44258         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44259         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44260         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44261         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44263 2013-09-23  Hector Marco  <hecmargi@upv.es>
44264             Ismael Ripoll  <iripoll@disca.upv.es>
44265             Carlos O'Donell  <carlos@redhat.com>
44267         [BZ #15754]
44268         * sysdeps/generic/stackguard-macros.h: Define
44269         __pointer_chk_guard_local and POINTER_CHK_GUARD.
44270         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44271         Define __pointer_chk_guard_local.
44272         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44273         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44275 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
44277         [BZ #15859]
44278         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44280 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
44282         * include/string.h (__ffs): Declare as hidden.
44283         * string/ffs.c (__ffs): Define as hidden.
44284         * sysdeps/i386/ffs.c (__ffs): Likewise.
44285         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44286         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44287         * sysdeps/s390/ffs.c (__ffs): Likewise.
44288         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44290 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
44292         * NEWS: Mention malloc probes.
44294         * malloc/arena.c (new_heap): New memory_heap_new probe.
44295         (grow_heap): New memory_heap_more probe.
44296         (shrink_heap): New memory_heap_less probe.
44297         (heap_trim): New memory_heap_free probe.
44298         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44299         (systrim): New memory_sbrk_less probe.
44300         * manual/probes.texi: Document them.
44302         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44303         * manual/probes.texi: Document it.
44305         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44306         (__libc_realloc): Add memory_realloc_retry probe.
44307         (__libc_memalign): Add memory_memalign_retry probe.
44308         (__libc_valloc): Add memory_valloc_retry probe.
44309         (__libc_pvalloc): Add memory_pvalloc_retry probe.
44310         (__libc_calloc): Add memory_calloc_retry probe.
44311         * manual/probes.texi: Document them.
44313         * malloc/arena.c (get_free_list): Add probe
44314         memory_arena_reuse_free_list.
44315         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44316         and memory_arena_reuse.
44317         (arena_get2) [!PER_THREAD]: Likewise.
44318         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44319         memory_arena_reuse_realloc.
44320         * manual/probes.texi: Document them.
44322         * malloc/malloc.c (__libc_free): Add
44323         memory_mallopt_free_dyn_thresholds probe.
44324         (__libc_mallopt): Add multiple memory_mallopt probes.
44325         * manual/probes.texi: Document them.
44327         * malloc/malloc.c: Include stap-probe.h.
44328         (__libc_mallopt): Add memory_mallopt probe.
44329         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44330         * manual/probes.texi: New.
44331         * manual/Makefile (chapters): Add probes.
44332         * manual/threads.texi: Set next node.
44334 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
44336         [BZ #15963, #13985]
44337         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
44338         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
44339         Add `Chinese' to `nan' entry name.
44341 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44343         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
44344         (POLYNOMIAL): Likewise.
44345         (TAYLOR_SINCOS): Likewise.
44346         (TAYLOR_SLOW): Likewise.
44347         (__sin): Use TAYLOR_SINCOS.
44348         (__cos): Likewise.
44349         (slow): Use TAYLOR_SLOW.
44350         (sloww): Likewise.
44351         (bsloww): Likewise.
44352         (csloww): Likewise.
44354 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44356         * stdlib/strtod_l.c: Fix buffer overrun.
44358 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44360         * benchtests/Makefile (bench): Add sincos.
44361         * benchtests/bench-sincos.c: New file.
44363         * math/libm-test.inc (cos_test_data): New test inputs.
44364         (sin_test_data): Likewise.
44366         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
44367         macro.
44368         (__sin): Use it.
44369         (__cos): Likewise.
44370         (slow1): Likewise.
44371         (slow2): Likewise.
44372         (sloww1): Likewise.
44373         (sloww2): Likewise.
44374         (bsloww1): Likewise.
44375         (bsloww2): Likewise.
44376         (cslow2): Likewise.
44377         (csloww1): Likewise.
44378         (csloww2): Likewise.
44380         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
44381         function.
44382         (__sin): Use it.
44383         (__cos): Likewise.
44385         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
44386         gotos.
44387         (__cos): Likewise.
44389 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
44391         * config.h.in (HAVE_MIPS_NAN2008): New macro.
44392         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
44393         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
44394         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
44395         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
44396         * elf/cache.c (print_entry): Handle the new cache flags.
44398 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44399             Aldy Hernandez  <aldyh@redhat.com>
44401         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
44402         Change condition to [_SOFT_FLOAT].
44403         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44404         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
44405         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
44406         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44407         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
44408         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
44409         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
44410         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
44411         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
44412         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
44413         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
44414         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
44415         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
44416         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
44417         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
44418         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
44419         declaration.
44421 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44423         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
44424         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44425         (__longjmp): Use LOAD_GP to load saved GPRs.
44426         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
44427         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44428         (__sigsetjmp): Use SAVE_GP to save GPRs.
44430         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
44431         Do not append -msoft-float.
44432         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
44434 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44436         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
44438 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
44440         [BZ #15966]
44441         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
44442         (_FPU_GETCW): Use initial "__" on variable and field names but not
44443         on macro parameter name.
44444         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
44445         parentheses around reference to macro parameter.
44447 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
44449         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
44450         prototype.
44451         (ctype_startup): Use uint32_t in cast and sizeof for
44452         ctype->charnames.
44454 2013-09-11  Jia Liu  <proljc@gmail.com>
44456         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
44457         __daddr_t_defined.
44458         [__FreeBSD__]: Likewise.
44460 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
44462         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
44463         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
44464         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
44465         (strchr): Remove __strchr_sse42 ifunc selection.
44466         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
44467         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
44469 2013-09-11  Will Newton  <will.newton@linaro.org>
44471         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
44472         parameter to RES. Remove hardcoded 1000 value.
44473         * benchtests/bench-skeleton.c (main): Pass RES parameter
44474         to TIMING_INIT and multiply result by 1000.
44476 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44480 2013-09-11  Andreas Schwab  <schwab@suse.de>
44482         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
44483         if not defined.
44484         (O_TMPFILE) [__USE_GNU]: Define.
44485         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
44486         Define.
44488 2013-09-11  Will Newton  <will.newton@linaro.org>
44490         [BZ #15857]
44491         * malloc/malloc.c (__libc_memalign): Check the value of bytes
44492         does not overflow.
44494 2013-09-11  Will Newton  <will.newton@linaro.org>
44496         [BZ #15856]
44497         * malloc/malloc.c (__libc_valloc): Check the value of bytes
44498         does not overflow.
44500 2013-09-11  Will Newton  <will.newton@linaro.org>
44502         [BZ #15855]
44503         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
44504         does not overflow.
44506 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
44508         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
44509         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44510         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44511         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44512         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44514 2013-09-10  Allan McRae  <allan@archlinux.org>
44516         [BZ #15748]
44517         * manual/arith.texi (Parsing of Floats): Clarify
44518         cross-reference.
44520         [BZ #15849]
44521         * manual/install.texi (Running make install): Mention
44522         --enable-pt-chown.
44523         * INSTALL: Regenerated.
44525 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
44527         * csu/init-first.c (_init): Remove the !SHARED condition around
44528         FPU control word initialization.
44529         * elf/dl-support.c (_dl_fpu_control): New variable.
44530         (_dl_aux_init) <AT_FPUCW>: Initialize it.
44531         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
44532         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
44533         * math/test-fpucw-static.c: New file.
44534         * math/test-fpucw-ieee.c: New file.
44535         * math/test-fpucw-ieee-static.c: New file.
44536         * math/Makefile (tests): Add `test-fpucw-ieee' and
44537         `$(tests-static)'.
44538         (tests-static): New variable.
44539         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
44540         dependency to...
44541         [($(build-shared),yes)]
44542         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44543         ... this.
44544         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
44545         New dependency.
44547 2013-09-09  Allan McRae  <allan@archlinux.org>
44549         [BZ #15939]
44550         * manual/string.texi (Collation Functions): Fix typo in
44551         strcoll example.
44552         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
44554         [BZ #15893]
44555         * stdlib/isomac.c (get_null_defines): Fix memory leak.
44557         [BZ #15892]
44558         * libio/memstream.c (open_memstream): Fix memory leak.
44559         * libio/wmemstream.c (open_wmemstream): Likewise.
44561         [BZ #15895]
44562         * nscd/netgroupcache.c: Fix nesting of ifdefs.
44564 2013-09-09  Will Newton  <will.newton@linaro.org>
44566         * malloc/Makefile: Add tst-realloc to tests.
44567         * malloc/tst-realloc.c: New file.
44569 2013-09-09  Allan McRae  <allan@archlinux.org>
44571         [BZ #15844]
44572         * COPYING: Update from GNU website to fix FSF address.
44573         * COPYING.LIB: Likewise.
44575 2013-09-06  David S. Miller  <davem@davemloft.net>
44577         * po/zh_TW.po: Update Chinese (traditional) translation from
44578         translation project.
44580 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
44581             Joseph Myers  <joseph@codesourcery.com>
44583         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
44584         "localeinfo.h".
44585         (obstack_chunk_alloc): New macro.
44586         (obstack_chunk_free): Likewise.
44587         (record_offset): New function.
44588         (init_locale_data): Likewise.
44589         (align_locale_data): Likewise.
44590         (add_locale_empty): Likewise.
44591         (add_locale_raw_data): Likewise.
44592         (add_locale_raw_obstack): Likewise.
44593         (add_locale_string): Likewise.
44594         (add_locale_wstring): Likewise.
44595         (add_locale_uint32): Likewise.
44596         (add_locale_uint32_array): Likewise.
44597         (add_locale_char): Likewise.
44598         (start_locale_structure): Likewise.
44599         (end_locale_structure): Likewise.
44600         (start_locale_prelude): Likewise.
44601         (end_locale_prelude): Likewise.
44602         (write_locale_data): Take locale_file structure rather than an
44603         iovec.
44604         * locale/programs/locfile.h: Include "obstack.h".
44605         (struct locale_file): Change to store locale file contents instead
44606         of header.
44607         (init_locale_data): New prototype.
44608         (align_locale_data): Likewise.
44609         (add_locale_empty): Likewise.
44610         (add_locale_raw_data): Likewise.
44611         (add_locale_raw_obstack): Likewise.
44612         (add_locale_string): Likewise.
44613         (add_locale_wstring): Likewise.
44614         (add_locale_uint32): Likewise.
44615         (add_locale_uint32_array): Likewise.
44616         (add_locale_char): Likewise.
44617         (start_locale_structure): Likewise.
44618         (end_locale_structure): Likewise.
44619         (start_locale_prelude): Likewise.
44620         (end_locale_prelude): Likewise.
44621         (write_locale_data): Update prototype.
44622         * locale/programs/3level.h (struct TABLE): Remove result field.
44623         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
44624         Use new locale_file interface.
44625         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
44626         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
44627         * locale/programs/ld-address.c (address_output): Use new
44628         locale_file interface.
44629         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
44630         NO_ADD_LOCALE.
44631         (collate_finish): Don't call collseq_table_finalize.
44632         (collate_output): Use new locale_file interface.
44633         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
44634         in file.
44635         (NO_FINALIZE): Change to NO_ADD_LOCALE.
44636         (TABLE): Move defines earlier in file.
44637         (ELEMENT): Likewise.
44638         (DEFAULT): Likewise.
44639         (wctrans_table_add): Move macro and inline function earlier in
44640         file.
44641         (struct wctype_table): Move type earlier in file.
44642         (add_locale_wctype_table): New static prototype.
44643         (struct locale_ctype_t): Use logical types instead of struct iovec
44644         pointers for members.
44645         (ctype_output): Use new locale_file interface.
44646         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
44647         new locale_file interface.
44648         (allocate_arrays): Update for use of new locale_file interface.
44649         * locale/programs/ld-identification.c (identification_output): Use
44650         new locale_file interface.
44651         * locale/programs/ld-measurement.c (measurement_output): Likewise.
44652         * locale/programs/ld-messages.c (messages_output): Likewise.
44653         * locale/programs/ld-monetary.c (monetary_output): Likewise.
44654         * locale/programs/ld-name.c (name_output): Likewise.
44655         * locale/programs/ld-numeric.c (numeric_output): Likewise.
44656         * locale/programs/ld-paper.c (paper_output): Likewise.
44657         * locale/programs/ld-telephone.c (telephone_output): Likewise.
44658         * locale/programs/ld-time.c (time_output): Likewise.
44660 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44662         * benchtests/Makefile: Add memrchr benchmark.
44663         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
44664         benchmark as memrchr.
44665         * benchtests/bench-memrchr-ifunc.c: New file.
44666         * benchtests/bench-memrchr.c: New file.
44668 2013-09-06   Will Newton  <will.newton@linaro.org>
44670         * benchtests/Makefile (string-bench): Add memcpy.
44672 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
44673             Cong Wang  <amwang@redhat.com>
44675         [BZ #15850]
44676         * sysdeps/unix/sysv/linux/bits/in.h
44677         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
44678         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
44679         before __USE_KERNEL_IPV6_DEFS uses.
44680         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
44681         IPPROTO_BEETPH.
44682         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
44683         sockaddr_in6, or ipv6_mreq.
44685 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44687         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
44688         memory access for final bytes in some large inputs.
44689         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
44691 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44693         * string/test-memrchr.c: New file.
44694         * string/test-memrchr-ifunc.c: New file.
44695         * string/Makefile: Add new memrchr testcase.
44697 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
44699         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
44700         fanotify_init returns EPERM.
44702 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44704         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
44705         errors.
44706         (top level): Treat second token from macro or constant entries for
44707         allowed headers as allowed.
44708         * include/complex.h: Condition internal declarations on
44709         [!_ISOMAC].
44710         * include/fenv.h: Condition include of <stdbool.h> and internal
44711         declarations on [!_ISOMAC].
44713 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
44715         [BZ #15923]
44716         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
44718 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44720         * configure.in (--enable-versioning): Remove configure option.
44721         (libc_cv_asm_symver_directive): Remove configure test.
44722         (libc_cv_ld_version_script_option): Likewise.
44723         (VERSIONING): Remove variable and AC_SUBST.
44724         (DO_VERSIONING): Remove AC_DEFINE.
44725         * configure: Regenerated.
44726         * config.h.in (DO_VERSIONING): Remove macro.
44727         * Makerules [$(versioning) = yes]: Change conditionals to
44728         [$(build-shared) = yes].
44729         * config.make.in (versioning): Remove variable.
44730         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
44731         [$(build-shared) = yes].
44732         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
44733         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
44734         * elf/Makefile [$(versioning) = yes]: Change conditionals to
44735         [$(build-shared) = yes].
44736         * extra-lib.mk [$(versioning) = yes]: Likewise.
44737         * hurd/Makefile [$(versioning) = yes]: Likewise.
44738         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
44739         [SHARED].
44740         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
44741         [SHARED].
44742         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44743         [SHARED && !NO_HIDDEN].
44744         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
44745         [SHARED].
44746         [SHARED && DO_VERSIONING]: Likewise..
44747         * libio/Makefile [$(versioning) = yes]: Change conditionals to
44748         [$(build-shared) = yes].
44749         * manual/install.texi (--disable-versioning): Remove
44750         documentation.
44751         * INSTALL: Regenerated.
44752         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
44753         to [SHARED].
44754         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
44755         [$(build-shared) = yes].
44756         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
44757         * sysdeps/i386/i686/multiarch/strstr-c.c
44758         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44759         [SHARED && !NO_HIDDEN].
44760         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
44761         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
44762         * sysdeps/powerpc/powerpc32/dl-machine.c
44763         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
44764         * sysdeps/powerpc/powerpc32/sysdep.h
44765         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
44766         to [SHARED && PIC && !NO_HIDDEN].
44767         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
44768         conditional to [SHARED].
44770 2013-09-04   Will Newton  <will.newton@linaro.org>
44772         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
44773         * benchtests/bench-string.h: Include bench-timing.h instead
44774         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
44775         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
44776         call to HP_TIMING_DIFF_INIT.
44777         * benchtests/bench-memccpy.c: Use bench-timing.h macros
44778         instead of hp-timing.h macros.
44779         * benchtests/bench-memchr.c: Likewise.
44780         * benchtests/bench-memcmp.c: Likewise.
44781         * benchtests/bench-memcpy.c: Likewise.
44782         * benchtests/bench-memmem.c: Likewise.
44783         * benchtests/bench-memmove.c: Likewise.
44784         * benchtests/bench-memset.c: Likewise.
44785         * benchtests/bench-rawmemchr.c: Likewise.
44786         * benchtests/bench-strcasecmp.c: Likewise.
44787         * benchtests/bench-strcasestr.c: Likewise.
44788         * benchtests/bench-strcat.c: Likewise.
44789         * benchtests/bench-strchr.c: Likewise.
44790         * benchtests/bench-strcmp.c: Likewise.
44791         * benchtests/bench-strcpy.c: Likewise.
44792         * benchtests/bench-strcpy_chk.c: Likewise.
44793         * benchtests/bench-strlen.c: Likewise.
44794         * benchtests/bench-strncasecmp.c: Likewise.
44795         * benchtests/bench-strncat.c: Likewise.
44796         * benchtests/bench-strncmp.c: Likewise.
44797         * benchtests/bench-strncpy.c: Likewise.
44798         * benchtests/bench-strnlen.c: Likewise.
44799         * benchtests/bench-strpbrk.c: Likewise.
44800         * benchtests/bench-strrchr.c: Likewise.
44801         * benchtests/bench-strspn.c: Likewise.
44802         * benchtests/bench-strstr.c: Likewise.
44804 2013-09-04  Will Newton  <will.newton@linaro.org>
44806         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
44808 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
44810         [BZ #15427]
44811         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
44812         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
44813         * math/libm-test.inc (lgamma_test_data): Add more tests.
44814         * sysdeps/i386/fpu/libm-test-ulps: Update.
44815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44817 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
44819         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
44820         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44821         Add ifunc.
44822         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44823         Add strcmp-sse2-unaligned
44824         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
44826 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44828         * Versions.def (libc): Add GLIBC_2.19.
44830 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44832         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
44833         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
44835 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
44837         [BZ #14155]
44838         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
44839         intermediate calculations in recurrence.
44840         (__ieee754_ynf): Likewise.
44841         * math/libm-test.inc (jn_test_data): Do not allow spurious
44842         underflow exception.  Add more tests.
44843         (yn_test_data): Add more tests.
44844         * sysdeps/i386/fpu/libm-test-ulps: Update.
44845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44847 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
44849         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
44851 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44853         * csu/init-first.c: Fix then/than typos.
44854         * locale/programs/ld-collate.c: Likewise.
44855         * locale/programs/linereader.h: Likewise.
44856         * manual/charset.texi: Likewise.
44857         * manual/filesys.texi: Likewise.
44858         * manual/stdio.texi: Likewise.
44859         * manual/string.texi: Likewise.
44860         * stdlib/fmtmsg.c: Likewise.
44861         * sysdeps/i386/stpncpy.S: Likewise.
44862         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44863         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44864         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44865         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44867 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44869         * elf/dl-open.c: Fix typos.
44870         * iconvdata/gbbig5.c: Likewise.
44871         * iconvdata/iso-2022-jp.c: Likewise.
44872         * iconv/gconv_int.h: Likewise.
44873         * iconv/loop.c: Likewise.
44874         * nis/rpcsvc/nis.h: Likewise.
44875         * resolv/ns_name.c: Likewise.
44876         * stdio-common/vfscanf.c: Likewise.
44877         * streams/stropts.h: Likewise.
44878         * sunrpc/rpc_thread.c: Likewise.
44879         * sysdeps/i386/strpbrk.S: Likewise.
44880         * sysdeps/ieee754/k_standard.c: Likewise.
44881         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44882         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44883         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
44884         * sysdeps/mach/hurd/profil.c: Likewise.
44885         * sysdeps/s390/dl-procinfo.h: Likewise.
44886         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
44887         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44888         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
44889         * sysdeps/x86_64/dl-trampoline.S: Likewise.
44890         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44892 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
44894         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
44895         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
44897 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
44899         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
44900         aix specific files.
44901         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
44902         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
44903         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
44904         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
44905         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
44906         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
44907         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
44908         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
44910 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44911             Roland McGrath  <roland@hack.frob.com>
44913         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
44914         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
44916 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44918         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
44919         __executable_start symbol instead of _start.
44921 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44923         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
44924         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
44925         Move macros to...
44926         * sysdeps/gnu/ldsodefs.h: ... this new file.
44928         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
44929         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
44930         instead of ELFOSABI_LINUX.
44932         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
44933         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
44934         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
44935         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
44936         Likewise.
44937         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
44938         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
44939         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
44940         Likewise.
44941         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44942         (ibm_extended_long_double): Add ieee_nan member.
44943         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
44944         (do_test): New function.
44946         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
44947         TEST_TRUNC.
44948         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
44949         functions, renamed from truncdfsf_test, trunctfsf_test,
44950         trunctfdf_test.
44951         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
44952         functions.
44953         (do_test): Run all these.
44955 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
44957         * argp/argp-help.c: Fix typos.
44958         * argp/argp-parse.c: Likewise.
44959         * debug/backtracesyms.c: Likewise.
44960         * elf/elf.h: Likewise.
44961         * malloc/malloc.c: Likewise.
44962         * nis/nis_print.c: Likewise.
44963         * resolv/res_comp.c: Likewise.
44964         * stdlib/stdlib.h: Likewise.
44965         * sunrpc/clnt_tcp.c: Likewise.
44966         * sunrpc/clnt_udp.c: Likewise.
44967         * sunrpc/clnt_unix.c: Likewise.
44968         * sysdeps/unix/bsd/ptsname.c: Likewise.
44969         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44970         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
44971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
44972         Likewise.
44973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
44974         Likewise.
44975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
44976         Likewise.
44977         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44979 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44981         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
44982         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44984 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
44986         [BZ #15897]
44987         * dlfcn/Makefile (tests): Add bug-dl-leaf.
44988         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
44989         ($(objpfx)bug-dl-leaf): New rule.
44990         ($(objpfx)bug-dl-leaf.so): Likewise.
44991         ($(objpfx)bug-dl-leaf.out): Likewise.
44992         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
44993         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
44994         * dlfcn/bug-dl-leaf.c: New test.
44995         * dlfcn/bug-dl-leaf-lib.c: Likewise.
44996         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
44997         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
44998         (dlclose): Likewise.
44999         (dlmopen): Likewise.
45001 2013-08-27  Roland McGrath  <roland@hack.frob.com>
45003         * include/netdb.h [!_ISOMAC]:
45004         Don't include <tls.h>.
45005         (h_errno, __libc_h_errno): Move declaration and macros out of
45006         [_LIBC_REENTRANT].
45008         * include/resolv.h [_RESOLV_H_]:
45009         Don't include <tls.h>.
45010         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
45011         * resolv/res_libc.c: Don't include <tls.h>.
45012         (_res): Use __attribute__ ((nocommon)) in place of
45013         __attribute__ ((section (".bss"))).
45015         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
45016         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
45018         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
45020         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
45021         only under [SIOCGIFCONF && SIOCGIFNETMASK].
45023         * resolv/res_mkquery.c: Include <sys/time.h>.
45025         * inet/ifreq.c: Moved to ...
45026         * sysdeps/unix/ifreq.c: ... here.
45027         * inet/ifreq.c: New file, true stub version.
45029         * socket/sa_len.c: New file.
45030         * socket/Makefile (aux): Add it.
45031         * sysdeps/unix/sysv/linux/Makefile
45032         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
45033         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
45034         and #include <socket/sa_len.c>.
45035         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
45036         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
45038         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
45039         * bits/socket.h: ... here.
45041         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
45042         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
45043         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
45045 2013-08-27  Andreas Schwab  <schwab@suse.de>
45047         [BZ #15736]
45048         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
45049         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
45050         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
45051         * string/test-strcasecmp.c (test_main): Run tests in several
45052         locales.
45053         * string/test-strncasecmp.c (test_main): Likewise.
45055         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
45056         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
45057         to __strcasecmp_nonascii and __strncasecmp_nonascii.
45058         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
45059         (__strncasecmp_ssse3) [PIC]: Likewise.
45061 2013-08-26  Roland McGrath  <roland@hack.frob.com>
45063         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
45065         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
45066         instead of explicitly declaring xdecrypt.
45067         * nis/nss_nis/nis-publickey.c: Likewise.
45069 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45071         [BZ #15890]
45072         * nscd/aicache.c: Include res_hconf.h.
45073         (addhstaiX): Initialize res_hconf.
45075 2013-08-26  Andreas Schwab  <schwab@suse.de>
45077         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
45078         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
45080 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45082         * nscd/aicache.c (addhstaiX): Fix indentation.
45084 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
45086         * configure.ac: Quote $build_pt_chown test.
45087         * configure: Regenerated.
45089 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
45091         [BZ #15532]
45092         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
45093         * math/s_cexpf.c (__cexpf): Likewise.
45094         * math/s_cexpl.c (__cexpl): Likewise.
45095         * math/libm-test.inc (cexp_test_data): Correct expected return
45096         value for NaN + i0.  Add another test.
45098 2013-08-22  David S. Miller  <davem@davemloft.net>
45100         * po/ca.po: Update Catalan translation from translation project.
45101         * po/uk.po: Add Ukrainian translations from translation project.
45103 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
45105         [BZ #15797]
45106         * math/s_fdim.c (__fdim): Check for infinite arguments if result
45107         is infinite, not alongside NaN test.
45108         * math/s_fdimf.c (__fdimf): Likewise.
45109         * math/s_fdiml.c (__fdiml): Likewise.
45110         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
45111         errno is unchanged.
45113 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
45115         * argp/argp-help.c: Fix typos.
45116         * crypt/speeds.c: Likewise.
45117         * csu/check_fds.c: Likewise.
45118         * elf/dl-load.c: Likewise.
45119         * elf/dl-open.c: Likewise.
45120         * elf/reldep3.c: Likewise.
45121         * elf/reldep.c: Likewise.
45122         * elf/sprof.c: Likewise.
45123         * iconv/iconv_charmap.c: Likewise.
45124         * iconv/skeleton.c: Likewise.
45125         * iconv/strtab.c: Likewise.
45126         * io/lockf64.c: Likewise.
45127         * libio/libioP.h: Likewise.
45128         * resolv/gai_notify.c: Likewise.
45129         * resolv/ns_name.c: Likewise.
45130         * resolv/ns_samedomain.c: Likewise.
45131         * resolv/res_send.c: Likewise.
45132         * stdlib/random.c: Likewise.
45133         * sunrpc/rpc/xdr.h: Likewise.
45134         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
45135         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45136         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45137         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45138         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45139         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45140         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45141         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45142         * sysdeps/mach/hurd/check_fds.c: Likewise.
45143         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45144         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45145         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45146         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45147         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45148         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45149         * sysdeps/pthread/aio_notify.c: Likewise.
45150         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45151         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45152         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45153         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45154         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45156 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45158         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45159         version if bit_Slow_SSE4_2 is set.
45160         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45161         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45163 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45165         [BZ #15867]
45166         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45167         trampoline stack frame information.
45168         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45169         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45170         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45171         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45172         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45173         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45174         (_libc_vdso_platform_setup): Initialize the signal trampolines.
45175         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45176         sa_flags value.
45177         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45178         interrupting a syscall and set with option SA_SIGINFO.
45180 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45182         [BZ #15531]
45183         * math/s_cproj.c (__cproj): Only return an infinity if one part of
45184         argument is infinite.
45185         * math/s_cprojf.c (__cprojf): Likewise.
45186         * math/s_cprojl.c (__cprojl): Likewise.
45187         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
45188         * math/libm-test.inc (cproj_test_data): Add more tests.
45190         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
45192         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
45193         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
45194         size.  Use __ffs to determine corresponding shift.
45196 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45197             Roland McGrath  <roland@hack.frob.com>
45199         * Makefile (INSTALL): Remove trailing blank lines from output of
45200         makeinfo.
45202 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45204         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
45205         Align 32 bit compat elf_greg to 8 bytes.
45207 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
45209         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
45211 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45213         * string/strcoll_l.c (coll_seq): New structure.
45214         (get_next_seq_cached): New function.
45215         (get_next_seq): New function.
45216         (do_compare): New function.
45217         (STRCOLL): Use GNU style definition.  Simplify implementation
45218         by using get_next_seq, get_next_seq_cached and do_compare.
45220 2013-08-16  Florian Weimer  <fweimer@redhat.com>
45222         [BZ #14699]
45223         CVE-2013-4237
45224         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
45225         member.
45226         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
45227         member.
45228         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
45229         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
45230         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
45231         conditional.
45232         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
45233         GETDENTS_64BIT_ALIGNED.
45234         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45235         * manual/filesys.texi (Reading/Closing Directory): Document
45236         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
45237         strongly.
45238         * manual/conf.texi (Limits for Files): Add portability note to
45239         NAME_MAX, PATH_MAX.
45240         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
45242 2013-08-13  Andreas Schwab  <schwab@suse.de>
45244         [BZ #15749]
45245         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
45246         of fabs.
45247         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
45248         LDBL_MAX_EXP >= 16384]: Add tests for it.
45250 2013-08-12  David S. Miller  <davem@davemloft.net>
45252         * version.h (RELEASE): Set to "development".
45253         (VERSION): Set to "2.18.90".
45254         * NEWS: Add 2.19 section.
45256 2013-08-03  David S. Miller  <davem@davemloft.net>
45258         * po/ko.po: Update Korean translation from translation project.
45260 2013-08-01  David S. Miller  <davem@davemloft.net>
45262         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
45263         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45264         Bilka.
45266 2013-07-30  David S. Miller  <davem@davemloft.net>
45268         * po/fr.po: Update French translation from translation project.
45270 2013-07-28  David S. Miller  <davem@davemloft.net>
45272         * po/cs.po: Update Czech translation from translation project.
45274         * po/sv.po: Update Swedish translation from translation project.
45276 2013-07-27  David S. Miller  <davem@davemloft.net>
45278         * po/eo.po: Update Esperanto translation from translation project.
45280         * po/vi.po: Update Vietnamese translation from translation project.
45282         * po/de.po: Update German translation from translation project.
45284 2013-07-26  David S. Miller  <davem@davemloft.net>
45286         * po/bg.po: Update Bulgarian translation from translation project.
45288         * po/nl.po: Update Dutch translation from translation project.
45289         * po/pl.po: Update Polish translation from translation project.
45290         * po/ru.po: Update Russian translation from translation project.
45292 2013-07-24  David S. Miller  <davem@davemloft.net>
45294         * po/libc.pot: Update.
45296 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45298         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45299         variable page size.
45300         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45301         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45302         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45304 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45306         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45308 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45309             Andreas Schwab  <schwab@suse.de>
45310             Roland McGrath  <roland@hack.frob.com>
45311             Joseph Myers  <joseph@codesourcery.com>
45312             Carlos O'Donell  <carlos@redhat.com>
45314         [BZ #15755]
45315         * config.h.in: Define HAVE_PT_CHOWN.
45316         * config.make.in (build-pt-chown): New variable.
45317         * configure.in (--enable-pt_chown): New configure option.
45318         * configure: Regenerate.
45319         * login/Makefile: Include Makeconfig.  Build pt_chown only if
45320         build-pt-chown is enabled.
45321         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45322         pt_chown to fix pty ownership.
45323         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45324         CLOSE_ALL_FDS.
45325         * manual/install.texi (Configuring and compiling): Mention
45326         --enable-pt_chown. Add @findex for grantpt.
45327         * INSTALL: Regenerate.
45329 2013-07-20  David S. Miller  <davem@davemloft.net>
45331         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45332         difference between 32-bit and 64-bit.
45334 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
45336         [BZ #15711]
45337         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
45338         Avoid system header dependency with -ffreestanding.
45339         ($(objpfx)bits/syscall%d): Likewise.
45341 2013-07-13  David S. Miller  <davem@davemloft.net>
45343         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
45344         underflows from atanl/atan2l due to bug 15319.
45345         (casinh_test_data): Likewise.
45347 2013-07-07  David S. Miller  <davem@davemloft.net>
45349         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
45351 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
45353         * sysdeps/i386/fpu/libm-test-ulps: Update.
45354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45356 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45358         * configure.in (--enable-lock-elision): Fix message text.
45359         * INSTALL: Regenerate.
45360         * configure: Regenerate.
45362 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45366 2013-07-03  Andreas Jaeger  <aj@suse.de>
45368         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
45369         define.
45370         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
45371         (ptrace_peeksiginfo_args): Add.
45372         (__ptrace_peeksiginfo_flags): Add.
45373         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45374         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45375         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45377 2013-07-03  Allan McRae  <allan@archlinux.org>
45379         * sysdeps/i386/fpu/libm-test-ulps: Update.
45381 2013-07-02  David S. Miller  <davem@davemloft.net>
45383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45385 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
45387         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45389 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45391         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45394 2013-07-02  Andi Kleen <ak@linux.intel.com>
45396         * config.h.in (ENABLE_LOCK_ELISION): Add.
45397         * configure.in (--enable-lock-elision): Add option.
45398         * manual/install.texi: Document --enable lock elision.
45399         * configure: Regenerate
45400         * INSTALL: Regenerate.
45402 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
45404         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
45405         SSE4.2 strcasecmp for libc.a.
45406         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45408 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45410         [BZ #13304]
45411         * soft-fp/op-common.h (_FP_FMA): New macro.
45412         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
45413         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
45414         (_FP_MUL_MEAT_1_imm): ... here.
45415         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
45416         (_FP_MUL_MEAT_1_wide): ... here.
45417         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
45418         (_FP_MUL_MEAT_1_hard): ... here.
45419         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
45420         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
45421         (_FP_MUL_MEAT_2_wide): ... here.
45422         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
45423         (_FP_MUL_MEAT_2_wide_3mul): ... here.
45424         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
45425         (_FP_MUL_MEAT_2_gmp): ... here.
45426         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
45427         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
45428         (_FP_MUL_MEAT_4_wide): ... here.
45429         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
45430         (_FP_MUL_MEAT_4_gmp): ... here.
45431         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
45432         (_FP_WFRACBITS_DW_S): Likewise.
45433         (_FP_WFRACXBITS_DW_S): Likewise.
45434         (_FP_HIGHBIT_DW_S): Likewise.
45435         (FP_FMA_S): Likewise.
45436         (_FP_FRAC_HIGH_DW_S): Likewise.
45437         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
45438         (_FP_WFRACBITS_DW_D): Likewise.
45439         (_FP_WFRACXBITS_DW_D): Likewise.
45440         (_FP_HIGHBIT_DW_D): Likewise.
45441         (FP_FMA_D): Likewise.
45442         (_FP_FRAC_HIGH_DW_D): Likewise.
45443         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
45444         (_FP_WFRACBITS_DW_E): Likewise.
45445         (_FP_WFRACXBITS_DW_E): Likewise.
45446         (_FP_HIGHBIT_DW_E): Likewise.
45447         (FP_FMA_E): Likewise.
45448         (_FP_FRAC_HIGH_DW_E): Likewise.
45449         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
45450         (_FP_WFRACBITS_DW_Q): Likewise.
45451         (_FP_WFRACXBITS_DW_Q): Likewise.
45452         (_FP_HIGHBIT_DW_Q): Likewise.
45453         (FP_FMA_Q): Likewise.
45454         (_FP_FRAC_HIGH_DW_Q): Likewise.
45455         * soft-fp/fmasf4.c: New file.
45456         * soft-fp/fmadf4.c: Likewise.
45457         * soft-fp/fmatf4.c: Likewise.
45459 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45461         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45462         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
45463         Silvermont.
45464         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
45465         macro.
45466         (index_Slow_SSE4_2): Likewise.
45467         (index_Prefer_PMINUB_for_stringop): Likewise.
45468         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
45469         bit_Slow_SSE4_2 is set.
45470         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45471         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45473 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45475         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
45476         rtld_global._dl_hwcap2.
45477         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
45478         POWER8.
45479         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
45480         POWER8 feature descriptions defined in _dl_hwcap2.
45481         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
45482         string handling for POWER8 feature bits.
45483         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
45484         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
45485         _dl_powerpc_cap_flags.
45486         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
45487         * sysdeps/powerpc/rtld-global-offsets.sym
45488         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
45489         _dl_hwcap2 in the rtld_global_ro structure.
45491 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45493         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
45494         hardware capabilities in support of AT_HWCAP2.
45495         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
45496         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
45497         GLRO(dl_hwcap2).
45498         (_dl_show_auxv): Add support for calling _dl_procinfo to display
45499         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
45500         explicitly the unknown a_type display mechanism is used.
45501         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
45502         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
45503         struct member.
45504         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
45505         to macro prototype for AT_HWCAP2 support.
45506         * sysdeps/i386/dl-procinfo.h: Likewise.
45507         * sysdeps/s390/dl-procinfo.h: Likewise.
45508         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
45509         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
45510         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
45511         return -1 for unknown a_type display fallback.
45512         * sysdeps/sparc/dl-procinfo.h: Likewise.
45513         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
45514         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
45516 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
45518         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
45519         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
45521 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
45523         [BZ #12492]
45524         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
45525         mprotect making __stack_prot writable.
45527 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
45528             Joseph Myers  <joseph@codesourcery.com>
45530         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
45531         as being properly aligned.
45533 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
45535         * dlfcn/modstatic5.c: New file.
45536         * dlfcn/tststatic5.c: New file.
45537         * dlfcn/Makefile (tests): Add tststatic5.
45538         (tests-static): Likewise.
45539         (modules-names): Add modstatic5.
45540         (tststatic5-ENV): New variable.
45541         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
45543         [BZ #15022]
45544         * elf/dl-support.c (_dl_main_map): New variable.
45545         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
45546         (_dl_nns, _dl_load_adds): Set to 1.
45547         (_dl_initial_searchlist): Refer to _dl_main_map.
45548         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
45549         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
45550         call to _dl_get_origin.
45551         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
45552         around call_map.
45553         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
45554         * dlfcn/modstatic3.c: New file.
45555         * dlfcn/tststatic3.c: New file.
45556         * dlfcn/tststatic4.c: New file.
45557         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
45558         (tests-static): Likewise.
45559         (modules-names): Add modstatic3.
45560         (tststatic3-ENV, tststatic4-ENV): New variables.
45561         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
45562         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
45564 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
45566         * configure.in (CC): Require GCC version 4.4 or later.
45567         * configure: Regenerated.
45568         * manual/install.texi (Tools for Compilation): Update GCC version
45569         requirement.
45570         * INSTALL: Regenerated.
45572 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45574         [BZ #15674]
45575         * string/test-memcmp.c (check2): New.
45576         (main): Call check2.
45578         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
45580 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
45582         [BZ #15022]
45583         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
45584         over to...
45585         (dl_open_worker) [!SHARED]: ... here.
45587 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45589         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
45591 2013-06-25  Richard Henderson  <rth@redhat.com>
45593         * locale/programs/locarchive.c: Include <libc-internal.h>
45595 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
45597         * manual/texinfo.tex: Update to version 2013-06-21.17, with
45598         trailing whitespace removed.
45600 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45602         [BZ #10283]
45603         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
45604         * locale/programs/locarchive.c: Include libc-mmap.h.
45605         (prepare_address_space): Take two new outputs (the mmap base and len).
45606         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
45607         values.
45608         (create_archive): Declare new mmap base and len values for
45609         prepare_address_space, and store the result in ah.
45610         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
45611         (enlarge_archive): If ah->mmap_base is not NULL, use that and
45612         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45613         Declare new mmap base and len values for
45614         prepare_address_space, and store the result in new_ah.
45615         (open_archive): Declare new mmap base and len values for
45616         prepare_address_space, and store the result in ah.
45617         (close_archive): If ah->mmap_base is not NULL, use that and
45618         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45619         * sysdeps/generic/libc-mmap.h: New file.
45621 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45623         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
45624         (ALIGN_UP): Likewise.
45625         (PTR_ALIGN_DOWN): Likewise.
45626         (PTR_ALIGN_UP): Likewise.
45628 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45630         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
45631         entry mapped to PPC_PLATFORM_POWER8.
45632         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
45633         POWER8.
45634         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
45635         (_dl_string_platform): Add case for exporting platform position for
45636         POWER8.
45637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
45638         search path to sysdeps/powerpc/powerpc32/power8 directory.
45639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
45640         search path to sysdeps/powerpc/powerpc64/power8 directory.
45641         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
45642         power7 directories.
45643         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
45644         power7 directories.
45646 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45648         * INSTALL: Regenerate.
45650         * nscd/connections.c (nscd_init): Fix comment.
45652 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
45654         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
45656         [BZ #15667]
45657         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
45658         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
45660 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45662         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
45663         DL_DST_REQ_STATIC.
45664         (DL_DST_REQ_STATIC): Remove macro.
45666 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
45668         [BZ #7006]
45669         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
45670         with a shift of 0 bits.
45672 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45674         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
45675         $(tststatic-ENV).
45677 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45679         [BZ #15655]
45680         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
45682 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45684         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
45685         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
45686         accepts -fno-tree-loop-distribute-patterns.
45687         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
45688         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
45689         recursive call.
45690         * string/memset.c (memset): Likewise.
45691         * string/test-memmove.c (simple_memmove): Disable loop transformation
45692         to library calls.
45693         * string/test-memset.c (simple_memset): Likewise.
45694         * benchtests/bench-memmove.c (simple_memmove): Likewise.
45695         * benchtests/bench-memset.c (simple_memset): Likewise.
45696         * configure: Regenerated.
45698 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
45700         * math/test-misc.c (main): Ignore fesetround failure when failures
45701         of subsequent rounding tests would be ignored.
45703         [BZ #15654]
45704         * math/fedisblxcpt.c (fedisableexcept): Return 0.
45705         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
45706         * math/fegetenv.c (__fegetenv): Return 0.
45707         * math/fegetexcept.c (fegetexcept): Return 0.
45708         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
45709         FE_TONEAREST.
45710         * math/feholdexcpt.c (feholdexcept): Return 0.
45711         * math/fesetenv.c (__fesetenv): Return 0.
45712         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
45713         argument FE_TONEAREST.
45714         * math/feupdateenv.c (__feupdateenv): Return 0.
45715         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
45717 2013-06-18  Roland McGrath  <roland@hack.frob.com>
45719         * elf/rtld-Rules (rtld-compile-command.S): New variable.
45720         (rtld-compile-command.s, rtld-compile-command.c): New variables.
45721         ($(objpfx)rtld-%.os rules): Use them.
45723 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45725         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
45726         fields.
45728 2013-06-17  Roland McGrath  <roland@hack.frob.com>
45730         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
45731         length of target pattern, then descending length of dependency pattern.
45732         * configure.in (AWK): Require gawk 3.1.2 or newer.
45733         * manual/install.texi (Tools for Compilation): Say that we do.
45734         * configure: Regenerated.
45736         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
45737         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
45738         * scripts/sysd-rules.awk: ... this new script.
45739         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
45740         than a glob-style pattern.
45742 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
45744         * math/test-misc.c (main): Do not treat incorrectly rounded
45745         conversions as failure unless ROUNDING_TESTS passes.
45747 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
45749         [BZ #15631]
45750         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
45751         restore exception state around main square root computation, then
45752         check for inexactness explicitly.
45754         * math/libm-test.inc (fma_test_data): Add another test.
45756 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45758         * manual/threads.texi (Non-POSIX Extensions): New document
45759         node.  Document pthread_getattr_default_np and
45760         pthread_setattr_default_np.
45762         * Versions.def (libpthread): Add GLIBC_2.18.
45763         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
45764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45765         Likewise.
45766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45767         Likewise.
45768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45769         Likewise.
45770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45771         Likewise.
45772         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
45773         Likewise.
45774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45775         Likewise.
45776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45777         Likewise.
45778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45779         Likewise.
45780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45781         Likewise.
45783 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45785         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45786         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
45788 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45789             H.J. Lu  <hjl.tools@gmail.com>
45791         [BZ #15627]
45792         * sysdeps/x86_64/rtld-memset.c: Remove file.
45793         * sysdeps/x86_64/rtld-memset.S: New file.
45795 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
45797         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
45798         (test_in_one_mode): Take arguments for whether the rounding mode
45799         is supported for each floating-point type.
45800         (do_test): Pass new arguments to test_in_one_mode using
45801         ROUNDING_TESTS.
45803 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45805         * posix/tst-waitid.c (do_test): Distinguish different instances of
45806         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
45807         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
45808         before entering the kernel for waitpid.
45810 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45812         * NEWS: Fix note on clock function precision.  Text by Roland
45813         McGrath.
45815 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45817         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
45818         it into place only when and if the sanity check passes.
45820 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
45822         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
45823         output for whether conversion result is exact.  Take argument
45824         indicating whether type is IBM long double.
45825         (round_for_all): Change need_exact field to ibm_ld.
45826         * stdlib/tst-strtod-round.c (struct exactness): New type.
45827         (struct test): Change bool ld_ok field to struct exactness exact.
45828         (TEST): Update all definitions for change to field.
45829         (tests): Regenerate array contents.
45830         (test_in_one_mode): Take pointer to new field instead of old ld_ok
45831         field value.  Check for IBM long double here.
45832         (do_test): Update calls to test_in_one_mode.
45834 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45836         [BZ #12515]
45837         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
45838         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
45840 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45842         [BZ #15605]
45843         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
45844         generated by the compiler on loop optimizations.
45845         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
45846         general definitions.
45848 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
45850         * math/bug-nextafter.c: Include <math-tests.h>.
45851         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45852         the relevant type.
45853         * math/bug-nexttoward.c: Include <math-tests.h>.
45854         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45855         the relevant type.
45856         * math/test-misc.c: Include <math-tests.h>.
45857         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45858         the relevant type.
45860 2013-06-12  Andreas Jaeger  <aj@suse.de>
45862         * po/ia.po: Update Interlingua translation from translation
45863         project.
45865 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45867         * include/fenv.h: Include stdbool.h.
45868         (struct rm_ctx): New structure.
45869         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
45870         Define macro.
45871         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
45872         (SET_RESTORE_ROUNDF): Likewise.
45873         (SET_RESTORE_ROUNDL): Likewise.
45874         (SET_RESTORE_ROUND_NOEX): Likewise.
45875         (SET_RESTORE_ROUND_NOEXF): Likewise.
45876         (SET_RESTORE_ROUND_NOEXL): Likewise.
45877         (SET_RESTORE_ROUND_53BIT): Likewise.
45878         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
45879         (libc_feresetround_noexf_ctx): Likewise.
45880         (libc_feresetround_noexl_ctx): Likewise.
45881         (libc_feholdsetround_53bit_ctx): Likewise.
45882         (libc_feresetround_53bit_ctx): Likewise.
45883         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
45884         (libc_feholdexcept_setround_sse_ctx): New function.
45885         (libc_fesetenv_sse_ctx): Likewise.
45886         (libc_feupdateenv_sse_ctx): Likewise.
45887         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
45888         (libc_feholdexcept_setround_387_ctx): Likewise.
45889         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
45890         (libc_feholdsetround_387_prec_ctx): Likewise.
45891         (libc_feholdsetround_387_ctx): Likewise.
45892         (libc_feholdsetround_387_53bit_ctx): Likewise.
45893         (libc_feholdsetround_sse_ctx): Likewise.
45894         (libc_feresetround_sse_ctx): Likewise.
45895         (libc_feresetround_387_ctx): Likewise.
45896         (libc_feupdateenv_387_ctx): Likewise.
45897         (libc_feholdexcept_setroundf_ctx): Define macro.
45898         (libc_fesetenvf_ctx): Likewise.
45899         (libc_feupdateenvf_ctx): Likewise.
45900         (libc_feholdsetroundf_ctx): Likewise.
45901         (libc_feresetroundf_ctx): Likewise.
45902         (libc_feholdexcept_setround_ctx): Likewise.
45903         (libc_fesetenv_ctx): Likewise.
45904         (libc_feupdateenv_ctx): Likewise.
45905         (libc_feholdsetround_ctx): Likewise.
45906         (libc_feresetround_ctx): Likewise.
45907         (libc_feholdexcept_setroundl_ctx): Likewise.
45908         (libc_feupdateenvl_ctx): Likewise.
45909         (libc_feholdsetroundl_ctx): Likewise.
45910         (libc_feresetroundl_ctx): Likewise.
45911         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
45912         (libc_feresetround_53bit_ctx): Likewise.
45914 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45916         * locale/iso-639.def: Convert to UTF-8.
45918 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
45920         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
45921         (EXCEPTION_TESTS_double): Likewise.
45922         (EXCEPTION_TESTS_long_double): Likewise.
45923         (EXCEPTION_TESTS): Likewise.
45924         * math/libm-test.inc (test_exceptions): Only test exceptions if
45925         EXCEPTION_TESTS (FLOAT).
45927 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45929         * benchtests/Makefile (string-bench): Add strcpy_chk and
45930         stpcpy_chk.
45931         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
45932         * benchtests/bench-stpcpy_chk.c: New file.
45933         * benchtests/bench-strcpy_chk-ifunc.c: New file.
45934         * benchtests/bench-strcpy_chk.c: New file.
45935         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
45936         code.
45937         (do_test): Likewise.
45939 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45941         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
45942         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
45943         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
45944         with tabs where appropriate.
45945         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
45946         dl-procinfo.h.
45947         [PPC_PLATFORM_PPC440]: Likewise.
45948         [PPC_PLATFORM_PPC464]: Likewise.
45949         [PPC_PLATFORM_PPC476]: Likewise.
45950         (_dl_string_platform): Add support for detecting ppc405, ppc440,
45951         ppc464, and ppc476 platform strings merging from ports/
45952         dl-procinfo.h.
45954 2013-06-11  Andreas Schwab  <schwab@suse.de>
45956         [BZ #14991]
45957         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
45958         (from_ucs4_idx): Regenerate.
45959         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
45960         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
45961         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
45962         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
45963         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
45964         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
45965         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
45966         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
45967         from FROM_LOOP and TO_LOOP specific macros.
45968         (BODY): Handle combining characters.
45969         * iconvdata/BIG5HKSCS.irreversible: Update.
45970         * iconvdata/BIG5HKSCS.precomposed: New file.
45971         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
45972         characters.
45973         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
45975 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45977         * include/sys/time.h: Fix indentation and add copyright header.
45979         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
45980         (do_test): Likewise.
45981         * string/test-memchr.c (do_one_test): Likewise.
45982         (do_test): Likewise.
45983         * string/test-memcmp.c (do_one_test): Likewise.
45984         (do_test): Likewise.
45985         * string/test-memcpy.c (do_one_test): Likewise.
45986         (do_test): Likewise.
45987         * string/test-memmem.c (do_one_test): Likewise.
45988         (do_test): Likewise.
45989         (do_random_tests): Likewise.
45990         * string/test-memmove.c (do_one_test): Likewise.
45991         (do_test): Likewise.
45992         * string/test-memset.c (do_one_test): Likewise.
45993         (do_test): Likewise.
45994         * string/test-rawmemchr.c (do_one_test): Likewise.
45995         (do_test): Likewise.
45996         * string/test-strcasecmp.c (do_one_test): Likewise.
45997         (do_test): Likewise.
45998         * string/test-strcasestr.c (do_one_test): Likewise.
45999         (do_test): Likewise.
46000         * string/test-strcat.c (do_one_test): Likewise.
46001         (do_test): Likewise.
46002         * string/test-strchr.c (do_one_test): Likewise.
46003         (do_test): Likewise.
46004         * string/test-strcmp.c (do_one_test): Likewise.
46005         (do_test): Likewise.
46006         * string/test-strcpy.c (do_one_test): Likewise.
46007         (do_test): Likewise.
46008         * string/test-string.h: Likewise.
46009         (test_init): Likewise.
46010         * string/test-strlen.c (do_one_test): Likewise.
46011         (do_test): Likewise.
46012         * string/test-strncasecmp.c (do_one_test): Likewise.
46013         (do_test): Likewise.
46014         * string/test-strncat.c (do_one_test): Likewise.
46015         (do_test): Likewise.
46016         * string/test-strncmp.c (do_one_test): Likewise.
46017         (do_test_limit): Likewise.
46018         (do_test): Likewise.
46019         * string/test-strncpy.c (do_one_test): Likewise.
46020         (do_test): Likewise.
46021         * string/test-strnlen.c (do_one_test): Likewise.
46022         (do_test): Likewise.
46023         * string/test-strpbrk.c (do_one_test): Likewise.
46024         (do_test): Likewise.
46025         * string/test-strrchr.c (do_one_test): Likewise.
46026         (do_test): Likewise.
46027         * string/test-strspn.c (do_one_test): Likewise.
46028         (do_test): Likewise.
46029         * string/test-strstr.c (do_one_test): Likewise.
46030         (do_test): Likewise.
46032         * benchtests/Makefile (string-bench): Add string benchmarks.
46033         * benchtests/bench-bcopy-ifunc.c: New file.
46034         * benchtests/bench-bcopy.c: New file.
46035         * benchtests/bench-bzero-ifunc.c: New file.
46036         * benchtests/bench-bzero.c: New file.
46037         * benchtests/bench-memccpy-ifunc.c: New file.
46038         * benchtests/bench-memccpy.c: New file.
46039         * benchtests/bench-memchr-ifunc.c: New file.
46040         * benchtests/bench-memchr.c: New file.
46041         * benchtests/bench-memcmp-ifunc.c: New file.
46042         * benchtests/bench-memcmp.c: New file.
46043         * benchtests/bench-memmem-ifunc.c: New file.
46044         * benchtests/bench-memmem.c: New file.
46045         * benchtests/bench-memmove-ifunc.c: New file.
46046         * benchtests/bench-memmove.c: New file.
46047         * benchtests/bench-mempcpy-ifunc.c: New file.
46048         * benchtests/bench-mempcpy.c: New file.
46049         * benchtests/bench-memset-ifunc.c: New file.
46050         * benchtests/bench-memset.c: New file.
46051         * benchtests/bench-rawmemchr-ifunc.c: New file.
46052         * benchtests/bench-rawmemchr.c: New file.
46053         * benchtests/bench-stpcpy-ifunc.c: New file.
46054         * benchtests/bench-stpcpy.c: New file.
46055         * benchtests/bench-stpncpy-ifunc.c: New file.
46056         * benchtests/bench-stpncpy.c: New file.
46057         * benchtests/bench-strcasecmp-ifunc.c: New file.
46058         * benchtests/bench-strcasecmp.c: New file.
46059         * benchtests/bench-strcasestr-ifunc.c: New file.
46060         * benchtests/bench-strcasestr.c: New file.
46061         * benchtests/bench-strcat-ifunc.c: New file.
46062         * benchtests/bench-strcat.c: New file.
46063         * benchtests/bench-strchr-ifunc.c: New file.
46064         * benchtests/bench-strchr.c: New file.
46065         * benchtests/bench-strchrnul-ifunc.c: New file.
46066         * benchtests/bench-strchrnul.c: New file.
46067         * benchtests/bench-strcmp-ifunc.c: New file.
46068         * benchtests/bench-strcmp.c: New file.
46069         * benchtests/bench-strcpy-ifunc.c: New file.
46070         * benchtests/bench-strcpy.c: New file.
46071         * benchtests/bench-strcspn-ifunc.c: New file.
46072         * benchtests/bench-strcspn.c: New file.
46073         * benchtests/bench-strlen-ifunc.c: New file.
46074         * benchtests/bench-strlen.c: New file.
46075         * benchtests/bench-strncasecmp-ifunc.c: New file.
46076         * benchtests/bench-strncasecmp.c: New file.
46077         * benchtests/bench-strncat-ifunc.c: New file.
46078         * benchtests/bench-strncat.c: New file.
46079         * benchtests/bench-strncmp-ifunc.c: New file.
46080         * benchtests/bench-strncmp.c: New file.
46081         * benchtests/bench-strncpy-ifunc.c: New file.
46082         * benchtests/bench-strncpy.c: New file.
46083         * benchtests/bench-strnlen-ifunc.c: New file.
46084         * benchtests/bench-strnlen.c: New file.
46085         * benchtests/bench-strpbrk-ifunc.c: New file.
46086         * benchtests/bench-strpbrk.c: New file.
46087         * benchtests/bench-strrchr-ifunc.c: New file.
46088         * benchtests/bench-strrchr.c: New file.
46089         * benchtests/bench-strspn-ifunc.c: New file.
46090         * benchtests/bench-strspn.c: New file.
46091         * benchtests/bench-strstr-ifunc.c: New file.
46092         * benchtests/bench-strstr.c: New file.
46094         * benchtests/Makefile: Disable parallel execution of targets.
46095         (string-bench): Add memcpy.
46096         (benchset): New variable to store a list of benchmark sets.
46097         (bench-func): Renamed from bench.
46098         (bench-set): New target.
46099         (bench): Depend on bench-func and bench-set.
46100         * benchtests/README: Add section on benchmark sets.
46101         * benchtests/bench-memcpy-ifunc.c: New file.
46102         * benchtests/bench-memcpy.c: New file.
46103         * benchtests/bench-string.h: New file.
46105 2013-06-11  Andreas Schwab  <schwab@suse.de>
46107         [BZ #15577]
46108         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
46109         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
46110         values in the triple.
46111         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
46112         terminator in the group key.
46114 2013-06-11  Andreas Jaeger  <aj@suse.de>
46116         * po/zh_TW.po: Update Chinese (traditional) translation from
46117         translation project.
46119 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46121         * include/time.h (__clock_gettime): Add libc_hidden_proto.
46122         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
46123         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
46124         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46125         (clock_getcpuclockid): Likewise.
46126         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
46127         Add weak_alias and libc_hidden_def.
46128         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
46129         * rt/clock_gettime.c (clock_gettime): Rename to
46130         __clock_gettime.  Add weak_alias and libc_hidden_def.
46131         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
46132         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
46133         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
46134         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
46135         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46136         Likewise.
46137         * rt/clock_settime.c (clock_settime): Rename to
46138         __clock_settime.  Add weak_alias and libc_hidden_def.
46139         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
46141 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
46143         * mach/err_boot.sub: Remove trailing whitespace.
46144         * mach/err_ipc.sub: Likewise.
46145         * mach/err_mach.sub: Likewise.
46147         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46148         (ROUNDING_TESTS_double): Likewise.
46149         (ROUNDING_TESTS_long_double): Likewise.
46150         (ROUNDING_TESTS): Likewise.
46151         * math/libm-test.inc: Include <math-tests.h>.
46152         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46153         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46154         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46155         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46157 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46159         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46160         of assigning.
46162 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
46164         * sysdeps/gnu/errlist.awk: Do not generate space at end of
46165         otherwise empty TRANS lines.
46166         * sysdeps/gnu/errlist.c: Regenerated.
46168         * catgets/gencat.c (error_print): Use (void) in function
46169         definition.
46170         * crypt/crypt_util.c (__init_des): Likewise.
46171         * crypt/speeds.c (Stop): Likewise.
46172         (main): Likewise.
46173         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46174         * inet/ruserpass.c (token): Likewise.
46175         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46176         * intl/localealias.c (extend_alias_table): Likewise.
46177         * intl/plural-exp.c (init_germanic_plural): Likewise.
46178         * libio/fcloseall.c (__fcloseall): Likewise.
46179         * libio/genops.c (_IO_flush_all): Likewise.
46180         (_IO_flush_all_linebuffered): Likewise.
46181         (_IO_cleanup): Likewise.
46182         (_IO_iter_begin): Likewise.
46183         (_IO_iter_end): Likewise.
46184         (_IO_list_lock): Likewise.
46185         (_IO_list_unlock): Likewise.
46186         (_IO_list_resetlock): Likewise.
46187         * libio/getchar.c (getchar): Likewise.
46188         * libio/getchar_u.c (getchar_unlocked): Likewise.
46189         * libio/getwchar.c (getwchar): Likewise.
46190         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
46191         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
46192         * login/getpt.c (__getpt): Likewise.
46193         * login/tst-utmp.c (main): Likewise.
46194         * malloc/hooks.c (__malloc_check_init): Likewise.
46195         * malloc/malloc.c (__malloc_stats): Likewise.
46196         * malloc/mtrace.c (tr_break): Likewise.
46197         (mtrace): Likewise.
46198         (muntrace): Likewise.
46199         * misc/fstab.c (endfsent): Likewise.
46200         * misc/getclktck.c (__getclktck): Likewise.
46201         * misc/getdtsz.c (__getdtablesize): Likewise.
46202         * misc/gethostid.c (gethostid): Likewise.
46203         * misc/getpagesize.c (__getpagesize): Likewise.
46204         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
46205         (__get_nprocs): Likewise.
46206         (__get_phys_pages): Likewise.
46207         (__get_avphys_pages): Likewise.
46208         * misc/getttyent.c (getttyent): Likewise.
46209         (setttyent): Likewise.
46210         (endttyent): Likewise.
46211         * misc/getusershell.c (getusershell): Likewise.
46212         (endusershell): Likewise.
46213         (setusershell): Likewise.
46214         (initshells): Likewise.
46215         * misc/hsearch.c (__hdestroy): Likewise.
46216         * misc/sync.c (sync): Likewise.
46217         * misc/syslog.c (closelog_internal): Likewise.
46218         (closelog): Likewise.
46219         * misc/ttyslot.c (ttyslot): Likewise.
46220         * misc/vhangup.c (vhangup): Likewise.
46221         * posix/fork.c (__fork): Likewise.
46222         * posix/getegid.c (__getegid): Likewise.
46223         * posix/geteuid.c (__geteuid): Likewise.
46224         * posix/getgid.c (__getgid): Likewise.
46225         * posix/getpid.c (__getpid): Likewise.
46226         * posix/getppid.c (__getppid): Likewise.
46227         * posix/getuid.c (__getuid): Likewise.
46228         * posix/pause.c (pause): Likewise.
46229         * posix/setpgrp.c (setpgrp): Likewise.
46230         * posix/setsid.c (__setsid): Likewise.
46231         * posix/test-vfork.c (noop): Likewise.
46232         * resolv/gethnamaddr.c (_endhtent): Likewise.
46233         (_gethtent): Likewise.
46234         (ht_endhostent): Likewise.
46235         (gethostent): Likewise.
46236         (dns_service): Likewise.
46237         * stdlib/drand48.c (drand48): Likewise.
46238         * stdlib/lrand48.c (lrand48): Likewise.
46239         * stdlib/mrand48.c (mrand48): Likewise.
46240         * stdlib/rand.c (rand): Likewise.
46241         * stdlib/random.c (__random): Likewise.
46242         * stdlib/setenv.c (clearenv): Likewise.
46243         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
46244         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
46245         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
46246         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
46247         (__get_nprocs): Likewise.
46248         (__get_phys_pages): Likewise.
46249         (__get_avphys_pages): Likewise.
46250         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
46251         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
46252         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
46253         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
46254         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
46255         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
46256         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
46257         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
46258         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46259         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46260         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46261         * sysdeps/mach/hurd/sync.c (sync): Likewise.
46262         * sysdeps/posix/clock.c (clock): Likewise.
46263         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46264         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46265         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46266         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46267         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46268         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46269         (__get_nprocs_conf): Likewise.
46270         (__get_phys_pages): Likewise.
46271         (__get_avphys_pages): Likewise.
46272         * time/clock.c (clock): Likewise.
46273         * time/tzset.c (__tzname_max): Likewise.
46275 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
46277         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46278         (__bswap_32): Do not use "register".
46279         * crypt/crypt.c (_ufc_doit_r): Likewise.
46280         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46281         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46282         * gmon/gmon.c (__monstartup): Likewise.
46283         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46284         * hurd/hurdmalloc.c (more_memory): Likewise.
46285         (malloc): Likewise.
46286         (free): Likewise.
46287         (realloc): Likewise.
46288         (malloc_fork_prepare): Likewise.
46289         (malloc_fork_parent): Likewise.
46290         (malloc_fork_child): Likewise.
46291         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46292         (_svcauth_des): Likewise.
46293         * inet/inet_lnaof.c (inet_lnaof): Likewise.
46294         * inet/inet_net.c (inet_network): Likewise.
46295         * inet/inet_netof.c (inet_netof): Likewise.
46296         * inet/rcmd.c (__validuser2_sa): Likewise.
46297         * io/fts.c (fts_open): Likewise.
46298         (fts_load): Likewise.
46299         (fts_close): Likewise.
46300         (fts_read): Likewise.
46301         (fts_children): Likewise.
46302         (fts_build): Likewise.
46303         (fts_stat): Likewise.
46304         (fts_sort): Likewise.
46305         (fts_alloc): Likewise.
46306         (fts_lfree): Likewise.
46307         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46308         (_IO_file_xsgetn): Likewise.
46309         (_IO_file_xsgetn_mmap): Likewise.
46310         * libio/iofopncook.c (_IO_cookie_read): Likewise.
46311         (_IO_cookie_write): Likewise.
46312         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46313         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46314         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46315         * malloc/obstack.c (_obstack_begin): Likewise.
46316         (_obstack_begin_1): Likewise.
46317         (_obstack_newchunk): Likewise.
46318         (_obstack_allocated_p): Likewise.
46319         (obstack_free): Likewise.
46320         (_obstack_memory_used): Likewise.
46321         * misc/getttyent.c (getttynam): Likewise.
46322         (getttyent): Likewise.
46323         (skip): Likewise.
46324         (value): Likewise.
46325         * misc/getusershell.c (initshells): Likewise.
46326         * misc/syslog.c (__vsyslog_chk): Likewise.
46327         * misc/ttyslot.c (ttyslot): Likewise.
46328         * nis/nis_hash.c (__nis_hash): Likewise.
46329         * posix/fnmatch_loop.c (FCT): Likewise.
46330         * posix/getconf.c (print_all): Likewise.
46331         (main): Likewise.
46332         * posix/getopt.c (exchange): Likewise.
46333         * posix/glob.c (globfree): Likewise.
46334         (prefix_array): Likewise.
46335         (__glob_pattern_type): Likewise.
46336         * resolv/arpa/nameser.h (NS_GET16): Likewise.
46337         (NS_GET32): Likewise.
46338         (NS_PUT16): Likewise.
46339         (NS_PUT32): Likewise.
46340         * resolv/gethnamaddr.c (getanswer): Likewise.
46341         (gethostbyname2): Likewise.
46342         (gethostbyaddr): Likewise.
46343         (_gethtent): Likewise.
46344         (_gethtbyname2): Likewise.
46345         (_gethtbyaddr): Likewise.
46346         * resolv/ns_print.c (dst_s_get_int16): Likewise.
46347         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
46348         * resolv/res_init.c (__res_vinit): Likewise.
46349         (net_mask): Likewise.
46350         * resolv/res_mkquery.c (outchar): Likewise.
46351         (PRINT): Likewise.
46352         * stdio-common/printf_fp.c (outchar): Likewise.
46353         (PRINT): Likewise.
46354         * stdio-common/printf_fphex.c (outchar): Likewise.
46355         (PRINT): Likewise.
46356         * stdio-common/printf_size.c (outchar): Likewise.
46357         (PRINT): Likewise.
46358         * stdio-common/test_rdwr.c (main): Likewise.
46359         * stdio-common/tfformat.c (matches): Likewise.
46360         * stdio-common/vfprintf.c (outchar): Likewise.
46361         (printf_unknown): Likewise.
46362         (buffered_vfprintf): Likewise.
46363         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46364         * stdio-common/xbug.c (AppendToBuffer): Likewise.
46365         (ReadFile): Likewise.
46366         * stdlib/qsort.c (SWAP): Likewise.
46367         (_quicksort): Likewise.
46368         * stdlib/setenv.c (__add_to_environ): Likewise.
46369         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46370         * stdlib/strtol_l.c (__strtol_l): Likewise.
46371         * stdlib/tst-strtod.c (main): Likewise.
46372         * stdlib/tst-strtol.c (main): Likewise.
46373         * stdlib/tst-strtoll.c (main): Likewise.
46374         * string/bits/string2.h (__strcmp_cc): Likewise.
46375         (__strcmp_cg): Likewise.
46376         (__strcspn_c1): Likewise.
46377         (__strcspn_c2): Likewise.
46378         (__strcspn_c3): Likewise.
46379         (__strspn_c1): Likewise.
46380         (__strspn_c2): Likewise.
46381         (__strspn_c3): Likewise.
46382         (__strsep_1c): Likewise.
46383         (__strsep_2c): Likewise.
46384         (__strsep_3c): Likewise.
46385         * string/memccpy.c (__memccpy): Likewise.
46386         * string/stpcpy.c (__stpcpy): Likewise.
46387         * string/strcmp.c (strcmp): Likewise.
46388         * string/strrchr.c (strrchr): Likewise.
46389         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
46390         Likewise.
46391         * sysdeps/mach/hurd/getcwd.c
46392         (_hurd_canonicalize_directory_name_internal): Likewise.
46393         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
46394         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
46395         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
46396         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
46397         Likewise, in both definitions.
46398         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
46399         definitions.
46400         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
46401         64] (__bswap_64): Likewise.
46402         * time/test_time.c (main): Likewise.
46403         * time/tzfile.c (__tzfile_read): Likewise.
46404         (__tzfile_compute): Likewise.
46405         * time/tzset.c (__tzset_parse_tz): Likewise.
46406         (tzset_internal): Likewise.
46407         (compute_change): Likewise.
46408         * wcsmbs/wcscat.c (__wcscat): Likewise.
46409         * wcsmbs/wcschr.c (wcschr): Likewise.
46410         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
46411         * wcsmbs/wcscspn.c (wcscspn): Likewise.
46412         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
46413         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
46414         * wcsmbs/wcsspn.c (wcsspn): Likewise.
46415         * wcsmbs/wcsstr.c (wcsstr): Likewise.
46416         * wcsmbs/wmemchr.c (wmemchr): Likewise.
46417         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46418         * wcsmbs/wmemset.c (wmemset): Likewise.
46420 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
46422         * scripts/config.guess: Update to version 2013-05-16.
46423         * scripts/config.sub: Update to version 2013-04-24.
46424         * scripts/install-sh: Update to version 2011-11-20.07.
46425         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
46426         * scripts/move-if-change: Update to version 2012-01-06 07:23.
46428 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
46430         * debug/fgetws_u_chk.c: Fix leading whitespaces.
46431         * elf/sln.c: Likewise.
46432         * hurd/hurd/ioctl.h: Likewise.
46433         * hurd/hurdmalloc.c: Likewise.
46434         * hurd/xattr.c: Likewise.
46435         * include/shlib-compat.h: Likewise.
46436         * inet/ruserpass.c: Likewise.
46437         * libio/iofgets_u.c: Likewise.
46438         * libio/iofgetws_u.c: Likewise.
46439         * locale/programs/ld-identification.c: Likewise.
46440         * locale/programs/ld-time.c: Likewise.
46441         * mach/msg-destroy.c: Likewise.
46442         * nss/nss_files/files-netgrp.c: Likewise.
46443         * resolv/res_data.c: Likewise.
46444         * soft-fp/op-1.h: Likewise.
46445         * soft-fp/op-2.h: Likewise.
46446         * soft-fp/op-4.h: Likewise.
46447         * soft-fp/op-common.h: Likewise.
46448         * stdio-common/printf_fphex.c: Likewise.
46449         * stdlib/strtod_l.c: Likewise.
46450         * sunrpc/rpc/clnt.h: Likewise.
46451         * sysdeps/generic/framestate.c: Likewise.
46452         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46453         * sysdeps/i386/bsd-setjmp.S: Likewise.
46454         * sysdeps/i386/__longjmp.S: Likewise.
46455         * sysdeps/i386/setjmp.S: Likewise.
46456         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46457         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46458         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46459         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46460         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46461         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46462         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46463         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46464         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46465         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46466         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46467         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46468         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46469         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46470         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46471         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46472         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46473         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
46474         * sysdeps/ieee754/support.c: Likewise.
46475         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46476         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
46477         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
46478         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
46479         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
46480         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
46481         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
46482         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
46483         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
46484         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
46485         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
46486         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
46487         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
46488         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
46489         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
46490         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
46491         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46494 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
46496         * posix/transbug.c: Remove executable mode.
46498 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
46500         * crypt/speeds.c: Remove trailing whitespace.
46501         * dlfcn/default.c: Likewise.
46502         * elf/ifuncdep2.c: Likewise.
46503         * elf/ifuncmain1.c: Likewise.
46504         * elf/ifuncmain1vis.c: Likewise.
46505         * elf/testobj.h: Likewise.
46506         * elf/tst-stackguard1.c: Likewise.
46507         * gmon/sys/gmon.h: Likewise.
46508         * hurd/hurdmsg.c: Likewise.
46509         * hurd/new-fd.c: Likewise.
46510         * hurd/ports-get.c: Likewise.
46511         * iconvdata/ibm1008_420.c: Likewise.
46512         * inet/tst-getni1.c: Likewise.
46513         * inet/tst-getni2.c: Likewise.
46514         * libio/ioungetc.c: Likewise.
46515         * libio/wfiledoalloc.c: Likewise.
46516         * manual/libm-err-tab.pl: Likewise.
46517         * math/w_dremf.c: Likewise.
46518         * misc/ftruncate.c: Likewise.
46519         * posix/bug-glob2.c: Likewise.
46520         * posix/tst-pcre.c: Likewise.
46521         * posix/wait4.c: Likewise.
46522         * resolv/README: Likewise.
46523         * resolv/res_debug.h: Likewise.
46524         * resolv/tst-inet_ntop.c: Likewise.
46525         * setjmp/bug269-setjmp.c: Likewise.
46526         * soft-fp/extended.h: Likewise.
46527         * soft-fp/op-1.h: Likewise.
46528         * soft-fp/op-2.h: Likewise.
46529         * soft-fp/op-4.h: Likewise.
46530         * soft-fp/op-8.h: Likewise.
46531         * soft-fp/testit.c: Likewise.
46532         * stdio-common/bug16.c: Likewise.
46533         * stdlib/random.c: Likewise.
46534         * sunrpc/rpcsvc/rquota.x: Likewise.
46535         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
46536         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46537         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46538         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46539         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46540         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46541         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46542         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46543         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46544         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46545         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46546         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46547         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46548         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46549         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46550         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46551         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46552         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46553         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46554         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46555         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46556         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46557         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
46558         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46559         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46560         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46561         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46562         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46563         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46564         * sysdeps/ieee754/s_lib_version.c: Likewise.
46565         * sysdeps/mach/hurd/check_fds.c: Likewise.
46566         * sysdeps/mach/hurd/getsockname.c: Likewise.
46567         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
46568         * sysdeps/mach/hurd/recvfrom.c: Likewise.
46569         * sysdeps/powerpc/bits/link.h: Likewise.
46570         * sysdeps/powerpc/dl-procinfo.c: Likewise.
46571         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
46572         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
46573         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
46574         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46575         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46576         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
46577         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46578         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
46579         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46580         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
46581         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46582         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
46583         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46584         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46585         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46586         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46587         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46588         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46589         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46590         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46591         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
46592         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46593         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46594         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
46595         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46596         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46597         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46598         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46599         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46600         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46601         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46602         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46603         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46604         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
46605         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46606         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
46607         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46608         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
46609         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
46610         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
46611         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
46612         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
46613         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
46614         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46615         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
46616         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
46617         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46618         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
46619         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
46620         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46621         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46622         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46623         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46624         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
46625         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
46626         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
46627         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46628         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
46629         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
46630         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
46631         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
46632         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
46633         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46634         * sysdeps/powerpc/sysdep.h: Likewise.
46635         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46636         * sysdeps/s390/s390-64/sub_n.S: Likewise.
46637         * sysdeps/sh/dl-trampoline.S: Likewise.
46638         * sysdeps/sh/memset.S: Likewise.
46639         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
46640         * sysdeps/sh/strlen.S: Likewise.
46641         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
46642         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
46643         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
46644         * sysdeps/sparc/sparc32/rem.S: Likewise.
46645         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
46646         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
46647         * sysdeps/sparc/sparc32/strchr.S: Likewise.
46648         * sysdeps/sparc/sparc32/udiv.S: Likewise.
46649         * sysdeps/sparc/sparc32/urem.S: Likewise.
46650         * sysdeps/sparc/sparc64/add_n.S: Likewise.
46651         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46652         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
46653         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
46654         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
46655         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
46656         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
46657         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
46658         * sysdeps/unix/bsd/times.c: Likewise.
46659         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
46660         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
46661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46664         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
46665         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46666         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
46667         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
46668         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
46669         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
46670         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46671         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
46672         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46673         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46674         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
46675         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46676         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
46677         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
46678         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
46679         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
46680         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
46681         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46682         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
46683         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
46684         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
46685         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
46686         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46687         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
46688         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
46689         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
46690         * sysdeps/x86_64/strcspn.S: Likewise.
46692 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46694         * locale/C-translit.h: Revert #include <stdint.h> because this is a
46695         generated file.  Regenerate properly from gen-translit.pl.
46696         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
46697         locale/C-translit.h.
46699 2013-06-05  Andreas Schwab  <schwab@suse.de>
46701         [BZ #15100]
46702         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
46703         week as 6 instead of -1.
46704         * time/tst-strptime.c (day_tests): Add test case.
46706 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46708         * sysdeps/generic/math_private.h
46709         (libc_feholdexcept_setround_53bit): Replace with
46710         libc_feholdsetround_53bit.
46711         (libc_feupdateenv_53bit): Replace with
46712         libc_feresetround_53bit.
46713         (SET_RESTORE_ROUND_53BIT): Adjust.
46715 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46717         * string/test-strchrnul.c: Add copyright header.
46719         * posix/tst-getaddrinfo4.c: Increase test timeout.
46721 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
46723         [BZ #15536]
46724         * math/libm-test.inc (MAX_EXP): Remove
46725         (MIN_EXP): Define.
46726         (ulp): Use MIN_EXP - MANT_DIG.
46727         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
46729 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
46731         * po/be.po: Revert last change.
46732         * po/zh_CN.po: Likewise.
46733         * po/header.pot: Likewise.
46735 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
46737         * Makefile ($(common-objpfx)linkobj/libc.so): Define
46738         link-libc-deps to empty as target-specific variable.
46739         * Makerules (link-libc-args): New variable.
46740         (libc-for-link): Likewise.
46741         (link-libc-deps): Likewise.
46742         (lib%.so): Depend on $(link-libc-deps).  Link with
46743         $(link-libc-args).
46744         (build-module): Link with $(link-libc-args).
46745         (build-module-asneeded): Likewise.
46746         (build-module-helper-objlist): Filter out $(link-libc-deps) from
46747         list of objects.
46748         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
46749         target-specific variable.
46750         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
46751         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
46752         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
46753         libc.
46754         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
46755         libc and ld.so.
46756         ($(objpfx)libpcprofile.so): Likewise.
46757         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
46758         libc_nonshared.a.
46759         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
46760         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
46761         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
46762         $(link-libc-deps).
46763         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
46764         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
46765         * login/Makefile ($(objpfx)libutil.so): Likewise.
46766         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
46767         * math/Makefile ($(objpfx)libm.so): Likewise.
46768         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
46769         $(objpfx)libnsl.so): Define libc-for-link as target-specific
46770         variable instead of depending directly on libc.
46771         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
46772         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
46773         $(link-libc-deps).
46774         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
46775         libc.
46776         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
46777         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
46778         ($(objpfx)libanl.so): Likewise.
46779         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
46780         ld.so.
46781         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
46782         $(link-libc-deps).
46783         * sysdeps/i386/fpu/Makefile: Remove file.
46784         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
46785         ($(objpfx)libm.so): Remove dependency on ld.so.
46787 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
46789         [BZ # 15553]
46790         * nis/yp_xdr.c (XDRMAXNAME): Define.
46791         (XDRMAXRECORD): Define.
46792         (xdr_domainname): Use XDRMAXNAME.
46793         (xdr_mapname): Likewise.
46794         (xdr_peername): Likewise.
46795         (xdr_keydat): Use XDRMAXRECORD.
46796         (xdr_valdat): Likewise.
46798 2013-05-30  Jeff Law  <law@redhat.com>
46800         [BZ #14256]
46801         * manual/errno.texi (ESTALE): Update to account for more than
46802         just NFS file systems.
46803         * sysdeps/gnu/errlist.c: Regenerated.
46805 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46807         [BZ #15465]
46808         * elf/Makefile (tests): Add tst-null-argv.
46809         (modules-names):  Add tst-null-argv-lib.
46810         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
46811         (tst-null-argv-ENV): Set environment for tst-null-argv.
46812         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
46813         (RTLD_PROGNAME): New macro.
46814         * elf/tst-null-argv.c: New test case.
46815         * elf/tst-null-argv-lib.c: Library for test case.
46816         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
46817         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
46818         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
46819         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
46820         * elf/dl-init.c (call_init): Likewise.
46821         (_dl_init): Likewise.
46822         * elf/dl-load.c (print_search_path): Likewise.
46823         (_dl_map_object): Likewise.
46824         * elf/dl-lookup.c (do_lookup_x): Likewise.
46825         (add_dependency): Likewise.
46826         (_dl_lookup_symbol_x): Likewise.
46827         (_dl_debug_bindings): Likewise.
46828         * elf/dl-open.c (_dl_show_scope): Likewise.
46829         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46830         * elf/dl-version.c (match_symbol): Likewise.
46831         (_dl_check_map_versions): Likewise.
46832         * elf/rtld.c (dl_main): Likewise.
46833         (print_unresolved): Use RTLD_PROGNAME.
46834         (print_missing_version): Likewise.
46835         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
46836         (elf_machine_rela): Likewise.
46837         * sysdeps/powerpc/powerpc32/dl-machine.c
46838         (__process_machine_rela): Likewise.
46839         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46840         Likewise.
46841         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46842         Likewise.
46843         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
46844         Likewise.
46845         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46846         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
46847         Likewise.
46848         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
46849         Likewise.
46850         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46852 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
46854         * po/be.po: Add descriptive title.
46855         * po/zh_CN.po: Likewise.
46856         * po/header.pot: Likewise.
46858 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
46860         * locale/programs/locarchive.c (create_archive): Inlucde fname in
46861         error message.
46862         (enlarge_archive): Likewise.
46864 2013-05-28  Ben North  <ben@redfrontdoor.org>
46866         * manual/arith.texi (frexp): It is the magnitude of the return
46867         value which lies in [0.5, 1), not the return value itself.
46869 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46873 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
46875         * stdio-common/bug26.c (main): Correct fscanf template.
46877         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
46878         declare _dl_skip_args.
46880         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
46881         Don't declare.
46883         * manual/platform.texi: Add missing @end deftypefun.
46885 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46887         [BZ #15529]
46888         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
46889         bit of mantissa of 2^16382.
46890         * math/libm-test.inc (hypot_test_data): Add more tests.
46892         * math/libm-test.inc: Add drem and pow10 to list of tested
46893         functions.
46894         (pow10_test): New function.
46895         (drem_test): Likewise.
46896         (drem_test_tonearest): Likewise.
46897         (drem_test_towardzero): Likewise.
46898         (drem_test_downward): Likewise.
46899         (drem_test_upward): Likewise.
46900         (main): Call the new functions.
46902         * math/libm-test.inc (finite_test_data): Remove.
46903         (finite_test): Run tests from isfinite_test_data.
46904         (gamma_test_data): Remove.
46905         (gamma_test): Run tests from lgamma_test_data.
46906         * sysdeps/i386/fpu/libm-test-ulps: Update.
46907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46909 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46911         * manual/platform.texi: Add PowerPC PPR function set documentation.
46912         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
46913         implementation.
46915 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
46917         * math/libm-test.inc (MAX_EXP): Define.
46918         (ULPDIFF): Define.
46919         (ulp): New function.
46920         (check_float_internal): Use ULPDIFF.
46921         (cpow_test): Disable failing test.
46922         (check_ulp): Test ulp() implemetnation.
46923         (main): Call check_ulp before starting tests.
46925 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46927         * math/gen-libm-test.pl (generate_testfile): Do not handle
46928         START_DATA and END_DATA.
46929         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
46930         END_DATA.
46931         (acos_tonearest_test_data): Likewise.
46932         (acos_towardzero_test_data): Likewise.
46933         (acos_downward_test_data): Likewise.
46934         (acos_upward_test_data): Likewise.
46935         (acosh_test_data): Likewise.
46936         (asin_test_data): Likewise.
46937         (asin_tonearest_test_data): Likewise.
46938         (asin_towardzero_test_data): Likewise.
46939         (asin_downward_test_data): Likewise.
46940         (asin_upward_test_data): Likewise.
46941         (asinh_test_data): Likewise.
46942         (atan_test_data): Likewise.
46943         (atanh_test_data): Likewise.
46944         (atan2_test_data): Likewise.
46945         (cabs_test_data): Likewise.
46946         (cacos_test_data): Likewise.
46947         (cacosh_test_data): Likewise.
46948         (carg_test_data): Likewise.
46949         (casin_test_data): Likewise.
46950         (casinh_test_data): Likewise.
46951         (catan_test_data): Likewise.
46952         (catanh_test_data): Likewise.
46953         (cbrt_test_data): Likewise.
46954         (ccos_test_data): Likewise.
46955         (ccosh_test_data): Likewise.
46956         (ceil_test_data): Likewise.
46957         (cexp_test_data): Likewise.
46958         (cimag_test_data): Likewise.
46959         (clog_test_data): Likewise.
46960         (clog10_test_data): Likewise.
46961         (conj_test_data): Likewise.
46962         (copysign_test_data): Likewise.
46963         (cos_test_data): Likewise.
46964         (cos_tonearest_test_data): Likewise.
46965         (cos_towardzero_test_data): Likewise.
46966         (cos_downward_test_data): Likewise.
46967         (cos_upward_test_data): Likewise.
46968         (cosh_test_data): Likewise.
46969         (cosh_tonearest_test_data): Likewise.
46970         (cosh_towardzero_test_data): Likewise.
46971         (cosh_downward_test_data): Likewise.
46972         (cosh_upward_test_data): Likewise.
46973         (cpow_test_data): Likewise.
46974         (cproj_test_data): Likewise.
46975         (creal_test_data): Likewise.
46976         (csin_test_data): Likewise.
46977         (csinh_test_data): Likewise.
46978         (csqrt_test_data): Likewise.
46979         (ctan_test_data): Likewise.
46980         (ctan_tonearest_test_data): Likewise.
46981         (ctan_towardzero_test_data): Likewise.
46982         (ctan_downward_test_data): Likewise.
46983         (ctan_upward_test_data): Likewise.
46984         (ctanh_test_data): Likewise.
46985         (ctanh_tonearest_test_data): Likewise.
46986         (ctanh_towardzero_test_data): Likewise.
46987         (ctanh_downward_test_data): Likewise.
46988         (ctanh_upward_test_data): Likewise.
46989         (erf_test_data): Likewise.
46990         (erfc_test_data): Likewise.
46991         (exp_test_data): Likewise.
46992         (exp_tonearest_test_data): Likewise.
46993         (exp_towardzero_test_data): Likewise.
46994         (exp_downward_test_data): Likewise.
46995         (exp_upward_test_data): Likewise.
46996         (exp10_test_data): Likewise.
46997         (exp2_test_data): Likewise.
46998         (expm1_test_data): Likewise.
46999         (fabs_test_data): Likewise.
47000         (fdim_test_data): Likewise.
47001         (finite_test_data): Likewise.
47002         (floor_test_data): Likewise.
47003         (fma_test_data): Likewise.
47004         (fma_towardzero_test_data): Likewise.
47005         (fma_downward_test_data): Likewise.
47006         (fma_upward_test_data): Likewise.
47007         (fmax_test_data): Likewise.
47008         (fmin_test_data): Likewise.
47009         (fmod_test_data): Likewise.
47010         (fpclassify_test_data): Likewise.
47011         (frexp_test_data): Likewise.
47012         (gamma_test_data): Likewise.
47013         (hypot_test_data): Likewise.
47014         (ilogb_test_data): Likewise.
47015         (isfinite_test_data): Likewise.
47016         (isgreater_test_data): Likewise.
47017         (isgreaterequal_test_data): Likewise.
47018         (isinf_test_data): Likewise.
47019         (isless_test_data): Likewise.
47020         (islessequal_test_data): Likewise.
47021         (islessgreater_test_data): Likewise.
47022         (isnan_test_data): Likewise.
47023         (isnormal_test_data): Likewise.
47024         (issignaling_test_data): Likewise.
47025         (isunordered_test_data): Likewise.
47026         (j0_test_data): Likewise.
47027         (j1_test_data): Likewise.
47028         (jn_test_data): Likewise.
47029         (ldexp_test_data): Likewise.
47030         (lgamma_test_data): Likewise.
47031         (lrint_test_data): Likewise.
47032         (lrint_tonearest_test_data): Likewise.
47033         (lrint_towardzero_test_data): Likewise.
47034         (lrint_downward_test_data): Likewise.
47035         (lrint_upward_test_data): Likewise.
47036         (llrint_test_data): Likewise.
47037         (llrint_tonearest_test_data): Likewise.
47038         (llrint_towardzero_test_data): Likewise.
47039         (llrint_downward_test_data): Likewise.
47040         (llrint_upward_test_data): Likewise.
47041         (log_test_data): Likewise.
47042         (log10_test_data): Likewise.
47043         (log1p_test_data): Likewise.
47044         (log2_test_data): Likewise.
47045         (logb_test_data): Likewise.
47046         (logb_downward_test_data): Likewise.
47047         (lround_test_data): Likewise.
47048         (llround_test_data): Likewise.
47049         (modf_test_data): Likewise.
47050         (nearbyint_test_data): Likewise.
47051         (nextafter_test_data): Likewise.
47052         (nexttoward_test_data): Likewise.
47053         (pow_test_data): Likewise.
47054         (pow_tonearest_test_data): Likewise.
47055         (pow_towardzero_test_data): Likewise.
47056         (pow_downward_test_data): Likewise.
47057         (pow_upward_test_data): Likewise.
47058         (remainder_test_data): Likewise.
47059         (remainder_tonearest_test_data): Likewise.
47060         (remainder_towardzero_test_data): Likewise.
47061         (remainder_downward_test_data): Likewise.
47062         (remainder_upward_test_data): Likewise.
47063         (remquo_test_data): Likewise.
47064         (rint_test_data): Likewise.
47065         (rint_tonearest_test_data): Likewise.
47066         (rint_towardzero_test_data): Likewise.
47067         (rint_downward_test_data): Likewise.
47068         (rint_upward_test_data): Likewise.
47069         (round_test_data): Likewise.
47070         (scalb_test_data): Likewise.
47071         (scalbn_test_data): Likewise.
47072         (scalbln_test_data): Likewise.
47073         (signbit_test_data): Likewise.
47074         (sin_test_data): Likewise.
47075         (sin_tonearest_test_data): Likewise.
47076         (sin_towardzero_test_data): Likewise.
47077         (sin_downward_test_data): Likewise.
47078         (sin_upward_test_data): Likewise.
47079         (sincos_test_data): Likewise.
47080         (sinh_test_data): Likewise.
47081         (sinh_tonearest_test_data): Likewise.
47082         (sinh_towardzero_test_data): Likewise.
47083         (sinh_downward_test_data): Likewise.
47084         (sinh_upward_test_data): Likewise.
47085         (sqrt_test_data): Likewise.
47086         (tan_test_data): Likewise.
47087         (tan_tonearest_test_data): Likewise.
47088         (tan_towardzero_test_data): Likewise.
47089         (tan_downward_test_data): Likewise.
47090         (tan_upward_test_data): Likewise.
47091         (tanh_test_data): Likewise.
47092         (tgamma_test_data): Likewise.
47093         (trunc_test_data): Likewise.
47094         (y0_test_data): Likewise.
47095         (y1_test_data): Likewise.
47096         (yn_test_data): Likewise.
47097         (significand_test_data): Likewise.
47099         * math/gen-libm-test.pl (@functions): Remove variable.
47100         (generate_testfile): Don't handle START and END lines.
47101         * math/libm-test.inc (START): New macro.
47102         (END): Likewise.
47103         (END_COMPLEX): Likewise.
47104         (acos_test): Use END macro without arguments.
47105         (acos_test_tonearest): Likewise.
47106         (acos_test_towardzero): Likewise.
47107         (acos_test_downward): Likewise.
47108         (acos_test_upward): Likewise.
47109         (acosh_test): Likewise.
47110         (asin_test): Likewise.
47111         (asin_test_tonearest): Likewise.
47112         (asin_test_towardzero): Likewise.
47113         (asin_test_downward): Likewise.
47114         (asin_test_upward): Likewise.
47115         (asinh_test): Likewise.
47116         (atan_test): Likewise.
47117         (atanh_test): Likewise.
47118         (atan2_test): Likewise.
47119         (cabs_test): Likewise.
47120         (cacos_test): Use END_COMPLEX macro without arguments.
47121         (cacosh_test): Likewise.
47122         (carg_test): Use END macro without arguments.
47123         (casin_test): Use END_COMPLEX macro without arguments.
47124         (casinh_test): Likewise.
47125         (catan_test): Likewise.
47126         (catanh_test): Likewise.
47127         (cbrt_test): Use END macro without arguments.
47128         (ccos_test): Use END_COMPLEX macro without arguments.
47129         (ccosh_test): Likewise.
47130         (ceil_test): Use END macro without arguments.
47131         (cexp_test): Use END_COMPLEX macro without arguments.
47132         (cimag_test): Use END macro without arguments.
47133         (clog_test): Use END_COMPLEX macro without arguments.
47134         (clog10_test): Likewise.
47135         (conj_test): Likewise.
47136         (copysign_test): Use END macro without arguments.
47137         (cos_test): Likewise.
47138         (cos_test_tonearest): Likewise.
47139         (cos_test_towardzero): Likewise.
47140         (cos_test_downward): Likewise.
47141         (cos_test_upward): Likewise.
47142         (cosh_test): Likewise.
47143         (cosh_test_tonearest): Likewise.
47144         (cosh_test_towardzero): Likewise.
47145         (cosh_test_downward): Likewise.
47146         (cosh_test_upward): Likewise.
47147         (cpow_test): Use END_COMPLEX macro without arguments.
47148         (cproj_test): Likewise.
47149         (creal_test): Use END macro without arguments.
47150         (csin_test): Use END_COMPLEX macro without arguments.
47151         (csinh_test): Likewise.
47152         (csqrt_test): Likewise.
47153         (ctan_test): Likewise.
47154         (ctan_test_tonearest): Likewise.
47155         (ctan_test_towardzero): Likewise.
47156         (ctan_test_downward): Likewise.
47157         (ctan_test_upward): Likewise.
47158         (ctanh_test): Likewise.
47159         (ctanh_test_tonearest): Likewise.
47160         (ctanh_test_towardzero): Likewise.
47161         (ctanh_test_downward): Likewise.
47162         (ctanh_test_upward): Likewise.
47163         (erf_test): Use END macro without arguments.
47164         (erfc_test): Likewise.
47165         (exp_test): Likewise.
47166         (exp_test_tonearest): Likewise.
47167         (exp_test_towardzero): Likewise.
47168         (exp_test_downward): Likewise.
47169         (exp_test_upward): Likewise.
47170         (exp10_test): Likewise.
47171         (exp2_test): Likewise.
47172         (expm1_test): Likewise.
47173         (fabs_test): Likewise.
47174         (fdim_test): Likewise.
47175         (finite_test): Likewise.
47176         (floor_test): Likewise.
47177         (fma_test): Likewise.
47178         (fma_test_towardzero): Likewise.
47179         (fma_test_downward): Likewise.
47180         (fma_test_upward): Likewise.
47181         (fmax_test): Likewise.
47182         (fmin_test): Likewise.
47183         (fmod_test): Likewise.
47184         (fpclassify_test): Likewise.
47185         (frexp_test): Likewise.
47186         (gamma_test): Likewise.
47187         (hypot_test): Likewise.
47188         (ilogb_test): Likewise.
47189         (isfinite_test): Likewise.
47190         (isgreater_test): Likewise.
47191         (isgreaterequal_test): Likewise.
47192         (isinf_test): Likewise.
47193         (isless_test): Likewise.
47194         (islessequal_test): Likewise.
47195         (islessgreater_test): Likewise.
47196         (isnan_test): Likewise.
47197         (isnormal_test): Likewise.
47198         (issignaling_test): Likewise.
47199         (isunordered_test): Likewise.
47200         (j0_test): Likewise.
47201         (j1_test): Likewise.
47202         (jn_test): Likewise.
47203         (ldexp_test): Likewise.
47204         (lgamma_test): Likewise.
47205         (lrint_test): Likewise.
47206         (lrint_test_tonearest): Likewise.
47207         (lrint_test_towardzero): Likewise.
47208         (lrint_test_downward): Likewise.
47209         (lrint_test_upward): Likewise.
47210         (llrint_test): Likewise.
47211         (llrint_test_tonearest): Likewise.
47212         (llrint_test_towardzero): Likewise.
47213         (llrint_test_downward): Likewise.
47214         (llrint_test_upward): Likewise.
47215         (log_test): Likewise.
47216         (log10_test): Likewise.
47217         (log1p_test): Likewise.
47218         (log2_test): Likewise.
47219         (logb_test): Likewise.
47220         (logb_test_downward): Likewise.
47221         (lround_test): Likewise.
47222         (llround_test): Likewise.
47223         (modf_test): Likewise.
47224         (nearbyint_test): Likewise.
47225         (nextafter_test): Likewise.
47226         (nexttoward_test): Likewise.
47227         (pow_test): Likewise.
47228         (pow_test_tonearest): Likewise.
47229         (pow_test_towardzero): Likewise.
47230         (pow_test_downward): Likewise.
47231         (pow_test_upward): Likewise.
47232         (remainder_test): Likewise.
47233         (remainder_test_tonearest): Likewise.
47234         (remainder_test_towardzero): Likewise.
47235         (remainder_test_downward): Likewise.
47236         (remainder_test_upward): Likewise.
47237         (remquo_test): Likewise.
47238         (rint_test): Likewise.
47239         (rint_test_tonearest): Likewise.
47240         (rint_test_towardzero): Likewise.
47241         (rint_test_downward): Likewise.
47242         (rint_test_upward): Likewise.
47243         (round_test): Likewise.
47244         (scalb_test): Likewise.
47245         (scalbn_test): Likewise.
47246         (scalbln_test): Likewise.
47247         (signbit_test): Likewise.
47248         (sin_test): Likewise.
47249         (sin_test_tonearest): Likewise.
47250         (sin_test_towardzero): Likewise.
47251         (sin_test_downward): Likewise.
47252         (sin_test_upward): Likewise.
47253         (sincos_test): Likewise.
47254         (sinh_test): Likewise.
47255         (sinh_test_tonearest): Likewise.
47256         (sinh_test_towardzero): Likewise.
47257         (sinh_test_downward): Likewise.
47258         (sinh_test_upward): Likewise.
47259         (sqrt_test): Likewise.
47260         (tan_test): Likewise.
47261         (tan_test_tonearest): Likewise.
47262         (tan_test_towardzero): Likewise.
47263         (tan_test_downward): Likewise.
47264         (tan_test_upward): Likewise.
47265         (tanh_test): Likewise.
47266         (tgamma_test): Likewise.
47267         (trunc_test): Likewise.
47268         (y0_test): Likewise.
47269         (y1_test): Likewise.
47270         (yn_test): Likewise.
47271         (significand_test): Likewise.
47273 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
47275         [BZ #15381]
47276         * libio/genops.c (_IO_no_init): Initialize wide struct info.
47278 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47280         [BZ #14894]
47281         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47282         __ppc_mdoio and __ppc_mdoom.
47283         * manual/platform.texi: Document new functions __ppc_yield,
47284         __ppc_mdoio and __ppc_mdoom.
47286 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
47288         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47289         (main): Mention "tls" pseudo-hwcap is legacy.
47290         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47292 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47294         * math/gen-libm-test.pl (parse_args): Output only string of
47295         arguments as text for test name, not full call or descriptions of
47296         tests for extra outputs.
47297         (generate_testfile): Do not pass function name to parse_args.
47298         Generate this_func variable from START.
47299         * math/libm-test.inc (struct test_f_f_data): Rename test_name
47300         field to arg_str.
47301         (struct test_ff_f_data): Likewise.
47302         (test_ff_f_data_nexttoward): Likewise.
47303         (struct test_fi_f_data): Likewise.
47304         (struct test_fl_f_data): Likewise.
47305         (struct test_if_f_data): Likewise.
47306         (struct test_fff_f_data): Likewise.
47307         (struct test_c_f_data): Likewise.
47308         (struct test_f_f1_data): Likewise.  Remove field extra_name.
47309         (struct test_fF_f1_data): Likewise.
47310         (struct test_ffI_f1_data): Likewise.
47311         (struct test_c_c_data): Rename test_name field to arg_str.
47312         (struct test_cc_c_data): Likewise.
47313         (struct test_f_i_data): Likewise.
47314         (struct test_ff_i_data): Likewise.
47315         (struct test_f_l_data): Likewise.
47316         (struct test_f_L_data): Likewise.
47317         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
47318         and extra2_name.
47319         (COMMON_TEST_SETUP): New macro.
47320         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47321         (COMMON_TEST_CLEANUP): Likewise.
47322         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47323         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
47324         macros.
47325         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47326         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
47327         macros.
47328         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47329         (RUN_TEST_fff_f): Take argument string.  Call new setup and
47330         cleanup macros.
47331         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47332         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
47333         macros.
47334         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47335         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
47336         macros.
47337         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47338         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
47339         cleanup macros.
47340         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47341         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
47342         cleanup macros.
47343         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47344         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
47345         cleanup macros.
47346         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47347         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
47348         macros.
47349         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
47350         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
47351         macros.
47352         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
47353         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
47354         macros.
47355         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
47356         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
47357         cleanup macros.
47358         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
47359         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
47360         cleanup macros.
47361         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
47362         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
47363         macros.
47364         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
47365         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
47366         cleanup macros.
47367         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
47368         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
47369         macros.
47370         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
47371         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
47372         macros.
47373         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
47374         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
47375         cleanup macros.
47376         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
47378 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
47380         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
47381         to _sifields.sigfault.
47382         (si_addr_lsb): Define new macro.
47383         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47384         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47385         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
47387 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
47389         [BZ #15441]
47390         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
47391         returns -1.
47392         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
47393         null return -1.
47394         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
47395         loading the domain.
47397 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47399         * math/gen-libm-test.pl (parse_args): Do not include expected
47400         result in test name.
47401         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
47402         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47403         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47404         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47405         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47408 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47410         * benchtests/Makefile: Sort function entries.
47412         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
47413         tanh, asinh, acosh, atanh.
47414         * benchtests/acos-inputs: New file.
47415         * benchtests/acosh-inputs: New file.
47416         * benchtests/asin-inputs: New file.
47417         * benchtests/asinh-inputs: New file.
47418         * benchtests/atanh-inputs: New file.
47419         * benchtests/cosh-inputs: New file.
47420         * benchtests/log-inputs: New file.
47421         * benchtests/sinh-inputs: New file.
47422         * benchtests/tanh-inputs: New file.
47424 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
47426         [BZ #15339]
47427         * posix/tst-getaddrinfo4.c: New test.
47428         * posix/Makefile (tests): Add it.
47430 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47432         [BZ #15339]
47433         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
47434         when no services were used.
47435         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
47436         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
47438 2013-05-21  Andreas Schwab  <schwab@suse.de>
47440         [BZ #15014]
47441         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
47442         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
47443         successful.
47444         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
47445         redundant variable declarations and reallocation of buffer when
47446         parsing as IPv6 address.  Always set NSS status when called from
47447         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
47448         buffer too small.  Correct computation of needed size.
47449         * nss/Makefile (tests): Add test-digits-dots.
47450         * nss/test-digits-dots.c: New test.
47452 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47454         * benchtests/Makefile: Remove instructions for adding
47455         benchmark tests.
47456         * benchtests/README: New file to explain how to execute and
47457         enhance the benchmark tests.
47459 2013-05-21  Andreas Schwab  <schwab@suse.de>
47461         [BZ #15493]
47462         * setjmp/Makefile (tests): Add tst-sigsetjmp.
47463         * setjmp/tst-sigsetjmp.c: New test.
47465 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47467         * sysdeps/x86_64/memset.S (memset): New implementation.
47468         (__bzero): Likewise.
47469         (__memset_tail): New function.
47471 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47473         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
47474         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
47475         __memcpy_sse2_unaligned ifunc selection.
47476         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47477         Add memcpy-sse2-unaligned.S.
47478         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47479         Add: __memcpy_sse2_unaligned.
47481 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
47483         [BZ #15490]
47484         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47485         math_force_eval before restoring floating-point envrionment.
47486         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
47487         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
47488         Likewise.
47489         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
47490         <math_private.h>.
47491         (__nearbyintl): Use math_force_eval before restoring
47492         floating-point environment.
47493         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
47495         * math/gen-libm-test.pl (special_functions): Remove.
47496         (parse_args): Don't handle TEST_extra.  Handle functions with no
47497         return value.
47498         * math/libm-test.inc (struct test_sincos_data): Replace with
47499         struct test_fFF_11_data.
47500         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
47501         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
47502         (sincos_test_data): Change element type to struct
47503         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
47504         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
47505         RUN_TEST_LOOP_sincos.
47506         * math/README.libm-test: Don't mention special handling of
47507         individual functions.
47508         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
47509         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47510         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47511         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47512         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47515         * math/gen-libm-test.pl (get_variable): Remove function.
47516         (parse_args): Don't show pointer parameters to call in test
47517         names.  Use "extra output N" in test names for extra outputs
47518         rather than naming variables.
47520 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
47522         [BZ #15488]
47523         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
47524         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
47525         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
47526         double tests.
47527         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
47528         disable.
47529         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
47530         check_long_double.
47532         * math/gen-libm-test.pl (@tests): Remove variable.
47533         ($count): Likewise.
47534         (new_test): Remove function.
47535         (show_exceptions): New function.
47536         (special_functions): Use show_exceptions instead of new_test.
47537         (parse_args): Likewise.
47538         (generate_testfile): Pass only function name in generated call to
47539         print_max_error or print_complex_max_error.
47540         (get_ulps): Do not handle complex tests specially.
47541         (output_test): Rename to ...
47542         (get_all_ulps_for_test): ... this.  Return a string rather than
47543         printing to a file.  Require ulps to be present.
47544         (output_ulps): Generate arrays rather than #defines.
47545         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
47546         (struct ulp_data): New type.
47547         (BUILD_COMPLEX_ULP): Remove macro.
47548         (compare_ulp_data): New function.
47549         (find_ulps): Likewise.
47550         (find_test_ulps): Likewise.
47551         (find_function_ulps): Likewise.
47552         (find_complex_function_ulps): Likewise.
47553         (print_max_error): Determine allowed ulps using
47554         find_function_ulps.
47555         (print_complex_max_error): Determine allowed ulps using
47556         find_complex_function_ulps.
47557         (check_float_internal): Determine max ulps using find_test_ulps.
47558         (check_float): Do not take max_ulp parameter.  Update call to
47559         check_float_internal.
47560         (check_complex): Likewise.
47561         (check_int): Do not take max_ulp parameter.
47562         (check_long): Likewise.
47563         (check_bool): Likewise.
47564         (check_longlong): Likewise.
47565         (struct test_f_f_data): Remove max_ulp field.
47566         (struct test_ff_f_data): Likewise.
47567         (struct test_ff_f_data_nexttoward): Likewise.
47568         (struct test_fi_f_data): Likewise.
47569         (struct test_fl_f_data): Likewise.
47570         (struct test_if_f_data): Likewise.
47571         (struct test_fff_f_data): Likewise.
47572         (struct test_c_f_data): Likewise.
47573         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
47574         (struct test_fF_f1_data): Likewise.
47575         (struct test_ffI_f1_data): Likewise.
47576         (struct test_c_c_data): Remove max_ulp field.
47577         (struct test_cc_c_data): Likewise.
47578         (struct test_f_i_data): Likewise.
47579         (struct test_ff_i_data): Likewise.
47580         (struct test_f_l_data): Likewise.
47581         (struct test_f_L_data): Likewise.
47582         (struct test_sincos_data): Likewise.
47583         (RUN_TEST_f_f): Do not handle ulps.
47584         (RUN_TEST_LOOP_f_f): Likewise.
47585         (RUN_TEST_2_f): Likewise.
47586         (RUN_TEST_LOOP_2_f): Likewise.
47587         (RUN_TEST_fff_f): Likewise.
47588         (RUN_TEST_LOOP_fff_f): Likewise.
47589         (RUN_TEST_c_f): Likewise.
47590         (RUN_TEST_LOOP_c_f): Likewise.
47591         (RUN_TEST_f_f1): Likewise.
47592         (RUN_TEST_LOOP_f_f1): Likewise.
47593         (RUN_TEST_fF_f1): Likewise.
47594         (RUN_TEST_LOOP_fF_f1): Likewise.
47595         (RUN_TEST_fI_f1): Likewise.
47596         (RUN_TEST_LOOP_fI_f1): Likewise.
47597         (RUN_TEST_ffI_f1): Likewise.
47598         (RUN_TEST_LOOP_ffI_f1): Likewise.
47599         (RUN_TEST_c_c): Likewise.
47600         (RUN_TEST_LOOP_c_c): Likewise.
47601         (RUN_TEST_cc_c): Likewise.
47602         (RUN_TEST_LOOP_cc_c): Likewise.
47603         (RUN_TEST_f_i): Likewise.
47604         (RUN_TEST_LOOP_f_i): Likewise.
47605         (RUN_TEST_f_i_tg): Likewise.
47606         (RUN_TEST_LOOP_f_i_tg): Likewise.
47607         (RUN_TEST_ff_i_tg): Likewise.
47608         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47609         (RUN_TEST_f_b): Likewise.
47610         (RUN_TEST_LOOP_f_b): Likewise.
47611         (RUN_TEST_f_b_tg): Likewise.
47612         (RUN_TEST_LOOP_f_b_tg): Likewise.
47613         (RUN_TEST_f_l): Likewise.
47614         (RUN_TEST_LOOP_f_l): Likewise.
47615         (RUN_TEST_f_L): Likewise.
47616         (RUN_TEST_LOOP_f_L): Likewise.
47617         (RUN_TEST_sincos): Likewise.
47618         (RUN_TEST_LOOP_sincos): Likewise.
47620 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
47622         [BZ #15480]
47623         [BZ #15485]
47624         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
47625         main case of finite arguments, set rounding mode to FE_TONEAREST
47626         and discard exceptions.
47627         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
47628         exceptions.
47629         (remainder_tonearest_test_data): New variable.
47630         (remainder_test_tonearest): New function.
47631         (remainder_towardzero_test_data): New variable.
47632         (remainder_test_towardzero): New function.
47633         (remainder_downward_test_data): New variable.
47634         (remainder_test_downward): New function.
47635         (remainder_upward_test_data): New variable.
47636         (remainder_test_upward): New function.
47637         (main): Call the new test functions.
47639         * math/libm-test.inc (struct test_f_f1_data): Remove field
47640         extra_init.
47641         (struct test_fF_f1_data): Likewise.
47642         (struct test_ffI_f1_data): Likewise.
47643         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
47644         based on value of EXTRA_EXPECTED.
47645         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47646         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
47647         EXTRA_VAR based on value of EXTRA_EXPECTED.
47648         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47649         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
47650         EXTRA_VAR based on value of EXTRA_EXPECTED.
47651         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47652         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
47653         EXTRA_VAR based on value of EXTRA_EXPECTED.
47654         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47655         * math/gen-libm-test.pl (parse_args): Don't output initializers
47656         for extra output values.
47658         * math/libm-test.inc (check_int): Expect result to be exactly
47659         equal to expected value and do not handle ulps.
47660         (check_long): Likewise.
47661         (check_longlong): Likewise.
47663         * math/libm-test.inc (ceil_test_data): Test for "inexact"
47664         exceptions.
47665         (cimag_test_data): Likewise.
47666         (conj_test_data): Likewise.
47667         (copysign_test_data): Likewise.
47668         (cproj_test_data): Likewise.
47669         (creal_test_data): Likewise.
47670         (fabs_test_data): Likewise.
47671         (fdim_test_data): Likewise.
47672         (finite_test_data): Likewise.
47673         (floor_test_data): Likewise.
47674         (fmax_test_data): Likewise.
47675         (fmin_test_data): Likewise.
47676         (fmod_test_data): Likewise.
47677         (fpclassify_test_data): Likewise.
47678         (frexp_test_data): Likewise.
47679         (ilogb_test_data): Likewise.
47680         (isfinite_test_data): Likewise.
47681         (isgreater_test_data): Likewise.
47682         (isgreaterequal_test_data): Likewise.
47683         (isinf_test_data): Likewise.
47684         (isless_test_data): Likewise.
47685         (islessequal_test_data): Likewise.
47686         (islessgreater_test_data): Likewise.
47687         (isnan_test_data): Likewise.
47688         (isnormal_test_data): Likewise.
47689         (issignaling_test_data): Likewise.
47690         (isunordered_test_data): Likewise.
47691         (ldexp_test_data): Likewise.
47692         (lrint_test_data): Likewise.
47693         (lrint_test_data) [TEST_FLOAT]: Disable one test.
47694         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
47695         (lrint_tonearest_test_data): Test for "inexact" exceptions.
47696         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47697         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
47698         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47699         test input.
47700         (lrint_towardzero_test_data): Test for "inexact" exceptions.
47701         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47702         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
47703         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
47704         that test input.
47705         (lrint_downward_test_data): Test for "inexact" exceptions.
47706         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47707         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
47708         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47709         test input.
47710         (lrint_upward_test_data): Test for "inexact" exceptions.
47711         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
47712         test input.
47713         (llrint_test_data): Test for "inexact" exceptions.
47714         (llrint_test_data) [TEST_FLOAT]: Disable one test.
47715         (llrint_tonearest_test_data): Test for "inexact" exceptions.
47716         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47717         (llrint_towardzero_test_data): Test for "inexact" exceptions.
47718         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47719         (llrint_downward_test_data): Test for "inexact" exceptions.
47720         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47721         (llrint_upward_test_data): Test for "inexact" exceptions.
47722         (logb_test_data): Likewise.
47723         (logb_downward_test_data): Likewise.
47724         (nextafter_test_data): Likewise.
47725         (nexttoward_test_data): Likewise.
47726         (remainder_test_data): Likewise.
47727         (remquo_test_data): Likewise.
47728         (scalbn_test_data): Likewise.
47729         (scalbln_test_data): Likewise.
47730         (signbit_test_data): Likewise.
47731         (sqrt_test_data): Likewise.
47732         (significand_test_data): Likewise.
47734 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47736         [BZ #15424]
47737         * benchtests/bench-modf.c (struct args): Mark arg0 as
47738         volatile.
47739         * scripts/bench.pl: Mark members of struct args as volatile.
47741 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47743         [BZ # 15497]
47744         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
47745         negative infinity on POWER6 or lower.
47746         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
47748 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
47750         [BZ #15442]
47751         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
47752         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
47753         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
47754         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
47755         (_FP_SETQNAN): New macro.
47756         (_FP_SETQNAN_SEMIRAW): Likewise.
47757         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
47758         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
47759         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
47760         (FP_EXTEND): Use _FP_FRAC_SNANP.
47761         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
47762         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
47763         into account.
47764         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47765         New macro.
47766         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47767         Likewise.
47769 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47771         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
47772         with DIVIDE_BY_ZERO_EXCEPTION.
47773         (gamma_test_data): Likewise.
47774         (lgamma_test_data): Likewise.
47775         (log_test_data): Likewise.
47776         (log10_test_data): Likewise.
47777         (log2_test_data): Likewise.
47778         (tgamma_test_data): Likewise.
47780         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
47781         (acos_test_tonearest): Likewise.
47782         (acos_test_towardzero): Likewise.
47783         (acos_test_downward): Likewise.
47784         (acos_test_upward): Likewise.
47785         (acosh_test): Likewise.
47786         (asin_test): Likewise.
47787         (asin_test_tonearest): Likewise.
47788         (asin_test_towardzero): Likewise.
47789         (asin_test_downward): Likewise.
47790         (asin_test_upward): Likewise.
47791         (asinh_test): Likewise.
47792         (atan_test): Likewise.
47793         (atanh_test): Likewise.
47794         (atan2_test): Likewise.
47795         (cabs_test): Likewise.
47796         (cacos_test): Likewise.
47797         (cacosh_test): Likewise.
47798         (casin_test): Likewise.
47799         (casinh_test): Likewise.
47800         (catan_test): Likewise.
47801         (catanh_test): Likewise.
47802         (cbrt_test): Likewise.
47803         (ccos_test): Likewise.
47804         (ccosh_test): Likewise.
47805         (cexp_test): Likewise.
47806         (clog_test): Likewise.
47807         (clog10_test): Likewise.
47808         (cos_test): Likewise.
47809         (cos_test_tonearest): Likewise.
47810         (cos_test_towardzero): Likewise.
47811         (cos_test_downward): Likewise.
47812         (cos_test_upward): Likewise.
47813         (cosh_test): Likewise.
47814         (cosh_test_tonearest): Likewise.
47815         (cosh_test_towardzero): Likewise.
47816         (cosh_test_downward): Likewise.
47817         (cosh_test_upward): Likewise.
47818         (cpow_test): Likewise.
47819         (csin_test): Likewise.
47820         (csinh_test): Likewise.
47821         (csqrt_test): Likewise.
47822         (ctan_test): Likewise.
47823         (ctan_test_tonearest): Likewise.
47824         (ctan_test_towardzero): Likewise.
47825         (ctan_test_downward): Likewise.
47826         (ctan_test_upward): Likewise.
47827         (ctanh_test): Likewise.
47828         (ctanh_test_tonearest): Likewise.
47829         (ctanh_test_towardzero): Likewise.
47830         (ctanh_test_downward): Likewise.
47831         (ctanh_test_upward): Likewise.
47832         (erf_test): Likewise.
47833         (erfc_test): Likewise.
47834         (exp_test): Likewise.
47835         (exp_test_tonearest): Likewise.
47836         (exp_test_towardzero): Likewise.
47837         (exp_test_downward): Likewise.
47838         (exp_test_upward): Likewise.
47839         (exp10_test): Likewise.
47840         (exp2_test): Likewise.
47841         (expm1_test): Likewise.
47842         (fmod_test): Likewise.
47843         (gamma_test): Likewise.
47844         (hypot_test): Likewise.
47845         (j0_test): Likewise.
47846         (j1_test): Likewise.
47847         (jn_test): Likewise.
47848         (lgamma_test): Likewise.
47849         (log_test): Likewise.
47850         (log10_test): Likewise.
47851         (log1p_test): Likewise.
47852         (log2_test): Likewise.
47853         (logb_test_downward): Likewise.
47854         (pow_test): Likewise.
47855         (pow_test_tonearest): Likewise.
47856         (pow_test_towardzero): Likewise.
47857         (pow_test_downward): Likewise.
47858         (pow_test_upward): Likewise.
47859         (remainder_test): Likewise.
47860         (remquo_test): Likewise.
47861         (sin_test): Likewise.
47862         (sin_test_tonearest): Likewise.
47863         (sin_test_towardzero): Likewise.
47864         (sin_test_downward): Likewise.
47865         (sin_test_upward): Likewise.
47866         (sincos_test): Likewise.
47867         (sinh_test): Likewise.
47868         (sinh_test_tonearest): Likewise.
47869         (sinh_test_towardzero): Likewise.
47870         (sinh_test_downward): Likewise.
47871         (sinh_test_upward): Likewise.
47872         (sqrt_test): Likewise.
47873         (tan_test): Likewise.
47874         (tan_test_tonearest): Likewise.
47875         (tan_test_towardzero): Likewise.
47876         (tan_test_downward): Likewise.
47877         (tan_test_upward): Likewise.
47878         (tanh_test): Likewise.
47879         (tgamma_test): Likewise.
47880         (y0_test): Likewise.
47881         (y1_test): Likewise.
47882         (yn_test): Likewise.
47884         * math/gen-libm-test.pl (adjust_arg): Remove function.
47885         (special_function): Remove argument $in_func.  Only handle
47886         generating output for tables of tests, not inside functions.
47887         (parse_args): Likewise.
47888         (generate_testfile): Remove variable $in_func.  Update call to
47889         parse_args.
47890         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
47891         (MINUS_ZERO_INIT): Rename macro to minus_zero.
47892         (PLUS_INFTY_INIT): Rename macro to plus_infty.
47893         (MINUS_INFTY_INIT): Rename macro to minus_infty.
47894         (QNAN_VALUE_INIT): Rename macro to qnan_value.
47895         (MAX_VALUE_INIT): Rename macro to max_value.
47896         (MIN_VALUE_INIT): Rename macro to min_value.
47897         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
47898         (plus_zero): Remove variable.
47899         (minus_zero): Likewise.
47900         (plus_infty): Likewise.
47901         (minus_infty): Likewise.
47902         (qnan_value): Likewise.
47903         (max_value): Likewise.
47904         (min_value): Likewise.
47905         (min_subnorm_value): Likewise.
47907 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47909         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
47910         uint64_t or uint32_t usage.
47911         * crypt/sha256-block.c: Likewise.
47912         * crypt/sha256-crypt.c: Likewise.
47913         * crypt/sha256.c: Likewise.
47914         * crypt/sha512-block.c: Likewise.
47915         * crypt/sha512-crypt.c: Likewise.
47916         * crypt/sha512.c: Likewise.
47917         * debug/backtrace-tst.c: Likewise.
47918         * debug/pcprofiledump.c: Likewise.
47919         * elf/cache.c: Likewise.
47920         * elf/dl-cache.c: Likewise.
47921         * elf/dl-misc.c: Likewise.
47922         * elf/dl-profile.c: Likewise.
47923         * elf/dl-support.c: Likewise.
47924         * elf/ldconfig.c: Likewise.
47925         * elf/sprof.c: Likewise.
47926         * iconv/dummy-repertoire.c: Likewise.
47927         * iconv/iconv_charmap.c: Likewise.
47928         * iconv/skeleton.c: Likewise.
47929         * iconvdata/8bit-generic.c: Likewise.
47930         * iconvdata/cp737.h: Likewise.
47931         * iconvdata/cp775.h: Likewise.
47932         * iconvdata/ibm1008.h: Likewise.
47933         * iconvdata/ibm1025.h: Likewise.
47934         * iconvdata/ibm1046.h: Likewise.
47935         * iconvdata/ibm1097.h: Likewise.
47936         * iconvdata/ibm1112.h: Likewise.
47937         * iconvdata/ibm1122.h: Likewise.
47938         * iconvdata/ibm1123.h: Likewise.
47939         * iconvdata/ibm1124.h: Likewise.
47940         * iconvdata/ibm1129.h: Likewise.
47941         * iconvdata/ibm1130.h: Likewise.
47942         * iconvdata/ibm1132.h: Likewise.
47943         * iconvdata/ibm1133.h: Likewise.
47944         * iconvdata/ibm1137.h: Likewise.
47945         * iconvdata/ibm1140.h: Likewise.
47946         * iconvdata/ibm1141.h: Likewise.
47947         * iconvdata/ibm1142.h: Likewise.
47948         * iconvdata/ibm1143.h: Likewise.
47949         * iconvdata/ibm1144.h: Likewise.
47950         * iconvdata/ibm1145.h: Likewise.
47951         * iconvdata/ibm1146.h: Likewise.
47952         * iconvdata/ibm1147.h: Likewise.
47953         * iconvdata/ibm1148.h: Likewise.
47954         * iconvdata/ibm1149.h: Likewise.
47955         * iconvdata/ibm1153.h: Likewise.
47956         * iconvdata/ibm1154.h: Likewise.
47957         * iconvdata/ibm1155.h: Likewise.
47958         * iconvdata/ibm1156.h: Likewise.
47959         * iconvdata/ibm1157.h: Likewise.
47960         * iconvdata/ibm1158.h: Likewise.
47961         * iconvdata/ibm1160.h: Likewise.
47962         * iconvdata/ibm1161.h: Likewise.
47963         * iconvdata/ibm1162.h: Likewise.
47964         * iconvdata/ibm1163.h: Likewise.
47965         * iconvdata/ibm1164.h: Likewise.
47966         * iconvdata/ibm1166.h: Likewise.
47967         * iconvdata/ibm1167.h: Likewise.
47968         * iconvdata/ibm12712.h: Likewise.
47969         * iconvdata/ibm1390.h: Likewise.
47970         * iconvdata/ibm1399.h: Likewise.
47971         * iconvdata/ibm16804.h: Likewise.
47972         * iconvdata/ibm4517.h: Likewise.
47973         * iconvdata/ibm4899.h: Likewise.
47974         * iconvdata/ibm4909.h: Likewise.
47975         * iconvdata/ibm4971.h: Likewise.
47976         * iconvdata/ibm5347.h: Likewise.
47977         * iconvdata/ibm803.h: Likewise.
47978         * iconvdata/ibm856.h: Likewise.
47979         * iconvdata/ibm901.h: Likewise.
47980         * iconvdata/ibm902.h: Likewise.
47981         * iconvdata/ibm9030.h: Likewise.
47982         * iconvdata/ibm9066.h: Likewise.
47983         * iconvdata/ibm921.h: Likewise.
47984         * iconvdata/ibm922.h: Likewise.
47985         * iconvdata/ibm9448.h: Likewise.
47986         * iconvdata/isiri-3342.h: Likewise.
47987         * iconvdata/jis0201.h: Likewise.
47988         * include/link.h: Likewise.
47989         * include/netdb.h: Likewise.
47990         * inet/check_native.c: Likewise.
47991         * inet/check_pf.c: Likewise.
47992         * inet/getipv4sourcefilter.c: Likewise.
47993         * inet/getnameinfo.c: Likewise.
47994         * inet/getsourcefilter.c: Likewise.
47995         * inet/htonl.c: Likewise.
47996         * inet/setipv4sourcefilter.c: Likewise.
47997         * inet/setsourcefilter.c: Likewise.
47998         * inet/test-inet6_opt.c: Likewise.
47999         * inet/tst-network.c: Likewise.
48000         * locale/C-collate.c: Likewise.
48001         * locale/C-ctype.c: Likewise.
48002         * locale/C-time.c: Likewise.
48003         * locale/C-translit.h: Likewise.
48004         * locale/loadarchive.c: Likewise.
48005         * locale/programs/3level.h: Likewise.
48006         * locale/programs/charmap.c: Likewise.
48007         * locale/programs/charmap.h: Likewise.
48008         * locale/programs/ld-address.c: Likewise.
48009         * locale/programs/ld-collate.c: Likewise.
48010         * locale/programs/ld-ctype.c: Likewise.
48011         * locale/programs/ld-identification.c: Likewise.
48012         * locale/programs/ld-measurement.c: Likewise.
48013         * locale/programs/ld-messages.c: Likewise.
48014         * locale/programs/ld-monetary.c: Likewise.
48015         * locale/programs/ld-name.c: Likewise.
48016         * locale/programs/ld-numeric.c: Likewise.
48017         * locale/programs/ld-paper.c: Likewise.
48018         * locale/programs/ld-telephone.c: Likewise.
48019         * locale/programs/ld-time.c: Likewise.
48020         * locale/programs/linereader.c: Likewise.
48021         * locale/programs/locale.c: Likewise.
48022         * locale/programs/locarchive.c: Likewise.
48023         * locale/programs/locfile.h: Likewise.
48024         * locale/programs/repertoire.c: Likewise.
48025         * locale/programs/simple-hash.c: Likewise.
48026         * locale/programs/simple-hash.h: Likewise.
48027         * malloc/memusage.c: Likewise.
48028         * malloc/memusagestat.c: Likewise.
48029         * nis/nis_defaults.c: Likewise.
48030         * nis/nis_hash.c: Likewise.
48031         * nis/nis_print.c: Likewise.
48032         * nis/nis_xdr.c: Likewise.
48033         * nscd/connections.c: Likewise.
48034         * nscd/hstcache.c: Likewise.
48035         * nscd/nscd_gethst_r.c: Likewise.
48036         * nscd/nscd_getserv_r.c: Likewise.
48037         * nscd/nscd_helper.c: Likewise.
48038         * nscd/servicescache.c: Likewise.
48039         * nss/makedb.c: Likewise.
48040         * nss/nss_db/db-XXX.c: Likewise.
48041         * nss/nss_db/db-initgroups.c: Likewise.
48042         * nss/nss_db/db-netgrp.c: Likewise.
48043         * nss/nss_files/files-network.c: Likewise.
48044         * nss/nss_files/files-parse.c: Likewise.
48045         * posix/bug-regex5.c: Likewise.
48046         * posix/fnmatch_loop.c: Likewise.
48047         * posix/regcomp.c: Likewise.
48048         * posix/regexec.c: Likewise.
48049         * posix/tst-rfc3484-2.c: Likewise.
48050         * posix/tst-rfc3484-3.c: Likewise.
48051         * posix/tst-rfc3484.c: Likewise.
48052         * resolv/nss_dns/dns-canon.c: Likewise.
48053         * resolv/nss_dns/dns-network.c: Likewise.
48054         * resolv/res_init.c: Likewise.
48055         * resolv/res_mkquery.c: Likewise.
48056         * resolv/tst-aton.c: Likewise.
48057         * stdlib/cxa_atexit.c: Likewise.
48058         * stdlib/cxa_finalize.c: Likewise.
48059         * stdlib/gen-fpioconst.c: Likewise.
48060         * stdlib/strtol_l.c: Likewise.
48061         * string/tst-endian.c: Likewise.
48062         * sunrpc/auth_des.c: Likewise.
48063         * sunrpc/clnt_udp.c: Likewise.
48064         * sunrpc/rtime.c: Likewise.
48065         * sunrpc/svcauth_des.c: Likewise.
48066         * sunrpc/xdr.c: Likewise.
48067         * sunrpc/xdr_intXX_t.c: Likewise.
48068         * sunrpc/xdr_rec.c: Likewise.
48069         * sysdeps/generic/ldconfig.h: Likewise.
48070         * sysdeps/generic/ldsodefs.h: Likewise.
48071         * sysdeps/generic/memusage.h: Likewise.
48072         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48073         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
48074         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
48075         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48076         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48077         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48078         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48079         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48080         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48081         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48082         * sysdeps/posix/getaddrinfo.c: Likewise.
48083         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48084         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48085         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48086         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48087         * sysdeps/powerpc/test-gettimebase.c: Likewise.
48088         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48089         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
48090         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
48091         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48092         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
48093         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48094         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48095         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
48096         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
48097         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
48098         * sysdeps/x86_64/dl-tls.h: Likewise.
48099         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
48100         * time/alt_digit.c: Likewise.
48101         * time/era.c: Likewise.
48102         * wcsmbs/tst-c16c32-1.c: Likewise.
48104 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48106         * math/libm-test.inc (struct test_sincos_data): New type.
48107         (RUN_TEST_LOOP_sincos): New macro.
48108         (sincos_test_data): New variable.
48109         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
48111 2013-05-16  Richard Henderson  <rth@redhat.com>
48113         * math/atest-exp2.c (LIMB64): New macro.
48114         (CONSTSZ): New macro.
48115         (mp_exp1, mp_exp_m1, mp_log2): New variables.
48116         (hexdig): Move ...
48117         (print_mpn_fp): ... to function scope.
48118         (read_mpn_hex): Remove.
48119         (get_log2): Remove.
48120         (exp2_mpn): Use mp_log2.
48121         (main): Use mp_exp1.
48123 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48125         * math/libm-test.inc: Remove comment about not testing "inexact"
48126         exceptions.
48127         (INEXACT_EXCEPTION): New macro.
48128         (NO_INEXACT_EXCEPTION): Likewise.
48129         (INVALID_EXCEPTION_OK): Update value.
48130         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48131         (OVERFLOW_EXCEPTION_OK): Likewise.
48132         (UNDERFLOW_EXCEPTION_OK): Likewise.
48133         (IGNORE_ZERO_INF_SIGN): Likewise.
48134         (ERRNO_UNCHANGED): Likewise.
48135         (ERRNO_EDOM): Likewise.
48136         (ERRNO_ERANGE): Likewise.
48137         (test_exceptions): Handle testing "inexact" exceptions.
48138         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
48139         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
48140         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
48141         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
48142         INEXACT_EXCEPTION.
48143         (rint_towardzero_test_data): Likewise.
48144         (rint_downward_test_data): Likewise.
48145         (rint_upward_test_data): Likewise.
48147         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48148         with OVERFLOW_EXCEPTION.
48149         (exp10_test_data): Likewise.
48150         (exp2_test_data): Likewise.
48151         (expm1_test_data): Likewise.
48152         (lgamma_test_data): Likewise.
48153         (pow_test_data): Likewise.
48154         (tgamma_test_data): Likewise.
48155         (yn_test_data): Remove duplicate test of overflow.
48157         * math/libm-test.inc (struct test_cc_c_data): New type.
48158         (RUN_TEST_LOOP_cc_c): New macro.
48159         (cpow_test_data): New variable.
48160         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48162         * math/libm-test.inc (struct test_f_L_data): New type.
48163         (RUN_TEST_LOOP_f_L): New macro.
48164         (llrint_test_data): New variable.
48165         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48166         (llrint_tonearest_test_data): New variable.
48167         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48168         (llrint_towardzero_test_data): New variable.
48169         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48170         (llrint_downward_test_data): New variable.
48171         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48172         (llrint_upward_test_data): New variable.
48173         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48174         (llround_test_data): New variable.
48175         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48177 2013-05-13  Peter Collingbourne  <pcc@google.com>
48179         * math/atest-exp2.c (get_log2): Remove const attribute.
48181 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48183         * math/libm-test.inc (struct test_f_l_data): New type.
48184         (RUN_TEST_LOOP_f_l): New macro.
48185         (lrint_test_data): New variable.
48186         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
48187         (lrint_tonearest_test_data): New variable.
48188         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
48189         (lrint_towardzero_test_data): New variable.
48190         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
48191         (lrint_downward_test_data): New variable.
48192         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
48193         (lrint_upward_test_data): New variable.
48194         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
48195         (lround_test_data): New variable.
48196         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
48198 2013-05-15  Peter Collingbourne  <pcc@google.com>
48200         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
48201         (EXTRACT_WORDS64) Use where appropriate.
48202         (INSERT_WORDS64) Likewise.
48204         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
48205         constraints with x constraints.
48206         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
48208         * malloc/obstack.c (_obstack_compat): Add initializer.
48210 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48212         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
48213         si_trapno and add si_addr_lsb to _sifields.sigfault.
48214         (si_trapno): Remove macro.
48215         (si_addr_lsb): Define new macro.
48216         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48218 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48220         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
48221         instead of TEST_f_l.
48222         (llrint_test_tonearest): Likewise.
48223         (llrint_test_towardzero): Likewise.
48224         (llrint_test_downward): Likewise.
48225         (llrint_test_upward): Likewise.
48226         (llround_test): Likewise.
48228         * math/libm-test.inc (struct test_f_i_data): Add comment.
48229         (RUN_TEST_LOOP_f_b): New macro.
48230         (RUN_TEST_LOOP_f_b_tg): Likewise.
48231         (finite_test_data): New variable.
48232         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
48233         (isfinite_test_data): New variable.
48234         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48235         (isinf_test_data): New variable.
48236         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48237         (isnan_test_data): New variable.
48238         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48239         (isnormal_test_data): New variable.
48240         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48241         (issignaling_test_data): New variable.
48242         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48243         (signbit_test_data): New variable.
48244         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48246         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
48247         with INVALID_EXCEPTION.
48248         (acosh_test_data): Likewise.
48249         (asin_test_data): Likewise.
48250         (atanh_test_data): Likewise.
48251         (fmod_test_data): Likewise.
48252         (log_test_data): Likewise.
48253         (log10_test_data): Likewise.
48254         (log2_test_data): Likewise.
48255         (pow_test_data): Likewise.
48256         (sqrt_test_data): Likewise.
48257         (y0_test_data): Likewise.
48258         (y1_test_data): Likewise.
48259         (yn_test_data): Likewise.
48261         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48262         function contents.
48264         * math/libm-test.inc (struct test_ff_i_data): New type.
48265         (RUN_TEST_LOOP_ff_i_tg): New macro.
48266         (isgreater_test_data): New variable.
48267         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48268         (isgreaterequal_test_data): New variable.
48269         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48270         (isless_test_data): New variable.
48271         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48272         (islessequal_test_data): New variable.
48273         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48274         (islessgreater_test_data): New variable.
48275         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48276         (isunordered_test_data): New variable.
48277         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48279 2013-05-14  David S. Miller  <davem@davemloft.net>
48281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48283 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
48285         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48287         * math/libm-test.inc (struct test_fF_f1_data): Change type of
48288         extra_test to int.
48289         (struct test_f_i_data): Change type of max_ulp to int.
48291         * math/libm-test.inc (test_ffI_f1_data): New type.
48292         (RUN_TEST_LOOP_ffI_f1): New macro.
48293         (remquo_test_data): New variable.
48294         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48296         * setjmp/tst-setjmp-fp.c: New file.
48297         * setjmp/Makefile (tests): Add tst-setjmp-fp.
48298         (link-libm): New variable.
48299         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48301         * math/libm-test.inc (struct test_f_i_data): New type.
48302         (RUN_TEST_LOOP_f_i): New macro.
48303         (RUN_TEST_LOOP_f_i_tg): Likewise.
48304         (fpclassify_test_data): New variable.
48305         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48306         (ilogb_test_data): New variable.
48307         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48309         * math/libm-test.inc (scalbln_test): Correct function name in END
48310         call.
48312         * math/libm-test.inc (struct test_f_f1_data): Add comment.
48313         (RUN_TEST_LOOP_fI_f1): New macro.
48314         (frexp_test_data): New variable.
48315         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48317         * math/libm-test.inc (struct test_fF_f1_data): New type.
48318         (RUN_TEST_LOOP_fF_f1): New macro.
48319         (modf_test_data): New variable.
48320         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48322         * math/libm-test.inc (struct test_f_f1_data): New type.
48323         (RUN_TEST_LOOP_f_f1): New macro.
48324         (gamma_test_data): New variable.
48325         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48326         (lgamma_test_data): New variable.
48327         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48329 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
48331         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48332         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48333         (main): Comment "tls" pseudo-hwcap.
48335 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
48337         * math/libm-test.inc (struct test_fl_f_data): New type.
48338         (RUN_TEST_LOOP_fl_f): New variable.
48339         (scalbln_test_data): New variable.
48340         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
48342         * math/libm-test.inc (struct test_fi_f_data): New type.
48343         (RUN_TEST_LOOP_fi_f): New macro.
48344         (ldexp_test_data): New variable.
48345         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48346         (scalbn_test_data): New variable.
48347         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
48349         * math/libm-test.inc (struct test_c_f_data): New type.
48350         (RUN_TEST_LOOP_c_f): New macro.
48351         (cabs_test_data): New variable.
48352         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
48353         (carg_test_data): New variable.
48354         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
48355         (cimag_test_data): New variable.
48356         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48357         (creal_test_data): New variable.
48358         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
48360         * math/libm-test.inc (struct test_if_f_data): New type.
48361         (RUN_TEST_LOOP_if_f): New macro.
48362         (jn_test_data): New variable.
48363         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
48364         (yn_test_data): New variable.
48365         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48367         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
48369 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48371         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
48372         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
48374 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48376         * benchtests/Makefile (CPPFLAGS-nonlib): Add
48377         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
48378         (bench-deps): Add bench-timing.h.
48379         * benchtests-bench-skeleton.c: Include bench-timing.h.
48380         (main): Use TIMING_* macros instead of clock_gettime.
48381         * benchtests/bench-timing.h: New file.
48383         [BZ #14582]
48384         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
48385         Renamed from _LIB_VERSION.
48386         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
48388 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
48390         * math/libm-test.inc (struct test_fff_f_data): New type.
48391         (RUN_TEST_LOOP_fff_f): New macro.
48392         (fma_test_data): New variable.
48393         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48394         (fma_towardzero_test_data): New variable.
48395         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
48396         (fma_downward_test_data): New variable.
48397         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
48398         (fma_upward_test_data): New variable.
48399         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
48401         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
48402         (struct test_c_c_data): New type.
48403         (RUN_TEST_LOOP_c_c): New macro.
48404         (cacos_test_data): New variable.
48405         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
48406         (cacosh_test_data): New variable.
48407         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
48408         (casin_test_data): New variable.
48409         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
48410         (casinh_test_data): New variable.
48411         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
48412         (catan_test_data): New variable.
48413         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
48414         (catanh_test_data): New variable.
48415         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
48416         (ccos_test_data): New variable.
48417         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
48418         (ccosh_test_data): New variable.
48419         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
48420         (cexp_test_data): New variable.
48421         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
48422         (clog_test_data): New variable.
48423         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
48424         (clog10_test_data): New variable.
48425         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
48426         (conj_test_data): New variable.
48427         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
48428         (cproj_test_data): New variable.
48429         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
48430         (csin_test_data): New variable.
48431         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
48432         (csinh_test_data): New variable.
48433         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
48434         (csqrt_test_data): New variable.
48435         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
48436         (ctan_test_data): New variable.
48437         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
48438         (ctan_tonearest_test_data): New variable.
48439         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48440         (ctan_towardzero_test_data): New variable.
48441         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48442         (ctan_downward_test_data): New variable.
48443         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48444         (ctan_upward_test_data): New variable.
48445         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48446         (ctanh_test_data): New variable.
48447         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
48448         (ctanh_tonearest_test_data): New variable.
48449         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48450         (ctanh_towardzero_test_data): New variable.
48451         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48452         (ctanh_downward_test_data): New variable.
48453         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48454         (ctanh_upward_test_data): New variable.
48455         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48456         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
48457         of BUILD_COMPLEX.
48459         * math/libm-test.inc (struct test_ff_f_data): New type.
48460         (struct test_ff_f_data_nexttoward): Likewise.
48461         (RUN_TEST_LOOP_2_f): New macro.
48462         (RUN_TEST_LOOP_ff_f): Likewise.
48463         (atan2_test_data): New variable.
48464         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
48465         (copysign_test_data): New variable.
48466         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
48467         (fdim_test_data): New variable.
48468         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
48469         (fmax_test_data): New variable.
48470         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
48471         (fmin_test_data): New variable.
48472         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
48473         (fmod_test_data): New variable.
48474         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
48475         (hypot_test_data): New variable.
48476         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
48477         (nextafter_test_data): New variable.
48478         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
48479         (nexttoward_test_data): New variable.
48480         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
48481         (pow_test_data): New variable.
48482         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
48483         (pow_tonearest_test_data): New variable.
48484         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
48485         (pow_towardzero_test_data): New variable.
48486         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
48487         (pow_downward_test_data): New variable.
48488         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
48489         (pow_upward_test_data): New variable.
48490         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
48491         (remainder_test_data): New variable.
48492         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
48493         (scalb_test_data): New variable.
48494         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
48495         * sysdeps/i386/fpu/libm-test-ulps: Update.
48497 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
48499         * math/libm-test.inc (fma_test): Use max_value instead of local
48500         variable fltmax.
48501         (nextafter_test): Likewise.
48503         * math/libm-test.inc (acos_towardzero_test_data): New variable.
48504         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48505         (acos_downward_test_data): New variable.
48506         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48507         (acos_upward_test_data): New variable.
48508         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48509         (acosh_test_data): New variable.
48510         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
48511         (asin_test_data): New variable.
48512         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
48513         (asin_tonearest_test_data): New variable.
48514         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48515         (asin_towardzero_test_data): New variable.
48516         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48517         (asin_downward_test_data): New variable.
48518         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48519         (asin_upward_test_data): New variable.
48520         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48521         (asinh_test_data): New variable.
48522         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
48523         (atan_test_data): New variable.
48524         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
48525         (atanh_test_data): New variable.
48526         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
48527         (cbrt_test_data): New variable.
48528         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
48529         (ceil_test_data): New variable.
48530         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
48531         (cos_test_data): New variable.
48532         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
48533         (cos_tonearest_test_data): New variable.
48534         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48535         (cos_towardzero_test_data): New variable.
48536         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48537         (cos_downward_test_data): New variable.
48538         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48539         (cos_upward_test_data): New variable.
48540         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48541         (cosh_test_data): New variable.
48542         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
48543         (cosh_tonearest_test_data): New variable.
48544         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48545         (cosh_towardzero_test_data): New variable.
48546         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48547         (cosh_downward_test_data): New variable.
48548         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48549         (cosh_upward_test_data): New variable.
48550         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48551         (erf_test_data): New variable.
48552         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
48553         (erfc_test_data): New variable.
48554         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
48555         (exp_test_data): New variable.
48556         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
48557         (exp_tonearest_test_data): New variable.
48558         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48559         (exp_towardzero_test_data): New variable.
48560         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48561         (exp_downward_test_data): New variable.
48562         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48563         (exp_upward_test_data): New variable.
48564         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48565         (exp10_test_data): New variable.
48566         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
48567         (exp2_test_data): New variable.
48568         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
48569         (expm1_test_data): New variable.
48570         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
48571         (fabs_test_data): New variable.
48572         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
48573         (floor_test_data): New variable.
48574         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
48575         (j0_test_data): New variable.
48576         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
48577         (j1_test_data): New variable.
48578         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
48579         (log_test_data): New variable.
48580         (log_test): Run tests with RUN_TEST_LOOP_f_f.
48581         (log10_test_data): New variable.
48582         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
48583         (log1p_test_data): New variable.
48584         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
48585         (log2_test_data): New variable.
48586         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
48587         (logb_test_data): New variable.
48588         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
48589         (logb_downward_test_data): New variable.
48590         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48591         (nearbyint_test_data): New variable.
48592         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
48593         (rint_test_data): New variable.
48594         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
48595         (rint_tonearest_test_data): New variable.
48596         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48597         (rint_towardzero_test_data): New variable.
48598         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48599         (rint_downward_test_data): New variable.
48600         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48601         (rint_upward_test_data): New variable.
48602         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48603         (round_test_data): New variable.
48604         (round_test): Run tests with RUN_TEST_LOOP_f_f.
48605         (sin_test_data): New variable.
48606         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
48607         (sin_tonearest_test_data): New variable.
48608         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48609         (sin_towardzero_test_data): New variable.
48610         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48611         (sin_downward_test_data): New variable.
48612         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48613         (sin_upward_test_data): New variable.
48614         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48615         (sinh_test_data): New variable.
48616         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
48617         (sinh_tonearest_test_data): New variable.
48618         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48619         (sinh_towardzero_test_data): New variable.
48620         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48621         (sinh_downward_test_data): New variable.
48622         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48623         (sinh_upward_test_data): New variable.
48624         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48625         (sqrt_test_data): New variable.
48626         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
48627         (tan_test_data): New variable.
48628         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
48629         (tan_tonearest_test_data): New variable.
48630         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48631         (tan_towardzero_test_data): New variable.
48632         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48633         (tan_downward_test_data): New variable.
48634         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48635         (tan_upward_test_data): New variable.
48636         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48637         (tanh_test_data): New variable.
48638         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
48639         (tgamma_test_data): New variable.
48640         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
48641         (trunc_test_data): New variable.
48642         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
48643         (y0_test_data): New variable.
48644         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
48645         (y1_test_data): New variable.
48646         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
48647         (significand_test_data): New variable.
48648         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
48650 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
48652         [BZ #12387]
48653         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
48655 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48657         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
48659 2013-05-10  Andreas Jaeger  <aj@suse.de>
48661         [BZ #15448]
48662         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
48663         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
48665 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48667         * math/gen-libm-test.pl (adjust_arg): New function.
48668         (special_functions): Handle generating output in both functions
48669         and arrays.
48670         (parse_args): Likewise.
48671         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
48672         $in_func argument to parse_args.
48673         * math/libm-test.inc (struct test_f_f_data): New type.
48674         (IF_ROUND_INIT_): New macro.
48675         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
48676         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48677         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48678         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48679         (ROUND_RESTORE_): Likewise.
48680         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
48681         (ROUND_RESTORE_FE_TONEAREST): Likewise.
48682         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
48683         (ROUND_RESTORE_FE_UPWARD): Likewise.
48684         (RUN_TEST_LOOP_f_f): New macro.
48685         (acos_test_data): New variable.
48686         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
48687         (acos_tonearest_test_data): New variable.
48688         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48690 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48692         * benchtests/bench-skeleton.c (startup): Fix coding style.
48694 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48696         [BZ #6809]
48697         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
48698         negative infinity argument.
48699         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
48700         negative infinity argument.
48701         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
48702         negative infinity argument.
48703         * math/libm-test.inc (tgamma_test): Expect errno to be set for
48704         domain errors.
48706 2013-05-10  Florian Weimer  <fweimer@redhat.com>
48708         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
48709         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
48710         * iconv/iconv_prog.c (main): Likewise.
48711         * locale/programs/charmap-dir.c (charmap_readdir)
48712         (fopen_uncompressed): Likewise.
48713         * locale/programs/locfile.c (siblings_uncached)
48714         (write_locale_data): Use lstat64 instead of lstat.
48715         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
48716         stat.
48718 2013-05-10  Andreas Jaeger  <aj@suse.de>
48720         [BZ #15395]
48721         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
48722         localization.
48723         Include <locale.h>.
48725 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
48727         * elf/dl-close.c (_dl_close_worker): Add comments.
48729 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
48731         [BZ #15359]
48732         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
48733         high part of pi/2.
48734         (__ieee754_rem_pio2l): Update comments.
48736         [BZ #15429]
48737         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
48738         high part of pi/2.
48739         (__ieee754_rem_pio2l): Update comments.
48741         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
48742         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
48744         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
48745         M_PI_4l.
48747         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
48748         (M_PI_34_LOG10El): Likewise.
48749         (M_PI2_LOG10El): Likewise.
48750         (M_PI4_LOG10El): Likewise.
48751         (M_PI_LOG10El): Likewise.
48753 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48757 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
48759         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
48760         (MINUS_ZERO_INIT): Likewise.
48761         (PLUS_INFTY_INIT): Likewise.
48762         (MINUS_INFTY_INIT): Likewise.
48763         (QNAN_VALUE_INIT): Likewise.
48764         (MAX_VALUE_INIT): Likewise.
48765         (MIN_VALUE_INIT): Likewise.
48766         (MIN_SUBNORM_VALUE_INIT): Likewise.
48767         (plus_zero): Initialize with PLUS_ZERO_INIT.
48768         (minus_zero): Initialize with MINUS_ZERO_INIT.
48769         (plus_infty): Initialize with PLUS_INFTY_INIT.
48770         (minus_infty): Initialize with MINUS_INFTY_INIT.
48771         (qnan_value): Initialize with QNAN_VALUE_INIT.
48772         (max_value): Initialize with MAX_VALUE_INIT.
48773         (min_value): Initialize with MIN_VALUE_INIT.
48774         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
48776         * math/libm-test.inc (RUN_TEST_if_f): New macro.
48777         (jn_test): Use TEST_if_f instead of TEST_ff_f.
48778         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
48779         (yn_test): Use TEST_if_f instead of TEST_ff_f.
48781         * math/libm-test.inc (RUN_TEST_f_f): New macro.
48782         (RUN_TEST_2_f): Likewise.
48783         (RUN_TEST_ff_f): Likewise.
48784         (RUN_TEST_fi_f): Likewise.
48785         (RUN_TEST_fl_f): Likewise.
48786         (RUN_TEST_fff_f): Likewise.
48787         (RUN_TEST_c_f): Likewise.
48788         (RUN_TEST_f_f1): Likewise.
48789         (RUN_TEST_fF_f1): Likewise.
48790         (RUN_TEST_fI_f1): Likewise.
48791         (RUN_TEST_ffI_f1): Likewise.
48792         (RUN_TEST_c_c): Likewise.
48793         (RUN_TEST_cc_c): Likewise.
48794         (RUN_TEST_f_i): Likewise.
48795         (RUN_TEST_f_i_tg): Likewise.
48796         (RUN_TEST_ff_i_tg): Likewise.
48797         (RUN_TEST_f_b): Likewise.
48798         (RUN_TEST_f_b_tg): Likewise.
48799         (RUN_TEST_f_l): Likewise.
48800         (RUN_TEST_f_L): Likewise.
48801         (RUN_TEST_sincos): Likewise.
48802         * math/gen-libm-test.pl (new_test): Take new argument to indicate
48803         whether to show exceptions.  Do not include ");\n" in return
48804         value.
48805         (special_functions): Output call to RUN_TEST_sincos instead of
48806         check_float calls.  Update calls to new_test.
48807         (parse_args): Output call to single RUN_TEST_* macro instead of
48808         check_* calls and other assignments.  Update calls to new_test.
48810         [BZ #2546]
48811         [BZ #2560]
48812         [BZ #5159]
48813         [BZ #15426]
48814         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
48815         input to result for tgamma overflow.
48816         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
48817         (gamma_coeff): New variable.
48818         (NCOEFF): New macro.
48819         (gamma_positive): New function.
48820         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
48821         underflow here.  Use gamma_positive instead of exp (lgamma) for
48822         other arguments.
48823         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
48824         (gamma_coeff): New variable.
48825         (NCOEFF): New macro.
48826         (gammaf_positive): New function.
48827         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
48828         underflow here.  Use gamma_positive instead of exp (lgamma) for
48829         other arguments.
48830         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
48831         (gamma_coeff): New variable.
48832         (NCOEFF): New macro.
48833         (gammal_positive): New function.
48834         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
48835         underflow here.  Use gamma_positive instead of exp (lgamma) for
48836         other arguments.
48837         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
48838         (gamma_coeff): New variable.
48839         (NCOEFF): New macro.
48840         (gammal_positive): New function.
48841         (__ieee754_gammal_r): Handle positive infinity, overflow and
48842         underflow here.  Handle NaN the same as positive infinity.  Remove
48843         check x < 0xffffffff for negative integers.  Use gamma_positive
48844         instead of exp (lgamma) for other arguments.
48845         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
48846         (gamma_coeff): New variable.
48847         (NCOEFF): New macro.
48848         (gammal_positive): New function.
48849         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
48850         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
48851         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
48852         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
48853         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
48854         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
48855         * sysdeps/generic/math_private.h (__gamma_productf): New
48856         prototype.
48857         (__gamma_product): Likewise.
48858         (__gamma_productl): Likewise.
48859         * math/Makefile (libm-calls): Add gamma_product.
48860         * math/libm-test.inc (tgamma_test): Add more tests.
48861         * sysdeps/i386/fpu/libm-test-ulps: Update.
48862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48864 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
48866         * benchtests/bench-skeleton.c (main): Preheat CPU.
48868 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
48870         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
48872 2013-05-07  Roland McGrath  <roland@hack.frob.com>
48874         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
48875         and _dl_skip_args_internal.
48877 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
48879         * manual/message.texi (Message Translation): Talk about users.
48880         Message to key mapping impacts design.
48882 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48884         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
48886         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
48888         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
48889         * sysdeps/wordsize-64/glob64.c: ... here.
48891         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
48892         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
48893         New macros.
48895         * debug/getlogin_r_chk.c: Moved to ...
48896         * login/getlogin_r_chk.c: ... here.
48897         * debug/Makefile (routines): Move getlogin_r_chk to ...
48898         * login/Makefile (routines): ... here.
48899         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
48900         * login/Versions (libc: GLIBC_2.4): ... here.
48902         * io/poll.c (__poll): Renamed from poll.
48903         Add libc_hidden_def.
48904         (poll): Define as weak alias.
48906         * debug/ptsname_r_chk.c: Moved to ...
48907         * login/ptsname_r_chk.c: ... here.
48908         * debug/Makefile (routines): Move ptsname_r_chk to ...
48909         * login/Makefile (routines): ... here.
48910         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
48911         * login/Versions (libc: GLIBC_2.4): ... here.
48913         * posix/getlogin.c: Moved to ...
48914         * login/getlogin.c: ... here.
48915         * posix/getlogin_r.c: Moved to ...
48916         * login/getlogin_r.c: ... here.
48917         * posix/getlogin_r.c: Moved to ...
48918         * login/getlogin_r.c: ... here.
48919         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
48920         * login/Makefile (routines): ... here.
48921         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
48922         * login/Versions (libc: GLIBC_2.0): ... here.
48924         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
48925         (setrlimit): Define as weak alias.
48927         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
48928         Call __ names for open, ftruncate, and close.
48929         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
48930         (truncate): Define as weak alias.
48932 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
48934         * math/gen-libm-test.pl (parse_args): Initialize x before each
48935         test of frexp, modf and remquo.
48937         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
48938         test signgam value.
48940 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48942         [BZ #15418]
48943         [BZ #15419]
48944         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
48945         internal tests.
48946         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48948 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48950         * elf/dl-writev.h: New file.
48951         * elf/dl-misc.c: Include it.
48952         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
48953         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
48955 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
48957         * math/libm-test.inc (noXFails): Remove variable.
48958         (noXPasses): Likewise.
48959         (BUILD_COMPLEX_INT): Remove macro.
48960         (print_screen): Remove xfail argument.
48961         (print_screen_max_error): Likewise.
48962         (update_stats): Likewise.
48963         (print_max_error): Likewise.  Update calls to other affected
48964         functions.
48965         (print_complex_max_error): Likewise.
48966         (test_single_exception): Update calls to print_screen.
48967         (test_single_errno): Likewise.
48968         (check_float_internal): Remove xfail argument.  Update calls to
48969         other affected functions.
48970         (check_float): Likewise.
48971         (check_complex): Likewise.
48972         (check_int): Likewise.
48973         (check_long): Likewise.
48974         (check_bool): Likewise.
48975         (check_longlong): Likewise.
48976         (main): Don't print noXFails and noXPasses.
48977         * math/gen-libm-test.pl (top level): Don't mention expected
48978         failure handling in comment.
48979         (new_test): Don't handle expected failures.
48980         (parse_args): Don't mention expected failure handling in comment.
48981         (generate_testfile): Don't handle expected failures.
48982         (parse_ulps): Likewise.
48983         (print_ulps_file): Likewise.
48984         (get_failure): Remove function.
48985         (output_test): Don't handle expected failures.
48986         * make/README.libm-test: Don't mention expected failure handling.
48988         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
48989         (minus_zero): Likewise.
48990         (plus_infty): Likewise.
48991         (minus_infty): Likewise.
48992         (qnan_value): Likewise.
48993         (max_value): Likewise.
48994         (min_value): Likewise.
48995         (min_subnorm_value): Likewise.
48996         (initialize): Do not initialize those variables dynamically.
48998 2013-05-03  Roland McGrath  <roland@hack.frob.com>
49000         * io/open.c (__open_2): Moved to ...
49001         * io/open_2.c: ... this new file.
49002         * io/open64.c (__open64_2): Moved to ...
49003         * io/open64_2.c: ... this new file.
49004         * io/openat.c (__openat_2): Moved to ...
49005         * io/openat_2.c: ... this new file.
49006         * io/openat64.c (__openat64_2): Moved to ...
49007         * io/openat64_2.c: ... this new file.
49008         * io/Makefile (routines): Add them.
49009         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
49010         * sysdeps/unix/sysv/linux/open_2.c: File removed.
49011         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
49012         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
49013         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
49014         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
49015         (__openat64): Add hidden_ver.
49016         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
49017         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
49019         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
49020         Separately conditionalize setting of GLRO(dl_sysinfo) so
49021         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
49022         as well, but the actual setting is only under [NEED_DL_SYSINFO].
49024 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49026         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
49027         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
49028         definition.
49029         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
49030         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49031         (_libc_vdso_platform_setup): Add __vdso_time initialization.
49032         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
49033         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
49035 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
49037         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
49038         test signgam value.
49040         * math/libm-test.inc (hypot_test): Do not use
49041         IGNORE_ZERO_INF_SIGN.
49043 2013-05-03  Andreas Jaeger  <aj@suse.de>
49045         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
49046         Linux 3.9.
49047         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
49048         (PF_MAX): Adjust for VSOCK change.
49050 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49054 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
49056         [BZ #15264]
49057         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
49058         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
49059         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
49061 2013-05-02  David S. Miller  <davem@davemloft.net>
49063         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49065 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
49067         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
49069 2013-05-01  Roland McGrath  <roland@hack.frob.com>
49071         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
49073 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
49075         [BZ #14952]
49076         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
49077         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49078         Use __attribute__ ((__gnu_inline__)).
49079         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49080         Don't use __attribute__ ((__gnu_inline__)).
49082 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
49084         [BZ #15423]
49085         * math/s_catan.c (__catan): Handle small real or imaginary part of
49086         input specially to avoid spurious underflow.
49087         * math/s_catanf.c (__catanf): Likewise.
49088         * math/s_catanh.c (__catanh): Likewise.
49089         * math/s_catanhf.c (__catanhf): Likewise.
49090         * math/s_catanhl.c (__catanhl): Likewise.
49091         * math/s_catanl.c (__catanl): Likewise.
49092         * math/libm-test.inc (catan_test): Add more tests.
49093         (catanh_test): Likewise.
49094         * sysdeps/i386/fpu/libm-test-ulps: Update.
49095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49097 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49101 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
49103         [BZ #15416]
49104         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
49105         accurately for denominator in atan2.
49106         * math/s_catanf.c (__catanf): Likewise.
49107         * math/s_catanh.c (__catanh): Likewise.
49108         * math/s_catanhf.c (__catanhf): Likewise.
49109         * math/s_catanhl.c (__catanhl): Likewise.
49110         * math/s_catanl.c (__catanl): Likewise.
49111         * math/libm-test.inc (catan_test): Add more tests.
49112         (catanh_test): Likewise.
49113         * sysdeps/i386/fpu/libm-test-ulps: Update.
49114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49116 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49118         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
49120         * benchtests/Makefile (bench): Remove slow benchmarks.
49121         * benchtests/atan-inputs: Add slow benchmark inputs.
49122         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
49123         (BENCH_FUNC): Accept variant offset.
49124         (VARIANT): Define.
49125         * benchtests/bench-skeleton.c (main): Run benchmark for each
49126         variant.
49127         * benchtests/cos-inputs: Add slow benchmark inputs.
49128         * benchtests/exp-inputs: Likewise.
49129         * benchtests/pow-inputs: Likewise.
49130         * benchtests/sin-inputs: Likewise.
49131         * benchtests/slowatan-inputs: Remove.
49132         * benchtests/slowatan.c: Remove.
49133         * benchtests/slowcos-inputs: Remove.
49134         * benchtests/slowcos.c: Remove.
49135         * benchtests/slowexp-inputs: Remove.
49136         * benchtests/slowexp.c: Remove.
49137         * benchtests/slowpow-inputs: Remove.
49138         * benchtests/slowpow.c: Remove.
49139         * benchtests/slowsin-inputs: Remove.
49140         * benchtests/slowsin.c: Remove.
49141         * benchtests/slowtan-inputs: Remove.
49142         * benchtests/slowtan.c: Remove.
49143         * benchtests/tan-inputs: Add slow benchmark inputs.
49144         * scripts/bench.pl: Parse comments and directives.
49146         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
49147         in CPPFLAGS.
49148         ($(objpfx)bench-%.c): Remove *-ITER.
49149         * benchtests/bench-modf.c: Remove definition of ITER.
49150         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49151         (main): Loop for DURATION seconds instead of fixed number of
49152         iterations.
49153         * scripts/bench.pl: Don't expect iterations in parameters.
49155 2013-04-29  Roland McGrath  <roland@hack.frob.com>
49157         * io/fchdir.c (__fchdir): Renamed from fchdir.
49158         (fchdir): Define as weak alias.
49160 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49162         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49163         (ERRNO_EDOM): Likewise.
49164         (ERRNO_ERANGE): Likewise.
49165         (noErrnoTests): New variable.
49166         (init_max_error): Set errno to 0.
49167         (test_single_errno): New function.
49168         (test_errno): Likewise.
49169         (check_float_internal): Call test_errno.  Set errno to 0.
49170         (check_complex): Refer to errno tests in comment.
49171         (check_int): Call test_errno.  Set errno to 0.
49172         (check_long): Likewise.
49173         (check_bool): Likewise.
49174         (check_longlong): Likewise.
49175         (cos_test): Use ERRNO_* flags for errno tests instead of
49176         check_int.
49177         (expm1_test): Likewise.
49178         (fmod_test): Likewise.
49179         (ilogb_test): Likewise.
49180         (lgamma_test): Likewise.
49181         (pow_test): Likewise.
49182         (remainder_test): Likewise.
49183         (sin_test): Likewise.
49184         (tan_test): Likewise.
49185         (yn_test): Likewise.
49186         (initialize): Set errno to 0.
49187         (main): Print number of errno tests.
49188         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
49190 2013-04-29  Andreas Jaeger  <aj@suse.de>
49192         [BZ #15084]
49193         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
49194         and RES_USEVC.
49196         [BZ #15085]
49197         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
49198         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
49199         unimplemented.
49201         [BZ #15380]
49202         * stdlib/random.c (__initstate): Return NULL if
49203         __initstate fails.
49205         [BZ #15086]
49206         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
49207         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
49208         RES_SNGLKUPREOP.
49210 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49214 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49216         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
49217         of individual tests.
49218         (casin_test): Likewise.
49219         (casinh_test): Likewise.
49221 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
49223         [BZ #15409]
49224         * math/s_catan.c (__catan): Handle arguments with large real or
49225         imaginary part separately without squaring.
49226         * math/s_catanf.c (__catanf): Likewise.
49227         * math/s_catanh.c (__catanh): Likewise.
49228         * math/s_catanhf.c (__catanhf): Likewise.
49229         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49230         and redefine.
49231         (__catanhl): Handle arguments with large real or imaginary part
49232         separately without squaring.
49233         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49234         and redefine.
49235         (__catanl): Handle arguments with large real or imaginary part
49236         separately without squaring.
49237         * math/libm-test.inc (catan_test): Add more tests.
49238         (catanh_test): Likewise.
49239         * sysdeps/i386/fpu/libm-test-ulps: Update.
49240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49242 2013-04-27  Andreas Jaeger  <aj@suse.de>
49244         [BZ #15007]
49245         * stdlib/stdlib.h: Update guards for qecvt.
49246         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
49247         <stdlib.h>.
49249 2013-04-27  Allan McRae  <allan@archlinux.org>
49251         * sysdeps/i386/fpu/libm-test-ulps: Update.
49253 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
49255         [BZ #15406]
49256         * math/s_catan.c: Include <float.h>.
49257         (__catan): Ensure underflow exception occurs for underflowed
49258         result.
49259         * math/s_catanf.c: Include <float.h>.
49260         (__catanf): Ensure underflow exception occurs for underflowed
49261         result.
49262         * math/s_catanh.c: Include <float.h>.
49263         (__catanh): Ensure underflow exception occurs for underflowed
49264         result.
49265         * math/s_catanhf.c: Include <float.h>.
49266         (__catanhf): Ensure underflow exception occurs for underflowed
49267         result.
49268         * math/s_catanhl.c: Include <float.h>.
49269         (__catanhl): Ensure underflow exception occurs for underflowed
49270         result.
49271         * math/s_catanl.c: Include <float.h>.
49272         (__catanl): Ensure underflow exception occurs for underflowed
49273         result.
49274         * math/libm-test.inc (catan_test): Add more tests.
49275         (catanh_test): Likewise.
49277         [BZ #15405]
49278         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49279         underflowed result.
49280         * math/s_ccoshf.c (__ccoshf): Likewise.
49281         * math/s_ccoshl.c (__ccoshl): Likewise.
49282         * math/s_csin.c (__csin): Likewise.
49283         * math/s_csinf.c (__csinf): Likewise.
49284         * math/s_csinh.c (__csinh): Likewise.
49285         * math/s_csinhf.c (__csinhf): Likewise.
49286         * math/s_csinhl.c (__csinhl): Likewise.
49287         * math/s_csinl.c (__csinl): Likewise.
49288         * math/libm-test.inc (ccos_test): Add more tests.
49289         (ccosh_test): Likewise.
49290         (csin_test): Likewise.
49291         (csinh_test): Likewise.
49293 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49295         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49296         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49297         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49298         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49299         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49300         powerpc/power5+/fpu folders.
49301         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49304 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49306         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49308 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
49310         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49311         additions to variable.
49312         [$(config-machine) = x86_64] (modules-names): Likewise.
49313         ($(objpfx)tst-audit3): Remove dependency.
49314         ($(objpfx)tst-audit3.out): Likewise.
49315         ($(objpfx)tst-audit4): Likewise.
49316         ($(objpfx)tst-audit4.out): Likewise.
49317         ($(objpfx)tst-audit5): Likewise.
49318         ($(objpfx)tst-audit5.out): Likewise.
49319         ($(objpfx)tst-audit6): Likewise.
49320         ($(objpfx)tst-audit6.out): Likewise.
49321         ($(objpfx)tst-audit7): Likewise.
49322         ($(objpfx)tst-audit7.out): Likewise.
49323         (tst-audit3-ENV): Remove variable.
49324         (tst-audit4-ENV): Likewise.
49325         (tst-audit5-ENV): Likewise.
49326         (tst-audit6-ENV): Likewise.
49327         (tst-audit7-ENV): Likewise.
49328         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49329         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49330         addition to variable.
49331         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49332         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49333         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49334         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49335         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49336         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49337         tst-audit3, tst-audit4 and tst-audit5.
49338         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
49339         tst-audit6 and tst-audit7.
49340         [$(subdir) = elf] (modules-names): Add audit modules for those
49341         tests.
49342         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
49343         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
49344         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
49345         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
49346         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
49347         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
49348         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
49349         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
49350         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
49351         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
49352         [$(subdir) = elf] (tst-audit3-ENV): New variable.
49353         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
49354         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
49355         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
49356         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
49357         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
49358         Likewise.
49359         [$(subdir) = elf && $(config-cflags-avx) = yes]
49360         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
49361         [$(subdir) = elf && $(config-cflags-avx) = yes]
49362         (CFLAGS-tst-auditmod4a.c): Likewise.
49363         [$(subdir) = elf && $(config-cflags-avx) = yes]
49364         (CFLAGS-tst-auditmod4b.c): Likewise.
49365         [$(subdir) = elf && $(config-cflags-avx) = yes]
49366         (CFLAGS-tst-auditmod6b.c): Likewise.
49367         [$(subdir) = elf && $(config-cflags-avx) = yes]
49368         (CFLAGS-tst-auditmod6c.c): Likewise.
49369         [$(subdir) = elf && $(config-cflags-avx) = yes]
49370         (CFLAGS-tst-auditmod7b.c): Likewise.
49371         * elf/tst-audit3.c: Move to ...
49372         * sysdeps/x86_64/tst-audit3.c: ... here.
49373         * elf/tst-audit4.c: Move to ...
49374         * sysdeps/x86_64/tst-audit4.c: ... here.
49375         * elf/tst-audit5.c: Move to ...
49376         * sysdeps/x86_64/tst-audit5.c: ... here.
49377         * elf/tst-audit6.c: Move to ...
49378         * sysdeps/x86_64/tst-audit6.c: ... here.
49379         * elf/tst-audit7.c: Move to ...
49380         * sysdeps/x86_64/tst-audit7.c: ... here.
49381         * elf/tst-auditmod3a.c: Move to ...
49382         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
49383         * elf/tst-auditmod3b.c: Move to ...
49384         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
49385         * elf/tst-auditmod4a.c: Move to ...
49386         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
49387         * elf/tst-auditmod4b.c: Move to ...
49388         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
49389         * elf/tst-auditmod5a.c: Move to ...
49390         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
49391         * elf/tst-auditmod5b.c: Move to ...
49392         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
49393         * elf/tst-auditmod6a.c: Move to ...
49394         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
49395         * elf/tst-auditmod6b.c: Move to ...
49396         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
49397         * elf/tst-auditmod6c.c: Move to ...
49398         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
49399         * elf/tst-auditmod7a.c: Move to ...
49400         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
49401         * elf/tst-auditmod7b.c: Move to ...
49402         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
49404 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
49406         [BZ #15366]
49407         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
49408         define unconditionally.
49409         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
49410         define unconditionally.
49411         (INT8_C, INT16_C, etc.): Likewise.
49413 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
49415         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
49416         __ehdr_start with hidden visibility.
49418         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
49420 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
49422         * math/libm-test.inc (cos_test): Use accurate hex constants.
49423         (sincost_test): Likewise.
49425 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
49427         * math/libm-test.inc (catan_test): Add more tests.
49428         (catanh_test): Likewise.
49430         * math/s_catanf.c (__catanf): Use suffixed floating-point
49431         constants.
49432         * math/s_catanhf.c (__catanhf): Likewise.
49433         * math/s_catanhl.c (__catanhl): Likewise.
49434         * math/s_catanl.c (__catanl): Likewise.
49436         [BZ #15394]
49437         * math/s_catan.c (__catan): Calculate imaginary part of result
49438         with log1p not log unless computing log of number close to 0.
49439         * math/s_catanf.c (__catanf): Likewise.
49440         * math/s_catanl.c (__catanl): Likewise.
49441         * math/s_catanh.c (__catanh): Calculate real part of result with
49442         log1p not log unless computing log of number close to 0.
49443         * math/s_catanhf.c (__catanhf): Likewise.
49444         * math/s_catanhl.c (__catanhl): Likewise.
49445         * math/libm-test.inc (catan_test): Add more tests.
49446         (catanh_test): Likewise.
49447         * sysdeps/i386/fpu/libm-test-ulps: Update.
49448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49450 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49452         * benchtests/Makefile: Mention files in which fast and slow
49453         paths of math functions are implemented.
49455 2013-04-23  Roland McGrath  <roland@hack.frob.com>
49457         * sysdeps/posix/timespec_get.c: New file.
49459 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49461         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
49462         POWER.
49463         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
49464         for POWER.
49465         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
49466         powerpc/power5/fpu folders.
49467         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
49468         * benchtests/Makefile: Add modf testcase.
49469         * benchtests/bench-modf.c: New file: Benchmark test for mo
49471 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49473         [BZ #14888]
49474         * time/Makefile (tests): Add tst-strptime-whitespace.
49475         * time/strptime_l.c (get_number): Use ISSPACE.
49476         (__strptime_internal): Likewise.
49477         * time/tst-strptime-whitespace.c: New test case.
49479 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
49481         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
49482         member.
49483         (_nss_files_init): Set it here.
49485 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
49487         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
49488         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
49489         unsigned.
49491 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
49493         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
49495 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49497         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
49498         size just once.
49500 2013-04-21  David S. Miller  <davem@davemloft.net>
49502         * po/ru.po: Update Russion translation from translation project.
49504 2013-04-17  Adam Conrad  <adconrad@0c3.net>
49506         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
49507         and setfsgid.
49509 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
49511         * configure.in: Remove i386 configure warning. Remove i386 case.
49512         * configure: Regenerate.
49513         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
49514         Add example to error message.
49515         * sysdeps/i386/configure: Regenerate.
49517 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49519         * benchtests/Makefile (bench): Add cos, tan, slowcos and
49520         slowtan.
49521         * benchtests/cos-inputs: New file.
49522         * benchtests/slowcos-inputs: New file.
49523         * benchtests/slowcos.c: New file.
49524         * benchtests/slowtan-inputs: New file.
49525         * benchtests/slowtan.c: New file.
49526         * benchtests/tan-inputs: New file.
49528 2013-04-16  Roland McGrath  <roland@hack.frob.com>
49530         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
49531         considered kosher.
49533 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49535         * benchtests/Makefile: Include cppflags-iterator.mk to add
49536         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
49538         * Makefile.in (bench-clean): New target.
49539         * benchtests/Makefile (bench-clean): Likewise.
49541 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
49543         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
49545 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
49547         * stdio-common/tstdiomisc.c: Fix coding-style violation.
49549 2013-04-15  Andreas Schwab  <schwab@suse.de>
49551         * nscd/grpcache.c (cache_addgr): Properly check for short write.
49552         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49553         * nscd/pwdcache.c (cache_addpw): Likewise.
49554         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
49555         more than recsize.
49557 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49559         * benchtests/Makefile (bench): Write all output to
49560         bench-out.tmp together.
49562 2013-04-15  Andreas Schwab  <schwab@suse.de>
49564         * nscd/nscd.c (main): Don't fork again after closing files.
49566 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49568         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
49570         * benchtests/Rules (bench-deps): Collect dependencies into a
49571         single variable.  Add Makefile to dependencies.
49572         ($(objpfx)bench-%.c): Depend on bench-deps.
49574 2013-04-12  Roland McGrath  <roland@hack.frob.com>
49575             Xavier Roche  <roche+kml2@exalead.com>
49577         [BZ #15361]
49578         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
49579         just that it's a file descriptor.
49580         * manual/llio.texi (Synchronizing AIO Operations): Update description
49581         for EBADF error from aio_fsync.
49583 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49585         * Rules (bench): Move target definition...
49586         * benchtests/Makefile: ... here.
49588 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
49590         * math/libm-test.inc (cos_test): Fix PI/2 test.
49591         (sincos_test): Likewise.
49592         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49593         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
49595 2013-04-11  Andreas Schwab  <schwab@suse.de>
49597         [BZ #13988]
49598         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
49599         accept exponent character only when digits were seen.
49600         * stdio-common/Makefile (tests): Add bug26.
49601         * stdio-common/bug26.c: New file.
49603         [BZ #14293]
49604         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
49605         non-freeable.
49607 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49609         * Makeconfig (rtld-prefix): Define built linker prefix.
49610         * Rules (run-bench): Use it.
49611         * math/Makefile (run-regen-ulps): Likewise.
49613         * Rules (bench): Remove eval.
49615 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49616             Roland McGrath  <roland@hack.frob.com>
49617             Ondrej Bilka  <neleai@seznam.cz>
49619         [BZ #15346]
49620         * time/getdate.c: Include ctype.h and alloca.h.
49621         (__getdate_r): Trim leading and trailing spaces of input.
49622         * time/tst-getdate.c (tests): Add tests with leading and
49623         trailing spaces.
49625 2013-04-08  Roland McGrath  <roland@hack.frob.com>
49627         [BZ #14280]
49628         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
49629         when computing value.
49631 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49633         * math/README.libm-test (How can I generate "libm-test-ulps"?):
49634         Use testrun.sh to run libm tests.
49636         [BZ #15309]
49637         * elf/dl-open.c (dl_open_worker): memset all of seen array.
49639 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
49641         [BZ #15264]
49642         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
49644 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49646         * Makefile.in (regen-ulps): New target.
49647         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
49648         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
49649         [ifneq (no,$(PERL)] (regen-ulps): New target.
49650         [ifeq (no,$(PERL)] (regen-ulps): New target.
49651         * math/libm-test.inc (ulps_file_name): Define.
49652         (output_dir): New variable.
49653         (options): Add "output-dir" option.
49654         (parse_opt): Handle 'o' case.
49655         (main): If output_dir is non-NULL use it as a prefix
49656         otherwise use "".
49657         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
49659 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49661         [BZ #10060, #10062]
49662         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
49663         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
49664         fail configure if __sync_val_compare_and_swap is not inlined.
49665         * sysdeps/i386/configure: Regenerate.
49666         * configure.in: Build for i686 when configured for i386.
49667         * configure: Regenerate.
49668         * README: Remove i386 reference.
49670 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49672         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
49673         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49675 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49677         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
49678         (lmsnanval): New variables.
49679         (F): Add conversion tests.
49680         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
49681         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
49683         * stdio-common/tstdiomisc.c (F): Properly collect individual
49684         tests' results.
49686         [BZ #14686, #15336]
49687         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
49688         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
49689         Instead, use input NaN values or generate a qNaN by arithmetic
49690         operation.  Also fix bugs to comply with the standard.
49691         * math/libm-test.inc (remainder_test): Add more tests.
49693         [BZ #15335, #15342]
49694         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
49695         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
49696         input NaN values or generate a qNaN by arithmetic operation.
49698         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
49699         unreachable code.
49701         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
49702         definitions.
49704 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
49706         [BZ #14478]
49707         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
49708         underflowed result.
49709         * math/s_cexpf.c (__cexpf): Likewise.
49710         * math/s_cexpl.c (__cexpl): Likewise.
49711         * math/libm-test.inc (cexp_test): Add more tests.
49713 2013-04-03  Andreas Schwab  <schwab@suse.de>
49715         [BZ #15330]
49716         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
49717         order arrays from heap if bigger than alloca cutoff.
49719 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
49721         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
49722         (SNAN_TESTS_double): Refer to GCC PR56831.
49723         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
49724         GCC PR56828.
49726 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49728         * Rules (bench): Move bench.out after the run is complete.
49730         * Rules (bench): Echo currently running benchmark.
49732         * benchtests/Makefile (bench): Add atan and slowatan.
49733         * benchtests/atan-inputs: New file.
49734         * benchtests/slowatan-inputs: New file.
49735         * benchtests/slowatan.c: New file.
49737         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
49738         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
49739         its value.
49741         [BZ #15305]
49742         * sysdeps/unix/sysv/linux/kernel-features.h
49743         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
49744         __ASSUME_XFS_RESTRICTED_CHOWN.
49745         * sysdeps/unix/sysv/linux/pathconf.c
49746         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49747         Save and restore errno.
49749 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
49751         [BZ #15327]
49752         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
49753         arguments using __kernel_casinh.
49754         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
49755         arguments using __kernel_casinhf.
49756         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
49757         arguments using __kernel_casinhl.
49758         * math/libm-test.inc (cacosh_test): Add more tests.
49759         * sysdeps/i386/fpu/libm-test-ulps: Update.
49760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49762 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49764         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
49765         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
49767         * bench/Makefile (bench): Add sin and slowsin.
49768         * benchtests/sin-inputs: New file.
49769         * benchtests/slowsin-inputs: New file.
49770         * benchtests/slowsin.c: New file.
49772         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
49773         (bench): Add slowexp and slowpow.
49774         (exp-ITER): Increase iterations.
49775         (pow-ITER): Likewise.
49776         * benchtests/exp-inputs: Change input.
49777         * benchtests/pow-inputs: Likewise.
49778         * benchtests/slowexp-inputs: New file.
49779         * benchtests/slowexp.c: New file.
49780         * benchtests/slowpow-inputs: New file.
49781         * benchtests/slowpow.c: New file.
49783 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49785         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
49786         instructions.
49787         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49788         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
49789         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49790         * benchtests/Makefile: Add rint benchtest.
49791         * benchtests/rint-inputs: Input for rint benchtest.
49793 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49795         * Versions.def (libm): Add GLIBC_2.18.
49796         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
49797         hidden libm prototypes.
49798         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
49799         * math/Makefile (libm-calls): Add s_issignaling.
49800         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
49801         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
49802         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
49803         declaration.
49804         * math/math.h [__USE_GNU] (issignaling): New macro.
49805         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
49806         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
49807         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
49808         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
49809         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
49810         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
49811         * manual/arith.texi (issignaling): New section.
49812         * manual/libm-err-tab.pl (@all_functions): Update comment.
49813         * math/gen-libm-test.pl (parse_args): Apply special handling for
49814         issignaling.
49815         * math/libm-test.inc (print_float, issignaling_test): New
49816         functions.
49817         (check_float_internal): Add issignaling checks.
49818         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
49819         default definition.
49820         * sysdeps/powerpc/math-tests.h: New file.
49821         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
49822         tests.
49823         * math/test-snan.c (TEST_FUNC): Likewise.
49825 2013-03-30  David S. Miller  <davem@davemloft.net>
49827         * po/de.po: Update from translation team.
49829 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
49831         [BZ #10357]
49832         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49833         imaginary part less than 1.0 and real part less than 0.5
49834         specially.
49835         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49836         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49837         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
49838         (cacos_test): Add more tests.
49839         (casin_test): Likewise.
49840         (casinh_test): Likewise.
49841         * sysdeps/i386/fpu/libm-test-ulps: Update.
49842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49844 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49846         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
49847         ONE with its value.
49849         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
49850         (__pow_mp): Replace ONE and MONE with their values.
49851         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49852         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
49853         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49854         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
49855         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49856         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49858         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
49860         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
49861         (__pow_mp): Replace ZERO and MZERO with their values.
49862         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49863         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49864         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49865         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49866         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49867         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
49868         (__sqr): Likewise.
49870         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
49872         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
49874 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49876         * include/stdlib.h [!SHARED] (__call_tls_dtors):
49877         Declare with __attribute__ ((weak)).
49878         * stdlib/exit.c (__libc_atexit) [!SHARED]:
49879         Call __call_tls_dtors only if it's not NULL.
49881 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49883         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
49884         didn't do it already, then set _dl_phdr and _dl_phnum based on the
49885         magic __ehdr_start linker symbol if it's defined.
49886         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
49887         them up here if it was already done.
49889         * elf/dl-support.c (_dl_phdr): Make pointer to const.
49890         (_dl_aux_init): Use const in cast when setting it.
49891         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
49892         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
49893         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
49895         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
49896         Declare them here.
49897         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
49898         * csu/libc-tls.c: Nor here.
49899         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
49901         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
49902         (__libc_message): Never call vsyslog.
49904 2013-03-28  Alan Modra  <amodra@gmail.com>
49906         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
49907         Define as empty.
49908         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
49909         Likewise.
49911 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49913         [BZ #15214]
49914         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
49915         underflow.
49916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49918 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49920         [BZ #15304]
49921         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49922         Don't add gid passed as argument.
49924         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
49926 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
49928         [BZ #15307]
49929         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49930         imaginary part between 1.0 and 1.5 and real part less than 0.5
49931         specially.
49932         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49933         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49934         * math/libm-test.inc (cacos_test): Add more tests.
49935         (casin_test): Likewise.
49936         (casinh_test): Likewise.
49937         * sysdeps/i386/fpu/libm-test-ulps: Update.
49938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49940 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49942         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
49943         constants.
49944         (norm): Likewise.
49945         (denorm): Likewise.
49946         (__dbl_mp): Likewise.
49947         (add_magnitudes): Likewise.
49948         (sub_magnitudes): Likewise.
49949         (__add): Likewise.
49950         (__sub): Likewise.
49951         (__mul): Likewise.
49952         (__sqr): Likewise.
49953         (__inv): Likewise.
49954         (__dvd): Likewise.
49956         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
49957         commented code.
49958         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
49959         (__dubcos): Likewise.
49960         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
49961         (__ieee754_acos): Likewise.
49962         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49963         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
49964         (__exp1): Likewise.
49965         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49966         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49967         (log1): Likewise.
49968         (my_log2): Likewise.
49969         (checkint): Likewise.
49970         * sysdeps/ieee754/dbl-64/e_remainder.c
49971         (__ieee754_remainder): Likewise.
49972         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49973         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
49974         (bsloww): Likewise.
49975         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49977         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49978         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
49979         MANTISSA_STORE_T to store computations on mantissa.  Use
49980         macros for rounding and division.
49981         (denorm): Likewise.
49982         (__dbl_mp): Likewise.
49983         (add_magnitudes): Likewise.
49984         (sub_magnitudes): Likewise.
49985         (__mul): Likewise.
49986         (__sqr): Likewise.
49987         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49988         powers of two in terms of TWOPOW macro.
49989         (mp_no): Make type of mantissa as MANTISSA_T.
49990         [!RADIXI]: Define RADIXI.
49991         [!TWO52]: Define TWO52.
49992         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49994 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49996         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
49997         llroundl symbol when building for PPC32.
49999 2013-03-24  Mark H Weaver  <mhw@netris.org>
50001         * manual/arith.texi (Normalization Functions): Fix prototypes for
50002         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
50004 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50006         [BZ #13889]
50007         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
50008         high value to check if expl overflow.
50009         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
50010         to check for underflow and overflow.
50011         * math/libm-test.inc: Add exp test.
50013 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
50015         [BZ #11120]
50016         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
50017         with NOT_IN_libc.
50019 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50021         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
50022         symbol.
50024 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50026         * math/gen-libm-test.pl (parse_args, special_functions): Properly
50027         wrap blocks consisting of several statements.
50029         * sysdeps/generic/math-tests.h: New file.
50030         * sysdeps/i386/fpu/math-tests.h: Likewise.
50031         * math/test-snan.c: Include it.
50032         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
50034 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50036         [BZ #15285]
50037         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
50038         (__ieee754_j0l): Do not improve calculations using cos of twice
50039         input for inputs above LDBL_MAX / 2.0L.
50040         (__ieee754_y0l): Likewise.
50041         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
50042         (__ieee754_j1l): Do not improve calculations using cos of twice
50043         input for inputs above LDBL_MAX / 2.0L.
50044         (__ieee754_y1l): Likewise.
50045         * math/libm-test.inc (j0_test): Add another test.
50046         (j1_test): Likewise.
50047         (y0_test): Likewise.
50048         (y1_test): Likewise.
50049         * sysdeps/i386/fpu/libm-test-ulps: Update.
50051 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50053         * Rules ($(objpfx)bench-%.c): Include code from a C source
50054         file.
50056 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50058         [BZ #15287]
50059         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50060         imaginary part 1.0 and real part less than 0.5 specially.
50061         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50062         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50063         * math/libm-test.inc (cacos_test): Add more tests.
50064         (casin_test): Likewise.
50065         (casinh_test): Likewise.
50066         * sysdeps/i386/fpu/libm-test-ulps: Update.
50067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50069 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50071         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
50072         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
50074 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
50076         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
50077         * config.make.in (config-cflags-sse4): Remove variable.
50078         (config-cflags-avx): Likewise.
50079         (config-cflags-sse2avx): Likewise.
50080         (config-cflags-novzeroupper): Likewise.
50081         (config-asflags-i686): Likewise.
50082         (have-mfma4): Likewise.
50083         (have-as-vis3): Likewise.
50084         (MIG): Likewise.
50085         * configure.in (MIG): Do not AC_SUBST.
50086         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
50087         (libc_cv_cc_sse4): Do not AC_SUBST.
50088         (libc_cv_cc_avx): Likewise.
50089         (libc_cv_cc_sse2avx): Likewise.
50090         (libc_cv_cc_novzeroupper): Likewise.
50091         (libc_cv_cc_fma4): Likewise.
50092         (libc_cv_as_i686): Likewise.
50093         (libc_cv_sparc_as_vis3): Likewise.
50094         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
50095         LIBC_CONFIG_VAR.
50096         (config-asflags-i686): Likewise.
50097         (config-cflags-avx): Likewise.
50098         (config-cflags-sse2avx): Likewise.
50099         (have-mfma4): Likewise.
50100         (config-cflags-novzeroupper): Likewise.
50101         * sysdeps/mach/configure.in (MIG): Likewise.
50102         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
50103         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
50104         LIBC_CONFIG_VAR.
50105         (config-cflags-avx): Likewise.
50106         (config-cflags-sse2avx): Likewise.
50107         (have-mfma4): Likewise.
50108         (config-cflags-novzeroupper): Likewise.
50109         * configure: Regenerated.
50110         * sysdeps/i386/configure: Likewise.
50111         * sysdeps/mach/configure: Likewise.
50112         * sysdeps/sparc/configure: Likewise.
50113         * sysdeps/x86_64/configure: Likewise.
50115 2013-03-20  Roland McGrath  <roland@hack.frob.com>
50117         [BZ #14812]
50118         * locale/programs/localedef.c (options): Put N_ translation marker
50119         on argument names, not just descriptions.
50121 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50123         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
50125 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
50127         [BZ #14176]
50128         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
50130 2013-03-19  Roland McGrath  <roland@hack.frob.com>
50132         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
50133         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
50134         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
50135         [!BEFORE_ABORT] (before_abort): New function.
50136         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
50137         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
50138         (writev_for_fatal): New function.
50139         (WRITEV_FOR_FATAL): New macro; call that.
50140         (backtrace_and_maps): New function.
50141         (BEFORE_ABORT): New macro; call that.
50142         (struct str_list): Type removed.
50143         (__libc_message, __libc_fatal): Functions removed.
50144         Include <sysdeps/posix/libc_fatal.c> instead.
50146 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
50148         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50149         constants.
50150         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50151         double constants.
50153 2013-03-19  Andreas Schwab  <schwab@suse.de>
50155         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50156         * sysdeps/gnu/configure: Regenerate.
50158         * configure.in: Substitute libc_cv_rtlddir.
50159         * configure: Regenerate.
50160         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50161         * Makeconfig (rtlddir, inst_rtlddir): New variables.
50162         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50163         * elf/Makefile (install-others, CFLAGS-interp.c)
50164         (ldso_install, common-ldd-rewrite): Likewise.
50165         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50166         $(inst_slibdir)/$(rtld-installed-name).
50167         * scripts/rellns-sh: Add -p option.
50168         * Makerules (make-shlib-link): Use rellns-sh to get relative name
50169         for source.
50171 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50173         * manual/nptl.texi: Renamed to ...
50174         * manual/threads.texi: ... this.
50175         * manual/Makefile (chapters): Update.
50177 2013-03-18  Roland McGrath  <roland@hack.frob.com>
50179         [BZ #14812]
50180         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50181         on argument names, not just descriptions.
50182         * malloc/memusagestat.c (options): Likewise.
50183         * nss/getent.c (options): Likewise.
50185 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
50187         [BZ #14812]
50188         * iconv/iconv_prog.c (options): Put N_ translation marker
50189         on argument names, not just descriptions.
50190         * iconv/iconvconfig.c (options): Likewise.
50192 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
50194         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
50195         implementation which is faster on all x86_64 architectures.
50196         Tested on AMD, Intel Nehalem, SNB, IVB.
50197         * sysdeps/x86_64/strnlen.S: Likewise.
50199         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50200         Remove all multiarch strlen and strnlen versions.
50201         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50202         Remove strlen and strnlen related parts.
50204         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50205         Inline strlen part.
50206         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
50208         * sysdeps/x86_64/multiarch/strlen.S: Remove.
50209         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
50210         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
50211         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
50212         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50213         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
50215 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
50217         * manual/memory.texi (Malloc Tunable Parameters):
50218         Sort parameters alphabetically. Add comments for missing entries.
50220 2013-03-17  David S. Miller  <davem@davemloft.net>
50222         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50224 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
50226         [BZ #15283]
50227         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
50228         for arguments at most half maximum finite value.
50229         * math/libm-test.inc (j0_test): Add more tests.
50230         (j1_test): Likewise.
50231         (y0_test): Likewise.
50232         (y1_test): Likewise.
50233         * sysdeps/i386/fpu/libm-test-ulps: Update.
50234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50236         [BZ #14155]
50237         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
50238         1 / x and functions P and Q for arguments above 0x1p256L.
50239         (__ieee754_y0l): Likewise.
50240         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
50241         (__ieee754_y1l): Likewise.
50242         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
50243         (j1_test): Likewise.
50244         (y0_test): Likewise.
50245         (y1_test): Likewise.
50247 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
50249         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
50250         variable.
50252 2013-03-15  Roland McGrath  <roland@hack.frob.com>
50254         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
50255         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
50256         zero since it's initialized to EXEC_PAGESIZE.
50258         * sysdeps/unix/sysv/linux/ldsodefs.h
50259         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50260         * sysdeps/generic/ldsodefs.h: ... here.
50262 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
50264         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50266         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50267         math/test-snan.c.
50268         * math/test-snan.c: Renamed from
50269         sysdeps/powerpc/fpu/test-powerpc-snan.c.
50270         * math/Makefile (tests): Add test-snan.
50271         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50272         test-powerpc-snan.
50274         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50275         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
50276         functions.
50277         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
50278         __builtin_nan family of functions.
50279         * math/libm-test.inc (initialize): Initialize qnan_value with
50280         __builtin_nan family of functions.
50281         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50282         Remove variables.
50283         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50284         Remove functions.
50285         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
50286         storage class.  Initialize qNaN_var and sNaN_var with
50287         __builtin_nan and __builtin_nans families of functions,
50288         respectively.
50290         * math/libm-test.inc (acosh_test): Also test with qNaN input.
50291         (sqrt_test): Remove duplicate test with qNaN input.
50292         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50293         (round_test, signbit_test, significand_test): Note missing +/-Inf
50294         as well as qNaN tests.
50296         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50297         qNaN_var.  Fix a few strings, too.
50298         * math/libm-test.inc (nan_value): Rename to qnan_value.
50299         * math/gen-libm-test.pl (%beautify): Adjust to that.
50300         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50301         * math/test-misc.c (main): Likewise.
50302         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50303         to __qnan_bytes, and __qnan_union, respectively.
50304         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50305         Likewise.
50306         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50307         and lqnanval, respectively.
50308         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50309         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50310         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50311         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50313         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50314         * math/test-misc.c (main) [__x86_64__]: Enable test for long
50315         doubles.
50317         * math/test-misc.c (main): Fix copy'n'pastos.
50318         * misc/tst-efgcvt.c (special): Likewise.
50320         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50321         Remove declarations.
50323 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50325         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50326         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50327         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50328         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50330 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50332         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50333         macro to return vdso values correctly in IFUNC implementations.
50334         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50335         Optimization by using IFUNC.
50337 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50338             Richard Henderson  <rth@redhat.com>
50339             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50341         * Makefile.in (bench): New target.
50342         * NEWS: Mention the benchmark framework.
50343         * Rules (bench): Likewise.
50344         (binaries-bench): Generate binaries for functions to
50345         benchmark.
50346         * benchtests/Makefile: New makefile for benchmark tests.
50347         * benchtests/bench-skeleton.c: New skeleton file for benchmark
50348         programs.
50349         * benchtests/exp-inputs: New input file for EXP function.
50350         * benchtests/pow-inputs: New input file for POW function.
50351         * scripts/bench.pl: New script to generate source files for
50352         benchmark programs.
50354 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50356         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50357         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
50358         computations on mantissa.  Use macros for rounding and
50359         division.
50360         (denorm): Likewise.
50361         (__dbl_mp): Likewise.
50362         (add_magnitudes): Likewise.
50363         (sub_magnitudes): Likewise.
50364         (__mul): Likewise.
50365         (__sqr): Likewise.
50366         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50367         powers of two in terms of TWOPOW macro.
50368         (mp_no): Make type of mantissa as MANTISSA_T.
50369         [!RADIXI]: Define RADIXI.
50370         [!TWO52]: Define TWO52.
50371         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50373         * manual/nptl.texi (cindex): Modify threads to pthreads.
50375 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
50377         * sysdeps/x86_64/preconfigure: Regenerated.
50379 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
50381         [BZ #14155]
50382         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
50383         0x1p28 and above.
50384         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
50385         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
50386         0x1p28 and above.
50387         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
50388         * math/libm-test.inc (j0_test): Do not allow one spurious
50389         underflow exception.
50390         (y1_test): Likewise.
50392 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50394         * manual/Makefile (chapters): Add nptl.
50395         * manual/debug.texi (Debugging Support): Add link to Threads
50396         chapter.
50397         * manual/nptl.texi: New file.
50399         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
50401 2013-03-14  Petr Baudis  <pasky@ucw.cz>
50403         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
50404         for non-NULL pointer before the memory validity test. Pointed
50405         out by Holger Brunck <holger.brunck@keymile.com>.
50407 2013-03-13  Andreas Schwab  <schwab@suse.de>
50409         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
50410         instead of .os.
50412 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
50414         * timezone/zic.c: Update from tzcode 2013b.
50416 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
50418         * manual/install.texi (Configuring and compiling):
50419         Mention i686 and i586.
50420         * INSTALL: Regenerate.
50422 2013-03-12  Roland McGrath  <roland@hack.frob.com>
50424         * sysdeps/init_array/elf-init.c: New file.
50425         * csu/elf-init.c
50426         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
50427         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
50429         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
50430         __gmon_start__ as global, but as static with a .preinit_array pointer.
50431         * sysdeps/init_array/gmon-start.c: New file.  Use that.
50432         * sysdeps/init_array/crti.S: New file, empty except for comments.
50433         * sysdeps/init_array/crtn.S: Likewise.
50435 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
50437         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
50438         definining bcopy.
50439         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50440         Remove Prefer_SSE_for_memop.
50441         * sysdeps/x86_64/multiarch/init-arch.h: Remove
50442         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
50443         HAS_PREFER_SSE_FOR_MEMOP.
50444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
50445         memset-x86-64.
50446         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50447         Remove bzero, memset ifunc support.
50448         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
50449         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
50450         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50451         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50453 2013-03-11  Andreas Schwab  <schwab@suse.de>
50455         [BZ #15234]
50456         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
50457         by SHLIB_COMPAT.
50458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
50459         (GLIBC_2.16): Remove pthread_atfork.
50461 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
50463         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
50464         (ptestcases.h): Likewise.
50466 2013-03-08  Roland McGrath  <roland@hack.frob.com>
50468         * Makeconfig ($(common-objpfx)config.status): Depend on
50469         sysdeps/*/preconfigure{,.in} too.
50471 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
50473         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
50474         (__free_hook): Use void * instead of __malloc_ptr_t.
50475         (__malloc_hook): Likewise.
50476         (__realloc_hook): Likewise.
50477         (__memalign_hook): Likewise.
50478         (__after_morecore_hook): Likewise.
50479         * malloc/arena.c (save_malloc_hook): Likewise.
50480         (save_free_hook): Likewise.
50481         * malloc/hooks.c (malloc_hook_ini): Likewise.
50482         (realloc_hook_ini): Likewise.
50483         (memalign_hook_ini): Likewise.
50484         * malloc/malloc.c (malloc_hook_ini): Likewise.
50485         (realloc_hook_ini): Likewise.
50486         (memalign_hook_ini): Likewise.
50487         (__free_hook): Likewise.
50488         (__malloc_hook): Likewise.
50489         (__realloc_hook): Likewise.
50490         (__memalign_hook): Likewise.
50491         (__libc_malloc): Likewise.
50492         (__libc_free): Likewise.
50493         (__libc_realloc): Likewise.
50494         (__libc_memalign): Likewise.
50495         (__libc_valloc): Likewise.
50496         (__libc_pvalloc): Likewise.
50497         (__libc_calloc): Likewise.
50498         (__posix_memalign): Likewise.
50499         * malloc/morecore.c (__sbrk): Likewise.
50500         (__default_morecore): Likewise.
50502         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
50504         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
50505         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
50506         __malloc_ptrdiff_t.
50508         * malloc/malloc.h (__malloc_size_t): Remove macro.
50509         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
50510         __malloc_size_t.
50511         (old_memalign_hook): Likewise.
50512         (old_realloc_hook): Likewise.
50513         (struct hdr): Likewise.
50514         (flood): Likewise.
50515         (mallochook): Likewise.
50516         (memalignhook): Likewise.
50517         (reallochook): Likewise.
50518         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
50519         (tr_old_realloc_hook): Likewise.
50520         (tr_old_memalign_hook): Likewise.
50521         (tr_mallochook): Likewise.
50522         (tr_reallochook): Likewise.
50523         (tr_memalignhook): Likewise.
50525 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50527         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
50528         default_ldbl_pack and using as default implementation.
50529         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
50530         implementation.
50531         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
50532         redundant definition.
50533         (ldbl_insert_mantissa): Likewise.
50534         (ldbl_canonicalize): Likewise.
50535         (ldbl_nearbyint): Likewise.
50536         (ldbl_pack): Rename to ldbl_pack_ppc.
50537         (ldbl_unpack): Rename to ldbl_unpack_ppc.
50538         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
50539         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
50541 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50543         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
50544         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
50545         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
50546         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
50547         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
50548         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
50549         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
50550         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
50552 2013-03-07  Andreas Jaeger  <aj@suse.de>
50554         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50555         bits/mman-linux.h.
50557 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50559         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
50560         Include mpa.h and declare __MPEXP.
50561         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
50562         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50563         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50564         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
50565         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50566         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50567         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
50569         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
50570         (__slowpow): Use long double EXPL and LOGL functions to
50571         compute POW.
50572         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50573         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50574         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
50575         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50576         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50577         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
50579         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
50580         intermediate variable to calculate exponent.
50581         (__sqr): Likewise.
50582         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50583         Likewise.
50584         (__sqr): Likewise.
50586         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
50587         [!NO__SQR]: Define __sqr.
50588         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
50589         and NO__SQR.  Remove all code except __mul and __sqr.  Include
50590         sysdeps/ieee754/dbl-64/mpa.c.
50591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50593         [BZ #12723]
50594         * posix/Makefile (tests): Add tst-pathconf.
50595         * posix/tst-pathconf.c: New test case.
50596         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
50597         _PC_PIPE_BUF.
50598         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
50600 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
50602         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
50604 2013-03-06  Andreas Jaeger  <aj@suse.de>
50606         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
50607         definition via __MAP_ANONYMOUS.
50609         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
50610         it's not part of Linux headers.
50612         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
50613         (MAP_HUGE_MASK): Define.
50615         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50616         Define.
50617         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50618         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50619         Define.
50620         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50621         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50622         Define.
50623         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50624         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
50625         Define.
50626         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50628         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
50629         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
50630         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
50631         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
50632         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
50633         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
50635         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50636         Handle f2fs.
50638         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50639         Handle f2fs and efivarfs.
50641         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
50642         f2fs.
50644         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
50645         (EFIVARFS_MAGIC): Add.
50646         (F2FS_LINK_MAX): Add.
50648 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50650         * stdio-common/vfprintf.c: Replace __builtin_expect with
50651         __glibc_unlikely.
50653 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
50655         [BZ #13550]
50656         * sysdeps/generic/bp-sym.h: Remove file.
50657         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
50658         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
50659         <bp-sym.h> and <bp-asm.h>.
50660         (__longjmp): Don't use BP_SYM.
50661         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
50662         and <bp-asm.h>.
50663         (memcpy): Don't use BP_SYM.
50664         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
50665         <bp-sym.h> and <bp-asm.h>.
50666         (memcpy): Don't use BP_SYM.
50667         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
50668         <bp-asm.h>.
50669         (memcpy): Don't use BP_SYM.
50670         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
50671         <bp-asm.h>.
50672         (memset): Don't use BP_SYM.
50673         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50674         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50675         (__bzero): Don't use BP_SYM.
50676         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50677         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50678         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
50679         <bp-sym.h> and <bp-asm.h>.
50680         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50681         pointers.
50682         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
50683         <bp-sym.h> and <bp-asm.h>.
50684         (memcpy): Don't use BP_SYM.
50685         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
50686         <bp-sym.h> and <bp-asm.h>.
50687         (memset): Don't use BP_SYM.
50688         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50689         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50690         (__bzero): Don't use BP_SYM.
50691         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50692         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50693         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
50694         <bp-sym.h> and <bp-asm.h>.
50695         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50696         pointers.
50697         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
50698         <bp-sym.h> and <bp-asm.h>.
50699         (memcpy): Don't use BP_SYM.
50700         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
50701         <bp-sym.h> and <bp-asm.h>.
50702         (memset): Don't use BP_SYM.
50703         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50704         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50705         (__bzero): Don't use BP_SYM.
50706         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50707         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50708         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
50709         <bp-sym.h> and <bp-asm.h>.
50710         (__memchr): Don't use BP_SYM.
50711         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
50712         <bp-sym.h> and <bp-asm.h>.
50713         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50714         pointers.
50715         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
50716         <bp-sym.h> and <bp-asm.h>.
50717         (memcpy): Don't use BP_SYM.
50718         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
50719         <bp-sym.h> and <bp-asm.h>.
50720         (__mempcpy): Don't use BP_SYM.
50721         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
50722         <bp-sym.h> and <bp-asm.h>.
50723         (__memrchr): Don't use BP_SYM.
50724         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
50725         <bp-sym.h> and <bp-asm.h>.
50726         (memset): Don't use BP_SYM.
50727         (__bzero): Likewise.
50728         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
50729         <bp-sym.h> and <bp-asm.h>.
50730         (__rawmemchr): Don't use BP_SYM.
50731         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
50732         <bp-sym.h> and <bp-asm.h>.
50733         (__STRCMP): Don't use BP_SYM.
50734         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
50735         <bp-sym.h> and <bp-asm.h>.
50736         (strchr): Don't use BP_SYM.
50737         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
50738         <bp-sym.h> and <bp-asm.h>.
50739         (__strchrnul): Don't use BP_SYM.
50740         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
50741         <bp-sym.h> and <bp-asm.h>.
50742         (strlen): Don't use BP_SYM.
50743         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
50744         <bp-sym.h> and <bp-asm.h>.
50745         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50746         pointers.
50747         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
50748         <bp-sym.h> and <bp-asm.h>.
50749         (__strnlen): Don't use BP_SYM.
50750         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
50751         <bp-sym.h> and <bp-asm.h>.
50752         (__GI__setjmp): Don't use BP_SYM.
50753         (_setjmp): Likewise.
50754         (__sigsetjmp): Likewise.
50755         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
50756         (L(start_addresses)): Don't use BP_SYM.
50757         (_start): Likewise.
50758         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
50759         <bp-asm.h>.
50760         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
50761         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
50762         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50763         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50764         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
50765         <bp-asm.h>.
50766         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
50767         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
50768         about bounded pointers.
50769         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50770         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50771         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
50772         <bp-asm.h>.
50773         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50774         about bounded pointers.  Remove GKM FIXME comments.
50775         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50776         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
50777         <bp-asm.h>.
50778         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
50779         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
50780         Remove GKM FIXME comments.
50781         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50782         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50783         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
50784         <bp-asm.h>.
50785         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50786         about bounded pointers.  Remove GKM FIXME comment.
50787         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
50788         and <bp-asm.h>.
50789         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50790         pointers.
50791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
50792         <bp-sym.h> and <bp-asm.h>.
50793         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
50795         <bp-sym.h> and <bp-asm.h>.
50796         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50797         comment.
50799 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50801         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
50802         call free(NULL).
50804 2013-03-05  David S. Miller  <davem@davemloft.net>
50806         * po/es.po: Update from translation team.
50808 2013-03-05  Andreas Jaeger  <aj@suse.de>
50810         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
50811         <bits/mman-linux.h>.
50812         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50813         is fine.
50814         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
50815         <bits/mman-linux.h> to end of file.
50816         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50817         is fine.
50818         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
50819         <bits/mman-linux.h> to end of file.
50820         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50821         is fine.
50822         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
50823         <bits/mman-linux.h> to end of file.
50825         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
50826         (MCL_CURRENT, MCL_FUTURE): Define here.
50828 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50830         [BZ #15232]
50831         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
50832         attribute_hidden.
50833         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50835 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50837         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
50838         fourth parameter needed for rt_sigprocmask syscall.
50839         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
50840         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50841         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
50842         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50843         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50844         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
50846 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
50848         [BZ #13550]
50849         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
50850         comment about bounded pointers.
50851         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
50852         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
50854 2013-03-04  Andreas Jaeger  <aj@suse.de>
50856         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
50857         common definitions.
50859         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
50860         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
50861         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
50862         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50863         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50864         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50866 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50868         [BZ #15055]
50869         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
50870         __ieee754_sqrl instead of __sqrl.
50872 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
50874         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
50875         * sysdeps/powerpc/fpu_control.h: ... here.
50876         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
50877         * sysdeps/powerpc/bits/fenvinline.h: ... here.
50878         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
50879         * sysdeps/powerpc/bits/mathinline.h: ... here.
50881 2013-03-01  Roland McGrath  <roland@hack.frob.com>
50883         * elf/dl-hwcaps.c (_dl_important_hwcaps):
50884         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
50885         to just [NEED_DL_SYSINFO_DSO].
50886         * elf/dl-support.c: Likewise.
50887         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
50888         * elf/rtld.c (dl_main): Likewise.
50889         * elf/setup-vdso.h (setup_vdso): Likewise.
50890         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
50891         * sysdeps/unix/sysv/linux/dl-sysdep.c
50892         (_dl_discover_osversion): Likewise.
50894 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
50896         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
50897         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50899 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
50901         * NEWS: Mention libm performance improvements and non-x86 PI
50902         futex support.
50904         * csu/libc-start.c (__pthread_initialize_minimal): Change
50905         function arguments.
50906         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50908 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
50910         [BZ #13550]
50911         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
50912         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
50913         <bp-sym.h> and <bp-asm.h>.
50914         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50915         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
50916         and <bp-asm.h>.
50917         (memcpy): Don't use BP_SYM.
50918         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
50919         <bp-asm.h>.
50920         (__mpn_add_n): Don't use BP_SYM.
50921         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
50922         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
50923         and <bp-asm.h>.
50924         (__mpn_addmul_1): Don't use BP_SYM.
50925         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50926         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
50927         <bp-sym.h>.
50928         (_setjmp): Don't use BP_SYM.
50929         (__novmx_setjmp): Likewise.
50930         (__GI__setjmp): Likewise.
50931         (__vmx_setjmp): Likewise.
50932         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
50933         <bp-sym.h>.
50934         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
50935         (__bzero): Don't use BP_SYM.
50936         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50937         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50938         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
50939         <bp-sym.h> and <bp-asm.h>.
50940         (memcpy): Don't use BP_SYM.
50941         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
50942         <bp-sym.h> and <bp-asm.h>.
50943         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50944         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
50945         <bp-sym.h> and <bp-asm.h>.
50946         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50947         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
50948         <bp-asm.h>.
50949         (__mpn_lshift): Don't use BP_SYM.
50950         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50951         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
50952         <bp-asm.h>.
50953         (memset): Don't use BP_SYM.
50954         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50955         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50956         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
50957         <bp-asm.h>.
50958         (__mpn_mul_1): Don't use BP_SYM.
50959         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50960         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
50961         <bp-sym.h> and <bp-asm.h>.
50962         (memcmp): Don't use BP_SYM.
50963         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
50964         <bp-sym.h> and <bp-asm.h>.
50965         (memcpy): Don't use BP_SYM.
50966         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
50967         <bp-sym.h> and <bp-asm.h>.
50968         (memset): Don't use BP_SYM.
50969         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
50970         <bp-sym.h> and <bp-asm.h>.
50971         (strncmp): Don't use BP_SYM.
50972         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
50973         <bp-sym.h> and <bp-asm.h>.
50974         (memcpy): Don't use BP_SYM.
50975         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
50976         <bp-sym.h> and <bp-asm.h>.
50977         (memset): Don't use BP_SYM.
50978         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
50979         <bp-sym.h> and <bp-asm.h>.
50980         (__memchr): Don't use BP_SYM.
50981         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
50982         <bp-sym.h> and <bp-asm.h>.
50983         (memcmp): Don't use BP_SYM.
50984         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
50985         <bp-sym.h> and <bp-asm.h>.
50986         (memcpy): Don't use BP_SYM.
50987         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
50988         <bp-sym.h> and <bp-asm.h>.
50989         (__mempcpy): Don't use BP_SYM.
50990         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
50991         <bp-sym.h> and <bp-asm.h>.
50992         (__memrchr): Don't use BP_SYM.
50993         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
50994         <bp-sym.h> and <bp-asm.h>.
50995         (memset): Don't use BP_SYM.
50996         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
50997         <bp-sym.h> and <bp-asm.h>.
50998         (__rawmemchr): Don't use BP_SYM.
50999         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
51000         <bp-sym.h> and <bp-asm.h>.
51001         (__STRCMP): Don't use BP_SYM.
51002         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
51003         <bp-sym.h> and <bp-asm.h>.
51004         (strchr): Don't use BP_SYM.
51005         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
51006         <bp-sym.h> and <bp-asm.h>.
51007         (__strchrnul): Don't use BP_SYM.
51008         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
51009         <bp-sym.h> and <bp-asm.h>.
51010         (strlen): Don't use BP_SYM.
51011         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
51012         <bp-sym.h> and <bp-asm.h>.
51013         (strncmp): Don't use BP_SYM.
51014         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
51015         <bp-sym.h> and <bp-asm.h>.
51016         (__strnlen): Don't use BP_SYM.
51017         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
51018         <bp-asm.h>.
51019         (__mpn_rshift): Don't use BP_SYM.
51020         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51021         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
51022         <bp-sym.h> and <bp-asm.h>.
51023         (__sigsetjmp): Don't use BP_SYM.
51024         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
51025         (L(start_addresses)): Don't use BP_SYM.
51026         (_start): Likewise.
51027         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
51028         <bp-asm.h>.
51029         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
51030         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51031         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51032         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
51033         <bp-asm.h>.
51034         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
51035         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51036         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51037         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
51038         <bp-asm.h>.
51039         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51040         comments.
51041         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51042         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
51043         <bp-asm.h>.
51044         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
51045         FIXME comments.
51046         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51047         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51048         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
51049         <bp-asm.h>.
51050         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51051         comment.
51052         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
51053         and <bp-asm.h>.
51054         (strncmp): Don't use BP_SYM,
51055         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
51056         <bp-asm.h>.
51057         (__mpn_sub_n): Don't use BP_SYM.
51058         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51059         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
51060         and <bp-asm.h>.
51061         (__mpn_submul_1): Don't use BP_SYM.
51062         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
51064         <bp-sym.h> and <bp-asm.h>.
51065         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
51067         <bp-sym.h> and <bp-asm.h>.
51068         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51069         comment.
51071 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51073         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
51074         Use ZK to minimize writes to Z.
51075         (sub_magnitudes): Simplify code a bit.
51076         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
51077         Use ZK to minimize writes to Z.
51078         (sub_magnitudes): Simplify code a bit.
51080 2013-02-27  Roland McGrath  <roland@hack.frob.com>
51082         * csu/gmon-start.c: Add special exception to license text.
51084 2013-02-27  Richard Henderson  <rth@redhat.com>
51086         * scripts/config.guess: Update from config.git.
51087         * scripts/config.sub: Likewise.
51089 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51091         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
51093         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
51095         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
51097         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
51099         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
51101 2013-02-26  Roland McGrath  <roland@hack.frob.com>
51103         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
51104         [$(build-shared = yes].
51106 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51108         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
51109         (__mul): Reduce iterations for calculating mantissa.
51111         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
51112         MPTWO.
51113         (__mpranred): Likewise.
51115         [BZ #15160]
51116         * malloc/memusagestat.c (main): Draw graphs for heap and stack
51117         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
51119 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
51121         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
51122         Define __attribute__.
51124 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51126         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
51127         unused.
51128         * posix/regex_internal.h (__attribute): Remove.
51129         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51130         (re_string_context_at): Likewise.
51131         (bitset_not): Use __attribute__ and mark function as possibly
51132         unused.
51133         (bitset_merge): Likewise.
51134         (bitset_mask): Likewise.
51135         (re_string_char_size_at): Likewise.
51136         (re_string_wchar_at): Likewise.
51137         (re_string_elem_size_at): Likewise.
51139 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51141         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
51142         code.
51143         (cc32): Likewise.
51145         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51146         (__acr): Likewise.
51147         (__cpy): Likewise.
51148         (norm): Likewise.
51149         (denorm): Likewise.
51150         (__dbl_mp): Likewise.
51151         (add_magnitudes): Likewise.
51152         (sub_magnitudes): Likewise.
51153         (__mul): Likewise.
51154         (__inv): Likewise.
51156         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51157         style.
51159         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51160         style.
51162         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51163         code.
51165         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51166         up changes with default code.
51167         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51168         Likewise.
51170 2013-02-24  Allan McRae  <allan@archlinux.org>
51172         * manual/socket.texi (The Internet Namespace): Order menu items
51173         to match that in the file.
51175         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51176         node listing of the info page menu.
51178 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
51180         [BZ #13550]
51181         * sysdeps/i386/bp-asm.h: Remove file.
51182         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51183         (PARMS): Do not use macros from bp-asm.h.
51184         (S1): Likewise.
51185         (S2): Likewise.
51186         (SIZE): Likewise.
51187         (__mpn_add_n): Do not use BP_SYM
51188         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
51189         "bp-asm.h".
51190         (PARMS): Do not use macros from bp-asm.h.
51191         (S1): Likewise.
51192         (SIZE): Likewise.
51193         (__mpn_addmul_1): Do not use BP_SYM
51194         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
51195         "bp-asm.h".
51196         (PARMS): Do not use macros from bp-asm.h.
51197         (SIGMSK): Likewise.
51198         (_setjmp): Likewise.  Do not use BP_SYM.
51199         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
51200         "bp-asm.h".
51201         (PARMS): Do not use macros from bp-asm.h.
51202         (SIGMSK): Likewise.
51203         (setjmp): Likewise.  Do not use BP_SYM.
51204         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
51205         "bp-asm.h".
51206         (PARMS): Do not use macros from bp-asm.h.
51207         (__frexp): Do not use BP_SYM.
51208         (frexp): Likewise.
51209         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51210         "bp-asm.h".
51211         (PARMS): Do not use macros from bp-asm.h.
51212         (__frexpf): Do not use BP_SYM.
51213         (frexpf): Likewise.
51214         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
51215         "bp-asm.h".
51216         (PARMS): Do not use macros from bp-asm.h.
51217         (__frexpl): Do not use BP_SYM.
51218         (frexpl): Likewise.
51219         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
51220         "bp-asm.h".
51221         (PARMS): Do not use macros from bp-asm.h.
51222         (__remquo): Do not use BP_SYM.
51223         (remquo): Likewise.
51224         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
51225         "bp-asm.h".
51226         (PARMS): Do not use macros from bp-asm.h.
51227         (__remquof): Do not use BP_SYM.
51228         (remquof): Likewise.
51229         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
51230         "bp-asm.h".
51231         (PARMS): Do not use macros from bp-asm.h.
51232         (__remquol): Do not use BP_SYM.
51233         (remquol): Likewise.
51234         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
51235         "bp-asm.h".
51236         (PARMS): Do not use macros from bp-asm.h.
51237         (DEST): Likewise.
51238         (SRC): Likewise.
51239         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
51240         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
51241         "bp-asm.h".
51242         (PARMS): Do not use macros from bp-asm.h.
51243         (strlen): Do not use BP_SYM.
51244         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
51245         "bp-asm.h".
51246         (PARMS): Do not use macros from bp-asm.h.
51247         (S1): Likewise.
51248         (S2): Likewise.
51249         (SIZE): Likewise.
51250         (__mpn_add_n): Do not use BP_SYM.
51251         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
51252         "bp-asm.h".
51253         (PARMS): Do not use macros from bp-asm.h.
51254         (S1): Likewise.
51255         (SIZE): Likewise.
51256         (__mpn_addmul_1): Do not use BP_SYM.
51257         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51258         weak_alias.
51259         (bzero): Likewise.
51260         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51261         "bp-asm.h".
51262         (PARMS): Do not use macros from bp-asm.h.
51263         (S): Likewise.
51264         (SIZE): Likewise.
51265         (__mpn_lshift): Do not use BP_SYM.
51266         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
51267         "bp-asm.h".
51268         (PARMS): Do not use macros from bp-asm.h.
51269         (DEST): Likewise.
51270         (SRC): Likewise.
51271         (LEN): Likewise.
51272         (memcpy): Likewise.  Do not use BP_SYM.
51273         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51274         libc_hidden_def and weak_alias.
51275         (mempcpy): Do not use BP_SYM in weak_alias.
51276         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
51277         "bp-asm.h".
51278         (PARMS): Do not use macros from bp-asm.h.
51279         (DEST): Likewise.
51280         (LEN): Likewise.
51281         [!BZERO_P] (CHR): Likewise.
51282         (memset): Likewise.  Do not use BP_SYM.
51283         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51284         "bp-asm.h".
51285         (PARMS): Do not use macros from bp-asm.h.
51286         (S1): Likewise.
51287         (SIZE): Likewise.
51288         (__mpn_mul_1): Do not use BP_SYM.
51289         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51290         "bp-asm.h".
51291         (PARMS): Do not use macros from bp-asm.h.
51292         (S): Likewise.
51293         (SIZE): Likewise.
51294         (__mpn_rshift): Do not use BP_SYM.
51295         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51296         "bp-asm.h".
51297         (PARMS): Do not use macros from bp-asm.h.
51298         (STR): Likewise.
51299         (CHR): Likewise.
51300         (strchr): Likewise.  Do not use BP_SYM.
51301         (index): Do not use BP_SYM in weak_alias.
51302         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51303         "bp-asm.h".
51304         (PARMS): Do not use macros from bp-asm.h.
51305         (DEST): Likewise.
51306         (SRC): Likewise.
51307         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
51308         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51309         "bp-asm.h".
51310         (PARMS): Do not use macros from bp-asm.h.
51311         (strlen): Do not use BP_SYM.
51312         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
51313         "bp-asm.h".
51314         (PARMS): Do not use macros from bp-asm.h.
51315         (S1): Likewise.
51316         (S2): Likewise.
51317         (SIZE): Likewise.
51318         (__mpn_sub_n): Do not use BP_SYM.
51319         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51320         "bp-asm.h".
51321         (PARMS): Do not use macros from bp-asm.h.
51322         (S1): Likewise.
51323         (SIZE): Likewise.
51324         (__mpn_submul_1): Do not use BP_SYM.
51325         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51326         "bp-asm.h".
51327         (PARMS): Do not use macros from bp-asm.h.
51328         (S1): Likewise.
51329         (S2): Likewise.
51330         (SIZE): Likewise.
51331         (__mpn_add_n): Do not use BP_SYM.
51332         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51333         weak_alias.
51334         (bzero): Likewise.
51335         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51336         "bp-asm.h".
51337         (PARMS): Do not use macros from bp-asm.h.
51338         (BLK2): Likewise.
51339         (LEN): Likewise.
51340         (memcmp): Do not use BP_SYM.
51341         (bcmp): Do not use BP_SYM in weak_alias.
51342         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
51343         "bp-asm.h".
51344         (PARMS): Do not use macros from bp-asm.h.
51345         (DEST): Likewise.
51346         (SRC): Likewise.
51347         (LEN): Likewise.
51348         (memcpy): Likewise.  Do not use BP_SYM.
51349         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
51350         "bp-asm.h".
51351         (PARMS): Do not use macros from bp-asm.h.
51352         (DEST): Likewise.
51353         (SRC): Likewise.
51354         (LEN): Likewise.
51355         (memmove): Likewise.  Do not use BP_SYM.
51356         * sysdeps/i386/i686/mempcpy.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         (__mempcpy): Likewise.  Do not use BP_SYM.
51363         (mempcpy): Do not use BP_SYM in weak_alias.
51364         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
51365         "bp-asm.h".
51366         (PARMS): Do not use macros from bp-asm.h.
51367         (DEST): Likewise.
51368         (LEN): Likewise.
51369         [!BZERO_P] (CHR): Likewise.
51370         (memset): Likewise.  Do not use BP_SYM.
51371         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
51372         "bp-asm.h".
51373         (PARMS): Do not use macros from bp-asm.h.
51374         (STR2): Likewise.
51375         (strcmp): Do not use BP_SYM.
51376         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
51377         "bp-asm.h".
51378         (PARMS): Do not use macros from bp-asm.h.
51379         (STR): Likewise.
51380         (DELIM): Likewise.
51381         [USE_AS_STRTOK_R] (SAVE): Likewise.
51382         (FUNCTION): Likewise.  Do not use BP_SYM.
51383         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
51384         aliases.
51385         (strtok_r): Likewise.
51386         (__GI___strtok_r): Likewise.
51387         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51388         (PARMS): Do not use macros from bp-asm.h.
51389         (S): Likewise.
51390         (SIZE): Likewise.
51391         (__mpn_lshift): Do not use BP_SYM.
51392         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51393         (PARMS): Do not use macros from bp-asm.h.
51394         (STR): Likewise.
51395         (CHR): Likewise.
51396         (__memchr): Do not use BP_SYM.
51397         (memchr): Do not use BP_SYM in weak_alias.
51398         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51399         (PARMS): Do not use macros from bp-asm.h.
51400         (BLK2): Likewise.
51401         (LEN): Likewise.
51402         (memcmp): Do not use BP_SYM.
51403         (bcmp): Do not use BP_SYM in weak_alias.
51404         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
51405         (PARMS): Do not use macros from bp-asm.h.
51406         (S1): Likewise.
51407         (SIZE): Likewise.
51408         (__mpn_mul_1): Do not use BP_SYM.
51409         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
51410         "bp-asm.h".
51411         (PARMS): Do not use macros from bp-asm.h.
51412         (STR): Likewise.
51413         (CHR): Likewise.
51414         (__rawmemchr): Do not use BP_SYM.
51415         (rawmemchr): Do not use BP_SYM in weak_alias.
51416         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51417         (PARMS): Do not use macros from bp-asm.h.
51418         (S): Likewise.
51419         (SIZE): Likewise.
51420         (__mpn_rshift): Do not use BP_SYM.
51421         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51422         (PARMS): Do not use macros from bp-asm.h.
51423         (SIGMSK): Likewise.
51424         (__sigsetjmp): Likewise.  Do not use BP_SYM.
51425         * sysdeps/i386/start.S: Do not include "bp-sym.h".
51426         (_start): Do not use BP_SYM.
51427         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
51428         (PARMS): Do not use macros from bp-asm.h.
51429         (DEST): Likewise.
51430         (SRC): Likewise.
51431         (__stpcpy): Likewise.  Do not use BP_SYM.
51432         (stpcpy): Do not use BP_SYM in weak_alias.
51433         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
51434         "bp-asm.h".
51435         (PARMS): Do not use macros from bp-asm.h.
51436         (DEST): Likewise.
51437         (SRC): Likewise.
51438         (LEN): Likewise.
51439         (__stpncpy): Likewise.  Do not use BP_SYM.
51440         (stpncpy): Do not use BP_SYM in weak_alias.
51441         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51442         (PARMS): Do not use macros from bp-asm.h.
51443         (STR): Likewise.
51444         (CHR): Likewise.
51445         (strchr): Likewise.  Do not use BP_SYM.
51446         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
51447         "bp-asm.h".
51448         (PARMS): Do not use macros from bp-asm.h.
51449         (STR): Likewise.
51450         (CHR): Likewise.
51451         (__strchrnul): Likewise.  Do not use BP_SYM.
51452         (strchrnul): Do not use BP_SYM in weak_alias.
51453         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
51454         "bp-asm.h".
51455         (PARMS): Do not use macros from bp-asm.h.
51456         (STOP): Likewise.
51457         (strcspn): Do not use BP_SYM.
51458         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
51459         "bp-asm.h".
51460         (PARMS): Do not use macros from bp-asm.h.
51461         (STR): Likewise.
51462         (STOP): Likewise.
51463         (strpbrk): Likewise.  Do not use BP_SYM.
51464         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
51465         "bp-asm.h".
51466         (PARMS): Do not use macros from bp-asm.h.
51467         (STR): Likewise.
51468         (CHR): Likewise.
51469         (strrchr): Likewise.  Do not use BP_SYM.
51470         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
51471         (PARMS): Do not use macros from bp-asm.h.
51472         (SKIP): Likewise.
51473         (strspn): Do not use BP_SYM.
51474         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
51475         (PARMS): Do not use macros from bp-asm.h.
51476         (STR): Likewise.
51477         (DELIM): Likewise.
51478         (SAVE): Likewise.
51479         (FUNCTION): Likewise.  Do not use BP_SYM.
51480         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
51481         aliases.
51482         (strtok_r): Likewise.
51483         (__GI___strtok_r): Likewise.
51484         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51485         (PARMS): Do not use macros from bp-asm.h.
51486         (S1): Likewise.
51487         (S2): Likewise.
51488         (SIZE): Likewise.
51489         (__mpn_sub_n): Do not use BP_SYM.
51490         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
51491         "bp-asm.h".
51492         (PARMS): Do not use macros from bp-asm.h.
51493         (S1): Likewise.
51494         (SIZE): Likewise.
51495         (__mpn_submul_1): Do not use BP_SYM.
51496         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
51497         <bp-sym.h>.
51498         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
51499         and <bp-asm.h>.
51500         (PARMS): Do not use macros from bp-asm.h.
51501         (FLAGS): Likewise.
51502         (PTID): Likewise.
51503         (TLS): Likewise.
51504         (CTID): Likewise.
51505         (__clone): Do not use BP_SYM.
51506         (clone): Do not use BP_SYM in weak_alias.
51507         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
51508         and <bp-asm.h>.
51509         (PARMS): Do not use macros from bp-asm.h.
51510         (LEN): Likewise.
51511         (__mmap64): Do not use BP_SYM.
51512         (mmap64): Do not use BP_SYM in weak_alias.
51513         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51514         <bp-sym.h> and <bp-asm.h>.
51515         (PARMS): Do not use macros from bp-asm.h.
51516         (__posix_fadvise64_l64): Do not use BP_SYM.
51517         * sysdeps/unix/sysv/linux/i386/semtimedop.S
51518         (PARMS): Do not use macros from bp-asm.h.
51519         (NSOPS): Likewise.
51520         (semtimedop): Do not use BP_SYM.
51521         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
51522         and <bp-asm.h>.
51524 2013-02-21  Allan McRae  <allan@archlinux.org>
51526         * manual/message.texi (Charset conversion in gettext):
51527         Move @end statement to beginning of line.
51529 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51531         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
51532         static.
51533         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51534         Likewise.
51536         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
51537         (denorm): Likewise.
51538         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
51539         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
51541 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51543         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
51544         tail-call to the resolved function if pltexit isn't needed.
51546 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51548         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
51549         or Y being zero as being unlikely.
51550         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51551         Likewise.
51553 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
51555         * manual/nss.texi (System Databases and Name Service Switch):
51556         Remove frobnicate @pxref.
51558 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51560         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51561         __attribute__ ((unused)) to __attribute__ ((__unused__)).
51563 2013-02-20  Petr Machata  <pmachata@redhat.com>
51565         * elf/elf.h (R_ARM_TARGET1): New macro.
51566         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
51567         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
51568         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
51569         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
51570         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
51571         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
51572         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
51573         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
51574         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
51575         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
51576         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
51577         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
51578         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
51579         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
51580         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
51581         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
51582         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
51583         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
51584         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
51585         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
51586         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
51587         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
51588         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
51589         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
51590         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
51591         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
51592         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
51593         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
51594         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
51595         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
51596         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
51597         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
51598         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
51599         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
51600         (R_ARM_THM_GOT_BREL12): Likewise.
51601         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
51602         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
51603         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
51604         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
51605         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
51606         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
51607         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
51608         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
51609         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
51611 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51613         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51614         __attribute_used__ to __attribute__ ((unused)).
51616 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51618         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
51619         powerpc mpa.c.
51620         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
51621         comment formatting.
51622         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
51624 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
51626         [BZ #13550]
51627         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
51628         Remove macro.
51629         (ENTER): Remove both macro definitions.
51630         (LEAVE): Likewise.
51631         (CHECK_BOUNDS_LOW): Likewise.
51632         (CHECK_BOUNDS_HIGH): Likewise.
51633         (CHECK_BOUNDS_BOTH): Likewise.
51634         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
51635         (RETURN_BOUNDED_POINTER): Likewise.
51636         (RETURN_NULL_BOUNDED_POINTER): Likewise.
51637         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
51638         (POP_ERRNO_LOCATION_RETURN): Likewise.
51639         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
51640         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51641         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
51642         macros.
51643         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51644         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
51645         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
51646         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
51647         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
51648         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
51649         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
51650         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
51651         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
51652         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
51653         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
51654         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
51655         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51656         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
51657         removed macros.
51658         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51659         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
51660         macros.
51661         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51662         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
51663         * sysdeps/i386/i586/memset.S (memset): Likewise.
51664         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
51665         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51666         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
51667         macros.
51668         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51669         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
51670         Change uses of L(2) to L(out).
51671         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
51672         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
51673         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
51674         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51675         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
51676         removed macros.
51677         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51678         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
51679         macros.
51680         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51681         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
51682         (RETURN): Do not use macro LEAVE.
51683         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
51684         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
51685         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
51686         * sysdeps/i386/i686/memset.S (memset): Likewise.
51687         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
51688         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
51689         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51690         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
51691         Likewise.
51692         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51693         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
51694         L(1_2) and L(1_3) into L(1).
51695         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51696         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
51697         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51698         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
51699         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51700         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
51701         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
51702         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51703         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
51704         macros.
51705         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
51706         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51707         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
51708         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
51709         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
51710         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51711         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
51712         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
51713         * sysdeps/i386/strcspn.S (strcspn): Likewise.
51714         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
51715         * sysdeps/i386/strrchr.S (strrchr): Likewise.
51716         * sysdeps/i386/strspn.S (strspn): Likewise.
51717         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
51718         conditional code.
51719         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51720         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
51721         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51722         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
51723         L(1_3) into L(1_1).
51724         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
51725         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51726         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
51727         macros.
51728         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51730 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
51732         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
51733         macro.
51735 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51737         * math/atest-exp.c (exp_mpn): Remove ROUND.
51738         * math/atest-exp2.c (exp_mpn): Likewise.
51739         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
51741         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
51742         * stdlib/tst-tls-atexit-lib.c: Likewise.
51743         * stdlib/tst-tls-atexit.c: Likewise.
51745 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51747         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
51748         and __attribute_alloc_size__.
51750 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51752         * include/programs/xmalloc.h: Change __attribute_alloc_size to
51753         __attribute_alloc_size__.
51754         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
51755         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
51757 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51759         * include/programs/xmalloc.h: New file.
51760         * catgets/gencat.c: Include it.
51761         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
51762         * elf/pldd.c: Likewise.
51763         * iconv/iconv_charmap.c: Likewise.
51764         * iconv/iconvconfig.c: Likewise.
51765         * iconv/strtab.c: Likewise.
51766         * locale/programs/locale.c: Likewise.
51767         * locale/programs/localedef.h: Likewise.
51768         * locale/programs/simple-hash.c: Likewise.
51769         * nscd/nscd.h: Likewise.
51770         * nss/makedb.c: Likewise.
51771         * sysdeps/generic/ldconfig.h: Likewise.
51773 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51775         * Versions.def: Add GLIBC_2.18.
51776         * include/link.h (struct link_map): New member l_tls_dtor_count.
51777         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
51778         (__call_tls_dtors): Likewise.
51779         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
51780         __cxa_thread_atexit_impl.
51781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51782         Likewise.
51783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51784         Likewise.
51785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51786         Likewise.
51787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51788         Likewise.
51789         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
51791         Likewise.
51792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
51793         Likewise.
51794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51796         Likewise.
51797         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
51798         (tests): Add test case tst-tls-atexit.
51799         (modules-names): Add shared library for tst-tls-atexit.
51800         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
51801         (GLIBC_PRIVATE): Add __call_tls_dtors.
51802         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
51803         for libstdc++.
51804         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
51805         * stdlib/tst-tls-atexit.c: New test case.
51806         * stdlib/tst-tls-atexit-lib.c: New test case.
51808         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
51810         * elf/Versions (ld): Add _dl_find_dso_for_object.
51811         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
51812         * elf/dl-open.c (_dl_find_dso_for_object): New function.
51813         (dl_open_worker): Use _dl_find_dso_for_object.
51814         * elf/dl-sym.c (do_sym): Likewise.
51815         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
51817 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51819         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
51820         Syntactic changes only.
51821         (_dl_runtime_profile): Do a tail-call to the resolved function.
51823 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
51825         [BZ #13550]
51826         * sysdeps/x86_64/bp-asm.h: Remove file.
51827         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
51828         <bp-sym.h> and <bp-asm.h>.
51829         (__clone): Do not use BP_SYM.
51830         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
51831         <bp-sym.h> and <bp-asm.h>.
51832         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51833         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
51834         "bp-asm.h".
51835         (_setjmp): Do not use BP_SYM.
51836         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
51837         "bp-asm.h".
51838         (setjmp): Do not use BP_SYM.
51839         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
51840         libc_hidden_def.
51841         (mempcpy): Do not use BP_SYM in weak_alias.
51842         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
51843         "bp-asm.h".
51844         (strchr): Do not use BP_SYM.
51845         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
51846         "bp-asm.h".
51847         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
51848         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
51849         (_start): Do not use BP_SYM.
51850         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
51851         "bp-asm.h".
51852         (strcat): Do not use BP_SYM.
51853         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
51854         "bp-asm.h".
51855         (STRCMP): Do not use BP_SYM.
51856         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
51857         "bp-asm.h".
51858         (STRCPY): Do not use BP_SYM.
51859         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
51860         "bp-asm.h".
51861         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
51862         "bp-asm.h".
51863         (FUNCTION): Do not use BP_SYM.
51864         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
51865         weak_alias.
51866         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
51868 2013-02-17  Andreas Jaeger  <aj@suse.de>
51870         * time/Versions: Sort entries.
51871         * string/Versions: Likewise.
51872         * resolv/Versions: Likewise.
51873         * posix/Versions: Likewise.
51874         * iconv/Versions: Likewise.
51875         * elf/Versions: Likewise.
51876         * wcsmbs/Versions: Likewise.
51878 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51880         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
51881         loop termination condition.
51883         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
51884         variable to calculate EZ.
51885         (__sqr): Likewise.
51887         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
51888         the lower precision input.
51890 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
51892         [BZ #13550]
51893         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
51894         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
51895         (run-via-rtld-prefix): Do not handle %-bp tests.
51896         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
51897         (all-object-suffixes): Remove .ob.
51898         (bppfx): Remove variable.
51899         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
51900         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
51901         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
51902         [$(build-bounded) = yes] (libtype.ob): Likewise.
51903         * Makerules (elide-routines.ob): Remove variable.
51904         (do-tests-clean): Do not handle *-bp.out.
51905         (common-mostlyclean): Do not handle *-bp and *-bp.out.
51906         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
51907         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
51908         (tests): Do not include $(tests-bp.out).
51909         (xtests): Do not include $(xtests-bp.out).
51910         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
51911         [$(build-bounded) = yes] ($(addprefix
51912         $(objpfx),$(binaries-bounded))): Remove rule.
51913         ($(objpfx)%-bp.out): Remove rule.
51914         * config.make.in (build-bounded): Remove variable.
51915         * crypt/Makefile [$(build-bounded) = yes]
51916         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
51917         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
51918         append to variable.
51919         [$(build-bounded) = yes] (install-lib): Likewise.
51920         [$(build-bounded) = yes] (generated): Likewise.
51921         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
51922         Remove rule.
51923         * intl/Makefile [$(build-bounded) = yes]
51924         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
51925         * math/Makefile [$(build-bounded) = yes]
51926         ($(tests:%=$(objpfx)%-bp): Likewise.
51927         * misc/Makefile [$(build-bounded) = yes]
51928         ($(objpfx)tst-tsearch-bp): Likewise.
51929         * nptl/Makeconfig (bounded-thread-library): Remove variable.
51930         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
51931         Remove dependency.
51932         * string/Makefile (o-objects.ob): Remove variable.
51933         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
51934         (CFLAGS-.ob): Remove variable.
51935         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
51936         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
51937         both definitions of variable.
51938         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
51939         (ASFLAGS-.ob): Remove variable.
51941 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
51943         [BZ #13550]
51944         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
51945         Remove __BOUNDED_POINTERS__ from condition.
51946         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
51947         * string/bits/string2.h [!__NO_STRING_INLINES &&
51948         !__BOUNDED_POINTERS__]: Likewise.
51949         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
51950         Likewise.
51951         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
51952         Remove conditional code.
51953         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
51954         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
51955         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
51956         condition.
51958         [BZ #13550]
51959         * csu/libc-start.c: Do not include <bp-sym.h>.
51960         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
51961         * elf/dl-open.c: Do not include <bp-sym.h>.
51962         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
51963         * math/fegetenv.c: Do not include <bp-sym.h>.
51964         (fegetenv): Do not use BP_SYM in versioned symbols.
51965         * nptl/sysdeps/pthread/bits/libc-lockP.h
51966         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
51967         <bp-sym.h>.
51968         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51969         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
51970         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51971         (__pthread_mutex_destroy): Likewise.
51972         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51973         (__pthread_mutex_lock): Likewise.
51974         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51975         (__pthread_mutex_trylock): Likewise.
51976         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51977         (__pthread_mutex_unlock): Likewise.
51978         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51979         (__pthread_mutexattr_init): Likewise.
51980         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51981         (__pthread_mutexattr_destroy): Likewise.
51982         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51983         (__pthread_mutexattr_settype): Likewise.
51984         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51985         (__pthread_rwlock_init): Likewise.
51986         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51987         (__pthread_rwlock_destroy): Likewise.
51988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51989         (__pthread_rwlock_rdlock): Likewise.
51990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51991         (__pthread_rwlock_tryrdlock): Likewise.
51992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51993         (__pthread_rwlock_wrlock): Likewise.
51994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51995         (__pthread_rwlock_trywrlock): Likewise.
51996         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51997         (__pthread_rwlock_unlock): Likewise.
51998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51999         (__pthread_key_create): Likewise.
52000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52001         (__pthread_setspecific): Likewise.
52002         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52003         (__pthread_getspecific): Likewise.
52004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
52005         Likewise.
52006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52007         (_pthread_cleanup_push_defer): Likewise.
52008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52009         (_pthread_cleanup_pop_restore): Likewise.
52010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52011         (pthread_setcancelstate): Likewise.
52012         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
52013         <bp-sym.h>.
52014         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
52015         (memchr): Do not use BP_SYM in weak_alias.
52016         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
52017         (fegetenv): Do not use BP_SYM in versioned symbols.
52018         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
52019         (fesetenv): Do not use BP_SYM in versioned symbols.
52020         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52021         (feupdateenv): Do not use BP_SYM in versioned symbols.
52022         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52023         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52024         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
52025         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
52026         (open64): Do not use BP_SYM in weak_alias.
52027         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
52028         (fegetenv): Do not use BP_SYM in versioned symbols.
52029         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
52030         (fesetenv): Do not use BP_SYM in versioned symbols.
52031         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52032         (feupdateenv): Do not use BP_SYM in versioned symbols.
52033         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
52034         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
52035         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
52036         (feraiseexcept): Do not use BP_SYM in versioned symbols.
52037         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52038         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52039         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
52040         <bp-sym.h>.
52041         (__libc_start_main): Do not use BP_SYM.
52043 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52045         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
52046         redundant return line.
52047         (norm): Likewise.
52048         (denorm): Likewise.
52049         (dbl_mp): Likewise.
52050         (sub_magnitudes): Likewise.
52051         (__add): Likewise.
52052         (__sub): Likewise.
52053         (__mul): Likewise.
52054         (__inv): Likewise.
52055         (__dvd): Likewise.
52056         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
52057         (norm): Likewise.
52058         (denorm): Likewise.
52059         (dbl_mp): Likewise.
52060         (sub_magnitudes): Likewise.
52061         (__add): Likewise.
52062         (__sub): Likewise.
52063         (__mul): Likewise.
52064         (__inv): Likewise.
52065         (__dvd): Likewise.
52067         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
52068         instead of __mul.
52069         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52070         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
52071         (cc32): Likewise.
52073         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
52074         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
52075         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
52076         of __mul for squares.
52077         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
52078         function
52079         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
52080         Likewise.
52081         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
52082         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52084 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
52086         [BZ #13550]
52087         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
52088         code.
52089         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
52090         prototype or function definition.  Rename ubp_* variables and
52091         parameters.  Remove argv definitions conditional on
52092         [__BOUNDED_POINTERS__].
52093         * debug/backtrace.c (__backtrace): Do not use __unbounded.
52094         * elf/dl-runtime.c (_dl_fixup): Likewise.
52095         * include/set-hooks.h (RUN_HOOK): Likewise.
52096         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
52097         definition.
52098         * string/strcpy.c (strcpy): Do not use __unbounded.
52099         * sysdeps/generic/frame.h (struct layout): Likewise.
52100         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
52101         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
52102         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
52103         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
52104         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
52105         (__backtrace): Likewise.
52106         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
52107         use __ptrvalue.
52108         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
52109         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52110         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
52111         Likewise.
52112         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
52113         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
52114         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52115         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52116         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
52117         Do not use __unbounded.
52118         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
52119         Rename __unboundedrlimits parameter to rlimits in prototype.
52120         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
52121         Do not use __unbounded.
52122         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
52123         not use __ptrvalue.
52124         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52125         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
52126         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52127         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
52128         __ptrvalue or __unbounded.
52129         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
52130         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
52131         use __unbounded.
52132         (__new_msgctl): Do not use __ptrvalue.
52133         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
52134         __unbounded.
52135         (__libc_msgrcv): Do not use __ptrvalue.
52136         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
52137         startup_info): Do not use __unbounded.
52138         (__libc_start_main): Likewise.  Rename ubp_* variables and
52139         parameters.  Remove argv definitions conditional on
52140         [__BOUNDED_POINTERS__].
52141         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
52142         __ptrvalue.
52143         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
52144         use __unbounded.
52145         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52146         or __ptrvalue.
52147         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52148         use __unbounded.
52149         (__new_shmctl): Do not use __ptrvalue.
52150         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52151         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52152         Likewise.
52153         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52154         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52155         (__libc_sigaction): Likewise.
52156         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52157         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52158         Likewise.
52159         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52161 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
52163         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52165         * string/mempcpy.c: Implement by calling memcpy.
52167 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52169         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52171         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52172         evaluation.
52174         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52175         values in the mantissa.
52177         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52178         minimize writes to Z.
52179         (sub_magnitudes): Simplify code a bit.
52181 2013-02-12  Roland McGrath  <roland@hack.frob.com>
52183         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
52184         from the message.  The linker prefixes all warnings with that already.
52186 2013-02-12  Andreas Schwab  <schwab@suse.de>
52188         [BZ #15078]
52189         * posix/regexec.c (extend_buffers): Add parameter min_len.
52190         (check_matching): Pass minimum needed length.
52191         (clean_state_log_if_needed): Likewise.
52192         (get_subexp): Likewise.
52193         * posix/Makefile (tests): Add bug-regex34.
52194         (bug-regex34-ENV): Define.
52195         * posix/bug-regex34.c: New file.
52197         [BZ #11561]
52198         * posix/regcomp.c (parse_bracket_exp): When looking up collating
52199         elements compare against the byte sequence of it, not its name.
52200         * posix/Makefile (tests): Add bug-regex35.
52201         (bug-regex35-ENV): Define.
52202         * posix/bug-regex35.c: New file.
52204 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52206         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
52207         comment.
52208         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
52209         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52210         (CHECK_EOL): Add undef.
52212 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
52214         * bits/stdlib-bsearch.h: New file.
52215         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
52216         * stdlib/stdlib.h: Likewise.
52218 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52220         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
52221         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
52222         declaration.
52223         * manual/search.texi (Array Search Function): Add missing const in
52224         lfind prototype.
52225         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
52226         declaration to use rlim_t.
52227         (Basic Scheduling Functions): Remove erroneous const from
52228         sched_getparam prototype.  Remove erroneous * from
52229         sched_get_priority_max and sched_get_priority_min prototypes.
52230         (Resource Usage): Fix summary @comment on vtimes to refer to
52231         sys/vtimes.h rather than vtimes.h.
52232         Add missing *s in vtimes prototype.
52233         (Limits on Resources): Fix ulimit prototype to return long int.
52234         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
52235         prototypes to use long int rather than double.
52236         (BSD Random): Fix initstate and setstate to use char *, not void *.
52237         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
52238         prototype to make second argument 'struct aiocb64 *const[]'.
52239         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
52240         (Status of AIO Operations): Remove erroneous const in aio_return and
52241         aio_return64 prototypes.
52242         (Synchronizing I/O): Fix sync prototype to return void.
52243         * manual/startup.texi (Suboptions): Remove an erroneous const in
52244         getsubopt prototype.
52245         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
52246         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
52247         use size_t rather than int.
52248         (Scanning All Users): Likewise for getpwent_r.
52249         (Setting Groups): Add missing const to setgroups prototype.
52250         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
52251         * manual/socket.texi (Host Names): Fix gethostbyaddr and
52252         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
52253         'const void *' rather than 'const char *'.
52254         (Host Address Functions): Likewise for inet_ntop.
52255         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
52256         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
52257         ssize_t for return value.
52258         (Sending Data): Likewise for send, sendto, sendmsg.
52259         (Socket Option Functions): Add a missing const in setsockopt prototype.
52260         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52261         use wchar_t for the argument.
52262         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52263         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52264         take no arguments.
52265         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52266         double/float/long double for second argument.
52267         Fix return types of significand, significandf, significandl.
52268         * manual/filesys.texi (Setting Permissions): Use mode_t for second
52269         argument in fchmod prototype.
52270         (File Owner): Use uid_t and gid_t in fchown prototype.
52271         (File Times): Add const to utimes, futimes, and lutimes prototypes.
52272         (Making Special Files): Use mode_t and dev_t in mknod prototype.
52273         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52274         use 'const struct dirent **' as argument types to CMP function pointer
52275         argument.
52276         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52277         (File Times): Fix summary magic @comment for struct utimbuf and utime
52278         to refer to utime.h, not time.h.
52279         * manual/string.texi (Argz Functions): Add missing const in
52280         argz_extract and argz_next prototypes.
52281         (Finding Tokens in a String): Likewise for basename.
52282         (String/Array Comparison): Fix typo in wcscasecmp prototype.
52283         (Copying and Concatenation): Fix typo in wmemmove prototype.
52284         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52285         (Signal Stack): Remove erroneous const in sigstack prototype.
52286         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52287         prototype.
52288         (Simple Calendar Time): Likewise for stime.
52289         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52290         prototype.
52291         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52292         say sys/sysctl.h instead.
52293         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52294         and vsyslog prototypes.
52296 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52298         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52299         Remove.
52301 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52303         * misc/sys/mman.h: Fix typo in mremap comment.
52305 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52307         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52308         the '\0' terminator.
52310 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52312         [BZ #13550]
52313         * debug/segfault.c: Don't include <bp-checks.h>.
52314         * sysdeps/generic/bp-checks.h: Remove file.
52315         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52316         (__GETDENTS): Don't use CHECK_N.
52317         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52318         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52319         (__getgroups): Don't use CHECK_N.
52320         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52321         (setgroups): Don't use CHECK_N.
52322         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52323         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52324         (__libc_msgrcv): Don't use CHECK_N.
52325         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52326         (__libc_msgsnd): Don't use CHECK_N.
52327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52328         <bp-checks.h>.
52329         (__libc_pread): Don't use CHECK_N.
52330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52331         include <bp-checks.h>.
52332         (__libc_pread64): Don't use CHECK_N.
52333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52334         include <bp-checks.h>.
52335         (__libc_pwrite): Don't use CHECK_N.
52336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52337         include <bp-checks.h>.
52338         (__libc_pwrite64): Don't use CHECK_N.
52339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
52340         <bp-checks.h>.
52341         (__libc_pread): Don't use CHECK_N.
52342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
52343         include <bp-checks.h>.
52344         (__libc_pread64): Don't use CHECK_N.
52345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
52346         include <bp-checks.h>.
52347         (__libc_pwrite): Don't use CHECK_N.
52348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
52349         include <bp-checks.h>.
52350         (__libc_pwrite64): Don't use CHECK_N.
52351         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52352         (do_pread): Don't use CHECK_N.
52353         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
52354         (do_pread64): Don't use CHECK_N.
52355         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52356         (do_pwrite): Don't use CHECK_N.
52357         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
52358         (do_pwrite64): Don't use CHECK_N.
52359         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
52360         (__libc_readv): Don't use CHECK_N.
52361         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
52362         (semop): Don't use CHECK_N.
52363         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
52364         <bp-checks.h>.
52365         (semtimedop): Don't use CHECK_N.
52366         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
52367         (__libc_pread): Don't use CHECK_N.
52368         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
52369         <bp-checks.h>.
52370         (__libc_pread64): Don't use CHECK_N.
52371         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
52372         <bp-checks.h>.
52373         (__libc_pwrite): Don't use CHECK_N.
52374         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
52375         <bp-checks.h>.
52376         (__libc_pwrite64): Don't use CHECK_N.
52377         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
52378         <bp-checks.h>.
52379         (__libc_msgrcv): Don't use CHECK_N.
52380         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
52381         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
52382         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
52383         (__libc_writev): Don't use CHECK_N.
52385 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52387         * string/strcpy.c: Removed unused variable.
52389         * Makeconfig (+sysdep-includes): Define with := rather than =.
52390         Use an existing include/ subdir of each sysdeps dir before it.
52392 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52394         * nscd/connection.c (register_traced_file): Comment function.
52395         [HAVE_INOTIFY] (union __inev): Define.
52396         [HAVE_INOTIFY] (inotify_check_files): New function.
52397         [HAVE_INOTIFY] (clear_db_cache): Likewise.
52398         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
52399         clear_db_cache.
52400         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
52402 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52404         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
52405         loaded if not already and that a failure is permanent.
52407 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52409         [BZ #15006]
52410         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
52411         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
52413 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52415         [BZ #13550]
52416         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
52417         (CHECK_1_NULL_OK): Likewise.
52418         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
52419         (__fxstat): Do not use CHECK_1.
52420         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
52421         <bp-checks.h>.
52422         (___fxstat64): Do not use CHECK_1.
52423         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
52424         <bp-checks.h>.
52425         (__fxstatat): Do not use CHECK_1.
52426         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
52427         <bp-checks.h>.
52428         (__fxstatat64): Do not use CHECK_1.
52429         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
52430         <bp-checks.h>.
52431         (__fxstat): Do not use CHECK_1.
52432         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
52433         <bp-checks.h>.
52434         (__fxstatat): Do not use CHECK_1.
52435         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52436         <bp-checks.h>.
52437         (__getresgid): Do not use CHECK_1.
52438         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52439         <bp-checks.h>.
52440         (__getresuid): Do not use CHECK_1.
52441         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
52442         <bp-checks.h>.
52443         (__lxstat): Do not use CHECK_1.
52444         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52445         <bp-checks.h>.
52446         (__old_msgctl): Do not use CHECK_1.
52447         (__new_msgctl): Likewise.
52448         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
52449         <bp-checks.h>.
52450         (__new_setrlimit): Do not use CHECK_1.
52451         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52452         <bp-checks.h>.
52453         (__old_shmctl): Do not use CHECK_1.
52454         (__new_shmctl): Likewise.
52455         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
52456         <bp-checks.h>.
52457         (__xstat): Do not use CHECK_1.
52458         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
52459         (__lxstat): Do not use CHECK_1.
52460         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
52461         <bp-checks.h>.
52462         (___lxstat64): Do not use CHECK_1.
52463         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
52464         (__old_msgctl): Do not use CHECK_1.
52465         (__new_msgctl): Likewise.
52466         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
52467         <bp-checks.h>.
52468         (__gettimeofday): Do not use CHECK_1.
52469         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
52470         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
52471         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
52472         <bp-checks.h>.
52473         (__gettimeofday): Do not use CHECK_1.
52474         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
52475         (__old_shmctl): Do not use CHECK_1_NULL_OK.
52476         (__new_shmctl): Do not use CHECK_1.
52477         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
52478         <bp-checks.h>.
52479         (do_sigtimedwait): Do not use CHECK_1.
52480         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
52481         <bp-checks.h>.
52482         (do_sigwaitinfo): Do not use CHECK_1.
52483         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
52484         <bp-checks.h>.
52485         (msgctl): Do not use CHECK_1.
52486         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
52487         <bp-checks.h>.
52488         (shmctl): Do not use CHECK_1.
52489         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
52490         (ustat): Do not use CHECK_1.
52491         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
52492         <bp-checks.h>.
52493         (__fxstat): Do not use CHECK_1.
52494         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
52495         <bp-checks.h>.
52496         (__fxstatat): Do not use CHECK_1.
52497         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
52498         <bp-checks.h>.
52499         (__lxstat): Do not use CHECK_1.
52500         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
52501         <bp-checks.h>.
52502         (__xstat): Do not use CHECK_1.
52503         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
52504         (__xstat): Do not use CHECK_1.
52505         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
52506         (___xstat64): Do not use CHECK_1.
52508         [BZ #13550]
52509         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
52510         definitions.
52511         (CHECK_BOUNDS_HIGH): Likewise.
52512         * string/strcpy.c: Do not include <bp-checks.h>.
52513         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
52515 2013-02-07  Roland McGrath  <roland@hack.frob.com>
52517         * nscd/nscd-client.h (__nscd_drop_map_ref):
52518         Add __attribute__ ((unused)).
52519         * nis/nss-nisplus.h (niserr2nss): Likewise.
52521         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
52522         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
52524         * csu/libc-tls.c (init_static_tls, init_slotinfo):
52525         Remove inline keyword.
52526         * include/rounding-mode.h (round_away): Likewise.
52527         * libio/wfileops.c (adjust_wide_data): Likewise.
52528         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
52529         (__m128i_strloadu_tolower): Likewise.
52530         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
52531         (__m128i_strloadu_tolower): Likewise.
52532         * time/mktime.c (ydhms_diff): Likewise.
52533         * locale/elem-hash.h (elem_hash): Likewise.
52534         * locale/setlocale.c (setdata): Likewise.
52535         * posix/regex_internal.h (re_string_char_size_at): Likewise.
52536         (re_string_wchar_at): Likewise.
52537         (bitset_not, bitset_merge, bitset_mask): Likewise.
52538         [!(__GNUC__ > 3)] (inline): Remove macro.
52539         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
52540         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
52541         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
52542         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
52543         * string/memcmp.c (memcmp_bytes): Likewise.
52544         * locale/programs/locarchive.c (compute_hashval): Likewise.
52545         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
52546         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
52547         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
52548         * nss/getent.c (print_rpc, print_protocols): Likewise.
52549         (print_passwd, print_group, print_aliases): Likewise.
52550         * nis/nss-nisplus.h (niserr2nss): Likewise.
52551         * nscd/connections.c (restart_p): Likewise.
52552         Change return type to bool.
52554 2013-02-05  Roland McGrath  <roland@hack.frob.com>
52556         * Makeconfig (all-Depend-files): Add existing
52557         $(sorted-subdirs:=/Depend) files.
52558         (all-subdirs): Remove nss.
52559         * sysdeps/unix/inet/Subdirs: Add it here instead.
52560         * hesiod/Depend: New file.
52562         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
52563         instead of calling alloca.
52565         * io/lseek.c (__lseek): Rename to __libc_lseek.
52566         Define __lseek as an alias.
52568         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
52570 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
52572         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
52573         else clause and remove check for non-standard endianness.
52575 2013-02-04  David S. Miller  <davem@davemloft.net>
52577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52579 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
52581         [BZ #13550]
52582         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
52583         (__ubp_memchr): Remove prototype.
52584         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
52585         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52586         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
52587         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52588         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
52589         Remove alias.
52590         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
52591         (__ubp_memchr): Likewise.
52592         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
52593         (__ubp_memchr): Likewise.
52594         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
52595         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
52596         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
52597         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
52598         CHECK_STRING.
52599         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52600         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
52601         (__getcwd): Do not use CHECK_STRING.
52602         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52603         <bp-checks.h>.
52604         (__real_chown): Do not use CHECK_STRING.
52605         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
52606         <bp-checks.h>.
52607         (fchownat): Do not use CHECK_STRING.
52608         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
52609         CHECK_STRING.
52610         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52611         <bp-checks.h>.
52612         (__lchown): Do not use CHECK_STRING.
52613         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52614         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52615         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52616         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
52617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52618         include <bp-checks.h>.
52619         (truncate64): Do not use CHECK_STRING.
52620         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
52621         <bp-checks.h>.
52622         (__real_chown): Do not use CHECK_STRING.
52623         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
52624         <bp-checks.h>.
52625         (__lchown): Do not use CHECK_STRING.
52626         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
52627         <bp-checks.h>.
52628         (__chown): Do not use CHECK_STRING.
52629         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
52630         <bp-checks.h>.
52631         (truncate64): Do not use CHECK_STRING.
52632         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
52633         Likewise.
52634         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
52635         (__xmknod): Do not use CHECK_STRING.
52636         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
52637         <bp-checks.h>.
52638         (__xmknodat): Do not use CHECK_STRING.
52639         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52640         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
52642 2013-02-04  Andreas Schwab  <schwab@suse.de>
52644         [BZ #14142]
52645         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
52646         * include/netdb.h: Likewise for h_errno.
52647         * elf/tst-stackguard1.c: Include <tls.h>.
52649 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
52651         * elf/link.h (struct link_map): Extend the l_addr comment.
52652         * include/link.h (struct link_map): Likewise.
52654 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
52656         [BZ #13550]
52657         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
52658         (BOUNDED_1): Remove macro.
52659         * debug/backtrace.c: Don't include <bp-checks.h>.
52660         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
52661         (__backtrace): Likewise.
52662         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
52663         <bp-checks.h>.
52664         (__backtrace): Don't use BOUNDED_1.
52665         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
52666         <bp-checks.h>.
52667         (__backtrace): Don't use BOUNDED_1.
52668         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
52669         (__backtrace): Don't use BOUNDED_1.
52670         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
52671         (shmat): Don't use BOUNDED_N.
52673 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
52675         [BZ #13550]
52676         * sysdeps/generic/bp-start.h: Remove file.
52677         * csu/libc-start.c: Don't include <bp-start.h>.
52678         (LIBC_START_MAIN): Set up __environ directly instead of using
52679         INIT_ARGV_and_ENVIRON.
52680         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
52681         <bp-start.h>.
52683         [BZ #13550]
52684         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
52685         definitions.
52686         (CHECK_FCNTL): Likewise.
52687         (CHECK_N_PAGES): Likewise.
52689         [BZ #13550]
52690         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
52691         definitions.
52692         (CHECK_SIGSET_NULL_OK): Likewise.
52693         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
52694         <bp-checks.h>.
52695         (sigpending): Don't use CHECK_SIGSET.
52696         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
52697         <bp-checks.h>.
52698         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52699         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
52700         <bp-checks.h>.
52701         (do_sigsuspend): Don't use CHECK_SIGSET.
52702         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
52703         use CHECK_SIGSET.
52704         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
52705         (do_sigwait): Don't use CHECK_SIGSET.
52706         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
52707         use CHECK_SIGSET.
52708         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
52709         include <bp-checks.h>.
52710         (sigpending): Don't use CHECK_SIGSET.
52711         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
52712         include <bp-checks.h>.
52713         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52714         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
52715         <bp-checks.h>.
52716         (sigpending): Don't use CHECK_SIGSET.
52717         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
52718         <bp-checks.h>.
52719         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52721         [BZ #13550]
52722         * sysdeps/generic/bp-semctl.h: Remove file.
52723         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
52724         <bp-checks.h> and <bp-semctl.h>.
52725         (__old_semctl): Don't use CHECK_SEMCTL.
52726         (__new_semctl): Likewise.
52727         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
52728         and <bp-semctl.h>.
52729         (__old_semctl): Don't use CHECK_SEMCTL.
52730         (__new_semctl): Likewise.
52731         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
52732         <bp-checks.h> and <bp-semctl.h>.
52733         (__old_semctl): Don't use CHECK_SEMCTL.
52734         (__new_semctl): Likewise.
52735         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
52736         <bp-checks.h> and <bp-semctl.h>.
52737         (semctl): Don't use CHECK_SEMCTL.
52739         [BZ #13550]
52740         * Makerules (elide-bp-thunks): Remove variable.
52741         (elide-routines.oS): Don't use $(elide-bp-thunks).
52742         (elide-routines.os): Likewise.
52743         (elide-routines.o): Likewise.
52744         (elide-routines.op): Likewise.
52745         (elide-routines.og): Likewise.
52746         (objects): Don't use $(bp-thunks).
52747         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
52748         include.
52749         (common-generated): Do not add s-proto-bp.d.
52750         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
52751         (int): Likewise.
52752         (typ): Likewise.
52753         Do not generate makefile rules for bounded-pointer thunks.
52754         * sysdeps/generic/bp-thunks.h: Remove file.
52755         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
52756         * sysdeps/unix/s-proto-bp.S: Likewise.
52758         [BZ #15062]
52759         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
52760         parts of result separately when argument is not close to line from
52761         -i to i and one part of argument is small.
52762         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52763         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52764         * math/libm-test.inc (cacos_test): Add more tests.
52765         (casin_test): Likewise.
52766         (casinh_test): Likewise.
52767         * sysdeps/i386/fpu/libm-test-ulps: Update.
52768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52770 2013-01-31  David S. Miller  <davem@davemloft.net>
52772         * po/de.po: Update from translation team.
52774 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
52776         * time/tzfile.c: Include stdint.h for SIZE_MAX.
52778 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
52780         * configure.in (_AC_PROG_CC_C89): New definition.
52781         * configure: Regenerate.
52783         * configure.in (AC_PROG_CPP): New definition.
52784         * configure: Regenerate.
52786 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52788         * debug/tst-backtrace.h: New file.
52789         * debug/tst-backtrace2.c: Include tst-backtrace.h.
52790         (ret): Remove variable.
52791         (x): Likewise.
52792         (FAIL): Remove macro.
52793         (NO_INLINE): Likewise.
52794         (fn1): Use match function instead of strstr.
52795         * debug/tst-backtrace3.c: Include tst-backtrace.h.
52796         (ret): Remove variable.
52797         (x): Likewise.
52798         (FAIL): Remove macro.
52799         (NO_INLINE): Likewise.
52800         (fn): Use match function instead of strstr.
52801         * debug/tst-backtrace4.c: Include tst-backtrace.h.
52802         (ret): Remove variable.
52803         (x): Likewise.
52804         (FAIL): Remove macro.
52805         (NO_INLINE): Likewise.
52806         (handle_signal): Use match function instead of strstr.
52807         * debug/tst-backtrace5.c: Include tst-backtrace.h.
52808         (ret): Remove variable.
52809         (x): Likewise.
52810         (FAIL): Remove macro.
52811         (NO_INLINE): Likewise.
52812         (handle_signal): Use match function instead of strstr.
52814 2013-01-23  Roland McGrath  <roland@hack.frob.com>
52816         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
52818 2013-01-23  David S. Miller  <davem@davemloft.net>
52820         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
52821         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
52822         argument of CAS if possible.
52823         * sysdeps/sparc/sparc64/bits/atomic.h
52824         (__arch_compare_and_exchange_val_32_acq): Likewise.
52825         (__arch_compare_and_exchange_val_64_acq): Likewise.
52827 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
52829         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
52830         * sysdeps/posix/ulimit.c: ... this.
52831         Include <limits.h>.
52832         * sysdeps/unix/bsd/ulimit.c: Remove file.
52834 2013-01-23  Adam Conrad  <adconrad@0c3.net>
52836         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
52837         (LDFLAGS-tst-array5): Likewise.
52839 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52841         [BZ #15036]
52842         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
52843         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
52844         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
52845         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
52847 2013-01-21  David S. Miller  <davem@davemloft.net>
52849         * sysdeps/sparc/backtrace.c: New file.
52850         * sysdeps/sparc/sparc32/backtrace.h: New file.
52851         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
52852         * sysdeps/sparc/sparc64/backtrace.h: New file.
52853         * sysdeps/sparc/sparc64/backtrace.c: Delete.
52854         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
52855         -funwind-tables.
52857 2013-01-21  Andreas Schwab  <schwab@suse.de>
52859         [BZ #15020]
52860         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
52861         closed its stdout.
52863 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
52865         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
52866         "mpa2.h".
52867         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52869 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
52870             Mark Mitchell  <mark@codesourcery.com>
52871             Tom de Vries  <tom@codesourcery.com>
52872             Paul Pluzhnikov  <ppluzhnikov@google.com>
52874         * debug/tst-backtrace2.c: New file.
52875         * debug/tst-backtrace3.c: Likewise.
52876         * debug/tst-backtrace4.c: Likewise.
52877         * debug/tst-backtrace5.c: Likewise.
52878         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
52879         (CFLAGS-tst-backtrace3.c): Likewise.
52880         (CFLAGS-tst-backtrace4.c): Likewise.
52881         (CFLAGS-tst-backtrace5.c): Likewise.
52882         (LDFLAGS-tst-backtrace2): Likewise.
52883         (LDFLAGS-tst-backtrace3): Likewise.
52884         (LDFLAGS-tst-backtrace4): Likewise.
52885         (LDFLAGS-tst-backtrace5): Likewise.
52886         (tests): Add new tests tst-backtrace2, tst-backtrace3,
52887         tst-backtrace4 and tst-backtrace5.
52889 2013-01-18  Anton Blanchard  <anton@samba.org>
52890             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52892         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
52893         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
52894         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
52895         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
52896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52897         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
52898         "+r" and remove output regs list as redundant.  Add explicit inline
52899         asm to specify register of return val to work around compiler codegen
52900         bug.  Remove (int) cast on return value.  Add return type parameter to
52901         use in macro so that this macro does not truncate return value for
52902         64-bit values.
52903         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
52904         pass to INTERNAL_VSYSCALL_NCS.
52905         (INLINE_VSYSCALL): Add 'long int' as return type to
52906         INTERNAL_VSYSCALL_NCS macro invocation.
52907         (INTERNAL_VSYSCALL): Add 'long int' as return type to
52908         INTERNAL_VSYSCALL_NCS macro invocation.
52909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52911 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52913         [BZ #14496]
52914         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
52915         Fix application of SIMD FP exception mask.
52917         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
52918         mp_no from a power of two.
52919         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
52920         __mpexp_twomm1.  Use __pow_mp.
52922         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
52923         multiplication.
52925 2013-01-17  David S. Miller  <davem@davemloft.net>
52927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52929 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52931         [BZ #15023]
52932         * include/complex.h: Condition contents on [!_COMPLEX_H].
52933         (__kernel_casinhf): New prototype.
52934         (__kernel_casinh): Likewise.
52935         (__kernel_casinhl): Likewise.
52936         * math/Makefile (libm_calls): Add k_casinh.
52937         * math/k_casinh.c: New file.
52938         * math/k_casinhf.c: Likewise.
52939         * math/k_casinhl.c: Likewise.
52940         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
52941         finite nonzero arguments.
52942         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
52943         finite nonzero arguments.
52944         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
52945         finite nonzero arguments.
52946         * math/s_casinh.c: Do not include <float.h>.
52947         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
52948         * math/s_casinhf.c: Do not include <float.h>.
52949         (__casinhf): Move code for finite nonzero arguments to
52950         k_casinhf.c.
52951         * math/s_casinhl.c: Do not include <float.h>.
52952         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
52953         redefine.
52954         (__casinhl): Move code for finite nonzero arguments to
52955         k_casinhl.c.
52956         * math/libm-test.inc (cacos_test): Add more tests.
52957         * sysdeps/i386/fpu/libm-test-ulps: Update.
52958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52960 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
52962         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
52963         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
52964         [!HAVE_MREMAP]: Remove [defined linux] case.
52965         * malloc/arena.c: Do not include <malloc-sysdep.h>.
52967 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52969         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
52971 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
52973         * elf/elf.h (R_386_SIZE32): New relocation.
52974         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
52975         R_386_SIZE32.
52976         (elf_machine_rela): Likewise.
52977         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52978         R_X86_64_SIZE64 and R_X86_64_SIZE32.
52980 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52982         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
52983         (FP_FAST_FMA): Do not define.
52984         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
52985         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
52986         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
52987         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
52988         !_SOFT_FLOAT]: Likewise.
52989         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
52990         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
52991         value.
52992         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
52993         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
52994         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
52995         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
52996         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
52997         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
52998         file.
53000 2013-01-16  Andreas Schwab  <schwab@suse.de>
53002         [BZ #14327]
53003         * include/stdlib.h (__mktemp): Add declaration.
53004         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
53005         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
53007 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53009         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
53010         definitions.
53011         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53012         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
53013         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
53014         definitions here.
53015         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
53016         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
53017         definitions.
53018         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53019         and ONE.
53020         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
53021         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
53022         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
53023         definitions.
53024         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
53025         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
53026         definitions.
53027         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53029         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
53031 2013-01-15  David S. Miller  <davem@davemloft.net>
53033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53034         trunc{,f} to libm-sysdep_routes.
53035         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
53037         file.
53038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
53039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
53040         file.
53041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
53042         file.
53043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
53044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
53045         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
53046         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
53047         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
53048         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
53049         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
53050         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
53052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53053         nearbyint{,f} to libm-sysdep_routes.
53054         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
53056         New file.
53057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
53058         file.
53059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
53060         New file.
53061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
53062         file.
53063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
53064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
53065         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
53066         file.
53067         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
53068         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
53069         file.
53070         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
53071         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
53072         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
53074         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53075         libc_feholdexcept and libc_fesetenv.
53077 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
53079         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
53081 2013-01-14  David S. Miller  <davem@davemloft.net>
53083         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
53084         (SPARC_ASM_VIS2_IFUNC): Likewise.
53085         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
53086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
53087         use of 'siam' instruction.
53088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
53089         Likewise.
53090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
53091         Likewise.
53092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
53093         Likewise.
53094         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
53095         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
53096         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53097         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
53098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
53099         file.
53100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
53101         file.
53102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
53103         file.
53104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
53105         file.
53106         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
53107         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
53108         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
53109         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
53110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
53111         new VIS2 routines.
53112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53115         Likewise.
53116         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53117         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53118         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53119         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
53121         routines to libm-sysdep_routines.
53122         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53125         fdim/fdimf to libm-sysdep_routines.
53126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
53127         file.
53128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
53129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
53130         file.
53131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
53132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
53133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
53134         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
53135         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
53136         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
53137         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
53139 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53141         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
53142         to optimize copies.
53144         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
53145         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53146         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53148         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53149         local variable MPTWO.
53150         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53151         Likewise.
53153 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53155         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53156         GLOB_NOESCAPE.
53158 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53160         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53162 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53164         * manual/pattern.texi (glob_t): Document gl_flags.
53165         (glob64_t): Likewise.
53167 2013-01-11  David S. Miller  <davem@davemloft.net>
53169         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53170         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53171         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
53172         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53173         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53174         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53175         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53176         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53177         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53178         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53179         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53180         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53181         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
53183         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53184         sparc V9 rather than using V8 code.
53185         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53186         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53188         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53189         Move to...
53190         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53191         Here.
53193 2013-01-11  Roland McGrath  <roland@hack.frob.com>
53195         [BZ #14941]
53196         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
53197         not in the main loop.
53198         * configure: Regenerated.
53200 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
53202         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
53203         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
53204         to just #else.
53205         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
53206         [!__GLIBC_HAVE_LONG_LONG] case.
53207         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
53208         condition to just #else.
53209         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
53210         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
53211         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
53212         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
53213         unconditional.
53214         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
53215         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53216         #elif condition to just #else.
53217         * sysdeps/unix/sysv/linux/sys/sysmacros.h
53218         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
53219         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53220         #elif condition to just #else.
53222 2013-01-11  Steve Ellcey  <sellcey@mips.com>
53224         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
53225         (EF_MIPS_ARCH_64): Fix value.
53226         (EF_MIPS_ARCH_32R2): New.
53227         (EF_MIPS_ARCH_64R2): New.
53229 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
53231         * Makeconfig (+link-pie-before-libc): New.
53232         (+link-pie-after-libc): Likewise.
53233         (+link-pie-tests): Likewise.
53234         (+link-pie): Rewritten.
53235         (link-before-libc): Remove $(config-LDFLAGS).
53236         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
53237         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
53238         (config-LDFLAGS): Renamed to ...
53239         (rtld-LDFLAGS): This.
53240         (rtld-tests-LDFLAGS): New macro.
53241         (link-libc-rpath-link): Likewise.
53242         (link-libc-tests-rpath-link): Likewise.
53243         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
53244         (link-libc): Prepand $(link-libc-rpath-link).
53245         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
53246         (test-program-prefix): New macro.
53247         (test-via-rtld-prefix): Likewise.
53248         (test-program-cmd): Likewise.
53249         (host-test-program-cmd): Likewise.
53250         * Makefile ($(common-objpfx)testrun.sh): Replace
53251         $(run-program-prefix) with $(test-program-prefix).
53252         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
53253         $(rtld-LDFLAGS).
53254         ($(common-objpfx)shlib.lds): Likewise.
53255         (build-module-helper): Likewise.
53256         ($(common-objpfx)format.lds): Likewise.
53257         * Rules (binaries-pie-tests): New.
53258         (binaries-pie-notests): Likewise.
53259         (binaries-pie): Rewritten.
53260         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53261         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53262         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53263         (make-test-out): Replace $(host-built-program-cmd) with
53264         $(host-test-program-cmd).
53265         * config.make.in (build-hardcoded-path-in-tests): New variable.
53266         * configure.in (--enable-hardcoded-path-in-tests): New configure
53267         option.
53268         (hardcoded_path_in_tests): New AC_SUBST.
53269         * configure: Regenerated.
53270         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53271         $(built-program-cmd) with $(test-program-cmd).
53272         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53273         (test_program_cmd): This.
53274         * elf/Makefile ($(objpfx)order.out): Run test with
53275         $(test-program-prefix).
53276         ($(objpfx)order2.out): Likewise.
53277         ($(objpfx)tst-initorder.out): Likewise.
53278         ($(objpfx)tst-initorder2.out): Likewise.
53279         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53280         $(test-program-cmd).
53281         ($(objpfx)tst-array1-static.out): Likewise.
53282         ($(objpfx)tst-array2.out): Likewise.
53283         ($(objpfx)tst-array3.out): Likewise.
53284         ($(objpfx)tst-array4.out): Likewise.
53285         ($(objpfx)tst-array5.out): Likewise.
53286         ($(objpfx)tst-array5-static.out): Likewise.
53287         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53288         $(test-program-cmd).
53289         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53290         $(run-program-prefix) with $(test-program-prefix).
53291         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53292         (test_program_prefix): This.
53293         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53294         $(run-program-prefix) with $(test-program-prefix).
53295         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53296         (test_program_prefix): This.
53297         * iconvdata/tst-tables.sh: Likewise.
53298         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53299         $(run-program-prefix) with $(test-program-prefix).
53300         ($(objpfx)tst-translit.out): Likewise.
53301         ($(objpfx)tst-gettext2.out): Likewise.
53302         ($(objpfx)tst-gettext4.out): Likewise.
53303         ($(objpfx)tst-gettext6.out): Likewise.
53304         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53305         (test_program_prefix): This.
53306         * intl/tst-gettext2.sh: Likewise.
53307         * intl/tst-gettext4.sh  Likewise.
53308         * intl/tst-gettext6.sh: Likewise.
53309         * intl/tst-translit.sh: Likewise.
53310         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53311         with $(test-program-cmd).
53312         * libio/Makefile ($(objpfx)test-freopen.out): Replace
53313         $(run-program-prefix) with $(test-program-prefix).
53314         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53315         (test_program_prefix): This.
53316         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53317         $(run-program-prefix) with $(test-program-prefix).
53318         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53319         (test_program_prefix): This.
53320         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53321         * posix/Makefile ($(objpfx)globtest.out): Replace
53322         $(run-via-rtld-prefix) and $(test-wrapper) with
53323         $(test-program-prefix) and $(test-via-rtld-prefix).
53324         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53325         $(test-program-prefix).
53326         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53327         $(host-test-program-cmd).
53328         (tst-spawn-ARGS): Likewise.
53329         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53330         $(test-program-prefix).
53331         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53332         (test_via_rtld_prefix): This.
53333         (test_wrapper): Renamed to ...
53334         (test_program_prefix): This.
53335         (run_program_prefix): Replaced by test_program_prefix.
53336         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53337         (test_program_prefix): This.
53338         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
53339         with $(host-test-program-cmd).
53340         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
53341         $(run-program-prefix) with $(test-program-prefix).
53342         ($(objpfx)tst-printf.out): Likewise.
53343         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
53344         $(test-program-cmd).
53345         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
53346         (test_program_prefix): This.
53347         * stdio-common/tst-unbputc.sh: Likewise.
53348         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
53349         $(run-program-prefix) with $(test-program-prefix).
53350         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
53351         (test_program_prefix): This.
53352         * string/Makefile ($(objpfx)tst-svc.out):  Replace
53353         $(built-program-cmd) with $(test-program-cmd).
53355 2013-01-11  Andreas Jaeger  <aj@suse.de>
53357         [BZ #15003]
53358         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
53359         value. Sync with Linux 3.7.
53361 2013-01-10  David S. Miller  <davem@davemloft.net>
53363         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
53364         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53365         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53367 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53369         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
53370         never set.
53371         * configure: Regenerated.
53373 2013-01-10  David S. Miller  <davem@davemloft.net>
53375         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53376         sparc V9 rather than using V8 code.
53377         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53378         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53380 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53382         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
53383         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
53384         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
53385         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
53386         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
53387         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
53388         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
53389         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
53390         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
53391         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
53392         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
53393         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
53394         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
53395         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
53396         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
53397         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
53398         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
53399         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
53400         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
53401         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
53402         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
53403         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
53404         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
53405         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
53406         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53407         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
53408         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
53410 2013-01-10  David S. Miller  <davem@davemloft.net>
53412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53414 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53416         * posix/Makefile (tests-static): New variable.
53417         (tests): Add $(tests-static).
53418         (tst-exec-static-ARGS): New variable.
53419         (tst-spawn-static-ARGS): Likewise.
53420         * posix/tst-exec-static.c: New file.
53421         * posix/tst-spawn-static.c: Likewise.
53422         * posix/tst-exec.c: Support run directly.
53423         * posix/tst-spawn.c: Likewise.
53425 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
53427         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
53428         long.
53429         * math/bits/mathcalls.h (llrint): Likewise.
53430         (llround): Likewise.
53431         * stdlib/stdlib.h (struct drand48_data): Likewise.
53432         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
53433         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
53434         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
53435         Likewise.
53436         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
53437         Likewise.
53438         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
53439         (elf_greg_t): Likewise.
53440         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
53441         (__jmp_buf): Likewise.
53442         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
53443         definitions.
53444         (llrint): Likewise, for all definitions.
53445         (llrintl): Likewise.
53447         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
53448         Remove [__GNUC__] condition.
53449         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
53450         condition to just [__USE_ISOC99].
53451         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
53453 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53455         [BZ #14200]
53456         * sysdeps/unix/sysv/linux/x86/bits/environments.h
53457         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
53458         defined.
53459         (_POSIX_V6_ILP32_OFF32): Likewise.
53460         (_XBS5_ILP32_OFF32): Likewise.
53461         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
53462         (__ILP32_OFFBIG_LDFLAGS): Likewise.
53464 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53466         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
53468         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
53469         doubles __mpexp_twomm1.  Adjust usage.
53470         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
53471         Remove.
53473 2013-01-10  Andreas Schwab  <schwab@suse.de>
53475         [BZ #14964]
53476         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
53477         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
53479 2013-01-09  David S. Miller  <davem@davemloft.net>
53481         [BZ #15003]
53482         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
53483         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
53484         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
53485         (TCP_FASTOPEN): Define.
53486         (tcp_repair_opt): New structure.
53487         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
53488         enum values.
53489         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
53490         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
53491         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
53492         (tcp_cookie_transactions): New structure.
53494 2013-01-09  Anton Blanchard  <anton@samba.org>
53496         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
53497         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
53498         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
53499         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
53501 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
53503         * include/features.h (__USE_ANSI): Remove.
53505 2013-01-09  Roland McGrath  <roland@hack.frob.com>
53507         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
53509         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
53511 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
53513         * sysdeps/s390/fpu/libm-test-ulps: Update.
53515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53517         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
53518         (__acr): Likewise.
53519         (__cpy): Likewise.
53520         (norm): Likewise.
53521         (denorm): Likewise.
53522         (__mp_dbl): Likewise.
53523         (__dbl_mp): Likewise.
53524         (add_magnitudes): Likewise.
53525         (sub_magnitudes): Likewise.
53526         (__add): Likewise.
53527         (__sub): Likewise.
53528         (__mul): Likewise.
53529         (__inv): Likewise.
53530         (__dvd): Likewise.
53531         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
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/powerpc64/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.
53560 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
53562         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
53563         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
53564         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
53565         2 && __USE_EXTERN_INLINES]: Likewise.
53567 2013-01-08  Andreas Jaeger  <aj@suse.de>
53569         [BZ# 14985]
53570         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
53571         Remove.
53572         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53573         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53575 2013-01-07  Anton Blanchard  <anton@samba.org>
53577         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
53578         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53579         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
53580         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53581         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53582         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53583         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
53584         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53585         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53586         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53587         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53588         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53589         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53590         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53591         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53592         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53593         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53594         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53595         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53596         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53597         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53598         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
53599         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53600         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53601         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
53602         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53603         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53604         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53605         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
53606         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53607         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53608         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53609         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53610         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53611         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53612         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53613         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53614         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53615         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
53616         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53617         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
53618         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53619         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53621 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
53623         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
53624         (__MALLOC_PMT): Likewise.
53625         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
53626         [__GNUC__], only on [_LIBC].
53627         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53628         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
53629         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53630         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
53631         forward declaration.
53632         (realloc_hook_ini): Likewise.
53633         (memalign_hook_ini): Likewise.
53634         (__libc_memalign): Do not use __MALLOC_PMT in variable
53635         declaration.
53636         (__libc_valloc): Likewise.
53637         (__libc_pvalloc): Likewise.
53638         (__libc_calloc): Likewise.
53639         (__posix_memalign): Likewise.
53641         [BZ #14996]
53642         * math/s_casinh.c: Include <float.h>.
53643         (__casinh): Do not do computation with squaring and square root
53644         for large arguments.
53645         * math/s_casinhf.c: Include <float.h>.
53646         (__casinhf): Do not do computation with squaring and square root
53647         for large arguments.
53648         * math/s_casinhl.c: Include <float.h>.
53649         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
53650         (__casinhl): Do not do computation with squaring and square root
53651         for large arguments.
53652         * math/libm-test.inc (casin_test): Add more tests.
53653         (casinh_test): Likewise.
53654         * sysdeps/i386/fpu/libm-test-ulps: Update.
53655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53657 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
53659         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
53660         (__x86_64_raw_data_cache_size): Likewise.
53661         (__x86_64_data_cache_size_half): Likewise.
53662         (__x86_64_raw_data_cache_size_half): Likewise.
53663         (__x86_64_shared_cache_size): Likewise.
53664         (__x86_64_raw_shared_cache_size): Likewise.
53665         (__x86_64_shared_cache_size_half): Likewise.
53666         (__x86_64_raw_shared_cache_size_half): Likewise.
53667         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
53668         to ...
53669         (__x86_data_cache_size): This.
53670         (__x86_64_raw_data_cache_size): Renamed to ...
53671         (__x86_raw_data_cache_size): This.
53672         (__x86_64_data_cache_size_half): Renamed to ...
53673         (__x86_data_cache_size_half): This.
53674         (__x86_64_raw_data_cache_size_half): Renamed to ...
53675         (__x86_raw_data_cache_size_half): This.
53676         (__x86_64_shared_cache_size): Renamed to ...
53677         (__x86_shared_cache_size): This.
53678         (__x86_64_raw_shared_cache_size): Renamed to ...
53679         (__x86_raw_shared_cache_size): This.
53680         (__x86_64_shared_cache_size_half): Renamed to ...
53681         (__x86_shared_cache_size_half): This.
53682         (__x86_64_raw_shared_cache_size_half): Renamed to ...
53683         (__x86_raw_shared_cache_size_half): This.
53684         * sysdeps/x86_64/memcpy.S: Updated.
53685         * sysdeps/x86_64/memset.S: Likewise.
53686         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53687         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53688         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53690 2013-01-04  David S. Miller  <davem@davemloft.net>
53692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53694 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
53696         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
53697         1 to avoid redefinition warning.
53698         (__USE_GNU): Don't define.
53699         (init_signaling_nan): Protoize.
53701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53703 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53705         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
53706         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
53707         (__cpymn): Likewise.
53708         (norm): Remove commented code.
53709         (denorm): Likewise.
53710         (__mp_dbl): Likewise.
53711         (__inv): Likewise.
53712         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
53713         (__cpymn): Likewise.
53714         (norm): Remove commented code.
53715         (denorm): Likewise.
53716         (__mp_dbl): Likewise.
53717         (__inv): Likewise.
53719         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
53720         mp_no value for 1.0 and 2.0.
53721         (norm): Use RADIXI instead of radixi.d.
53722         (denorm): Likewise.
53723         (__mul): Use 0.0 instead of zero.d.
53724         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
53725         mp_no value for 1.0 and 2.0.
53726         (norm): Use RADIXI instead of radixi.d.
53727         (denorm): Likewise.
53728         (__mul): Use 0.0 instead of zero.d.
53730 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
53732         [BZ #14994]
53733         * math/s_casinh.c (__casinh): Reduce finite argument to first
53734         quadrant then set signs of results at the end.
53735         * math/s_casinhf.c (__casinhf): Likewise.
53736         * math/s_casinhl.c (__casinhl): Likewise.
53737         * math/libm-test.inc (casin_test): Add more tests.
53738         (casinh_test): Likewise.
53739         * sysdeps/i386/fpu/libm-test-ulps: Update.
53740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53742 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53744         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
53746         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
53748         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
53749         declarations.
53750         (denorm): Likewise.
53751         (__mp_dbl): Likewise.
53752         (__inv): Likewise.
53754         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
53755         and adjust the header comment.
53757         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
53758         variable name from declaration.
53760 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
53762         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53763         Initialize COMMON_CPUID_INDEX_7 element.
53764         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
53765         (CPUID_RTM): Likewise.
53766         (HAS_RTM): Likewise.
53767         (COMMON_CPUID_INDEX_7): New enum.
53769 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
53771         [BZ #14981]
53772         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
53773         size is zero, record memory as freed.
53775 2013-01-03  Andreas Jaeger  <aj@suse.de>
53777         * po/ia.po: Add new Interlingua translation.
53779 2012-01-03  Allan McRae  <allan@archlinux.org>
53781         * locale/programs/localedef.c: Fix description of '--posix' flag.
53783 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
53785         * NEWS: Update dates in second copyright notice.
53786         * README: Update copyright dates in example.
53787         * manual/libc.texinfo: Update copyright dates.
53788         * scripts/test-installation.pl: Update copyright date in --version
53789         output.
53791         * hurd/ctty-input.c: Fix copyright notice formatting.
53792         * hurd/ctty-output.c: Likewise.
53793         * hurd/dtable.c: Likewise.
53794         * hurd/hurd-raise.c: Likewise.
53795         * hurd/hurdprio.c: Likewise.
53796         * hurd/msgportdemux.c: Likewise.
53797         * misc/sys/file.h: Likewise.
53798         * misc/sys/ioctl.h: Likewise.
53799         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53800         * sysdeps/mach/hurd/chdir.c: Likewise.
53801         * sysdeps/mach/hurd/fchdir.c: Likewise.
53802         * sysdeps/mach/hurd/rename.c: Likewise.
53803         * sysdeps/mach/hurd/rmdir.c: Likewise.
53804         * sysdeps/mach/hurd/seekdir.c: Likewise.
53805         * sysdeps/mach/hurd/setsid.c: Likewise.
53806         * sysdeps/posix/wait3.c: Likewise.
53808         * All files with FSF copyright notices: Update copyright dates
53809         using scripts/update-copyrights.
53810         * intl/plural.c: Regenerated.
53811         * locale/programs/charmap-kw.h: Likewise.
53812         * locale/programs/locfile-kw.h: Likewise.
53814 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53816         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
53817         four values.
53819         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
53820         calculation loop and add branch prediction.
53822         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
53823         check access beyond bounds of m1np.
53825         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53826         MPTWO.
53827         (__inv): Remove local variable MPTWO to use the global
53828         constant.
53829         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
53830         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53831         variable MPTWO.
53832         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
53833         MP3HALFS static const.
53835 2013-01-01  David S. Miller  <davem@davemloft.net>
53837         * po/ca.po: Update from translation team.
53839 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
53841         * scripts/update-copyrights: New file.
53842         * Makeconfig: Reformat copyright notice.
53843         * ctype/ctype.h: Likewise.
53844         * debug/swprintf_chk.c: Likewise.
53845         * elf/dl-cache.c: Likewise.
53846         * elf/dl-debug.c: Likewise.
53847         * elf/dl-object.c: Likewise.
53848         * grp/initgroups.c: Likewise.
53849         * hurd/Makefile: Likewise.
53850         * hurd/hurd/signal.h: Likewise.
53851         * hurd/hurdfault.c: Likewise.
53852         * hurd/hurdioctl.c: Likewise.
53853         * hurd/hurdlookup.c: Likewise.
53854         * hurd/intr-msg.c: Likewise.
53855         * iconv/gconv_open.c: Likewise.
53856         * libio/swprintf.c: Likewise.
53857         * locale/lc-ctype.c: Likewise.
53858         * locale/nl_langinfo.c: Likewise.
53859         * mach/Machrules: Likewise.
53860         * mach/Makefile: Likewise.
53861         * malloc/obstack.h: Likewise.
53862         * manual/Makefile: Likewise.
53863         * manual/tsort.awk: Likewise.
53864         * misc/bits/stab.def: Likewise.
53865         * nis/nis_print_group_entry.c: Likewise.
53866         * nis/nis_table.c: Likewise.
53867         * nis/nss_compat/compat-pwd.c: Likewise.
53868         * nis/nss_compat/compat-spwd.c: Likewise.
53869         * po/Makefile: Likewise.
53870         * posix/fnmatch.c: Likewise.
53871         * posix/regex.h: Likewise.
53872         * resolv/Makefile: Likewise.
53873         * resolv/nss_dns/dns-network.c: Likewise.
53874         * resolv/res_hconf.c: Likewise.
53875         * scripts/gen-sorted.awk: Likewise.
53876         * soft-fp/soft-fp.h: Likewise.
53877         * stdio-common/printf.h: Likewise.
53878         * stdlib/monetary.h: Likewise.
53879         * stdlib/random.c: Likewise.
53880         * stdlib/random_r.c: Likewise.
53881         * sysdeps/generic/Makefile: Likewise.
53882         * sysdeps/gnu/Makefile: Likewise.
53883         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53884         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53885         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53886         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53887         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53888         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53889         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53890         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53891         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53892         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53893         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53894         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53895         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53896         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53897         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
53898         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53899         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53900         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53901         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53902         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53903         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53904         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53905         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53906         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53907         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
53908         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53909         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
53910         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
53911         * sysdeps/mach/hurd/errnos.awk: Likewise.
53912         * sysdeps/mach/hurd/fork.c: Likewise.
53913         * sysdeps/mach/hurd/getcwd.c: Likewise.
53914         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
53915         * sysdeps/mach/hurd/mmap.c: Likewise.
53916         * sysdeps/mach/hurd/utimes.c: Likewise.
53917         * sysdeps/mach/hurd/xmknod.c: Likewise.
53918         * sysdeps/posix/profil.c: Likewise.
53919         * sysdeps/posix/readdir_r.c: Likewise.
53920         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53921         * sysdeps/powerpc/bits/setjmp.h: Likewise.
53922         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
53923         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53924         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53925         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53926         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53927         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53928         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53929         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53930         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53931         * sysdeps/pthread/lio_listio.c: Likewise.
53932         * sysdeps/sparc/dl-procinfo.h: Likewise.
53933         * sysdeps/unix/i386/sysdep.S: Likewise.
53934         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
53935         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
53936         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
53937         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
53938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53939         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
53940         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
53941         * sysdeps/unix/sysv/linux/speed.c: Likewise.
53942         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
53943         * sysdeps/wordsize-32/divdi3.c: Likewise.
53944         * time/sys/time.h: Likewise.
53945         * wcsmbs/Makefile: Likewise.
53947 2013-01-01  David S. Miller  <davem@davemloft.net>
53949         * po/fr.po: Update from translation team.
53951         * catgets/gencat.c: Update copyright year.
53952         * csu/version.c: Likewise.
53953         * debug/catchsegv.sh: Likewise.
53954         * debug/pcprofiledump.c: Likewise.
53955         * debug/xtrace.sh: Likewise.
53956         * elf/ldconfig.c: Likewise.
53957         * elf/ldd.bash.in: Likewise.
53958         * elf/pldd.c: Likewise.
53959         * elf/sotruss.ksh: Likewise.
53960         * elf/sprof.c: Likewise.
53961         * iconv/iconv_prog.c: Likewise.
53962         * iconv/iconvconfig.c: Likewise.
53963         * locale/programs/locale.c: Likewise.
53964         * locale/programs/localedef.c: Likewise.
53965         * login/programs/pt_chown.c: Likewise.
53966         * malloc/memusage.sh: Likewise.
53967         * malloc/memusagestat.c: Likewise.
53968         * malloc/mtrace.pl: Likewise.
53969         * nscd/nscd.c: Likewise.
53970         * nss/getent.c: Likewise.
53971         * nss/makedb.c: Likewise.
53972         * posix/getconf.c: Likewise.
53974 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53976         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
53977         numbers.
53979 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
53981         * math/bits/mathcalls.h (modf): Use __nonnull.
53983 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53985         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
53986         (split): Use macro CN instead of the bare value.
53987         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
53988         could be used.
53989         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
53990         instead of the bare value.
53991         (power1): Likewise.
53993 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53995         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
53996         __ATAN_TWOM.
53997         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53999         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
54000         their values.
54001         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54002         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54003         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
54004         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54006 2012-12-28  Andreas Jaeger  <aj@suse.de>
54008         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
54009         values are from Linux 3.7.
54011         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
54012         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
54014 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54016         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
54017         TRUE case.
54019         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
54020         (norm): Likewise.
54021         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
54022         variables with preprocessor constants.
54023         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54024         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54025         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54027 2012-12-27  Bruno Haible  <bruno@clisp.org>
54029         [BZ #14317]
54030         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
54031         only if needed.
54033 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54035         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
54036         and use variable directly.
54037         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
54039         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54040         MPONE.
54041         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
54042         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54043         variable MPONE.
54044         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54045         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54046         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
54047         include directive.  Remove local variable MPONE.
54048         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
54049         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
54050         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54052 2012-12-25  David S. Miller  <davem@davemloft.net>
54054         * version.h (RELEASE): Set to "development".
54055         (VERSION): Set to "2.17.90".
54056         * NEWS: Add 2.18 section.
54058 2012-12-21  David S. Miller  <davem@davemloft.net>
54060         * po/hr.po: Update from translation team.
54062 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54064         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
54066 2012-12-19  Steve Ellcey  <sellcey@mips.com>
54068         * NEWS:  Mention new memcpy for MIPS.
54070 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54072         * manual/contrib.texi (Contributors): Spelling correction.
54074 2012-12-15  David S. Miller  <davem@davemloft.net>
54076         * po/ru.po: Update from translation team.
54078 2012-12-13  David S. Miller  <davem@davemloft.net>
54080         * NEWS: Mention IFUNC testsuite enhancements.
54082         * po/pl.po: Update from translation team.
54083         * po/bg.po: Likewise.
54085         * manual/contrib.texi (Contributors): Update entries for Hongjiu
54086         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
54088 2012-12-11  David S. Miller  <davem@davemloft.net>
54090         * po/sv.po: Update from translation team.
54092         * po/vi.po: Update from translation team.
54094         * po/cs.po: Update from translation team.
54096         * po/de.po: Update from translation team.
54097         * po/eo.po: Likewise.
54098         * po/nl.po: Likewise.
54100 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54102         [BZ #14246]
54103         * manual/argp.texi (Argp Helper Functions): Move node to follow
54104         Argp Parsing State.
54106         [BZ #14872]
54107         * manual/conf.texi (Limits on File System Capacity): Mention if
54108         terminating null is included in the max size.
54110 2012-12-10  Andreas Jaeger  <aj@suse.de>
54112         * po/cs.po: Update from translation team.
54114 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54116         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
54117         void pointer and cast to uintptr_t.
54118         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
54119         path.
54120         * sysdeps/s390/s390-64/memcpy.S: Likewise.
54121         * sysdeps/s390/s390-64/memset.S: Likewise.
54123 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
54125         [BZ #14833]
54126         * menual/message.texi (Message Translation): Fix typos.
54127         (Helper programs for gettext): Likewise.
54129 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
54131         [BZ #14898]
54132         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
54133         Change to -1.
54135 2012-12-07  David S. Miller  <davem@davemloft.net>
54137         * po/libc.pot: Update.
54139 2012-12-07  Richard Henderson  <rth@redhat.com>
54141         [BZ #10114]
54142         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
54143         normal/normal case to before the switch.
54144         (_FP_DIV): Likewise.
54146 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
54147             Mike Frysinger  <vapier@gentoo.org>
54149         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54150         check for __NR_fadvise64_64.
54152 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
54154         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54155         0, not just to plain "0" as a statement.
54156         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54157         with cw.
54159 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
54161         * NEWS: Use sourceware.org in Bugzilla URL.
54163 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54166         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54168         * stdio-common/tst-put-error.c (do_test): Add newline to the
54169         padded test to ensure flush.
54171 2012-12-05  Jeff Law  <law@redhat.com>
54173         * sunrpc/etc.rpc (fedfs_admin): Add entry.
54175 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
54177         * README: Don't refer to ports add-on as distributed separately.
54178         Mention AArch64 in list of systems supported in the ports add-on.
54180         * LICENSES: Add more non-FSF copyright and license notices.
54182         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54183         ((unused)).
54185         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
54187         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
54188         10000 as width of padded output.
54190 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54192         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54194         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
54195         variable LX with __attribute__ ((unused)).
54196         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54197         Likewise.
54198         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54199         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54200         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
54201         with __attribute__ ((unused)).
54203 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
54205         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
54207 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54209         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
54210         (CFLAGS-nldbl-acos.c): New variable.
54211         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
54212         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
54213         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
54214         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
54215         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
54216         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
54217         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
54218         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
54219         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
54220         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
54221         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
54222         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
54223         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
54224         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
54225         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
54226         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
54227         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
54228         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
54229         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
54230         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
54231         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
54232         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
54233         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
54234         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
54235         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
54236         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
54237         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
54238         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
54239         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
54240         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
54241         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
54242         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
54243         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
54244         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
54245         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
54246         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
54247         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
54248         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
54249         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
54250         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
54251         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
54252         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
54253         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
54254         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
54255         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54256         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
54257         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
54258         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54259         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54260         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54261         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54262         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54263         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54264         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54265         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54266         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54267         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54268         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54269         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54270         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54271         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54272         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54273         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54274         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54275         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54276         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54277         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54278         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54279         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54280         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54281         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54282         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54283         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54284         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54285         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54286         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54287         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54288         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54289         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54290         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54291         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54292         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54293         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54294         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54295         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54296         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54297         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54298         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54299         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54300         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54301         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54302         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54303         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54304         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54305         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54306         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54307         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54310         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54312         [BZ #14914]
54313         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54314         whole low double instead of just low 47 bits when splitting values
54315         into two parts.
54317 2012-12-03  Allan McRae  <allan@archlinux.org>
54319         * manual/stdio.texi (Predefined Printf Handlers): Remove
54320         @hsep and @vsep usage.
54322 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
54324         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54325         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54327 2012-12-03  Jeff Law  <law@redhat.com>
54329         * time/sys/time.h (settimeofday): Do not mark TV argument
54330         as __nonnull.
54332 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
54334         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54335         when currently writing and seek to current position when not.
54336         * libio/Makefile (tests): Remove bug-fclose1.
54337         * libio/bug-fclose1.c: Delete.
54339 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
54341         * manual/arith.texi (feenableexcept): Fix typo.
54342         (fedisableexcept): Likewise.
54344 2012-11-30  Roland McGrath  <roland@hack.frob.com>
54346         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
54347         second, differently-typed declaration, rather than a cast.
54349 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54351         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
54352         * include/rpc/svc.h: ... here.
54354 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
54356         [BZ #13013]
54357         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
54358         depending n and resplen2 to catch cases where answer
54359         equals answerp2.
54361 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
54363         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
54364         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
54366 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
54368         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
54370 2012-11-29  Roland McGrath  <roland@hack.frob.com>
54372         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
54374 2012-11-28  Jeff Law  <law@redhat.com>
54376         [BZ #13761]
54377         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
54378         dataset_temporary.  Track alloca usage into alloca_used.
54379         If dataset is large allocate and release it via malloc/free.
54381 2012-06-04  Florian Weimer  <fweimer@redhat.com>
54383         [BZ #14197]
54384         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
54386 2012-11-28  David S. Miller  <davem@davemloft.net>
54388         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54390 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54392         [BZ #14803]
54393         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
54394         of pi/2 rounded to nearest to 64 bits.
54395         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54396         nearest to 64 bits.
54397         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
54398         bits.
54400 2012-11-28  Jeff Law <law@redhat.com>
54401             Martin Osvald <mosvald@redhat.com>
54403         [BZ #14889]
54404         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
54405         * sunrpc/svc.c: Include time.h.
54406         (__svc_accept_failed): New function.
54407         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
54408         any reason other than EINTR, call __svc_accept_failed.
54409         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
54410         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
54412 2012-11-28  Andreas Schwab  <schwab@suse.de>
54414         * scripts/abilist.awk: Also handle indirect functions in .opd
54415         section.
54417 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54419         [BZ #13881]
54420         * sysdeps/x86/fpu/powl_helper.c: New file.
54421         * sysdeps/x86/fpu/Makefile: Likewise.
54422         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
54423         (p3): New object.
54424         (__ieee754_powl): Use __powl_helper for finite arguments except
54425         integer exponents below 8.
54426         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
54427         (p3): New object.
54428         (__ieee754_powl): Use __powl_helper for finite arguments except
54429         integer exponents below 8.
54430         * math/libm-test.inc (pow_test): Add more tests and enable some
54431         previously disabled tests.
54432         * sysdeps/i386/fpu/libm-test-ulps: Update.
54433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54435 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54436             Carlos O'Donell  <carlos_odonell@mentor.com>
54438         * nss/makedb.c (is_prime): Assert that input is odd and greater
54439         than 4.  Note that fact in a comment too.
54440         (next_prime): Add 4 to input.
54442 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54444         [BZ #11741]
54445         * libio/Makefile (tests): Add test case tst-fwrite-error.
54446         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
54447         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
54448         * libio/tst-fwrite-error.c: New test case.
54450 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
54452         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
54453         before casting to void *.
54454         * include/libc-internal.h (__pointer_type): New macro.
54455         (__integer_if_pointer_type_sub): Likewise.
54456         (__integer_if_pointer_type): Likewise.
54457         (cast_to_integer): Likewise.
54458         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
54459         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
54460         before casting to atomic64_t.
54461         (atomic_exchange_acq): Likewise.
54462         (__arch_exchange_and_add_body): Likewise.
54463         (__arch_add_body): Likewise.
54464         (atomic_add_negative): Likewise.
54465         (atomic_add_zero): Likewise.
54467 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
54469         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
54470         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
54471         (add_fdes): Likewise.
54472         (linear_search_fdes): Likewise.
54473         (binary_search_unencoded_fdes): Likewise.
54475 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
54477         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
54479 2012-11-24  Adam Conrad  <adconrad@0c3.net>
54481         * configure.in: Autodetect C++ header directories.
54482         * configure: Regenerated.
54484 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
54486         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
54488 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
54490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54492 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
54494         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
54495         LDBL_MANT_DIG == 106]: Disable some tests.
54496         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54497         Likewise.
54498         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54499         Likewise.
54501         [BZ #14871]
54502         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
54503         input for small inputs.  Return +/- pi/2 for large inputs.
54504         * math/libm-test.inc (atan_test): Add more tests.
54506         * sysdeps/generic/unwind-dw2-fde-glibc.c
54507         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
54508         __attribute__ ((unused)).
54510         [BZ #14645]
54511         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
54512         x * y if x and y are nonzero and z is zero.
54514         [BZ #14811]
54515         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
54516         nonzero exponents with absolute value below 0x1p-117 to +/-
54517         0x1p-117.
54519         [BZ #14869]
54520         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
54521         up arguments below 2**-450, not just those below 2**-500.
54522         * math/libm-test.inc (hypot_test): Add another test.
54524         [BZ #14868]
54525         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
54526         Return a+b for ratio over 2**120, not 2**60.
54527         * math/libm-test.inc (hypot_test): Add another test.
54529         * math/libm-test.inc (clog_test): Use
54530         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
54531         (clog10_test): Likewise.
54533         [BZ #6778]
54534         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
54536 2012-11-22  Andreas Schwab  <schwab@suse.de>
54538         * sysdeps/i386/fpu/libm-test-ulps: Update.
54540 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
54542         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
54543         printf output with newline.
54545 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
54547         [BZ #14865]
54548         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
54549         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
54550         -z nodlopen, -z initfirst and -z execstack support.
54551         * configure: Regenerated.
54553         * elf/elf.h (DF_1_NODIRECT): New macro.
54554         (DF_1_IGNMULDEF): Likewise.
54555         (DF_1_NOKSYMS): Likewise.
54556         (DF_1_NOHDR): Likewise.
54557         (DF_1_EDITED): Likewise.
54558         (DF_1_NORELOC): Likewise.
54559         (DF_1_SYMINTPOSE): Likewise.
54560         (DF_1_GLOBAUDIT): Likewise.
54561         (DF_1_SINGLETON): Likewise.
54562         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
54563         DT_1_SUPPORTED_MASK bits.
54564         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
54566 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
54568         * sysdeps/unix/make-syscalls.sh: Document prefixes.
54570 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
54572         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
54573         macro.
54575         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
54576         (sendmmsg): Move declarations...
54577         * socket/sys/socket.h: ... here.
54578         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
54579         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
54580         include it from...
54581         * socket/recvmmsg.c: ... this new file.
54582         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
54583         (sendmmsg): Rename to __sendmmsg, create weak alias and make
54584         definition of __sendmmsg hidden.
54585         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
54586         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
54587         Move ENOSYS stub into and include it from...
54588         * socket/sendmmsg.c: ... this new file.
54589         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
54590         (sysdep_routines): Move recvmmsg and sendmmsg...
54591         * socket/Makefile (routines): ... here.
54592         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
54593         (GLIBC_PRIVATE): Add __sendmmsg.
54594         * include/sys/socket.h (__sendmmsg): Add declarations.
54595         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
54596         sendmmsg.
54598 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
54600         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
54601         variable I1 with __attribute__ ((unused)).
54602         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54604 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54606         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
54607         DUMMY variables with __attribute__ ((unused)).
54609         * bits/byteswap.h: Include <bits/types.h>.
54610         (__bswap_64): Use __uint64_t instead of unsigned long long int.
54612 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54614         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
54615         string_t.  Do not manually set errno.
54616         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
54617         length with __strnlen.  Make sure to both set errno and return it on
54618         failure.
54620 2012-11-19  David S. Miller  <davem@davemloft.net>
54622         With help from Joseph Myers.
54623         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
54624         very large arguments properly.
54625         * math/libm-test.inc (atan_test): New tests.
54626         (atan2_test): New tests.
54627         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54628         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54630 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54632         [BZ #14856]
54633         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
54634         Define to 3.
54636         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
54637         [POSIX] (EADDRNOTAVAIL): Likewise.
54638         [POSIX] (EAFNOSUPPORT): Likewise.
54639         [POSIX] (EALREADY): Likewise.
54640         [POSIX] (ECONNABORTED): Likewise.
54641         [POSIX] (ECONNREFUSED): Likewise.
54642         [POSIX] (ECONNRESET): Likewise.
54643         [POSIX] (EDESTADDRREQ): Likewise.
54644         [POSIX] (EDQUOT): Likewise.
54645         [POSIX] (EHOSTUNREACH): Likewise.
54646         [POSIX] (EIDRM): Likewise.
54647         [POSIX] (EISCONN): Likewise.
54648         [POSIX] (ELOOP): Likewise.
54649         [POSIX] (EMULTIHOP): Likewise.
54650         [POSIX] (ENETDOWN): Likewise.
54651         [POSIX] (ENETUNREACH): Likewise.
54652         [POSIX] (ENOBUFS): Likewise.
54653         [POSIX] (ENODATA): Likewise.
54654         [POSIX] (ENOLINK): Likewise.
54655         [POSIX] (ENOMSG): Likewise.
54656         [POSIX] (ENOPROTOOPT): Likewise.
54657         [POSIX] (ENOSR): Likewise.
54658         [POSIX] (ENOSTR): Likewise.
54659         [POSIX] (ENOTCONN): Likewise.
54660         [POSIX] (ENOTSOCK): Likewise.
54661         [POSIX] (EOPNOTSUPP): Likewise.
54662         [POSIX] (EOVERFLOW): Likewise.
54663         [POSIX] (EPROTO): Likewise.
54664         [POSIX] (EPROTONOSUPPORT): Likewise.
54665         [POSIX] (EPROTOTYPE): Likewise.
54666         [POSIX] (ESTALE): Likewise.
54667         [POSIX] (ETIME): Likewise.
54668         [POSIX] (ETXTBSY): Likewise.
54669         [POSIX] (EWOULDBLOCK): Likewise.
54670         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
54671         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
54672         [POSIX] (SEEK_CUR): Likewise.
54673         [POSIX] (SEEK_END): Likewise.
54674         [POSIX || UNIX98] (mode_t): Do not require.
54675         [POSIX] (off_t): Likewise.
54676         [POSIX] (pid_t): Likewise.
54677         [POSIX] (sys/stat.h): Do not allow header.
54678         [POSIX] (unistd.h): Likewise.
54679         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
54680         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
54681         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
54682         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
54683         require.
54684         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
54685         sigevent): Specify elements.
54686         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
54687         entry.
54688         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
54689         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
54691         * conform/data/cpio.h-data [POSIX]: Disable whole file.
54692         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
54693         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
54694         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
54695         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
54696         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
54697         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
54698         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
54699         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
54700         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
54701         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
54702         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
54703         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
54704         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
54705         Likewise.
54706         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
54707         Likewise.
54708         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
54709         Likewise.
54710         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
54711         Likewise.
54712         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
54713         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
54714         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
54715         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
54716         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
54717         Specify lower bound on value.
54718         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
54719         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
54720         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
54721         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
54722         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
54723         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
54724         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
54725         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
54726         value.
54727         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
54728         as optional.
54729         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
54730         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
54731         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
54732         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
54733         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
54734         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
54735         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
54736         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
54737         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
54738         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
54739         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
54740         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
54741         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
54742         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
54743         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
54744         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
54745         entry.
54746         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
54747         optional.
54748         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
54749         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
54750         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
54751         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
54752         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
54753         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
54754         Likewise.
54755         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
54756         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
54757         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
54758         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
54759         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
54760         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
54761         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
54762         as optional.
54763         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
54764         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
54765         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
54766         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
54767         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
54768         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
54769         specify as optional.
54770         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
54771         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
54772         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
54773         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
54774         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
54775         [XPG3] (NL_LANGMAX): Likewise.
54776         [POSIX || XPG3] (NL_MSGMAX): Likewise.
54777         [POSIX || XPG3] (NL_NMAX): Likewise.
54778         [POSIX || XPG3] (NL_SETMAX): Likewise.
54779         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
54780         [XPG3] (NZERO): Likewise.
54781         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
54782         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
54783         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
54784         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
54785         (REG_ERANGE): Expect.
54786         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
54787         optional-constant.
54788         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
54789         Use (void) in prototype.
54790         [POSIX] (*_t): Allow.
54791         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
54792         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
54793         (WRDE_BADVAL): Expect.
54795         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
54796         expect.
54797         [XPG3 || XPG4] (O_RSYNC): Likewise.
54798         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
54799         Likewise.
54800         [XPG3 || XPG4] (pthread_sigmask): Likewise.
54801         [XPG3 || XPG4] (sigqueue): Likewise.
54802         [XPG3 || XPG4] (sigtimedwait): Likewise.
54803         [XPG3 || XPG4] (sigwaitinfo): Likewise.
54804         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
54805         [XPG3 || XPG4] (vsnprintf): Likewise.
54806         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
54807         Likewise.
54808         [XPG3 || XPG4] (blksize_t): Likewise.
54809         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
54810         Likewise.
54811         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
54812         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
54813         [XPG3 || XPG4] (struct itimerspec): Likewise.
54814         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
54815         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
54816         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
54817         [XPG3 || XPG4] (clockid_t): Likewise.
54818         [XPG3 || XPG4] (timer_t): Likewise.
54819         [XPG3 || XPG4] (clock_getres): Likewise.
54820         [XPG3 || XPG4] (clock_gettime): Likewise.
54821         [XPG3 || XPG4] (clock_settime): Likewise.
54822         [XPG3 || XPG4] (nanosleep): Likewise.
54823         [XPG3 || XPG4] (timer_create): Likewise.
54824         [XPG3 || XPG4] (timer_delete): Likewise.
54825         [XPG3 || XPG4] (timer_gettime): Likewise.
54826         [XPG3 || XPG4] (timer_getoverrun): Likewise.
54827         [XPG3 || XPG4] (timer_settime): Likewise.
54828         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
54829         [XPG3 || XPG4] (getlogin_r): Likewise.
54830         [XPG3 || XPG4] (pread): Likewise.
54831         [XPG3 || XPG4] (pthread_atfork): Likewise.
54832         [XPG3 || XPG4] (pwrite): Likewise.
54834         [BZ #14835]
54835         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
54836         <bits/siginfo.h>.
54838 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54840         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
54841         finalizing MALLSTREAM.
54843         * sysdeps/mach/hurd/syncfs.c: New file.
54845 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54847         [BZ #14719]
54848         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
54849         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
54850         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
54851         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
54852         (_nss_dns_gethostbyname4_r): Likewise.
54853         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
54854         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
54856 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
54858         [BZ #13763]
54859         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
54861 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
54863         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
54864         * elf/cache.c (print_entry): Print ",AArch64" for
54865         FLAG_AARCH64_LIB64
54867         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
54868         * elf/cache.c (print_entry): Print ",hard-float" for
54869         FLAG_ARM_LIBHF.
54871 2012-11-18  David S. Miller  <davem@davemloft.net>
54873         With help from Joseph Myers.
54874         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
54875         cutoff to 2**-13.
54876         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
54877         cutoff to 2**-25.
54878         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
54879         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
54880         small.
54881         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
54882         * math/libm-test.inc (y0_test): New tests.
54883         (y1_test): New tests.
54884         * sysdeps/i386/fpu/libm-test-ulps: Update.
54885         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54888 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
54890         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
54891         64-bit targets.
54892         * configure: Regenerated.
54894 2012-11-17  David S. Miller  <davem@davemloft.net>
54896         [BZ #14811]
54897         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
54898         nonzero exponents with absolute value below 0x1p-128 to +/-
54899         0x1p-128.
54901 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
54903         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
54905         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
54907         * posix/getconf-speclist.c: New file.
54908         * posix/posix-envs.def: Likewise.
54909         * posix/confstr.c (START_ENV_GROUP): New macro.
54910         (END_ENV_GROUP): Likewise.
54911         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54912         (KNOWN_PRESENT_ENV_STRING): Likewise.
54913         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54914         (UNKNOWN_ENVIRONMENT): Likewise.
54915         (confstr): Include posix-envs.def instead of handling
54916         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
54917         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
54918         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
54919         (END_ENV_GROUP): Likewise.
54920         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54921         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54922         (UNKNOWN_ENVIRONMENT): Likewise.
54923         (__sysconf): Include posix-envs.def instead of handling associated
54924         cases directly here.
54925         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
54926         preprocessing getconf-speclist.c rather than running getconf or
54927         generating empty file.
54929 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
54931         * scripts/check-local-headers.sh: Ignore 'mach' headers.
54933 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
54935         [BZ #14672]
54936         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
54938 2012-11-16  David S. Miller  <davem@davemloft.net>
54940         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
54941         smaller than LDBL_EPSILON/2.0L, just return xm1.
54943 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
54945         * elf/tst-array1.c (init): Set constructor priority to 1000.
54946         (fini): Set destructor priority to 1000.
54947         * elf/tst-array2dep.c: Likewise.
54949 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54951         [BZ #11741]
54952         * libio/fileops.c (_IO_new_file_write): Correctly return error.
54953         (_IO_new_file_xsputn): Also return EOF if none of the input
54954         data was written when overflow failed.
54955         * libio/iopadn.c (_IO_padn): Likewise.
54956         * libio/iowpadn.c (_IO_wpadn): Likewise.
54957         * stdio-common/tst-put-error.c: Add copyright notice.
54958         (do_test): Add case for printing padded string.
54959         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
54960         _IO_padn returned error.
54961         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
54962         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
54963         return EOF.
54965 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54967         * libio/libioP.h: Add comment note that the references to C++
54968         bits are now obsolete.
54970 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54972         * math/libm-test.inc (check_complex): Use asprintf.
54974 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
54976         * debug/pcprofiledump.c (print_version): Update copyright year.
54977         * malloc/memusagestat.c (print_version): Likewise.
54979 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
54981         [BZ #14831]
54982         * elf/Makefile (tests): Add tst-audit8.
54983         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
54984         ($(objpfx)tst-audit8.out): New target.
54985         (tst-audit8-ENV): New variable.
54986         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
54987         audit if l_reloc_result is NULL.
54988         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
54989         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
54990         * elf/tst-audit8.c: New file.
54992 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54994         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
54995         * misc/Makefile (CFLAGS-select.c): Define.
54996         * posix/Makefile (CFLAGS-pause.c): Define.
54998 2012-11-13  David S. Miller  <davem@davemloft.net>
55000         * crypt/Makefile: Move test targets after toplevel Rules
55001         inclusion.  Grab any necessary sysdep routines when linking.
55002         * crypt/md5.c (md5_process_block): Remove define, we will always
55003         name it __md5_process_block.
55004         (md5_finish_ctx): Update md5_process_block call.
55005         (md5_stream): Likewise.
55006         (md5_process_bytes): Likewise.
55007         (md5_process_block): Rename to __md5_process_block and move to ...
55008         * crypt/md5-block.c: ... here.
55009         * crypt/sha256.c (sha256_process_block): Move to ...
55010         * crypt/sha256-block.c: ... here.
55011         * crypt/sha512.c (sha512_process_block): Move to ...
55012         * crypt/sha512-block.c: ... here.
55013         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
55014         path.
55015         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
55016         * sysdeps/sparc/sparc64/multiarch/Makefile
55017         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
55018         crypt subdir.
55019         (localedef-aux): Add md5 crypto assembler when in locale subdir.
55020         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
55021         multiarch changes.
55022         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
55023         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
55024         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
55025         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
55026         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
55027         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
55028         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
55029         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
55030         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
55031         file.
55032         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
55033         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
55034         file.
55035         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
55037 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
55039         * timezone/tzselect.ksh: Update from tzcode git revision
55040         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
55041         * timezone/zdump.c: Likewise.
55042         * timezone/zic.c: Likewise.
55043         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
55044         in TZVERSION setting, not $(PKGVERSION).
55045         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
55046         REPORT_BUGS_TO settings.
55048         [BZ #14838]
55049         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
55050         macro.
55052 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55054         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
55055         detection to immediately after _FP_ROUND().
55056         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
55057         bits are 0.
55059 2012-11-11  David S. Miller  <davem@davemloft.net>
55061         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
55062         inttypes.h
55063         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
55064         __close rather than their public counterparts.
55066 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
55068         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
55069         file.
55070         [UNIX98] (sem_timedwait): Do not expect.
55071         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
55072         [XPG4 || UNIX98] (sockatmark): Do not expect.
55073         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
55074         (clock_getcpuclockid): Do not expect.
55075         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
55076         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
55077         Do not expect.
55078         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
55079         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
55080         [UNIX98] (vwscanf): Likewise.
55081         [UNIX98] (vswscanf): Likewise.
55083 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
55085         * timezone/version.h: Remove file.
55086         * timezone/README: Do not refer to version.h.
55087         * timezone/Makefile ($(objpfx)zic.o): New dependency on
55088         $(objpfx)version.h.
55089         ($(objpfx)zdump.o): Likewise.
55090         ($(objpfx)version.h): New target.
55092         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
55093         2012i.
55094         * timezone/README: Don't mention modification to tzselect.ksh.
55095         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
55096         work on unmodified tzselect.ksh.  Substitute version numbers in
55097         tzselect.ksh.
55099         * Makefile (format-me): Remove.
55100         (INSTALL): Adjust indentation.  Use commands directly instead of
55101         using $(format-me).
55103         * aclocal.m4 (ACX_PKGVERSION): New macro.
55104         (ACX_BUGURL): Likewise.
55105         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55106         (PKGVERSION): New AC_DEFINE_UNQUOTED.
55107         (REPORT_BUGS_TO): Likewise.
55108         * configure: Regenerated.
55109         * config.h.in (PKGVERSION): New macro.
55110         (REPORT_BUGS_TO): Likewise.
55111         * config.make.in (PKGVERSION): New variable.
55112         (PKGVERSION_TEXI): Likewise.
55113         (REPORT_BUGS_TO): Likewise.
55114         (REPORT_BUGS_TEXI): Likewise.
55115         * Makefile (format-me): Use -I$(common-objpfx)manual.
55116         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
55117         ($(common-objpfx)manual/%): New target.
55118         (manual/%): Remove target.
55119         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
55120         (print_version): Use PKGVERSION.
55121         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
55122         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
55123         and REPORT_BUGS_TO.
55124         ($(objpfx)xtrace): Likewise.
55125         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
55126         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
55127         (print_version): Use PKGVERSION.
55128         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
55129         (do_version): Use PKGVERSION.
55130         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
55131         REPORT_BUGS_TO.
55132         (common-ldd-rewrite): Likewise.
55133         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
55134         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
55135         (print_version): Use PKGVERSION.
55136         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
55137         * elf/pldd.c (argp_program_bug_address): Remove variable.
55138         (more_help): New function.
55139         (argp): Use more_help.
55140         (print_version): Use PKGVERSION.
55141         * elf/sln.c (main): Use PKGVERSION.
55142         (usage): Use REPORT_BUGS_TO.
55143         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55144         (top level): Use PKGVERSION.
55145         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55146         (print_version): Use PKGVERSION.
55147         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55148         (print_version): Use PKGVERSION.
55149         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55150         (print_version): Use PKGVERSION.
55151         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55152         (print_version): Use PKGVERSION.
55153         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55154         (print_version): Use PKGVERSION.
55155         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55156         (print_version): Use PKGVERSION.
55157         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55158         and BUGURL.
55159         ($(objpfx)memusage): Likewise.
55160         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55161         (do_version): Use PKGVERSION.
55162         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55163         (print_version): Use PKGVERSION.
55164         * malloc/mtrace.pl ($PACKAGE): Remove variable.
55165         ($PKGVERSION): New variable.
55166         ($REPORT_BUGS_TO): Likewise.
55167         (usage): Use $REPORT_BUGS_TO.
55168         (top level): Use $PKGVERSION.
55169         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55170         ($(objpfx)pkgvers.texi): New rule.
55171         ($(objpfx)stamp-pkgvers): Likewise.
55172         * manual/install.texi: Include pkgvers.texi.
55173         (--with-pkgversion): Document new configure option.
55174         (--with-bugurl): Likewise.
55175         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55176         than necessarily for this particular distribution.  Use
55177         REPORT_BUGS_TO for where to report bugs.
55178         * INSTALL: Regenerated.
55179         * manual/libc.texinfo: Include pkgvers.texi.
55180         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55181         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
55182         (print_version): Use PKGVERSION.
55183         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
55184         (print_version): Use PKGVERSION.
55185         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
55186         (print_version): Use PKGVERSION.
55187         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
55188         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
55189         macro.
55190         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
55191         (print_version): Use PKGVERSION.
55192         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
55193         (print_version): Use PKGVERSION.
55194         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
55195         and PKGVERSION.
55197         * timezone/checktab.awk: Update from tzcode 2012i.
55198         * timezone/ialloc.c: Likewise.
55199         * timezone/private.h: Likewise.
55200         * timezone/scheck.c: Likewise.
55201         * timezone/tzfile.h: Likewise.
55202         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
55203         (TZVERSION): Hardcode tzcode version number.
55204         * timezone/zdump.c: Update from tzcode 2012i.
55205         * timezone/zic.c: Likewise.
55206         * timezone/version.h: New file.
55207         * timezone/README: Describe version.h.  Update upstream location.
55209         [BZ #14824]
55210         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
55211         (mktemp): Enable declaration.
55212         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
55213         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
55214         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
55215         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
55216         Likewise.
55217         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
55218         Likewise.
55219         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
55220         Likewise.
55221         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
55222         Likewise.
55223         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
55224         Likewise.
55225         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
55226         Likewise.
55228         [BZ #14821]
55229         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
55230         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
55231         for copies of such integer values.
55232         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55233         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55235 2012-11-09  Andreas Jaeger  <aj@suse.de>
55237         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
55238         definitions and declarations that are provided by
55239         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55241 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55243         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
55244         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
55245         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
55246         definition.
55248 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55250         * elf/elf.h: Update comment before AArch64 relocations.
55252 2012-11-07  David S. Miller  <davem@davemloft.net>
55254         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
55255         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55256         (__start_context): Declare.
55257         (__makecontext_ret): Delete.
55258         (__makecontext): Hook up __start_context instead of
55259         __makecontext_ret.
55260         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55261         (sysdep_routines): Add __start_context when in stdlib.
55263 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55265         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55266         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55267         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
55268         hardcoded "nm".
55269         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
55270         (READELF): New variable.  Use it instead of hardcoded "readelf".
55272 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55274         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55275         * sysdeps/x86/Makefile: Here.
55276         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55277         * sysdeps/x86/tst-xmmymm.sh: This.
55279 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55281         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55282         expectations.
55283         [UNIX98] (pthread_barrier_t): Do not expect.
55284         [UNIX98] (pthread_barrierattr_t): Likewise.
55285         [UNIX98] (pthread_spinlock_t): Likewise.
55286         [UNIX98] (pthread_barrier_destroy): Likewise.
55287         [UNIX98] (pthread_barrier_init): Likewise.
55288         [UNIX98] (pthread_barrier_wait): Likewise.
55289         [UNIX98] (pthread_barrierattr_destroy): Likewise.
55290         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55291         [UNIX98] (pthread_barrierattr_init): Likewise.
55292         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55293         [UNIX98] (pthread_getcpuclockid): Likewise.
55294         [UNIX98] (pthread_mutex_timedlock): Likewise.
55295         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55296         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55297         [UNIX98] (pthread_sigmask): Likewise.
55298         [UNIX98] (pthread_spin_destroy): Likewise.
55299         [UNIX98] (pthread_spin_init): Likewise.
55300         [UNIX98] (pthread_spin_lock): Likewise.
55301         [UNIX98] (pthread_spin_trylock): Likewise.
55302         [UNIX98] (pthread_spin_unlock): Likewise.
55303         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55304         Do not expect.
55305         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55306         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55307         [XPG3 || XPG4] (pthread_cond_t): Likewise.
55308         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55309         [XPG3 || XPG4] (pthread_key_t): Likewise.
55310         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55311         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55312         [XPG3 || XPG4] (pthread_once_t): Likewise.
55313         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55314         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55315         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55316         [XPG3 || XPG4] (pthread_t): Likewise.
55318         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55319         not expect.
55320         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55322         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55323         Change function return type to int.
55325         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55326         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55327         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55328         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55329         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55330         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55331         [!POSIX] (posix_madvise): Likewise.
55332         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55333         && !UNIX98].
55334         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55335         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55336         (mode_t): Likewise.
55337         (posix_mem_offset): Likewise.
55338         (posix_typed_mem_get_info): Likewise.
55339         (posix_typed_mem_open): Likewise.
55341         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
55342         Change condition to [XOPEN2K8].
55344         * conform/conformtest.pl: Preprocess allow-header data with -x c
55345         instead of from stdin.
55346         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
55347         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
55348         [C99-based standards] (cerfc): Likewise.
55349         [C99-based standards] (cexp2): Likewise.
55350         [C99-based standards] (cexpm1): Likewise.
55351         [C99-based standards] (clog10): Likewise.
55352         [C99-based standards] (clog1p): Likewise.
55353         [C99-based standards] (clog2): Likewise.
55354         [C99-based standards] (clgamma): Likewise.
55355         [C99-based standards] (ctgamma): Likewise.
55356         [C99-based standards] (cerff): Likewise.
55357         [C99-based standards] (cerfcf): Likewise.
55358         [C99-based standards] (cexp2f): Likewise.
55359         [C99-based standards] (cexpm1f): Likewise.
55360         [C99-based standards] (clog10f): Likewise.
55361         [C99-based standards] (clog1pf): Likewise.
55362         [C99-based standards] (clog2f): Likewise.
55363         [C99-based standards] (clgammaf): Likewise.
55364         [C99-based standards] (ctgammaf): Likewise.
55365         [C99-based standards] (cerfl): Likewise.
55366         [C99-based standards] (cerfcl): Likewise.
55367         [C99-based standards] (cexp2l): Likewise.
55368         [C99-based standards] (cexpm1l): Likewise.
55369         [C99-based standards] (clog10l): Likewise.
55370         [C99-based standards] (clog1pl): Likewise.
55371         [C99-based standards] (clog2l): Likewise.
55372         [C99-based standards] (clgammal): Likewise.
55373         [C99-based standards] (ctgammal): Likewise.
55374         * conform/data/inttypes.h-data [C99-based standards]: Include
55375         stdint.h-data.  Remove all expectations for stdint.h contents.
55376         [C99-based standards] (PRI*): Do not allow.
55377         [C99-based standards] (SCN*): Likewise.
55378         [C99-based standards] (*_t): Likewise.
55379         [C99-based-standards] (PRId8): Expect macro.
55380         [C99-based-standards] (PRIi8): Likewise.
55381         [C99-based-standards] (PRIo8): Likewise.
55382         [C99-based-standards] (PRIu8): Likewise.
55383         [C99-based-standards] (PRIx8): Likewise.
55384         [C99-based-standards] (PRIX8): Likewise.
55385         [C99-based-standards] (SCNd8): Likewise.
55386         [C99-based-standards] (SCNi8): Likewise.
55387         [C99-based-standards] (SCNo8): Likewise.
55388         [C99-based-standards] (SCNu8): Likewise.
55389         [C99-based-standards] (SCNx8): Likewise.
55390         [C99-based-standards] (PRIdLEAST8): Likewise.
55391         [C99-based-standards] (PRIiLEAST8): Likewise.
55392         [C99-based-standards] (PRIoLEAST8): Likewise.
55393         [C99-based-standards] (PRIuLEAST8): Likewise.
55394         [C99-based-standards] (PRIxLEAST8): Likewise.
55395         [C99-based-standards] (PRIXLEAST8): Likewise.
55396         [C99-based-standards] (SCNdLEAST8): Likewise.
55397         [C99-based-standards] (SCNiLEAST8): Likewise.
55398         [C99-based-standards] (SCNoLEAST8): Likewise.
55399         [C99-based-standards] (SCNuLEAST8): Likewise.
55400         [C99-based-standards] (SCNxLEAST8): Likewise.
55401         [C99-based-standards] (PRIdFAST8): Likewise.
55402         [C99-based-standards] (PRIiFAST8): Likewise.
55403         [C99-based-standards] (PRIoFAST8): Likewise.
55404         [C99-based-standards] (PRIuFAST8): Likewise.
55405         [C99-based-standards] (PRIxFAST8): Likewise.
55406         [C99-based-standards] (PRIXFAST8): Likewise.
55407         [C99-based-standards] (SCNdFAST8): Likewise.
55408         [C99-based-standards] (SCNiFAST8): Likewise.
55409         [C99-based-standards] (SCNoFAST8): Likewise.
55410         [C99-based-standards] (SCNuFAST8): Likewise.
55411         [C99-based-standards] (SCNxFAST8): Likewise.
55412         [C99-based-standards] (PRId16): Likewise.
55413         [C99-based-standards] (PRIi16): Likewise.
55414         [C99-based-standards] (PRIo16): Likewise.
55415         [C99-based-standards] (PRIu16): Likewise.
55416         [C99-based-standards] (PRIx16): Likewise.
55417         [C99-based-standards] (PRIX16): Likewise.
55418         [C99-based-standards] (SCNd16): Likewise.
55419         [C99-based-standards] (SCNi16): Likewise.
55420         [C99-based-standards] (SCNo16): Likewise.
55421         [C99-based-standards] (SCNu16): Likewise.
55422         [C99-based-standards] (SCNx16): Likewise.
55423         [C99-based-standards] (PRIdLEAST16): Likewise.
55424         [C99-based-standards] (PRIiLEAST16): Likewise.
55425         [C99-based-standards] (PRIoLEAST16): Likewise.
55426         [C99-based-standards] (PRIuLEAST16): Likewise.
55427         [C99-based-standards] (PRIxLEAST16): Likewise.
55428         [C99-based-standards] (PRIXLEAST16): Likewise.
55429         [C99-based-standards] (SCNdLEAST16): Likewise.
55430         [C99-based-standards] (SCNiLEAST16): Likewise.
55431         [C99-based-standards] (SCNoLEAST16): Likewise.
55432         [C99-based-standards] (SCNuLEAST16): Likewise.
55433         [C99-based-standards] (SCNxLEAST16): Likewise.
55434         [C99-based-standards] (PRIdFAST16): Likewise.
55435         [C99-based-standards] (PRIiFAST16): Likewise.
55436         [C99-based-standards] (PRIoFAST16): Likewise.
55437         [C99-based-standards] (PRIuFAST16): Likewise.
55438         [C99-based-standards] (PRIxFAST16): Likewise.
55439         [C99-based-standards] (PRIXFAST16): Likewise.
55440         [C99-based-standards] (SCNdFAST16): Likewise.
55441         [C99-based-standards] (SCNiFAST16): Likewise.
55442         [C99-based-standards] (SCNoFAST16): Likewise.
55443         [C99-based-standards] (SCNuFAST16): Likewise.
55444         [C99-based-standards] (SCNxFAST16): Likewise.
55445         [C99-based-standards] (PRId32): Likewise.
55446         [C99-based-standards] (PRIi32): Likewise.
55447         [C99-based-standards] (PRIo32): Likewise.
55448         [C99-based-standards] (PRIu32): Likewise.
55449         [C99-based-standards] (PRIx32): Likewise.
55450         [C99-based-standards] (PRIX32): Likewise.
55451         [C99-based-standards] (SCNd32): Likewise.
55452         [C99-based-standards] (SCNi32): Likewise.
55453         [C99-based-standards] (SCNo32): Likewise.
55454         [C99-based-standards] (SCNu32): Likewise.
55455         [C99-based-standards] (SCNx32): Likewise.
55456         [C99-based-standards] (PRIdLEAST32): Likewise.
55457         [C99-based-standards] (PRIiLEAST32): Likewise.
55458         [C99-based-standards] (PRIoLEAST32): Likewise.
55459         [C99-based-standards] (PRIuLEAST32): Likewise.
55460         [C99-based-standards] (PRIxLEAST32): Likewise.
55461         [C99-based-standards] (PRIXLEAST32): Likewise.
55462         [C99-based-standards] (SCNdLEAST32): Likewise.
55463         [C99-based-standards] (SCNiLEAST32): Likewise.
55464         [C99-based-standards] (SCNoLEAST32): Likewise.
55465         [C99-based-standards] (SCNuLEAST32): Likewise.
55466         [C99-based-standards] (SCNxLEAST32): Likewise.
55467         [C99-based-standards] (PRIdFAST32): Likewise.
55468         [C99-based-standards] (PRIiFAST32): Likewise.
55469         [C99-based-standards] (PRIoFAST32): Likewise.
55470         [C99-based-standards] (PRIuFAST32): Likewise.
55471         [C99-based-standards] (PRIxFAST32): Likewise.
55472         [C99-based-standards] (PRIXFAST32): Likewise.
55473         [C99-based-standards] (SCNdFAST32): Likewise.
55474         [C99-based-standards] (SCNiFAST32): Likewise.
55475         [C99-based-standards] (SCNoFAST32): Likewise.
55476         [C99-based-standards] (SCNuFAST32): Likewise.
55477         [C99-based-standards] (SCNxFAST32): Likewise.
55478         [C99-based-standards] (PRId64): Likewise.
55479         [C99-based-standards] (PRIi64): Likewise.
55480         [C99-based-standards] (PRIo64): Likewise.
55481         [C99-based-standards] (PRIu64): Likewise.
55482         [C99-based-standards] (PRIx64): Likewise.
55483         [C99-based-standards] (PRIX64): Likewise.
55484         [C99-based-standards] (SCNd64): Likewise.
55485         [C99-based-standards] (SCNi64): Likewise.
55486         [C99-based-standards] (SCNo64): Likewise.
55487         [C99-based-standards] (SCNu64): Likewise.
55488         [C99-based-standards] (SCNx64): Likewise.
55489         [C99-based-standards] (PRIdLEAST64): Likewise.
55490         [C99-based-standards] (PRIiLEAST64): Likewise.
55491         [C99-based-standards] (PRIoLEAST64): Likewise.
55492         [C99-based-standards] (PRIuLEAST64): Likewise.
55493         [C99-based-standards] (PRIxLEAST64): Likewise.
55494         [C99-based-standards] (PRIXLEAST64): Likewise.
55495         [C99-based-standards] (SCNdLEAST64): Likewise.
55496         [C99-based-standards] (SCNiLEAST64): Likewise.
55497         [C99-based-standards] (SCNoLEAST64): Likewise.
55498         [C99-based-standards] (SCNuLEAST64): Likewise.
55499         [C99-based-standards] (SCNxLEAST64): Likewise.
55500         [C99-based-standards] (PRIdFAST64): Likewise.
55501         [C99-based-standards] (PRIiFAST64): Likewise.
55502         [C99-based-standards] (PRIoFAST64): Likewise.
55503         [C99-based-standards] (PRIuFAST64): Likewise.
55504         [C99-based-standards] (PRIxFAST64): Likewise.
55505         [C99-based-standards] (PRIXFAST64): Likewise.
55506         [C99-based-standards] (SCNdFAST64): Likewise.
55507         [C99-based-standards] (SCNiFAST64): Likewise.
55508         [C99-based-standards] (SCNoFAST64): Likewise.
55509         [C99-based-standards] (SCNuFAST64): Likewise.
55510         [C99-based-standards] (SCNxFAST64): Likewise.
55511         [C99-based-standards] (PRIdMAX): Likewise.
55512         [C99-based-standards] (PRIiMAX): Likewise.
55513         [C99-based-standards] (PRIoMAX): Likewise.
55514         [C99-based-standards] (PRIuMAX): Likewise.
55515         [C99-based-standards] (PRIxMAX): Likewise.
55516         [C99-based-standards] (PRIXMAX): Likewise.
55517         [C99-based-standards] (SCNdMAX): Likewise.
55518         [C99-based-standards] (SCNiMAX): Likewise.
55519         [C99-based-standards] (SCNoMAX): Likewise.
55520         [C99-based-standards] (SCNuMAX): Likewise.
55521         [C99-based-standards] (SCNxMAX): Likewise.
55522         [C99-based-standards] (PRIdPTR): Likewise.
55523         [C99-based-standards] (PRIiPTR): Likewise.
55524         [C99-based-standards] (PRIoPTR): Likewise.
55525         [C99-based-standards] (PRIuPTR): Likewise.
55526         [C99-based-standards] (PRIxPTR): Likewise.
55527         [C99-based-standards] (PRIXPTR): Likewise.
55528         [C99-based-standards] (SCNdPTR): Likewise.
55529         [C99-based-standards] (SCNiPTR): Likewise.
55530         [C99-based-standards] (SCNoPTR): Likewise.
55531         [C99-based-standards] (SCNuPTR): Likewise.
55532         [C99-based-standards] (SCNxPTR): Likewise.
55533         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
55534         allow.
55535         * conform/data/stdint.h-data: Update comments to clarify
55536         requirements.
55537         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
55538         type.
55539         [C99-based standards] (INT8_MAX): Likewise.
55540         [C99-based standards] (INT16_MIN): Likewise.
55541         [C99-based standards] (INT16_MAX): Likewise.
55542         [C99-based standards] (INT32_MIN): Likewise.
55543         [C99-based standards] (INT32_MAX): Likewise.
55544         [C99-based standards] (INT64_MIN): Likewise.
55545         [C99-based standards] (INT64_MAX): Likewise.
55546         [C99-based standards] (UINT8_MAX): Likewise.
55547         [C99-based standards] (UINT16_MAX): Likewise.
55548         [C99-based standards] (UINT32_MAX): Likewise.
55549         [C99-based standards] (UINT64_MAX): Likewise.
55550         [C99-based standards] (INT_LEAST8_MIN): Likewise.
55551         [C99-based standards] (INT_LEAST8_MAX): Likewise.
55552         [C99-based standards] (INT_LEAST16_MIN): Likewise.
55553         [C99-based standards] (INT_LEAST16_MAX): Likewise.
55554         [C99-based standards] (INT_LEAST32_MIN): Likewise.
55555         [C99-based standards] (INT_LEAST32_MAX): Likewise.
55556         [C99-based standards] (INT_LEAST64_MIN): Likewise.
55557         [C99-based standards] (INT_LEAST64_MAX): Likewise.
55558         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
55559         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
55560         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
55561         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
55562         [C99-based standards] (INT_FAST8_MIN): Likewise.
55563         [C99-based standards] (INT_FAST8_MAX): Likewise.
55564         [C99-based standards] (INT_FAST16_MIN): Likewise.
55565         [C99-based standards] (INT_FAST16_MAX): Likewise.
55566         [C99-based standards] (INT_FAST32_MIN): Likewise.
55567         [C99-based standards] (INT_FAST32_MAX): Likewise.
55568         [C99-based standards] (INT_FAST64_MIN): Likewise.
55569         [C99-based standards] (INT_FAST64_MAX): Likewise.
55570         [C99-based standards] (UINT_FAST8_MAX): Likewise.
55571         [C99-based standards] (UINT_FAST16_MAX): Likewise.
55572         [C99-based standards] (UINT_FAST32_MAX): Likewise.
55573         [C99-based standards] (UINT_FAST64_MAX): Likewise.
55574         [C99-based standards] (INTPTR_MIN): Likewise.
55575         [C99-based standards] (INTPTR_MAX): Likewise.
55576         [C99-based standards] (UINTPTR_MAX): Likewise.
55577         [C99-based standards] (INTMAX_MIN): Likewise.
55578         [C99-based standards] (INTMAX_MAX): Likewise.
55579         [C99-based standards] (UINTMAX_MAX): Likewise.
55580         [C99-based standards] (PTRDIFF_MIN): Likewise.
55581         [C99-based standards] (PTRDIFF_MAX): Likewise.
55582         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
55583         [C99-based standards] (SIZE_MAX): Likewise.
55584         [C99-based standards] (WCHAR_MAX): Likewise.
55585         [C99-based standards] (WINT_MAX): Likewise.
55586         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
55587         constraint on value.
55588         [C99-based standards] (WCHAR_MIN): Likewise.
55589         [C99-based standards] (WINT_MIN): Likewise.
55590         [C99-based standards] (*_t): Allow.
55591         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
55592         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
55593         Include math.h-data and complex.h-data.  Remove all expectations
55594         of math.h and complex.h contents.
55595         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
55596         at end of line.
55597         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
55598         (struct tm): Expect tag.
55599         [C99-based-standards] (wcstof): Expect function.
55600         [C99-based-standards] (wcstold): Likewise.
55601         [C99-based-standards] (wcstoll): Likewise.
55602         [C99-based-standards] (wcstoull): Likewise.
55603         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
55604         macro-int-constant.  Specify type.
55605         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
55606         constraint on value.
55607         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55608         Specify type.
55609         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
55610         Specify value.
55611         [ISO C standards]: Do not allow headers.
55612         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
55613         wcs[abcdefghijklmnopqrstuvwxyz]*.
55614         [ISO C standards] (*_t): Do not allow.
55615         * conform/data/wctype.h-data [C99-based standards] (iswblank):
55616         Expect function.
55617         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
55618         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55619         Specify type.
55620         [ISO C standards]: Do not allow headers.
55621         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
55622         is[abcdefghijklmnopqrstuvwxyz]*.
55623         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
55624         to[abcdefghijklmnopqrstuvwxyz]*.
55625         [ISO C standards] (*_t): Do not allow.
55626         * conform/data/stdalign.h-data: New file.
55627         * conform/data/stdbool.h-data: Likewise.
55628         * conform/data/stdnoreturn.h-data: Likewise.
55630 2012-11-07  Roland McGrath  <roland@hack.frob.com>
55632         [BZ #14815]
55633         * manual/filesys.texi (Directory Entries): Typo fix.
55634         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
55636 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55638         * elf/elf.h (EM_AARCH64): New macro.
55639         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
55640         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
55641         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
55642         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
55643         (R_AARCH64_TLSDESC): Likewise.
55644         (NT_ARM_TLS): Likewise.
55645         (NT_ARM_HW_BREAK): Likewise.
55646         (NT_ARM_HW_WATCH): Likewise.
55648 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55650         [BZ #14811]
55651         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
55652         (__ieee754_powl): Saturate nonzero exponents with absolute value
55653         below 0x1p-79 to +/- 0x1p-79.
55654         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
55655         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
55656         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
55657         nonzero exponents with absolute value below 0x1p-32 to +/-
55658         0x1p-32.
55659         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
55660         (__ieee754_powl): Saturate nonzero exponents with absolute value
55661         below 0x1p-79 to +/- 0x1p-79.
55662         * math/libm-test.inc (pow_test): Add more tests.
55664 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55666         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
55667         _dl_s390_cap_flags with kernel. Increase string length.
55668         (_dl_s390_platforms): Add z196 and zEC12.
55670 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55672         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
55673         Change XOPEN21K to XOPEN2K.
55675 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
55677         * string/memmove.c: Use memcpy when possible.
55679 2012-11-06  Andreas Jaeger  <aj@suse.de>
55681         * po/eo.po: Update from translation team.
55683 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
55685         [BZ #14793]
55686         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
55687         exponent and small x and y exponents, scale x or y up.  Increase
55688         by 2 the exponent used in scaling up.
55689         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55690         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55691         * math/libm-test.inc (fma_test): Add more tests.
55692         (fma_test_towardzero): Likewise.
55693         (fma_test_downward): Likewise.
55694         (fma_test_upward): Likewise.
55696 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
55698         [BZ #14805]
55699         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
55700         fenv_t *.
55702         [BZ #14801]
55703         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
55704         namespace for names of struct fields.
55705         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
55706         fenv_t fields.
55707         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
55708         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
55710 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55712         [BZ #3665]
55713         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
55715 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55717         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
55718         PTR_DEMANGLE.
55720         [BZ #5246]
55721         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
55722         PTR_DEMANGLE.
55724 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
55726         [BZ #14797]
55727         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
55728         definitely overflow as x * y not x * y + z.
55729         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55730         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55731         * math/libm-test.inc (fma_test): Add more tests.
55732         (fma_test_towardzero): Likewise.
55733         (fma_test_downward): Likewise.
55734         (fma_test_upward): Likewise.
55736 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55738         [BZ #157]
55740         * include/stub-tag.h: Remove file.
55741         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
55742         '#include' of it.
55743         * manual/maint.texi (Porting): Don't reference it.
55744         * Makerules ($(objpfx)stubs): Likewise.
55745         * dirent/closedir.c: Don't include <stub-tag.h>.
55746         * dirent/dirfd.c: Likewise.
55747         * dirent/fdopendir.c: Likewise.
55748         * dirent/getdents.c: Likewise.
55749         * dirent/getdents64.c: Likewise.
55750         * dirent/opendir.c: Likewise.
55751         * dirent/readdir.c: Likewise.
55752         * dirent/readdir64.c: Likewise.
55753         * dirent/readdir64_r.c: Likewise.
55754         * dirent/readdir_r.c: Likewise.
55755         * dirent/rewinddir.c: Likewise.
55756         * dirent/seekdir.c: Likewise.
55757         * dirent/telldir.c: Likewise.
55758         * gmon/profil.c: Likewise.
55759         * grp/setgroups.c: Likewise.
55760         * inet/if_index.c: Likewise.
55761         * io/access.c: Likewise.
55762         * io/chdir.c: Likewise.
55763         * io/chmod.c: Likewise.
55764         * io/chown.c: Likewise.
55765         * io/close.c: Likewise.
55766         * io/dup.c: Likewise.
55767         * io/dup2.c: Likewise.
55768         * io/dup3.c: Likewise.
55769         * io/euidaccess.c: Likewise.
55770         * io/faccessat.c: Likewise.
55771         * io/fchdir.c: Likewise.
55772         * io/fchmod.c: Likewise.
55773         * io/fchmodat.c: Likewise.
55774         * io/fchown.c: Likewise.
55775         * io/fchownat.c: Likewise.
55776         * io/fcntl.c: Likewise.
55777         * io/flock.c: Likewise.
55778         * io/fstatfs.c: Likewise.
55779         * io/fstatfs64.c: Likewise.
55780         * io/fstatvfs.c: Likewise.
55781         * io/fstatvfs64.c: Likewise.
55782         * io/futimens.c: Likewise.
55783         * io/fxstat.c: Likewise.
55784         * io/fxstat64.c: Likewise.
55785         * io/fxstatat.c: Likewise.
55786         * io/fxstatat64.c: Likewise.
55787         * io/getcwd.c: Likewise.
55788         * io/isatty.c: Likewise.
55789         * io/lchmod.c: Likewise.
55790         * io/lchown.c: Likewise.
55791         * io/link.c: Likewise.
55792         * io/linkat.c: Likewise.
55793         * io/lseek.c: Likewise.
55794         * io/lseek64.c: Likewise.
55795         * io/lxstat64.c: Likewise.
55796         * io/mkdir.c: Likewise.
55797         * io/mkdirat.c: Likewise.
55798         * io/mkfifo.c: Likewise.
55799         * io/mkfifoat.c: Likewise.
55800         * io/open.c: Likewise.
55801         * io/open64.c: Likewise.
55802         * io/openat.c: Likewise.
55803         * io/openat64.c: Likewise.
55804         * io/pipe.c: Likewise.
55805         * io/pipe2.c: Likewise.
55806         * io/poll.c: Likewise.
55807         * io/posix_fadvise.c: Likewise.
55808         * io/posix_fadvise64.c: Likewise.
55809         * io/posix_fallocate.c: Likewise.
55810         * io/posix_fallocate64.c: Likewise.
55811         * io/read.c: Likewise.
55812         * io/readlink.c: Likewise.
55813         * io/readlinkat.c: Likewise.
55814         * io/rmdir.c: Likewise.
55815         * io/sendfile.c: Likewise.
55816         * io/sendfile64.c: Likewise.
55817         * io/statfs.c: Likewise.
55818         * io/statfs64.c: Likewise.
55819         * io/statvfs.c: Likewise.
55820         * io/statvfs64.c: Likewise.
55821         * io/symlink.c: Likewise.
55822         * io/symlinkat.c: Likewise.
55823         * io/ttyname.c: Likewise.
55824         * io/ttyname_r.c: Likewise.
55825         * io/umask.c: Likewise.
55826         * io/unlink.c: Likewise.
55827         * io/unlinkat.c: Likewise.
55828         * io/utime.c: Likewise.
55829         * io/utimensat.c: Likewise.
55830         * io/write.c: Likewise.
55831         * io/xmknod.c: Likewise.
55832         * io/xmknodat.c: Likewise.
55833         * io/xstat.c: Likewise.
55834         * io/xstat64.c: Likewise.
55835         * login/getpt.c: Likewise.
55836         * login/grantpt.c: Likewise.
55837         * login/unlockpt.c: Likewise.
55838         * math/e_acoshl.c: Likewise.
55839         * math/e_acosl.c: Likewise.
55840         * math/e_asinl.c: Likewise.
55841         * math/e_atan2l.c: Likewise.
55842         * math/e_atanhl.c: Likewise.
55843         * math/e_coshl.c: Likewise.
55844         * math/e_expl.c: Likewise.
55845         * math/e_fmodl.c: Likewise.
55846         * math/e_gammal_r.c: Likewise.
55847         * math/e_hypotl.c: Likewise.
55848         * math/e_j0l.c: Likewise.
55849         * math/e_j1l.c: Likewise.
55850         * math/e_jnl.c: Likewise.
55851         * math/e_lgammal_r.c: Likewise.
55852         * math/e_log10l.c: Likewise.
55853         * math/e_log2l.c: Likewise.
55854         * math/e_logl.c: Likewise.
55855         * math/e_powl.c: Likewise.
55856         * math/e_rem_pio2l.c: Likewise.
55857         * math/e_sinhl.c: Likewise.
55858         * math/e_sqrtl.c: Likewise.
55859         * math/fclrexcpt.c: Likewise.
55860         * math/fedisblxcpt.c: Likewise.
55861         * math/feenablxcpt.c: Likewise.
55862         * math/fegetenv.c: Likewise.
55863         * math/fegetexcept.c: Likewise.
55864         * math/fegetround.c: Likewise.
55865         * math/feholdexcpt.c: Likewise.
55866         * math/fesetenv.c: Likewise.
55867         * math/fesetround.c: Likewise.
55868         * math/feupdateenv.c: Likewise.
55869         * math/fgetexcptflg.c: Likewise.
55870         * math/fraiseexcpt.c: Likewise.
55871         * math/fsetexcptflg.c: Likewise.
55872         * math/ftestexcept.c: Likewise.
55873         * math/k_cosl.c: Likewise.
55874         * math/k_rem_pio2l.c: Likewise.
55875         * math/k_sinl.c: Likewise.
55876         * math/k_tanl.c: Likewise.
55877         * math/s_asinhl.c: Likewise.
55878         * math/s_atanl.c: Likewise.
55879         * math/s_cbrtl.c: Likewise.
55880         * math/s_erfl.c: Likewise.
55881         * math/s_expm1l.c: Likewise.
55882         * math/s_log1pl.c: Likewise.
55883         * math/s_tanhl.c: Likewise.
55884         * misc/acct.c: Likewise.
55885         * misc/brk.c: Likewise.
55886         * misc/chflags.c: Likewise.
55887         * misc/chroot.c: Likewise.
55888         * misc/fchflags.c: Likewise.
55889         * misc/fgetxattr.c: Likewise.
55890         * misc/flistxattr.c: Likewise.
55891         * misc/fremovexattr.c: Likewise.
55892         * misc/fsetxattr.c: Likewise.
55893         * misc/fsync.c: Likewise.
55894         * misc/ftruncate.c: Likewise.
55895         * misc/futimes.c: Likewise.
55896         * misc/futimesat.c: Likewise.
55897         * misc/getdomain.c: Likewise.
55898         * misc/getdtsz.c: Likewise.
55899         * misc/gethostid.c: Likewise.
55900         * misc/gethostname.c: Likewise.
55901         * misc/getloadavg.c: Likewise.
55902         * misc/getpagesize.c: Likewise.
55903         * misc/getsysstats.c: Likewise.
55904         * misc/getxattr.c: Likewise.
55905         * misc/gtty.c: Likewise.
55906         * misc/ioctl.c: Likewise.
55907         * misc/lgetxattr.c: Likewise.
55908         * misc/listxattr.c: Likewise.
55909         * misc/llistxattr.c: Likewise.
55910         * misc/lremovexattr.c: Likewise.
55911         * misc/lsetxattr.c: Likewise.
55912         * misc/lutimes.c: Likewise.
55913         * misc/madvise.c: Likewise.
55914         * misc/mincore.c: Likewise.
55915         * misc/mlock.c: Likewise.
55916         * misc/mlockall.c: Likewise.
55917         * misc/mmap.c: Likewise.
55918         * misc/mprotect.c: Likewise.
55919         * misc/msync.c: Likewise.
55920         * misc/munlock.c: Likewise.
55921         * misc/munlockall.c: Likewise.
55922         * misc/munmap.c: Likewise.
55923         * misc/preadv.c: Likewise.
55924         * misc/preadv64.c: Likewise.
55925         * misc/ptrace.c: Likewise.
55926         * misc/pwritev.c: Likewise.
55927         * misc/pwritev64.c: Likewise.
55928         * misc/readv.c: Likewise.
55929         * misc/reboot.c: Likewise.
55930         * misc/remap_file_pages.c: Likewise.
55931         * misc/removexattr.c: Likewise.
55932         * misc/revoke.c: Likewise.
55933         * misc/select.c: Likewise.
55934         * misc/setdomain.c: Likewise.
55935         * misc/setegid.c: Likewise.
55936         * misc/seteuid.c: Likewise.
55937         * misc/sethostid.c: Likewise.
55938         * misc/sethostname.c: Likewise.
55939         * misc/setregid.c: Likewise.
55940         * misc/setreuid.c: Likewise.
55941         * misc/setxattr.c: Likewise.
55942         * misc/sstk.c: Likewise.
55943         * misc/stty.c: Likewise.
55944         * misc/swapoff.c: Likewise.
55945         * misc/swapon.c: Likewise.
55946         * misc/sync.c: Likewise.
55947         * misc/syncfs.c: Likewise.
55948         * misc/syscall.c: Likewise.
55949         * misc/truncate.c: Likewise.
55950         * misc/ualarm.c: Likewise.
55951         * misc/usleep.c: Likewise.
55952         * misc/ustat.c: Likewise.
55953         * misc/utimes.c: Likewise.
55954         * misc/vhangup.c: Likewise.
55955         * misc/writev.c: Likewise.
55956         * posix/_exit.c: Likewise.
55957         * posix/alarm.c: Likewise.
55958         * posix/execve.c: Likewise.
55959         * posix/fexecve.c: Likewise.
55960         * posix/fork.c: Likewise.
55961         * posix/fpathconf.c: Likewise.
55962         * posix/getaddrinfo.c: Likewise.
55963         * posix/getegid.c: Likewise.
55964         * posix/geteuid.c: Likewise.
55965         * posix/getgid.c: Likewise.
55966         * posix/getgroups.c: Likewise.
55967         * posix/getlogin.c: Likewise.
55968         * posix/getlogin_r.c: Likewise.
55969         * posix/getpgid.c: Likewise.
55970         * posix/getpid.c: Likewise.
55971         * posix/getppid.c: Likewise.
55972         * posix/getresgid.c: Likewise.
55973         * posix/getresuid.c: Likewise.
55974         * posix/getsid.c: Likewise.
55975         * posix/getuid.c: Likewise.
55976         * posix/glob64.c: Likewise.
55977         * posix/nanosleep.c: Likewise.
55978         * posix/pathconf.c: Likewise.
55979         * posix/pause.c: Likewise.
55980         * posix/posix_madvise.c: Likewise.
55981         * posix/pread.c: Likewise.
55982         * posix/pread64.c: Likewise.
55983         * posix/pwrite.c: Likewise.
55984         * posix/pwrite64.c: Likewise.
55985         * posix/sched_getaffinity.c: Likewise.
55986         * posix/sched_getp.c: Likewise.
55987         * posix/sched_gets.c: Likewise.
55988         * posix/sched_primax.c: Likewise.
55989         * posix/sched_primin.c: Likewise.
55990         * posix/sched_rr_gi.c: Likewise.
55991         * posix/sched_setaffinity.c: Likewise.
55992         * posix/sched_setp.c: Likewise.
55993         * posix/sched_sets.c: Likewise.
55994         * posix/sched_yield.c: Likewise.
55995         * posix/setgid.c: Likewise.
55996         * posix/setlogin.c: Likewise.
55997         * posix/setpgid.c: Likewise.
55998         * posix/setresgid.c: Likewise.
55999         * posix/setresuid.c: Likewise.
56000         * posix/setsid.c: Likewise.
56001         * posix/setuid.c: Likewise.
56002         * posix/sleep.c: Likewise.
56003         * posix/spawni.c: Likewise.
56004         * posix/sysconf.c: Likewise.
56005         * posix/times.c: Likewise.
56006         * posix/wait.c: Likewise.
56007         * posix/wait3.c: Likewise.
56008         * posix/wait4.c: Likewise.
56009         * posix/waitpid.c: Likewise.
56010         * resolv/gai_sigqueue.c: Likewise.
56011         * resource/getpriority.c: Likewise.
56012         * resource/getrlimit.c: Likewise.
56013         * resource/getrusage.c: Likewise.
56014         * resource/nice.c: Likewise.
56015         * resource/setpriority.c: Likewise.
56016         * resource/setrlimit.c: Likewise.
56017         * resource/ulimit.c: Likewise.
56018         * rt/aio_cancel.c: Likewise.
56019         * rt/aio_fsync.c: Likewise.
56020         * rt/aio_read.c: Likewise.
56021         * rt/aio_sigqueue.c: Likewise.
56022         * rt/aio_suspend.c: Likewise.
56023         * rt/aio_write.c: Likewise.
56024         * rt/clock_getres.c: Likewise.
56025         * rt/clock_gettime.c: Likewise.
56026         * rt/clock_nanosleep.c: Likewise.
56027         * rt/clock_settime.c: Likewise.
56028         * rt/lio_listio.c: Likewise.
56029         * rt/mq_close.c: Likewise.
56030         * rt/mq_getattr.c: Likewise.
56031         * rt/mq_notify.c: Likewise.
56032         * rt/mq_open.c: Likewise.
56033         * rt/mq_receive.c: Likewise.
56034         * rt/mq_send.c: Likewise.
56035         * rt/mq_setattr.c: Likewise.
56036         * rt/mq_timedreceive.c: Likewise.
56037         * rt/mq_timedsend.c: Likewise.
56038         * rt/mq_unlink.c: Likewise.
56039         * rt/shm_open.c: Likewise.
56040         * rt/shm_unlink.c: Likewise.
56041         * rt/timer_create.c: Likewise.
56042         * rt/timer_delete.c: Likewise.
56043         * rt/timer_getoverr.c: Likewise.
56044         * rt/timer_gettime.c: Likewise.
56045         * rt/timer_settime.c: Likewise.
56046         * setjmp/__longjmp.c: Likewise.
56047         * setjmp/setjmp.c: Likewise.
56048         * signal/kill.c: Likewise.
56049         * signal/killpg.c: Likewise.
56050         * signal/raise.c: Likewise.
56051         * signal/sigaction.c: Likewise.
56052         * signal/sigaltstack.c: Likewise.
56053         * signal/sigblock.c: Likewise.
56054         * signal/sigignore.c: Likewise.
56055         * signal/sigintr.c: Likewise.
56056         * signal/signal.c: Likewise.
56057         * signal/sigpause.c: Likewise.
56058         * signal/sigpending.c: Likewise.
56059         * signal/sigqueue.c: Likewise.
56060         * signal/sigreturn.c: Likewise.
56061         * signal/sigset.c: Likewise.
56062         * signal/sigsetmask.c: Likewise.
56063         * signal/sigstack.c: Likewise.
56064         * signal/sigsuspend.c: Likewise.
56065         * signal/sigtimedwait.c: Likewise.
56066         * signal/sigvec.c: Likewise.
56067         * signal/sigwait.c: Likewise.
56068         * signal/sigwaitinfo.c: Likewise.
56069         * signal/sysv_signal.c: Likewise.
56070         * socket/accept.c: Likewise.
56071         * socket/accept4.c: Likewise.
56072         * socket/bind.c: Likewise.
56073         * socket/connect.c: Likewise.
56074         * socket/getpeername.c: Likewise.
56075         * socket/getsockname.c: Likewise.
56076         * socket/getsockopt.c: Likewise.
56077         * socket/isfdtype.c: Likewise.
56078         * socket/listen.c: Likewise.
56079         * socket/recv.c: Likewise.
56080         * socket/recvfrom.c: Likewise.
56081         * socket/recvmsg.c: Likewise.
56082         * socket/send.c: Likewise.
56083         * socket/sendmsg.c: Likewise.
56084         * socket/sendto.c: Likewise.
56085         * socket/setsockopt.c: Likewise.
56086         * socket/shutdown.c: Likewise.
56087         * socket/sockatmark.c: Likewise.
56088         * socket/socket.c: Likewise.
56089         * socket/socketpair.c: Likewise.
56090         * stdio-common/ctermid.c: Likewise.
56091         * stdio-common/cuserid.c: Likewise.
56092         * stdio-common/remove.c: Likewise.
56093         * stdio-common/rename.c: Likewise.
56094         * stdio-common/renameat.c: Likewise.
56095         * stdio-common/tempname.c: Likewise.
56096         * stdlib/getcontext.c: Likewise.
56097         * stdlib/makecontext.c: Likewise.
56098         * stdlib/setcontext.c: Likewise.
56099         * stdlib/swapcontext.c: Likewise.
56100         * stdlib/system.c: Likewise.
56101         * streams/fattach.c: Likewise.
56102         * streams/fdetach.c: Likewise.
56103         * streams/getmsg.c: Likewise.
56104         * streams/getpmsg.c: Likewise.
56105         * streams/putmsg.c: Likewise.
56106         * streams/putpmsg.c: Likewise.
56107         * sysdeps/unix/bsd/getpt.c: Likewise.
56108         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
56109         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
56110         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56112         Likewise.
56113         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
56114         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56115         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
56116         * sysvipc/msgctl.c: Likewise.
56117         * sysvipc/msgget.c: Likewise.
56118         * sysvipc/msgrcv.c: Likewise.
56119         * sysvipc/msgsnd.c: Likewise.
56120         * sysvipc/semctl.c: Likewise.
56121         * sysvipc/semget.c: Likewise.
56122         * sysvipc/semop.c: Likewise.
56123         * sysvipc/semtimedop.c: Likewise.
56124         * sysvipc/shmat.c: Likewise.
56125         * sysvipc/shmctl.c: Likewise.
56126         * sysvipc/shmdt.c: Likewise.
56127         * sysvipc/shmget.c: Likewise.
56128         * termios/tcdrain.c: Likewise.
56129         * termios/tcflow.c: Likewise.
56130         * termios/tcflush.c: Likewise.
56131         * termios/tcgetattr.c: Likewise.
56132         * termios/tcgetpgrp.c: Likewise.
56133         * termios/tcsendbrk.c: Likewise.
56134         * termios/tcsetattr.c: Likewise.
56135         * termios/tcsetpgrp.c: Likewise.
56136         * time/adjtime.c: Likewise.
56137         * time/clock.c: Likewise.
56138         * time/getitimer.c: Likewise.
56139         * time/gettimeofday.c: Likewise.
56140         * time/setitimer.c: Likewise.
56141         * time/settimeofday.c: Likewise.
56142         * time/stime.c: Likewise.
56143         * time/time.c: Likewise.
56145 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
56147         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56148         /usr/old/bin.
56150         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56151         instead of spaces.
56152         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56154 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
56156         [BZ #14796]
56157         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56158         FE_TONEAREST before applying Dekker multiplication and Knuth
56159         addition.  Clear inexact exceptions and check for exact zero
56160         results afterwards.
56161         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56162         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56163         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56164         * math/libm-test.inc (fma_test): Add more tests.
56165         (fma_test_towardzero): Likewise.
56166         (fma_test_downward): Likewise.
56167         (fma_test_upward): Likewise.
56168         * sysdeps/generic/math_private.h (default_libc_fesetround): New
56169         function.
56170         (libc_fesetround): New macro.
56171         (libc_fesetroundf): Likewise.
56172         (libc_fesetroundl): Likewise.
56173         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56174         function.
56175         (libc_fesetround_387): Likewise.
56176         (libc_fesetroundf): New macro.
56177         (libc_fesetround): Likewise.
56178         (libc_fesetroundl): Likewise.
56179         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56180         function.
56181         (libc_fesetroundf): New macro.
56182         (libc_fesetround): Likewise.
56183         (libc_fesetroundl): Likewise.
56184         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
56185         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
56186         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
56187         libm_hidden_ver.
56188         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
56189         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
56190         libm_hidden_def.
56191         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
56192         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
56193         libm_hidden_ver.
56194         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
56195         libm_hidden_def.
56197         [BZ #3439]
56198         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
56199         integer constant usable in #if and use that to give value to enum
56200         constant.
56201         (FE_DIVBYZERO): Likewise.
56202         (FE_UNDERFLOW): Likewise.
56203         (FE_OVERFLOW): Likewise.
56204         (FE_INVALID): Likewise.
56205         (FE_INVALID_SNAN): Likewise.
56206         (FE_INVALID_ISI): Likewise.
56207         (FE_INVALID_IDI): Likewise.
56208         (FE_INVALID_ZDZ): Likewise.
56209         (FE_INVALID_IMZ): Likewise.
56210         (FE_INVALID_COMPARE): Likewise.
56211         (FE_INVALID_SOFTWARE): Likewise.
56212         (FE_INVALID_SQRT): Likewise.
56213         (FE_INVALID_INTEGER_CONVERSION): Likewise.
56214         (FE_TONEAREST): Likewise.
56215         (FE_TOWARDZERO): Likewise.
56216         (FE_UPWARD): Likewise.
56217         (FE_DOWNWARD): Likewise.
56218         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
56219         (FE_DIVBYZERO): Likewise.
56220         (FE_OVERFLOW): Likewise.
56221         (FE_UNDERFLOW): Likewise.
56222         (FE_INEXACT): Likewise.
56223         (FE_TONEAREST): Likewise.
56224         (FE_DOWNWARD): Likewise.
56225         (FE_UPWARD): Likewise.
56226         (FE_TOWARDZERO): Likewise.
56227         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
56228         (FE_UNDERFLOW): Likewise.
56229         (FE_OVERFLOW): Likewise.
56230         (FE_DIVBYZERO): Likewise.
56231         (FE_INVALID): Likewise.
56232         (FE_TONEAREST): Likewise.
56233         (FE_TOWARDZERO): Likewise.
56234         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
56235         (FE_OVERFLOW): Likewise.
56236         (FE_UNDERFLOW): Likewise.
56237         (FE_DIVBYZERO): Likewise.
56238         (FE_INEXACT): Likewise.
56239         (FE_TONEAREST): Likewise.
56240         (FE_TOWARDZERO): Likewise.
56241         (FE_UPWARD): Likewise.
56242         (FE_DOWNWARD): Likewise.
56243         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
56244         (FE_DIVBYZERO): Likewise.
56245         (FE_OVERFLOW): Likewise.
56246         (FE_UNDERFLOW): Likewise.
56247         (FE_INEXACT): Likewise.
56248         (FE_TONEAREST): Likewise.
56249         (FE_DOWNWARD): Likewise.
56250         (FE_UPWARD): Likewise.
56251         (FE_TOWARDZERO): Likewise.
56253 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
56255         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
56257 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
56259         * scripts/cross-test-ssh.sh (command): Use newlines to separate
56260         commands.  Quote $PWD.
56261         (blacklist_exports): Don't use remove_newlines.  Replace "declare
56262         -x" by "export".
56263         (remove_newlines): Remove.
56265 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
56267         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56268         * stdlib/stdlib.h (atof): Moved to ...
56269         * include/bits/stdlib-float.h: Here.  New file.
56270         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56271         * stdlib/bits/stdlib-float.h: New file.
56272         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56273         -mno-sse -mno-mmx.
56274         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56275         <xmmintrin.h>.
56277 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56279         * conform/conformtest.pl (@headers): Add fenv.h.
56280         * conform/data/fenv.h-data: New file.
56281         * include/fenv.h [_ISOMAC]: Disable all contents of file except
56282         include of <math/fenv.h>.
56284         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56285         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56286         && !UNIX98].  Enables tests for XOPEN2K8.
56287         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56288         POSIX2008]: Likewise.
56290         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56291         (struct rusage): Do not expect type or its members.
56293         [BZ #3439]
56294         * math/math.h (FP_NAN): Define macro to integer constant usable in
56295         #if and use that to give value to enum constant.
56296         (FP_INFINITE): Likewise.
56297         (FP_ZERO): Likewise.
56298         (FP_SUBNORMAL): Likewise.
56299         (FP_NORMAL): Likewise.
56301 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
56303         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56304         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56305         arguments.
56307 2012-11-02  Roland McGrath  <roland@hack.frob.com>
56309         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56310         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56311         autoconf-time if not.
56312         * configure.in: Remove AC_PREREQ.
56314 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56316         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56317         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56318         of the internal implementation.
56320 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56322         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56323         except include of <misc/sys/syslog.h>.
56325 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56328         function returns with a NULL context exit with zero.
56330 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56332         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56334 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
56336         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56337         (run_program_cmd): This.
56338         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
56339         (tst_langinfo): New variable.  Use it.
56341 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
56343         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
56344         floating point opcodes.
56346 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56348         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
56349         variable.
56351         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
56353         * sysdeps/mach/hurd/powerpc: Remove directory.
56354         * sysdeps/mach/powerpc: Likewise.
56356 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56358         * scripts/check-local-headers.sh: Ignore c++ headers.
56360 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56362         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
56363         __libc_cleanup_region_start argument.
56365 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
56367         [BZ #14784]
56368         [BZ #14785]
56369         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
56370         x * y using scaling, not as x * y + z.
56371         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56372         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56373         * math/libm-test.inc (fma_test): Add more tests.
56374         (fma_test_towardzero): Likewise.
56375         (fma_test_downward): Likewise.
56376         (fma_test_upward): Likewise.
56378 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56380         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
56382 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56384         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
56385         New variable.
56387 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
56389         * rt/tst-shm.c (worker): Correct checking for mmap failure.
56391 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56394         Fix sort order.
56395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56396         Likewise.
56398 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56401         Fix the order of the list for glibc 2.17.
56402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56403         Likewise.
56405 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56409 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56411         [BZ #14610]
56412         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
56413         for low part of x being zero before using __atanl (y).
56414         * math/libm-test.inc (atan2_test): Add another test.
56416         * manual/install.texi (Configuring and compiling): Document
56417         general use of test-wrapper and test-wrapper-env.
56418         * INSTALL: Regenerated.
56420         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
56421         (__fma): Do not extract and scale down low bits on after-rounding
56422         systems when result rounded to normal precision would have normal
56423         exponent.
56424         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
56425         (__fmal): Do not extract and scale down low bits on after-rounding
56426         systems when result rounded to normal precision would have normal
56427         exponent.
56428         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
56429         (__fmal): Do not extract and scale down low bits on after-rounding
56430         systems when result rounded to normal precision would have normal
56431         exponent.
56432         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
56433         macro.
56434         (fma_test): Add more tests.
56435         (fma_test_towardzero): Likewise.
56436         (fma_test_downward): Likewise.
56437         (fma_test_upward): Likewise.
56439 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
56441         * sysdeps/i386/tininess.h: Renamed to ...
56442         * sysdeps/x86/tininess.h: This.
56443         * sysdeps/x86_64/tininess.h: Removed.
56445 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56447         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
56448         input.  Use $(build-program-cmd).
56449         ($(objpfx)tst-array1-static.out): Likewise.
56450         ($(objpfx)tst-array2.out): Likewise.
56451         ($(objpfx)tst-array3.out): Likewise.
56452         ($(objpfx)tst-array4.out): Likewise.
56453         ($(objpfx)tst-array5.out): Likewise.
56454         ($(objpfx)tst-array5-static.out): Likewise.
56456 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
56458         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
56459         if defined.
56461         * nss/nsswitch.h (nss_interface_function): Provide new
56462         macro for use with NSS functions.
56463         * grp/initgroups.c: Use new macro.
56464         * nss/getXXbyYY.c: Likewise.
56465         * nss/getXXbyYY_r.c: Likewise.
56466         * nss/getXXent.c: Likewise.
56467         * nss/getXXent_r.c: Likewise.
56468         * sysdeps/posix/getaddrinfo.c: Likewise.
56470 2012-10-30  Andreas Jaeger  <aj@suse.de>
56472         * po/ru.po: Update Russion translation from translation project.
56474 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56476         [BZ #14152]
56477         [BZ #14783]
56478         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
56479         result and shift together with sticky bit instead of replicating
56480         round-to-nearest rounding.
56481         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56482         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56483         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
56484         missing underflow exceptions.
56485         (fma_test_towardzero): Add more tests.
56486         (fma_test_downward): Likewise.
56487         (fma_test_upward): Likewise.
56489         [BZ #14047]
56490         * sysdeps/generic/tininess.h: New file.
56491         * sysdeps/i386/tininess.h: Likewise.
56492         * sysdeps/sh/tininess.h: Likewise.
56493         * sysdeps/x86_64/tininess.h: Likewise.
56494         * stdlib/tst-strtod-underflow.c: Likewise.
56495         * stdlib/tst-tininess.c: Likewise.
56496         * stdlib/strtod_l.c: Include <tininess.h>.
56497         (round_and_return): Do not set errno for exact underflow cases.
56498         Force an underflow exception when setting errno for underflow.
56499         Determine underflow based on rounding to normal precision if
56500         TININESS_AFTER_ROUNDING.
56501         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
56502         ERANGE for exact underflow cases.
56503         * stdlib/Makefile (tests): Add tst-tininess and
56504         tst-strtod-underflow.
56505         ($(objpfx)tst-tininess): Use $(link-libm).
56506         ($(objpfx)tst-strtod-underflow): Likewise.
56508 2012-10-30  Andreas Jaeger  <aj@suse.de>
56510         [BZ#14767]
56511         * elf/Makefile (tests): Remove conditional for have-initfini-array
56512         since this is now always required and the variable does not exist
56513         anymore.
56514         (tests-static): Likewise.
56515         (modules-names): Likewise.
56517         * po/eo.po: Add Esperanto translation from translation project.
56519         * elf/tst-array1.c (fini_array): Make writeable so that it can be
56520         merged with constructor/destructor.
56521         (init_array): Likewise.
56522         * elf/tst-array2dep.c (fini_array): Likewise.
56523         (init_array): Likewise.
56525 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
56527         * manual/message.texi: Delete @cartouche tags.
56529 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
56531         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
56532         EOPNOTSUPP.
56533         * sysdeps/mach/hurd/fsync.c: Likewise.
56535         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
56536         [_POSIX_REALTIME_SIGNALS]: Change condition to
56537         [_POSIX_REALTIME_SIGNALS > 0].
56539 2012-10-27  Andreas Jaeger  <aj@suse.de>
56541         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
56542         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
56543         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
56544         [__WORDSIZE != 64]: Likewise.
56546 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
56548         *  iconvdata/tst-table.sh: Remove ${SHELL}.
56549         *  iconvdata/tst-tables.sh: Likewise.
56551 2012-10-25  David S. Miller  <davem@davemloft.net>
56553         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56554         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
56555         of strtoull.
56557         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
56558         ifunc-impl-list.c
56559         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56560         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
56561         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
56562         file.
56564 2012-10-25  Roland McGrath  <roland@hack.frob.com>
56566         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56567         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
56568         __getdirentries.
56570 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56571             Jim Blandy  <jimb@codesourcery.com>
56573         * scripts/cross-test-ssh.sh: New file.
56574         * manual/install.texi (Configuring and compiling): Document use of
56575         cross-test-ssh.sh.
56576         * INSTALL: Regenerated.
56578 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
56580         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
56581         EOPNOTSUPP.
56583 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56585         * Makeconfig (run-program-prefix): Fix comment.
56587 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56588             Jim Blandy  <jimb@codesourcery.com>
56590         * Makeconfig (test-wrapper): New variable,
56591         (test-wrapper-env): Likewise.
56592         [$(cross-compiling) = yes && $(test-wrapper) != ""]
56593         (run-built-tests): Define to yes.
56594         (run-program-prefix): Use $(test-wrapper).
56595         (built-program-cmd): Likewise.
56596         * Rules (make-test-out): Use $(test-wrapper-env) and
56597         $(host-built-program-cmd).
56598         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
56599         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
56600         tst-pathopt.sh.
56601         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
56602         $(test-wrapper-env) to tst-rtld-load-self.sh.
56603         ($(objpfx)order2.out): Use $(test-wrapper).
56604         ($(objpfx)tst-initorder.out): Likewise.
56605         ($(objpfx)tst-initorder2.out): Likewise.
56606         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
56607         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
56608         (test_wrapper_env): New variable.  Use it to run ld.so.
56609         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
56610         Use it to run ld.so.
56611         (test_wrapper_env): Likewise.
56612         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
56613         $(test-wrapper) to run-iconv-test.sh.
56614         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
56615         (ICONV): Use $test_wrapper.
56616         * posix/Makefile ($(objpfx)globtest.out): Pass
56617         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
56618         globtest.sh, not $(run-program-prefix).
56619         * posix/globtest.sh (run_via_rtld_prefix): New variable.
56620         (test_wrapper): Likewise.
56621         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
56622         set together with run_via_rtld_prefix.
56623         (run_program_prefix): Define in terms of test_wrapper and
56624         run_via_rtld_prefix.
56626 2012-10-24  Roland McGrath  <roland@hack.frob.com>
56628         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
56629         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
56630         Targets removed.
56632         [BZ #14743]
56633         * include/time.h: Remove librt_hidden_proto (clock_gettime).
56634         Declare __clock_getres, __clock_gettime, __clock_settime,
56635         __clock_nanosleep, and __clock_getcpuclockid.
56636         * rt/clock_gettime.c: Define __clock_gettime as an alias.
56637         Remove librt_hidden_def (clock_gettime).
56638         * sysdeps/unix/clock_gettime.c: Likewise.
56639         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
56640         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
56641         * rt/clock_getres.c: Define __clock_getres as an alias.
56642         * sysdeps/posix/clock_getres.c: Likewise.
56643         * rt/clock_settime.c: Define __clock_settime as an alias.
56644         * sysdeps/unix/clock_settime.c: Likewise.
56645         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
56646         * sysdeps/unix/clock_nanosleep.c: Likewise.
56647         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
56648         * rt/clock-compat.c: New file.
56649         * rt/Makefile (librt-routines): Add clock-compat and move
56650         $(clock-routines) to ...
56651         (routines): ... here, new variable.
56652         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
56653         Don't add get_clockfreq here.
56654         * rt/Versions (libc: GLIBC_2.17): New version set.
56655         Add clock_* symbols here.
56656         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
56657         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
56658         (GLIBC_2.17): Add clock_* symbols.
56659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56661         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56663         Likewise.
56664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56665         Likewise.
56666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56669         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56670         * NEWS: Mention the move.
56672         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56673         Use __open, __read, __close rather than their public counterparts.
56674         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56675         (__get_clockfreq_via_cpuinfo): Likewise.
56676         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
56677         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
56679         * config.h.in (HAVE_IFUNC): New #undef.
56680         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
56681         was successful.
56682         * configure: Regenerated.
56684 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56686         * configure.in: Move READELF check to start of file.
56687         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
56688         libc_cv_asm_gnu_indirect_function in the process.
56689         * configure: Regenerated.
56691 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56693         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
56694         send the output to /dev/null.
56695         (libc_cv_cc_with_libunwind): Likewise.
56696         (libc_cv_as_noexecstack): Likewise.
56697         * configure: Regenerate.
56699 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56701         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
56703         * posix/globtest.sh (TMPDIR): Do not set.
56704         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
56705         (testout): Likewise.
56707 2012-10-24  Andreas Jaeger  <aj@suse.de>
56709         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
56710         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
56711         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
56712         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
56713         posix_fadvise64, posix_fallocate64.
56715         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
56716         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
56717         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
56718         Likewise.
56719         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
56720         Likewise.
56721         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
56723         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
56724         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
56725         <bits/fcntl-linux.h>.
56726         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
56728         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
56729         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
56730         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
56731         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
56732         [__WORDSIZE != 64]: Likewise.
56734 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56736         * Makeconfig (run-built-tests): New variable.
56737         * Rules [$(cross-compiling) = yes]: Change condition to
56738         [$(run-built-tests) = no].
56739         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
56740         to [$(run-built-tests) = yes].
56741         * elf/Makefile [$(cross-compiling) = no]: Likewise.
56742         * grp/Makefile [$(cross-compiling) = no]: Likewise.
56743         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
56744         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
56745         * intl/Makefile [$(cross-compiling) = no]: Likewise.
56746         * io/Makefile [$(cross-compiling) = no]: Likewise.
56747         * libio/Makefile [$(cross-compiling) = no]: Likewise.
56748         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
56749         * misc/Makefile [$(cross-compiling) = no]: Likewise.
56750         * posix/Makefile [$(cross-compiling) = no]: Likewise.
56751         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
56752         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
56753         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
56754         * string/Makefile [$(cross-compiling) = no]: Likewise.
56756         * posix/Makefile ($(objpfx)globtest.out): Pass
56757         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
56758         $(rtld-installed-name).
56759         * posix/globtest.sh (elf_objpfx): Remove variable.
56760         (rtld_installed_name): Likewise.
56761         (library_path): Likewise.
56762         (run_program_prefix): New variable.  Use for running globtest
56763         binary.
56765 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
56766             Joseph Myers  <joseph@codesourcery.com>
56768         * Makeconfig (host-built-program-cmd): New variable.
56769         * elf/Makefile (tst-stackguard1-ARGS): Use
56770         $(host-built-program-cmd).
56771         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
56772         (tst-spawn-ARGS): Likewise.
56773         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
56775 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56776             Jim Blandy  <jimb@codesourcery.com>
56778         * Makeconfig (run-via-rtld-prefix): New variable.
56779         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
56780         (built-program-cmd): Likewise.
56782 2012-10-22  Andreas Jaeger  <aj@suse.de>
56784         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
56785         __O_RSYNC if it exists, otherwise to O_SYNC.
56787 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
56788             Joseph Myers  <joseph@codesourcery.com>
56790         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
56791         /dev/null.
56792         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
56793         from /dev/null
56794         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
56795         /dev/null.
56797 2012-10-22  Andreas Jaeger  <aj@suse.de>
56799         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
56800         Define always.
56801         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
56803         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56804         bits/fcntl-linux.h.
56806         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
56807         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
56809         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
56810         to __O_LARGEFILE.
56811         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
56812         to __O_LARGEFILE.
56814 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
56815             Joseph Myers  <joseph@codesourcery.com>
56817         * config.make.in (NM): New variable.
56819 2012-10-21  Andreas Jaeger  <aj@suse.de>
56821         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
56822         definitions and declarations that are provided by
56823         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56825 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56827         [BZ #14683]
56828         * elf/Makefile (tests-static): Add tst-leaks1-static.
56829         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
56830         ($(objpfx)tst-leaks1-static): New rule.
56831         ($(objpfx)tst-leaks1-static-mem): Likewise.
56832         (tst-leaks1-static-ENV): New macro.
56833         * elf/dl-open.c (dl_open_worker): Check the main application
56834         only if SHARED is defined.
56835         * elf/tst-leaks1-static.c: New file.
56837 2012-10-20  Andreas Jaeger  <aj@suse.de>
56839         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
56840         generic values for Linux.
56841         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
56842         and declarations that are provided by <bits/fcntl-linux.h> and
56843         include <bits/fcntl-linux.h>.
56844         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56845         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56847 2012-10-20  Roland McGrath  <roland@hack.frob.com>
56849         * io/fcntl.h: Move include of <bits/types.h> to the top and
56850         include it unconditionally.
56852 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56854         * wcsmbs/Makefile (tests-ifunc): New variable.
56855         (tests): Add $(tests-ifunc).
56856         * wcsmbs/test-wcschr-ifunc.c: New file.
56857         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
56858         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
56859         * wcsmbs/test-wcslen-ifunc.c: Likewise.
56860         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
56861         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
56863         * string/Makefile (tests-ifunc): New variable.
56864         (tests): Add $(tests-ifunc).
56865         * string/test-memccpy.c (TEST_NAME): New macro.
56866         * string/test-memchr.c (TEST_NAME): Likewise.
56867         * string/test-memcmp.c (TEST_NAME): Likewise.
56868         * string/test-memcpy.c (TEST_NAME): Likewise.
56869         * string/test-memmem.c (TEST_NAME): Likewise.
56870         * string/test-memmove.c (TEST_NAME): Likewise.
56871         * string/test-memset.c (TEST_NAME): Likewise.
56872         * string/test-rawmemchr.c (TEST_NAME): Likewise.
56873         * string/test-stpcpy.c (TEST_NAME): Likewise.
56874         * string/test-stpncpy.c (TEST_NAME): Likewise.
56875         * string/test-strcasecmp.c (TEST_NAME): Likewise.
56876         * string/test-strcasestr.c (TEST_NAME): Likewise.
56877         * string/test-strcat.c (TEST_NAME): Likewise.
56878         * string/test-strchr.c (TEST_NAME): Likewise.
56879         * string/test-strcmp.c(TEST_NAME): Likewise.
56880         * string/test-strcpy.c (TEST_NAME): Likewise.
56881         * string/test-strcspn.c (TEST_NAME): Likewise.
56882         * string/test-strlen.c (TEST_NAME): Likewise.
56883         * string/test-strncasecmp.c (TEST_NAME): Likewise.
56884         * string/test-strncmp.c (TEST_NAME): Likewise.
56885         * string/test-strncpy.c (TEST_NAME): Likewise.
56886         * string/test-strnlen.c (TEST_NAME): Likewise.
56887         * string/test-strpbrk.c (TEST_NAME): Likewise.
56888         * string/test-strrchr.c (TEST_NAME): Likewise.
56889         * string/test-strspn.c (TEST_NAME): Likewise.
56890         * string/test-strstr.c (TEST_NAME): Likewise.
56891         * string/test-bcopy-ifunc.c: New file.
56892         * string/test-bzero-ifunc.c: Likewise.
56893         * string/test-memccpy-ifunc.c: Likewise.
56894         * string/test-memchr-ifunc.c: Likewise.
56895         * string/test-memcmp-ifunc.c: Likewise.
56896         * string/test-memcpy-ifunc.c: Likewise.
56897         * string/test-memmem-ifunc.c: Likewise.
56898         * string/test-memmove-ifunc.c: Likewise.
56899         * string/test-mempcpy-ifunc.c: Likewise.
56900         * string/test-memset-ifunc.c: Likewise.
56901         * string/test-rawmemchr-ifunc.c: Likewise.
56902         * string/test-stpcpy-ifunc.c: Likewise.
56903         * string/test-stpncpy-ifunc.c: Likewise.
56904         * string/test-strcasecmp-ifunc.c: Likewise.
56905         * string/test-strcasestr-ifunc.c: Likewise.
56906         * string/test-strcat-ifunc.c: Likewise.
56907         * string/test-strchr-ifunc.c: Likewise.
56908         * string/test-strchrnul-ifunc.c: Likewise.
56909         * string/test-strcmp-ifunc.c: Likewise.
56910         * string/test-strcpy-ifunc.c: Likewise.
56911         * string/test-strcspn-ifunc.c: Likewise.
56912         * string/test-strlen-ifunc.c: Likewise.
56913         * string/test-strncasecmp-ifunc.c: Likewise.
56914         * string/test-strncat-ifunc.c: Likewise.
56915         * string/test-strncmp-ifunc.c: Likewise.
56916         * string/test-strncpy-ifunc.c: Likewise.
56917         * string/test-strnlen-ifunc.c: Likewise.
56918         * string/test-strpbrk-ifunc.c: Likewise.
56919         * string/test-strrchr-ifunc.c: Likewise.
56920         * string/test-strspn-ifunc.c: Likewise.
56921         * string/test-strstr-ifunc.c: Likewise.
56923         * debug/Makefile (tests-ifunc): New variable.
56924         (tests): Add $(tests-ifunc).
56925         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
56926         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
56927         * debug/test-stpcpy_chk-ifunc.c: New file.
56928         * debug/test-strcpy_chk-ifunc.c: Likewise.
56930 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56932         [BZ #13601]
56933         * elf/dl-load.c (open_verify): Retry read if the entire ELF
56934         header is not read in.
56936 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
56938         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
56939         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
56940         directly.  Pass built executable to script as
56941         $(built-program-cmd).
56942         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
56943         $testprogram without using LD_LIBRARY_PATH and $ldso.
56945         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
56946         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
56947         $(rtld-installed-name).
56948         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
56949         (rtld_installed_name): Likewise.
56950         (library_path): Likewise.
56951         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
56952         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
56953         $(run-program-prefix) to tst-tables.sh.
56954         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
56955         it to run tst-table-from and tst-table-to.
56956         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
56957         Pass it to tst-table.sh.
56958         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
56959         $(run-program-prefix) to tst-gettext.sh.
56960         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
56961         tst-translit.sh.
56962         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
56963         tst-gettext2.sh.
56964         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
56965         to run tst-gettext.
56966         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
56967         to run tst-gettext2.
56968         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
56969         to run tst-translit.
56970         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
56971         $(run-program-prefix) to tst-mtrace.sh.
56972         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
56973         to run tst-mtrace.
56974         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
56975         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
56976         $(rtld-installed-name).
56977         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
56978         (rtld_installed_name): Likewise.
56979         (run_program_prefix): New variable.  Use it to run wordexp-test.
56981         * Makeconfig (ARCH): Remove all definitions.
56982         (machine): Likewise.
56983         [ARCH]: Remove conditional code.
56984         [!objdir]: Give error.
56985         [!objdir] (objpfx): Remove.
56986         [!objdir] (common-objpfx): Likewise.
56987         [!objdir] (common-objdir): Likewise.
56988         * configure.in (config_makefile): Remove.  Hardcode Makefile in
56989         AC_CONFIG_FILES call.
56990         * configure: Regenerated.
56992         [BZ #13888]
56993         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
56994         or TMPDIR.
56995         (testout): Likewise.
56997         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
56998         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
56999         $(rtld-installed-name).
57000         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
57001         (rtld_installed_name): Likwise.
57002         (runit): Remove function.
57003         (run_getconf): New variable,  Use it for running getconf binary.
57005 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
57007         [BZ #14716]
57008         * string/test-memmem.c (check_result): New function.
57009         (do_one_test): Use it.
57010         (check1): New function.
57011         (test_main): Use it.
57013 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
57015         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
57017 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
57019         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
57020         (_G_LSEEK64): Likewise.
57021         (_G_MMAP64): Likewise.
57022         (_G_FSTAT64): Likewise.
57023         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
57024         (_G_LSEEK64): Likewise.
57025         (_G_MMAP64): Likewise.
57026         (_G_FSTAT64): Likewise.
57027         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57028         unconditional.  Call __mmap64 directly.
57029         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
57030         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
57031         __lseek64 directly.
57032         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
57033         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
57034         __mmap64 directly.
57035         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
57036         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57037         __lseek64 directly.
57038         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
57039         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57040         __lseek64 directly.
57041         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
57042         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
57043         __lseek64 directly.
57044         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
57045         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
57046         __fxstat64 directly.
57047         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
57048         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
57049         unconditional.
57050         (freopen64) [!_G_OPEN64]: Remove conditional code.
57051         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
57052         unconditional.
57053         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
57054         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
57055         unconditional.
57056         (ftello64) [!_G_LSEEK64]: Remove conditional code.
57057         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
57058         unconditional.
57059         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57060         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
57061         unconditional.
57062         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
57063         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
57064         unconditional.
57065         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57066         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
57067         unconditional.
57068         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57069         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
57070         unconditional.
57071         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57073 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57075         [BZ #12140]
57076         * manual/memory.texi (Malloc Tunable Parameters): Add note
57077         about free list pointers overwriting some perturb bytes.
57078         Wording suggested by Roland McGrath.
57080 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
57082         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
57083         (lgamma_test): Likewise.
57084         (tgamma_test): Likewise.
57086 2012-10-16  Florian Weimer  <fweimer@redhat.com>
57088         [BZ #14700]
57089         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
57090         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
57092 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
57094         * NEWS: Mention BZ #14716.
57095         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
57096         when removing AVAILABLE1_USES_J macro.
57098 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
57100         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
57101         (__bswap_64): __uint64_t for unsigned 64-bit int.
57103 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
57105         * include/string.h (memmem): Declare libc hidden alias.
57106         * string/memmem.c (memmem): Define libc hidden alias.
57107         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
57108         __read, __close instead of open, read, close.
57110 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
57112         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
57113         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
57114         global and hidden.
57115         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
57116         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
57117         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
57118         Likewise.
57119         (__rawmemchr_sse2): Likewise.
57120         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
57121         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
57122         (__strchr_sse2): Likewise.
57123         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
57124         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
57125         (__strcasecmp_sse2): Likewise.
57126         (__strncasecmp_sse2): Likewise.
57127         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
57128         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
57129         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
57130         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
57131         (__strrchr_sse2): Likewise.
57132         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
57133         ifunc-impl-list.c.
57134         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
57135         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
57136         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
57137         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57138         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
57139         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
57140         * sysdeps/x86_64/multiarch/memset.S: Likewise.
57141         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57142         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
57143         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
57144         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
57145         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57146         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57147         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57148         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57149         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57150         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57151         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57152         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57153         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57154         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57155         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57156         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57157         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57158         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57159         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57160         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57161         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57162         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57163         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57165         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57166         global and hidden.
57167         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57168         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57169         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57170         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57171         Likewise.
57172         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57173         Likewise.
57174         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57175         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57176         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57177         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57178         ifunc-impl-list.c.
57179         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57180         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57181         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57182         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57183         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57184         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57185         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57186         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57187         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57188         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57189         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57190         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57191         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57192         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
57193         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
57194         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57195         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
57196         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
57197         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57198         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57199         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57200         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57201         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57202         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57203         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57204         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
57205         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
57206         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
57207         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
57208         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57209         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
57210         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57211         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57212         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
57213         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57214         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57215         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57216         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57217         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57218         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57219         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
57221         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
57222         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
57223         * include/ifunc-impl-list.h: New file.
57224         * misc/ifunc-impl-list.c: Likewise.
57225         * misc/Makefile (routines): Add ifunc-impl-list.
57226         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
57227         * string/test-string.h: Include <ifunc-impl-list.h>.
57228         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
57229         TEST_NAME]: New variables.
57230         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
57231         are defined.
57232         (test_init): Call __libc_ifunc_impl_list to initialize
57233         func_list if TEST_IFUNC and TEST_NAME are defined.
57235         * string/Makefile (strop-tests): Add bcopy and bzero.
57236         * string/test-bcopy.c: New file.
57237         * string/test-bzero.c: Likewise.
57238         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
57239         defined.
57240         * string/test-memset.c: Support bzero test if TEST_BZERO is
57241         defined.
57242         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
57243         __libc_memmove.
57244         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
57245         __libc_memset.
57246         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
57247         of memset.
57249 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
57251         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
57252         * configure: Regenerated.
57254         * Makeconfig (+link-static-before-libc): Don't include
57255         $(link-static-libc).
57257         * libio/libio.h (_IO_pos_t): Remove.
57259 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57261         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
57262         McGrath.
57264 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57266         * crypt/crypt-entry.c: Include fips-private.h.
57267         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57268         * crypt/md5c-test.c (main): Tolerate disabled MD5.
57269         * sysdeps/unix/sysv/linux/fips-private.h: New file.
57270         * sysdeps/generic/fips-private.h: New file, dummy fallback.
57272 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57274         * crypt/crypt-private.h: Include stdbool.h.
57275         (_ufc_setup_salt_r): Return bool.
57276         * crypt/crypt-entry.c: Include errno.h.
57277         (__crypt_r): Return NULL with EINVAL for bad salt.
57278         * crypt/crypt_util.c (bad_for_salt): New.
57279         (_ufc_setup_salt_r): Check that salt is long enough and within
57280         the specified alphabet.
57281         * crypt/badsalttest.c: New file.
57282         * crypt/Makefile (tests): Add it.
57283         ($(objpfx)badsalttest): New.
57285 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
57287         * NEWS: Add entry for BZ #14602.
57289 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57291         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57292         type-generic.
57293         * math/libm-test.inc: Update comment listing what functions and
57294         macros are tested.
57295         (isgreater_test): New function.
57296         (isgreaterequal_test): Likewise.
57297         (isless_test): Likewise.
57298         (islessequal_test): Likewise.
57299         (islessgreater_test): Likewise.
57300         (isunordered_test): Likewise.
57301         (main): Call the new functions.
57303 2012-10-09  Roland McGrath  <roland@hack.frob.com>
57305         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57306         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57307         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57308         * sysdeps/i386/configure: Regenerated.
57309         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57310         * sysdeps/mach/configure: Regenerated.
57311         * sysdeps/mach/hurd/configure: Regenerated.
57312         * sysdeps/powerpc/configure: Regenerated.
57313         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57314         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57315         * sysdeps/s390/s390-32/configure: Regenerated.
57316         * sysdeps/s390/s390-64/configure: Regenerated.
57317         * sysdeps/sh/configure: Regenerated.
57318         * sysdeps/sparc/configure: Regenerated.
57319         * sysdeps/unix/sysv/linux/configure: Regenerated.
57320         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57321         * sysdeps/x86_64/configure: Regenerated.
57323         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57324         defined.  Don't check if MAP is NULL.
57326 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57328         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57329         (_G_stat64): Likewise.
57330         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57331         (_G_stat64): Likewise.
57332         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57333         instead of struct _G_stat64.
57334         * libio/fileops.c (mmap_remap_check): Likewise.
57335         (decide_maybe_mmap): Likewise.
57336         (_IO_new_file_seekoff): Likewise.
57337         (_IO_file_stat): Likewise.
57338         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
57339         _G_off64_t.
57340         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
57341         instead of struct _G_stat64.
57342         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57344 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
57346         [BZ #14602]
57347         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57348         Replace with ...
57349         (CHECK_EOL): New macro.
57350         (two_way_short_needle): Check beginning of haystack for EOL.  Use
57351         CHECK_EOL.
57352         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57353         Replace with CHECK_EOL.
57354         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57355         Replace with CHECK_EOL.
57357 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
57359         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
57360         type-generic.
57361         * math/libm-test.inc: Update comment listing what functions and
57362         macros are tested.
57363         (finite_test): New function.
57364         (isinf_test): Likewise.
57365         (isnan_test): Likewise.
57366         (fpclassify_test): Test subnormal input.
57367         (isfinite_test): Likewise.
57368         (isnormal_test): Likewise.
57369         (main): Call the new functions.
57371 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
57373         [BZ #14660]
57374         * Makerules (%.dynsym): Force C locale when running
57375         $(OBJDUMP) --dynamic-syms.
57377 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
57379         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
57380         <stdint.h>.
57382 2012-10-06  David S. Miller  <davem@davemloft.net>
57384         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
57385         upper 32-bits of the length value in %o2 since we use branch-on-register
57386         tests which consider the entire 64-bit register.
57388 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
57390         * string/test-strstr.c (check2): Add a test for page boundary.
57392 2012-10-05  David S. Miller  <davem@davemloft.net>
57394         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
57395         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
57396         file.
57397         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57398         sysdep_routines.
57399         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57400         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
57401         and bzero when HWCAP_SPARC_CRYPTO is present.
57403 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
57405         [BZ #14602]
57406         * string/test-strstr.c (check2): New function.
57407         (test_main): Call check2.
57409         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
57410         and bug-strchr1.
57411         * string/bug-strcasestr1.c (do_test): Moved to ...
57412         * string/test-strcasestr.c (check1): Here.  New function.
57413         (do_one_test): Break out result checking code into ...
57414         (check_result): This.  New function.
57415         (do_one_test): Call check_result.
57416         (test_main): Call check1.
57417         * string/bug-strchr1.c (do_test): Moved to ...
57418         * string/test-strchr.c (check1): Here.  New function.
57419         (do_one_test): Break out result checking code into ...
57420         (check_result): This.  New function.
57421         (do_one_test): Call check_result.
57422         (test_main): Call check1.
57423         * string/bug-strstr1.c (main): Moved to ...
57424         * string/test-strstr.c (check1): Here.  New function.
57425         (do_one_test): Break out result checking code into ...
57426         (check_result): This.  New function.
57427         (do_one_test): Call check_result.
57428         (test_main): Call check1.
57429         * string/bug-strcasestr1.c: Removed.
57430         * string/bug-strchr1.c: Likewise.
57431         * string/bug-strstr1.c: Likewise.
57433         * elf/Makefile (dl-routines): Add hwcaps.
57434         * elf/dl-support.c (_dl_important_hwcaps): Removed.
57435         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
57436         (_dl_important_hwcaps): Moved to ...
57437         * elf/dl-hwcaps.c: Here.  New file.
57438         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
57440         [BZ #14557]
57441         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
57442         if IS_IN_rtld isn't defined.
57444         * elf/dl-support.c (_dl_sysinfo_map): New.
57445         Include "get-dynamic-info.h" and "setup-vdso.h".
57446         (_dl_non_dynamic_init): Call setup_vdso.
57447         * elf/dynamic-link.h: Don't include <assert.h>.
57448         (elf_get_dynamic_info): Moved to ...
57449         * elf/get-dynamic-info.h: Here.  New file.
57450         * elf/dynamic-link.h: Include "get-dynamic-info.h".
57451         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
57452         * elf/setup-vdso.h: Here.  New file.
57453         * elf/rtld.c: Include "setup-vdso.h".
57454         (dl_main): Call setup_vdso.
57456 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
57458         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
57459         creal in comment listing functions tested.  List finite, isinf,
57460         isnan, isless, islessequal, isgreater, isgreaterequal,
57461         islessgreater, isunordered, lgamma_r and pow10 as functions and
57462         macros not tested.  Mention which functions not tested are aliases
57463         for other functions.  Fix typo.  Note that signs of NaNs are not
57464         tested.
57466         * scripts/config.guess: Update from config.git.
57467         * scripts/config.sub: Likewise.
57469 2012-10-04  Roland McGrath  <roland@hack.frob.com>
57471         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
57472         * misc/madvise.c (madvise): Renamed to __madvise.
57473         Make madvise a weak alias.
57474         * include/sys/mman.h: Declare __madvise.
57475         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
57476         * sysdeps/unix/syscalls.list
57477         (madvise): Make __madvise the strong name, and madvise a weak alias.
57478         * sysdeps/unix/sysv/linux/syscalls.list
57479         (madvise, mmap): Remove redundant entries.
57480         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
57481         * malloc/malloc.c (mtrim): Likewise.
57482         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
57484 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57486         * sysdeps/mach/hurd/dl-cache.c: File removed.
57487         * config.h.in (USE_LDCONFIG): New #undef.
57488         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
57489         * configure: Regenerated.
57490         * elf/Makefile (dl-routines): Add dl-cache only under
57491         [$(use-ldconfig) = yes].
57492         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
57493         cache on [USE_LDCONFIG].
57494         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
57495         [USE_LDCONFIG].
57496         * elf/rtld.c (dl_main): Likewise.
57498 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
57500         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
57501         _SC_LEVEL4_CACHE_LINESIZE.
57503 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57505         * sysdeps/unix/bsd/confstr.h: File removed.
57507 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
57509         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
57510         sys/sdt-config.h.
57512 2012-10-02  Roland McGrath  <roland@hack.frob.com>
57514         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
57515         Make 'mapoff' field ElfW(Off) rather than off_t.
57517 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
57519         * nscd/Makefile: Remove nscd-cflags and all its users.
57520         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
57521         (CFLAGS-nonlib): Add compiler flags for nscd modules.
57523         [BZ #10631]
57524         * malloc.c (malloc_printerr): Clarify error message.
57526 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
57528         [BZ #14648]
57529         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57530         Set bit_FMA_Usable if FMA is supported.
57531         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
57532         macro.
57533         (bit_FMA4_Usable): Updated.
57534         (index_FMA_Usable): New macro.
57535         (CPUID_FMA): Likewise.
57536         (HAS_FMA): Defined with bit_FMA_Usable.
57538 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57540         * bits/types.h (__swblk_t): Type removed.
57541         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
57542         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
57543         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57544         (__SWBLK_T_TYPE): Likewise.
57545         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57546         (__SWBLK_T_TYPE): Likewise.
57547         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57548         (__SWBLK_T_TYPE): Likewise.
57549         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57550         (__SWBLK_T_TYPE): Likewise.
57552 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
57553             Honza Horak <hhorak@redhat.com>
57555         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
57556         (xdr_mapname): Use YPMAXMAP as maxsize.
57557         (xdr_peername): Use YPMAXPEER as maxsize.
57558         (xdr_keydat): Use YPAXRECORD as maxsize.
57559         (xdr_valdat): Use YPMAXRECORD as maxsize.
57561 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57563         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
57565         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
57566         * csu/init-first.c: ... here.
57567         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
57568         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
57569         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
57570         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
57571         * sysdeps/i386/init-first.c: File removed.
57572         * sysdeps/sh/init-first.c: File removed.
57574 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
57576         [BZ #14645]
57577         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
57578         if x * y might underflow to zero and z is zero.
57579         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57580         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57581         * math/libm-test.inc (min_subnorm_value): New variable.
57582         (fma_test): Add more tests.
57583         (fma_test_towardzero): Likewise.
57584         (fma_test_downward): Likewise.
57585         (fma_test_upward): Likewise.
57586         (initialize): Set min_subnorm_value.
57588 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
57590         [BZ #14638]
57591         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
57592         0 + 0.
57593         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
57594         mode for addition resulting in exact zero.
57595         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
57596         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
57597         exact 0 + 0.
57598         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57599         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57600         * math/libm-test.inc (fma_test): Add more tests.
57601         (fma_test_towardzero): New function.
57602         (fma_test_downward): Likewise.
57603         (fma_test_upward): Likewise.
57604         (main): Call the new functions.
57606 2012-09-28  David S. Miller  <davem@davemloft.net>
57608         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
57610 2012-09-28  Roland McGrath  <roland@hack.frob.com>
57612         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
57613         instead of SIGALRM.
57615         * sysdeps/gnu/_G_config.h: Moved to ...
57616         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
57617         * sysdeps/mach/hurd/_G_config.h: Moved to ...
57618         * sysdeps/generic/_G_config.h: ... here.
57620         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
57622         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
57624         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
57625         Conditionalize target on [libnss_test1.so-version].
57627         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
57629         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
57630         (elfobjdir): Move out of conditionals.
57632         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
57633         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
57634         (__nss_lookup_function): Conditionalize label remove_from_tree on
57635         [!DO_STATIC_NSS || SHARED], matching its only use.
57637 2012-09-28  David S. Miller  <davem@davemloft.net>
57639         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
57640         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
57641         file.
57642         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57643         sysdep_routines.
57644         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57645         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
57646         when HWCAP_SPARC_CRYPTO is present.
57648 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57650         * io/tst-mknodat.c: Create a FIFO instead of a socket.
57652 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
57654         [BZ #6530]
57655         * stdio-common/vfprintf.c (process_string_arg): Revert
57656         2000-07-22 change.
57658 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
57660         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
57661         for testcase.
57662         * stdio-common/tst-sprintf.c: Include <locale.h>
57663         (main): Test sprintf's handling of incomplete multibyte
57664         characters.
57666 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
57668         * elf/dl-runtime.c (VERSYMIDX): Removed.
57669         * elf/dl-version.c (VERSYMIDX): Likewise.
57670         * elf/do-rel.h (VERSYMIDX): Likewise.
57671         (VALIDX): Likewise.
57672         * elf/dynamic-link.h (VERSYMIDX): Likewise.
57673         * elf/rtld.c (VALIDX): Likewise.
57674         (ADDRIDX): Likewise.
57675         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
57676         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
57677         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
57678         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
57679         (VALIDX): Likewise.
57680         (ADDRIDX): Likewise.
57682 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57684         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
57686 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
57688         [BZ #11438]
57689         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
57690         to global scope.
57691         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
57692         addresses are in the same scope as 192.0.2/24.
57693         * posix/gai.conf: Document new scope table defaults.
57695 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57697         [BZ #5298]
57698         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
57699         for ftell.  Compute offsets from write pointers instead.
57700         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57702 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57704         [BZ #14543]
57705         * libio/Makefile (tests): New test case tst-fseek.
57706         * libio/tst-fseek.c: New test case to verify that fseek/ftell
57707         combination works in wide mode.
57708         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
57709         state when the external buffer state changes.
57711 2012-09-27  David S. Miller  <davem@davemloft.net>
57713         [BZ #14376]
57714         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
57715         pass reloc->r_addend in as the 'high' argument to
57716         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
57718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57720 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57722         * rt/tst-aio2.c: Include <pthread.h>.
57723         * rt/tst-aio3.c: Likewise.
57725 2012-09-27  Steve Ellcey  <sellcey@mips.com>
57727         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
57729 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
57731         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
57732         contents on [SHARED].
57734 2012-09-26  Marek Polacek  <polacek@redhat.com>
57736         [BZ #14530]
57737         [BZ #13741]
57738         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
57739         for C++ and GCC <4.3 as well as for non GCC compilers.
57741 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57743         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57745 2012-09-25  Roland McGrath  <roland@hack.frob.com>
57747         * Makefile.in (all, install): Declare with .PHONY.
57748         Reported by Michael Hope <michael.hope@linaro.org>.
57750 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57752         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
57753         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
57754         system header.
57755         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
57756         Likewise.
57757         (sydep_routines): Add the new and the internal functions.
57758         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
57759         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
57760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
57761         (GLIBC_2.17): Add the new function.
57762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57763         (GLIBC_2.17): Likewise.
57764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
57765         (GLIBC_2.17): Likewise.
57766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
57767         (GLIBC_2.17): Likewise.
57768         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
57770 2012-09-25  Alan Modra  <amodra@gmail.com>
57772         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
57773         Add release barrier before setting once_control to say
57774         initialisation is done.  Add hints on lwarx.  Use macro in
57775         place of isync.
57776         (clear_once_control): Add release barrier.
57778 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57780         [BZ #13629]
57781         * math/s_clog.c (__clog): Handle more values close to |z| = 1
57782         specially.
57783         * math/s_clog10.c (__clog10): Likewise.
57784         * math/s_clog10f.c (__clog10f): Likewise.
57785         * math/s_clog10l.c (__clog10l): Likewise.
57786         * math/s_clogf.c (__clogf): Likewise.
57787         * math/s_clogl.c (__clogl): Likewise.
57788         * math/Makefile (libm-calls): Add x2y2m1.
57789         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
57790         (__x2y2m1): Likewise.
57791         (__x2y2m1l): Likewise.
57792         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
57793         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
57794         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
57795         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57796         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
57797         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
57798         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
57799         * sysdeps/i386/fpu/libm-test-ulps: Update.
57800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57802         [BZ #14621]
57803         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
57804         int as type of variable DEPTH.
57805         (glob): Use size_t instead of int as type of variables NEWCOUNT
57806         and OLD_PATHC.
57808 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57810         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57811         Add s_sincosf-sse2.
57812         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
57813         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
57814         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
57815         macros for using routine as __sincosf_ia32.
57816         Use macro for function declaration and weak_alias.
57817         * sysdeps/i386/fpu/libm-test-ulps: Update.
57819         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
57820         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57822         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
57823         subnormal argument.
57824         * math/s_cexpf.c (__cexpf): Likewise.
57825         * math/s_csinf.c (__csinf): Likewise.
57826         * math/s_csinhf.c (__csinhf): Likewise.
57827         * math/s_ctanf.c (__ctanf): Likewise.
57828         * math/s_ctanhf.c (__ctanhf): Likewise.
57829         * math/s_ccosh.c (__ccoshf): Likewise.
57830         * math/s_cexp.c (__cexpl): Likewise.
57831         * math/s_csin.c (__csin): Likewise.
57832         * math/s_csinh.c (__csinh): Likewise.
57833         * math/s_ctan.c (__ctan): Likewise.
57834         * math/s_ctanh.c (ctanh): Likewise.
57835         * math/s_ccoshl.c (__ccoshl): Likewise.
57836         * math/s_cexpl.c (__cexpl): Likewise.
57837         * math/s_csinl.c (__csinl): Likewise.
57838         * math/s_csinhl.c (__csinhl): Likewise.
57839         * math/s_ctanl.c (__ctanl): Likewise.
57840         * math/s_ctanhl.c (__ctanhl): Likewise.
57842 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57844         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
57845         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
57846         (_IO_off_t): Define to __off_t, not _G_off_t.
57847         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
57848         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
57849         (_IO_wint_t): Define to wint_t, not _G_wint_t.
57850         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
57851         type of __dummy and __dummy2 fields.
57852         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
57853         (_G_ssize_t): Likewise.
57854         (_G_off_t): Likewise.
57855         (_G_pid_t): Likewise.
57856         (_G_uid_t): Likewise.
57857         (_G_wchar_t): Likewise.
57858         (_G_wint_t): Likewise.
57859         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
57860         (_G_ssize_t): Likewise.
57861         (_G_off_t): Likewise.
57862         (_G_pid_t): Likewise.
57863         (_G_uid_t): Likewise.
57864         (_G_wchar_t): Likewise.
57865         (_G_wint_t): Likewise.
57866         * sysdeps/mach/hurd/_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.
57874 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57876         * malloc/arena.c: Include malloc-sysdep.h.
57877         (shrink_heap): Use check_may_shrink_heap to decide if madvise
57878         is sufficient to shrink the heap or an unmap is needed.
57879         * sysdeps/generic/malloc-sysdep.h: New file.  Define
57880         new function check_may_shrink_heap.
57881         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
57882         new function check_may_shrink_heap.
57884 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57886         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
57887         comments.
57889 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
57891         * catgets/test-gencat.sh: Add "set -e".
57892         * elf/tst-pathopt.sh: Likewise.
57893         * grp/tst_fgetgrent.sh: Likewise.
57894         * iconvdata/run-iconv-test.sh: Likewise.
57895         * intl/tst-gettext.sh: Likewise.
57896         * intl/tst-gettext2.sh: Likewise.
57897         * intl/tst-gettext4.sh: Likewise.
57898         * intl/tst-gettext6.sh: Likewise.
57899         * intl/tst-translit.sh: Likewise.
57900         * io/ftwtest-sh: Likewise.
57901         * libio/test-freopen.sh: Likewise.
57902         * malloc/tst-mtrace.sh: Likewise.
57903         * posix/globtest.sh: Likewise.
57904         * posix/tst-getconf.sh: Likewise.
57905         * posix/wordexp-tst.sh: Likewise.
57906         * stdio-common/tst-printf.sh: Likewise.
57907         * stdio-common/tst-unbputc.sh: Likewise.
57908         * stdlib/tst-fmtmsg.sh: Likewise.
57909         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57910         * catgets/Makefile: Do not specify -e option when running
57911         testsuite shell scripts.
57912         * elf/Makefile: Likewise.
57913         * grp/Makefile: Likewise.
57914         * iconvdata/Makefile: Likewise.
57915         * intl/Makefile: Likewise.
57916         * io/Makefile: Likewise.
57917         * libio/Makefile: Likewise.
57918         * malloc/Makefile: Likewise.
57919         * posix/Makefile: Likewise.
57920         * stdio-common/Makefile: Likewise.
57921         * stdlib/Makefile: Likewise.
57922         * sysdeps/x86_64/Makefile: Likewise.
57924         * io/ftwtest-sh: Add copyright header.
57925         * posix/globtest.sh: Likewise.
57926         * posix/tst-getconf.sh: Likewise.
57927         * posix/wordexp-tst.sh: Likewise.
57928         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57930 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
57932         [BZ #13679]
57933         * Makeconfig (+link): Defined as $(+link-static) if
57934         $(build-shared) isn't yes.
57935         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
57936         isn't yes.
57937         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
57939         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
57941         [BZ #14562]
57942         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
57943         new chunk size with MALLOC_ALIGN_MASK.
57945 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
57947         [BZ #5044]
57948         * stdio-common/printf_fphex.c: Include <stdbool.h> and
57949         <rounding-mode.h>.
57950         (__printf_fphex): Determine rounding using get_rounding_mode and
57951         round_away.
57952         * stdio-common/tst-printf-round.c (struct hex_test): New
57953         structure.
57954         (hex_tests): New variable.
57955         (test_hex_in_one_mode): New function.
57956         (do_test): Also run tests for hex float output.
57958 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
57960         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57961         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57962         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
57963         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57964         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57965         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
57966         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57967         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57969 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
57971         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
57972         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
57973         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
57974         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
57976 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
57978         [BZ #14579]
57979         * elf/rtld.c (dl_main): Limit the check for self loading to normal
57980         mode only.
57981         * elf/tst-rtld-load-self.sh: New test.
57982         * elf/Makefile: Run it.
57984 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
57986         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
57987         (tst-writev-ENV): Remove.
57988         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
57990 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
57992         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
57994 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
57996         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
57997         unconditional.
57998         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
57999         Likewise.
58000         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
58001         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
58002         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
58003         Likewise.
58005 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
58007         [BZ #14587]
58008         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
58009         * config.make.in (have-cpp-asm-debuginfo): Removed.
58010         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
58011         * configure: Regenerated.
58013 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
58015         [BZ #5044]
58016         * stdio-common/printf_fp.c: Include <stdbool.h> and
58017         <rounding-mode.h>.
58018         (___printf_fp): Determine rounding using get_rounding_mode and
58019         round_away.
58020         * stdio-common/tst-printf-round.c: New file.
58021         * stdio-common/Makefile (tests): Add tst-printf-round.
58022         (link-libm): New variable.
58023         ($(objpfx)tst-printf-round): Depend in $(link-libm).
58025 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
58027         [BZ #14576]
58028         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
58029         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
58030         Likewise.
58031         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
58032         Likewise.
58034 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
58036         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
58037         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58038         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58039         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58041 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
58043         [BZ #14518]
58044         * include/rounding-mode.h: New file.
58045         * sysdeps/generic/get-rounding-mode.h: Likewise.
58046         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
58047         * stdlib/strtod_l.c: Include <rounding-mode.h>.
58048         (MAX_VALUE): New macro.
58049         (MIN_VALUE): Likewise.
58050         (overflow_value): New function.
58051         (underflow_value): Likewise.
58052         (round_and_return): Use overflow_value and underflow_value to
58053         determine return values in overflow and underflow cases.  Use
58054         round_away to determine rounding depending on rounding mode.
58055         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
58056         determine return values in overflow and underflow cases.
58057         * stdlib/tst-strtod-round.c: Include <fenv.h>.
58058         (struct test_results): New structure.
58059         (struct test): Use struct test_results to store expected results
58060         for all rounding modes.
58061         (TEST): Include expected results for all rounding modes.
58062         (test_in_one_mode): New function.
58063         (do_test): Use test_in_one_mode to compute and check results.
58064         Check results for all rounding modes.
58065         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
58066         $(link-libm).
58068 2012-12-09  Allan McRae  <allan@archlinux.org>
58070         * sysdeps/i386/fpu/libm-test-ulps: Update
58072 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
58074         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
58075         (_G_int32_t): Likewise.
58076         (_G_uint16_t): Likewise.
58077         (_G_uint32_t): Likewise.
58078         (_G_HAVE_BOOL): Likewise.
58079         (_G_HAVE_ATEXIT): Likewise.
58080         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58081         (_G_HAVE_IO_FILE_OPEN): Likewise.
58082         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
58083         (_G_int32_t): Likewise.
58084         (_G_uint16_t): Likewise.
58085         (_G_uint32_t): Likewise.
58086         (_G_HAVE_BOOL): Likewise.
58087         (_G_HAVE_ATEXIT): Likewise.
58088         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58089         (_G_HAVE_IO_FILE_OPEN): Likewise.
58090         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
58091         (_G_int32_t): Likewise.
58092         (_G_uint16_t): Likewise.
58093         (_G_uint32_t): Likewise.
58094         (_G_HAVE_BOOL): Likewise.
58095         (_G_HAVE_ATEXIT): Likewise.
58096         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58097         (_G_HAVE_IO_FILE_OPEN): Likewise.
58099 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
58101         * csu/libc-tls.c: Update copyright years.
58103 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
58105         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
58106         [!_G_USING_THUNKS]: Remove conditional code.
58107         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
58108         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
58110         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
58111         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
58112         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58113         (_G_VTABLE_LABEL_PREFIX): Likewise.
58114         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58115         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58116         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58117         (_G_VTABLE_LABEL_PREFIX): Likewise.
58118         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58119         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58120         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58121         (_G_VTABLE_LABEL_PREFIX): Likewise.
58122         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58124 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
58126         * libio/Makefile: Include ../Makeconfig before tests.
58127         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
58128         only if $(build-shared) is yes.
58130         * iconv/gconv_db.c: Update copyright years.
58132 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58134         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
58135         unwind info if defined PIC. Fix special cases description.
58136         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
58138         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
58139         DP_HI_MASK entry.
58140         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
58142 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
58144         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58146         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58147         is NULL.
58149         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58150         (LDLIBS-tst-chk4): This.
58151         (LDFLAGS-tst-chk5): Renamed to ...
58152         (LDLIBS-tst-chk5): This.
58153         (LDFLAGS-tst-chk6): Renamed to ...
58154         (LDLIBS-tst-chk6): This.
58155         (LDFLAGS-tst-lfschk4): Renamed to ...
58156         (LDLIBS-tst-lfschk4): This.
58157         (LDFLAGS-tst-lfschk5): Renamed to ...
58158         (LDLIBS-tst-lfschk5): This.
58159         (LDFLAGS-tst-lfschk6): Renamed to ...
58160         (LDLIBS-tst-lfschk6): This.
58162         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58163         on $(common-objpfx)soversions.mk.
58165 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
58167         [BZ #10014]
58168         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58169         example host name.
58171 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58173         * malloc/arena.c (arena_get_retry): New function that gets
58174         another arena for the caller to try its request on.
58175         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58176         current arena cannot fulfill the request.
58177         (__libc_memalign): Likewise.
58178         (__libc_memalign): Likewise.
58179         (__libc_pvalloc): Likewise.
58180         (__libc_calloc): Likewise.
58182 2012-09-05  John Tobey  <john.tobey@gmail.com>
58184         [BZ #13542]
58185         * manual/arith.texi (Operations on Complex): Fix description
58186         of carg branch cut.
58188 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58190         [BZ #10014]
58191         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
58192         host name.
58194         [BZ #10038]
58195         * manual/memory.texi (Memory): Make order of menu items match
58196         order of sections.
58198 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58200         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58201         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
58202         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58204 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58206         * csu/libc-tls.c (static_dtv): Renamed to ...
58207         (_dl_static_dtv): This.  Make it global.
58208         (_dl_initial_dtv): Removed.
58209         (__libc_setup_tls): Updated.
58210         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
58211         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
58212         DL_INITIAL_DTV.
58214 2012-09-06  Petr Machata  <pmachata@redhat.com>
58216         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
58217         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
58218         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
58219         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
58221 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58223         [BZ #14545]
58224         * csu/libc-tls.c (_dl_initial_dtv): New variable.
58225         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
58226         freeing dtv[-1].
58228 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58230         [BZ #14544]
58231         * Makeconfig (link-static-before-libc): Replace $(+prector)
58232         with $(+prectorT).
58233         (link-static-after-libc): Replace $(+postctor) with
58234         $(+postctorT).
58235         (link-bounded): Replace $(+prector)/$(+postctor) with
58236         $(+prectorT)/$(+postctorT).
58237         (+prectorT): New macro.
58238         (+postctorT): Likewise.
58240 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58242         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
58243         (round_str): Handle values above the maximum for IBM long double
58244         as inexact.
58245         * stdlib/tst-strtod-round.c (tests): Regenerated.
58247 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58249         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
58250         assembler flag.
58251         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
58252         zarch_nohighgprs around the zarch optimized routines.
58253         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
58254         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
58255         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
58256         for zarch.
58258 2012-09-05  David S. Miller  <davem@davemloft.net>
58260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58262         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58263         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58264         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58265         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58266         entries.
58268 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58270         * malloc/arena.c: Fold copyright years.
58271         * malloc/mcheck.c, malloc/memusage.c: Likewise.
58273 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58275         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58277 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58279         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
58281 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58283         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58284         change internal state upon failure.
58286 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58288         * malloc/mcheck.c (mcheck_check_all): Fix typo.
58289         * malloc/memusage.c (mmap): Likewise.
58290         (mmap64, mremap): Likewise.  Adjust name in comment.
58292 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58294         * libio/fileops.c: Fix typos in comments.
58295         * libio/oldfileops.c: Likewise.
58296         * libio/wfileops.c: Likewise.
58298 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58300         [BZ #1349]
58301         * malloc/Makefile (tests): Add tst-malloc-usable test case.
58302         (tst-malloc-usable-ENV): Set environment for test case.
58303         * malloc/hooks.c (malloc_check_get_size): New function to get
58304         requested size.
58305         * malloc/malloc.c (musable): Use malloc_check_get_size.
58306         * malloc/tst-malloc-usable.c: New test case.
58308 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58310         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58312 2012-09-05  Allan McRae  <allan@archlinux.org>
58314         [BZ #13966]
58315         * configure.in (CXX_SYSINCLUDES): Use compiler output to
58316         determine header location.
58317         * configure: Regenerated.
58319 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58321         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58322         float format.
58323         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58324         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58325         format.
58326         (test): Regenerate.
58328 2012-09-04  David S. Miller  <davem@davemloft.net>
58330         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58331         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58332         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58334 2012-09-04  Florian Weimer  <fweimer@redhat.com>
58336         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58337         failures.
58339         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
58341 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
58343         [BZ #9914]
58344         * libio/iogetdelim.c: Include <limits.h>.
58345         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
58346         + len + 1 would overflow.
58348 2012-09-03  Andreas Jaeger  <aj@suse.de>
58350         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58351         * sysdeps/i386/fpu/libm-test-ulps: Update.
58353 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58355         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58356         Add s_sinf-sse2, s_conf-sse2.
58358         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
58359         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
58360         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
58361         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
58363         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
58364         for using routine as __sinf_ia32.
58365         Use macro for function declaration and weak_alias.
58366         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
58367         for using routine as __cosf_ia32.
58368         Use macro for function declaration and weak_alias.
58370         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
58371         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
58373         * sysdeps/x86_64/fpu/s_sinf.S: New file.
58374         * sysdeps/x86_64/fpu/s_cosf.S: New file.
58375         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58377         * math/libm-test.inc (cos_test): Add more test cases.
58378         (sin_test): Likewise.
58379         (sincos_test): Likewise.
58381 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58383         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
58384         (IFUNC_RESOLVE): Make pointers to the specialized implementations
58385         hidden.
58386         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58388 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
58390         [BZ #14538]
58391         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
58392         first element of the GOT.
58393         (elf_machine_load_address): Return the difference between
58394         the runtime address of _DYNAMIC and elf_machine_dynamic ().
58396 2012-09-01  Allan McRae  <allan@archlinux.org>
58398         [BZ #13412]
58399         * configure.in (AWK): Require gawk version 3.0 or later.
58400         * configure: Regenerated.
58402 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
58404         * sysdeps/unix/sysv/linux/kernel-features.h
58405         (__ASSUME_POSIX_CPU_TIMERS): Remove.
58406         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58407         [__NR_clock_getres]: Make code unconditional.
58408         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
58409         (clock_getcpuclockid): Remove code left unreachable by removal of
58410         conditionals.
58411         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
58412         code unconditional.
58413         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58414         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58415         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
58416         Make code unconditional.
58417         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58418         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58419         * sysdeps/unix/sysv/linux/clock_settime.c
58420         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
58421         conditional code.
58422         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
58423         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58425 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
58427         [BZ #14476]
58428         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
58429         scripts/test-installation.pl.
58431         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
58432         and $ld_so_version if it is set.
58434 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58436         [BZ #14516]
58437         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
58438         failure if reading from procfs failed.
58439         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
58441 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58443         * sysdeps/unix/sysv/linux/kernel-features.h
58444         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
58445         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58446         Remove conditional code.
58447         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58448         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
58449         Remove conditional code.
58450         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58451         * sysdeps/unix/sysv/linux/i386/fxstat.c
58452         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58453         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58454         * sysdeps/unix/sysv/linux/i386/fxstatat.c
58455         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58456         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58457         * sysdeps/unix/sysv/linux/i386/lxstat.c
58458         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58459         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58460         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
58461         Remove conditional code.
58462         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58463         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58464         Remove conditional code.
58465         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58466         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
58467         <kernel-features.h>.
58468         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
58469         Remove.
58470         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
58471         Remove conditional code.
58472         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58473         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
58474         Remove conditional.
58476 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
58478         [BZ #5400]
58479         * NEWS: Add fixed bug number.
58481 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58483         [BZ #14519]
58484         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
58485         underflowing exponent in case of negative sign.
58486         * stdlib/tst-strtod-round-data: Add more tests.
58487         * stdlib/tst-strtod-round.c (tests): Regenerated.
58489         [BZ #3479]
58490         * stdlib/strtod_l.c (NDIG): Remove.
58491         (HEXNDIG): Likewise.
58492         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
58493         smallest representable value.
58494         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
58495         lie within an exact representation of 1/2 ulp of the result.
58496         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
58497         unconditionally.
58498         (TENS_P9_IDX): Define unconditionally.
58499         (TENS_P9_SIZE): Likewise.
58500         (TENS_P10_IDX): Likewise.
58501         (TENS_P10_SIZE): Likewise.
58502         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
58503         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
58504         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
58505         entries for 10^2^13 and 10^2^14.
58506         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
58507         (TENS_P13_IDX): Define.
58508         (TENS_P13_SIZE): Likewise.
58509         (TENS_P14_IDX): Likewise.
58510         (TENS_P14_SIZE): Likewise.
58511         (_fpioconst_pow10): Change array size to
58512         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
58513         unconditional.
58514         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
58515         1024]: Add entries for 10^2^13 and 10^2^14.
58516         [LAST_POW10 > _LAST_POW10]: Remove #error.
58517         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
58518         (_fpioconst_pow10): Change array size to
58519         FPIOCONST_POW10_ARRAY_SIZE.
58520         * stdlib/gen-fpioconst.c: New file.
58521         * stdlib/gen-tst-strtod-round.c: Likewise.
58522         * stdlib/tst-strtod-round-data: Likewise.
58523         * stdlib/tst-strtod-round.c: Likewise.
58524         * stdlib/Makefile (tests): Add tst-strtod-round.
58526         [BZ #14459]
58527         * stdlib/strtod_l.c: Include <stdint.h>.
58528         (NDEBUG): Do not define.
58529         (round_and_return): Change EXPONENT parameter to type intmax_t.
58530         Rearrange calculations to avoid internal overflow possibilities.
58531         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
58532         Rearrange calculations to avoid internal overflow possibilities.
58533         Assert that number fits inside MPNSIZE limbs.
58534         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
58535         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
58536         calculations and add assertions to avoid internal overflow
58537         possibilities.  Add casts to avoid signed/unsigned operations.
58538         * stdlib/tst-strtod-overflow.c: New file.
58539         * stdlib/Makefile (tests): Add tst-strtod-overflow.
58541 2012-08-25  Marek Polacek  <polacek@redhat.com>
58543         * time/time.h: Fix some typos in comments.
58545 2012-08-23  Roland McGrath  <roland@hack.frob.com>
58547         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
58548         * posix/tst-rfc3484-2.c: Likewise.
58549         * posix/tst-rfc3484-3.c: Likewise.
58551 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
58553         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
58554         (EF_ARM_ABI_FLOAT_HARD): Likewise.
58556 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
58558         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
58559         #include of fxstatat64.c.
58561 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58563         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
58564         * shadow/getspent_r.c: Likewise.
58565         * shadow/getspnam.c: Likewise.
58566         * shadow/getspnam_r.c: Likewise.
58567         * gshadow/getsgent.c: Likewise.
58568         * gshadow/getsgent_r.c: Likewise.
58569         * gshadow/getsgnam.c: Likewise.
58570         * gshadow/getsgnam_r.c: Likewise.
58571         * inet/getnetbyad.c: Likewise.
58572         * inet/getnetbyad_r.c: Likewise.
58573         * inet/getnetbynm.c: Likewise.
58574         * inet/getnetbynm_r.c: Likewise.
58575         * inet/getnetent.c: Likewise.
58576         * inet/getnetent_r.c: Likewise.
58577         * inet/getproto.c: Likewise.
58578         * inet/getproto_r.c: Likewise.
58579         * inet/getprtent.c: Likewise.
58580         * inet/getprtent_r.c: Likewise.
58581         * inet/getprtname.c: Likewise.
58582         * inet/getprtname_r.c: Likewise.
58583         * inet/getrpcbyname.c: Likewise.
58584         * inet/getrpcbyname_r.c: Likewise.
58585         * inet/getrpcbynumber.c: Likewise.
58586         * inet/getrpcbynumber_r.c: Likewise.
58587         * inet/getrpcent.c: Likewise.
58588         * inet/getrpcent_r.c: Likewise.
58589         * inet/getaliasent.c: Likewise.
58590         * inet/getaliasent_r.c: Likewise.
58591         * inet/getaliasname.c: Likewise.
58592         * inet/getaliasname_r.c: Likewise.
58593         * nscd/getgrgid_r.c: Likewise.
58594         * nscd/getgrnam_r.c: Likewise.
58595         * nscd/gethstbyad_r.c: Likewise.
58596         * nscd/gethstbynm3_r.c: Likewise.
58597         * nscd/getpwnam_r.c: Likewise.
58598         * nscd/getpwuid_r.c: Likewise.
58599         * nscd/getsrvbynm_r.c: Likewise.
58600         * nscd/getsrvbypt_r.c: Likewise.
58601         * nscd/gai.c: Likewise.
58603         * configure.in (build_nscd): New substituted variable, set
58604         by --disable-build-nscd and defaults to $use_nscd.
58605         * configure: Regenerated.
58606         * config.make.in (build-nscd): New substituted variable.
58607         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
58608         Change conditional to require [$(build-nscd) = yes] as well.
58609         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
58611         [BZ# 13696]
58612         * configure.in (use_nscd): New substituted variable, set by
58613         --disable-nscd.  If enabled, define USE_NSCD.
58614         * configure: Regenerated.
58615         * config.h.in: Add USE_NSCD.
58616         * config.make.in (use-nscd): New substituted variable.
58617         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
58618         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
58619         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
58620         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
58621         (CFLAGS-getgrnam_r.c): Likewise.
58622         (CFLAGS-initgroups.c): Likewise.
58623         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
58624         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
58625         Variables removed.
58626         * inet/getnetgrent_r.c
58627         (nscd_setnetgrent): New function, broken out of ...
58628         (setnetgrent): ... here.  Call it.
58629         (innetgr): Conditionalize nscd bits on [USE_NSCD].
58630         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
58631         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
58632         * nscd/Makefile (routines, aux): Move definitions after include of
58633         Makeconfig.  Conditionalize on [$(use-nscd) != no].
58634         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
58635         Conditionalize on [USE_NSCD].
58636         (is_nscd, nscd_init_cb): Likewise.
58637         (nss_load_library): Conditionalize init callback on [USE_NSCD].
58638         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
58639         * nss/nss_db/db-init.c: Likewise.
58640         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
58641         [USE_NSCD].
58642         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
58643         (make_request): Use it.
58644         (cache_valid_p): New function.
58645         (__check_pf): Use it.
58646         * NEWS: Add item for --disable-nscd.
58648 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
58650         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
58651         to support sed >= 4.2.1-20-ga9bf076.
58652         * configure: Regenerated.
58654 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58656         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
58657         Conditionalize whole body on [IREL].
58659 2012-08-22  Jeff Law <law@redhat.com>
58661         [BZ #14505]
58662         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
58663         if the family is PF_UNSPEC.
58665 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
58667         * Makerules (lib-version): Rename from V.
58668         (install-lib-nosubdir): Change V to lib-version.
58670 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
58672         [BZ #14252]
58673         * powerpc32/power6/wcschr.c: New file.
58674         * powerpc32/power6/wcscpy.c: New file.
58675         * powerpc32/power6/wcsrchr.c: New file.
58676         * powerpc64/power6/wcschr.c: New file.
58677         * powerpc64/power6/wcscpy.c: New file.
58678         * powerpc64/power6/wcsrchr.c: New file.
58680 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58682         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
58683         (two_way_short_needle): Use it.
58684         * string/strstr.c (AVAILABLE1_USES_J): Define.
58685         * string/strcasestr.c: Likewise.
58687         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
58688         array references.
58689         * string/strcasestr.c (TOLOWER): Make side-effect safe.
58691         [BZ #11607]
58692         * NEWS: Add an entry.
58693         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
58694         define their defaults.
58695         (two_way_short_needle): Detect end-of-string on-the-fly.
58696         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
58697         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
58698         * string/bug-strcasestr1.c: New test.
58699         * string/Makefile: Run it.
58701 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58703         [BZ #11607]
58704         * string/str-two-way.h (two_way_short_needle): Optimize matching of
58705         the first character.
58707 2012-08-21  Roland McGrath  <roland@hack.frob.com>
58709         * csu/elf-init.c (__libc_csu_irel): Function removed.
58710         * csu/libc-start.c (apply_irel): New function.
58711         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
58713 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
58715         * sysdeps/unix/sysv/linux/kernel-features.h
58716         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
58717         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58718         <kernel-features.h>.
58719         [__NR_fadvise64_64]: Make code unconditional.
58720         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
58721         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58722         !__NR_fadvise64_64)]: Likewise.
58723         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58724         !__NR_fadvise64_64))]: Likewise.
58725         [__NR_fadvise64]: Make code unconditional.
58726         [!__NR_fadvise64]: Remove conditional code.
58727         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
58728         <kernel-features.h>.
58729         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58730         unconditional.
58731         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58732         conditional code.
58733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
58734         not include <kernel-features.h>.
58735         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58736         unconditional.
58737         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58738         conditional code.
58739         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
58740         include <kernel-features.h>.
58741         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58742         unconditional.
58743         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58744         conditional code.
58746 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
58748         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
58749         slight instruction rearrangements per scrollpipe analysis.
58750         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58752 2012-08-20  Roland McGrath  <roland@hack.frob.com>
58754         * manual/syslog.texi (syslog; vsyslog, closelog):
58755         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
58756         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
58758         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
58759         DSOCAPS to match condition on defining it.
58761 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
58763         * sysdeps/unix/sysv/linux/kernel-features.h
58764         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
58765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
58766         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58767         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
58769         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58770         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
58772         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58773         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58775         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
58776         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
58778         * sysdeps/unix/sysv/linux/kernel-features.h
58779         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
58780         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
58781         unconditional.
58782         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58783         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
58784         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58785         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58786         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
58787         Make code unconditional.
58788         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58789         (__mmap64) [!__NR_mmap2]: Likewise.
58790         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
58791         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58792         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58793         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
58794         [__NR_mmap2]: Make code unconditional.
58795         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58796         (__mmap64) [!__NR_mmap2]: Likewise.
58798 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58800         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
58802 2012-08-18  Andreas Jaeger  <aj@suse.de>
58804         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
58806 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58808         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
58809         * include/unistd.h (__have_sock_cloexec): Likewise.
58810         (__have_pipe2): Likewise.
58811         (__have_dup3): Likewise.
58813 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58815         [BZ #9685]
58816         * include/unistd.h (__have_pipe2): Change define into an extern int.
58817         (__have_dup3): Likewise.
58818         * socket/have_sock_cloexec.c: Include fcntl.h.
58819         (__have_pipe2): New variable.
58820         (__have_dup3): Likewise.
58822 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
58824         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
58826 2012-08-17  Marek Polacek  <polacek@redhat.com>
58828         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
58829         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
58831 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58833         * configure.in: Add AC_SUBST for sysheaders.
58834         * configure: Regenerated.
58835         * config.make.in (sysheaders): New substituted variable.
58837         * sysdeps/unix/mkfifo.c: Moved ...
58838         * sysdeps/posix/mkfifo.c: ... here.
58839         * sysdeps/unix/mkfifoat.c: Moved ...
58840         * sysdeps/posix/mkfifoat.c: ... here.
58842         * sysdeps/unix/utime.c: Moved ...
58843         * sysdeps/posix/utime.c: ... here.
58845         * sysdeps/unix/time.c: Moved ...
58846         * sysdeps/posix/time.c: ... here.
58847         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
58848         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
58850         * sysdeps/unix/nice.c: Moved ...
58851         * sysdeps/posix/nice.c: ... here.
58853         * sysdeps/unix/alarm.c: Moved ...
58854         * sysdeps/posix/alarm.c: ... here.
58856         * intl/Makefile ($(codeset_mo)): Depend on the input file.
58858 2012-08-17  Jeff Law <law@redhat.com>
58860         * intl/Makefile (codeset_mo): New variable.
58861         ($(codeset_mo)): New target.
58862         (tst-codeset.out): Depend on that.  Remove explicit rule.
58863         (tst-gettext3.out, tst-gettext5.out): Likewise.
58864         (LOCPATH-ENV, tst-codeset-ENV): New variables.
58865         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
58866         * intl/tst-codeset.sh: Remove.
58867         * intl/tst-gettext3.sh: Likewise.
58868         * intl/tst-gettext5.sh: Likewise.
58870 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58872         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
58873         * sysdeps/unix/syscalls.list: ... here.
58875         * sysdeps/posix/getaddrinfo.c
58876         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
58877         (gaiconf_init, gaiconf_reload): Use them.
58878         [!_STATBUF_ST_NSEC]
58879         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
58880         Define using time_t rather than struct timespec.
58882         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
58883         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
58884         Macros removed.
58885         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
58886         [!NO_THREADS].
58887         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
58888         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
58889         Likewise.
58891         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
58892         __libc_cleanup_push argument.
58894         * bits/param.h: New file.
58895         * misc/sys/param.h: New file.
58896         * include/sys/param.h: New file.
58897         * misc/Makefile (headers): Add bits/param.h.
58898         * sysdeps/generic/sys/param.h: File removed.
58899         * sysdeps/unix/sysv/linux/bits/param.h: New file.
58900         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
58901         * sysdeps/mach/hurd/bits/param.h: New file.
58902         * sysdeps/mach/hurd/sys/param.h: File removed.
58904         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
58905         last change.
58907         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
58908         [_IO_MTSAFE_IO].
58909         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
58910         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
58911         New macros.
58913         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
58914         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
58915         rather than -D_IO_MTSAFE_IO conditionally.
58916         * stdio-common/Makefile (CPPFLAGS): Likewise.
58917         * wcsmbs/Makefile (CPPFLAGS): Likewise.
58918         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
58919         Use $(libio-mtsafe).
58920         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
58921         of -D_IO_MTSAFE_IO.
58922         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
58923         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
58924         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
58925         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
58926         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
58927         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
58928         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
58929         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
58930         (CFLAGS-fread_u_chk.c): Likewise.
58931         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
58932         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
58933         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
58934         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
58935         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
58936         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
58937         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
58938         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
58939         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
58941         * libio/Makefile: Test [$(libc-reentrant) = yes]
58942         instead of [$(filter %REENTRANT, $(defines)) nonempty].
58944         * Makeconfig
58945         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
58946         * sysdeps/pthread/configure: File removed.
58947         * sysdeps/pthread/Makeconfig: New file.
58948         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
58949         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
58951 2012-08-16  Gary Benson  <gbenson@redhat.com>
58953         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
58954         unmapping the first object in a namespace.
58956 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58958         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
58959         (__internal_setnetgrent): ... this.  Add internal_function to
58960         definition.  Add libc_hidden_def.
58961         (setnetgrent): Update caller.
58962         (internal_endnetgrent): Renamed to ...
58963         (__internal_endnetgrent): ... this.  Add internal_function to
58964         definition.  Add libc_hidden_def.
58965         (endnetgrent): Update caller.
58966         (internal_getnetgrent_r): Renamed to ...
58967         (__internal_getnetgrent_r): ... this.  Add internal_function to
58968         definition.  Add libc_hidden_def.
58969         (__getnetgrent_r): Update caller.
58970         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
58972 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58974         * stdlib/longlong.h: Update from GCC.
58976 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58978         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
58979         on _QL, which is set by umul_ppmm but never used.
58980         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
58981         variables, which are set by GMP macros but never used.
58982         * stdio-common/_itowa.c (_itowa): Likewise.
58983         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
58984         * stdlib/mod_1.c (mpn_mod_1): Likewise.
58986 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
58988         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
58989         struct La_sh_regs is not constant.
58990         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
58991         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
58992         and struct La_sparc64_regs are not constant.
58994 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58996         * sysdeps/unix/sysv/linux/kernel-features.h
58997         (__ASSUME_POSIX_TIMERS): Remove.
58998         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58999         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59000         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
59001         Make code unconditional.
59002         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59003         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
59004         Make code unconditional.
59005         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59006         * sysdeps/unix/sysv/linux/clock_nanosleep.c
59007         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
59008         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59009         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
59010         Make code unconditional.
59011         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59012         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
59013         (__libc_missing_posix_timers): Remove.
59015 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59017         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
59018         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
59020         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
59022         * elf/dl-sym.c: Include <stdlib.h>.
59024         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
59025         constants, which avoids warnings in 32-bit builds.
59027         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
59028         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
59030         * misc/lseek.c: File moved to ...
59031         * io/lseek.c: ... here.
59033         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
59035         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
59036         shifting LEN more than 31 bits at once.
59038 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59040         [BZ #14195]
59041         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
59042         segmentation fault for a case of two empty input strings.
59043         * string/test-strncasecmp.c (check1): Renamed to...
59044         (bz12205): ...this.
59045         (bz14195): Add new testcase for two empty input strings and N > 0.
59046         (test_main): Call new testcase, adapt for renamed function.
59048 2012-08-15  Andreas Jaeger  <aj@suse.de>
59050         [BZ #14090]
59051         * crypt/md5test2.c: New test, based on test supplied by Serge
59052         Belyshev <belyshev@depni.sinp.msu.ru>.
59053         * crypt/Makefile (xtests): Add md5test-giant..
59054         * crypt/Makefile ($(objpfx)md5test-giant): Add.
59056 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
59058         [BZ #14090]
59059         * crypt/md5.c (md5_process_block): Don't assume the buffer
59060         length is less than 2**32.
59061         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
59062         length is less than 2**64.
59064 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59066         * string/str-two-way.h: Include <sys/param.h>.
59067         (MAX): Macro removed.
59069         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
59070         Move #define and #undef of memmove to just before and after
59071         including <string.h>.
59073         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
59074         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
59075         and after including <string.h>.  Move declarations of
59076         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
59077         to before #include "string/memmove.c".
59079         * include/dirent.h: Declare __getdirentries.
59081         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
59082         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
59084 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
59086         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
59087         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
59088         * sysdeps/i386/configure: Regenerated.
59089         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
59090         STABS_CURRENT_FILE, and STABS_FUN.
59091         (END): Remove call to STABS_FUN_END.
59092         (STABS_CURRENT_FILE1): Delete.
59093         (STABS_CURRENT_FILE): Likewise.
59094         (STABS_FUN): Likewise.
59095         (STABS_FUN_END): Likewise.
59096         (STABS_FUN2): Likewise.
59097         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
59098         * sysdeps/x86_64/configure: Regenerated.
59100 2012-08-14  Roland McGrath  <roland@hack.frob.com>
59102         * elf/dl-open.c: Include <atomic.h>.
59103         * elf/dl-lookup.c: Likewise.
59105 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
59107         * sysdeps/unix/sysv/linux/kernel-features.h
59108         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
59109         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
59110         unconditionally.
59111         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
59112         unconditionally.
59113         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
59114         condition on __ASSUME_CLONE_THREAD_FLAGS.
59116 2012-08-14  Andreas Jaeger  <aj@suse.de>
59118         * sysdeps/i386/fpu/libm-test-ulps: Update.
59120 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
59122         * include/atomic.h (atomic_exchange_and_add): Split into ...
59123         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
59124         New atomic macros.
59126 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
59128         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59130 2012-08-13  Jeff Law <law@redhat.com>
59132         * manual/stdio.texi (snprintf): Clarify handling of the trailing
59133         null byte in the output string.
59135 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
59137         * sysdeps/unix/sysv/linux/kernel-features.h
59138         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
59139         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
59140         (__ASSUME_ARG_MAX_STACK_BASED): Define.
59141         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
59142         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
59143         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
59144         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59146 2012-08-09  Jeff Law <law@redhat.com>
59148         [BZ #13939]
59149         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59150         When avoid_arena is set, don't retry in the that arena.  Pick the
59151         next one, whatever it might be.
59152         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59153         (arena_lock): Pass in new parameter to arena_get2.
59154         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59155         arena_get2.
59156         (__libc_malloc): Unify retrying after main arena failure with
59157         __libc_memalign version.
59158         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59160 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
59162         [BZ #14166]
59163         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59164         to __redirect_strstr.
59165         (__strstr_sse42): Use typeof __redirect_strstr.
59166         (__strstr_ia32): Likewise.
59167         (__libc_strstr): New prototype.
59168         (strstr): Renamed to ...
59169         (__libc_strstr): This.
59170         (strstr): New strong alias of __libc_strstr.
59171         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59172         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59173         __redirect_time.
59174         Include <time.h>.
59175         (__libc_time): New prototype.
59176         (time_ifunc): Replace time with __libc_time.
59177         (time): New strong alias and hidden definition of __libc_time.
59178         (__GI_time): Remove strong alias.
59179         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59180         Include <stddef.h>.
59181         (memmove): Redefined to __redirect_memmove.
59182         (__memmove_sse2): Use typeof __redirect_memmove.
59183         (__memmove_ssse3): Likewise.
59184         (__memmove_ssse3_back): Likewise.
59185         (__libc_memmove): New prototype.
59186         (memmove): Renamed to ...
59187         (__libc_memmove): This.
59188         (memmove): New strong alias of __libc_memmove.
59190 2012-08-08  Mark Salter  <msalter@redhat.com>
59192         * elf/elf.h
59193         (R_MN10300_TLS_GD): Define.
59194         (R_MN10300_TLS_LD): Likewise.
59195         (R_MN10300_TLS_LDO): Likewise.
59196         (R_MN10300_TLS_GOTIE): Likewise.
59197         (R_MN10300_TLS_IE): Likewise.
59198         (R_MN10300_TLS_LE): Likewise.
59199         (R_MN10300_TLS_DTPMOD): Likewise.
59200         (R_MN10300_TLS_DTPOFF): Likewise.
59201         (R_MN10300_TLS_TPOFF): Likewise.
59202         (R_MN10300_SYM_DIFF): Likewise.
59203         (R_MN10300_ALIGN): Likewise.
59204         (R_MN10300_NUM): Update.
59206 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
59208         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
59209         Remove.
59211 2012-08-08  Roland McGrath  <roland@hack.frob.com>
59213         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
59215         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
59216         sysdeps/unix -> sysdeps/posix move.
59217         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59219 2012-08-07      Allan McRae     <allan@archlinux.org>
59221         [BZ #14303]
59222         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
59223         (SUNOS_CPP): Likewise.
59224         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
59225         not found.
59226         (open_input): Call CPP using execvp.
59228 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59230         * sysdeps/unix/sysv/linux/kernel-features.h
59231         (__ASSUME_PROT_GROWSUPDOWN): Remove.
59232         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59233         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59234         (__ASSUME_WAITID_SYSCALL): Likewise.
59235         * sysdeps/unix/sysv/linux/dl-execstack.c
59236         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
59237         code unconditional.
59238         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
59239         conditional code.
59240         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
59241         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
59242         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
59243         code.
59244         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
59245         unconditional.
59246         [__ASSUME_WAITID_SYSCALL]: Likewise.
59247         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
59249 2012-08-07  Roland McGrath  <roland@hack.frob.com>
59251         * sysdeps/unix/closedir.c: Renamed to ...
59252         * sysdeps/posix/closedir.c: ... here.
59253         * sysdeps/unix/dirfd.c: Renamed to ...
59254         * sysdeps/posix/dirfd.c: ... here.
59255         * sysdeps/unix/dirstream.h: Renamed to ...
59256         * sysdeps/posix/dirstream.h: ... here.
59257         * sysdeps/unix/fdopendir.c: Renamed to ...
59258         * sysdeps/posix/fdopendir.c: ... here.
59259         * sysdeps/unix/opendir.c: Renamed to ...
59260         * sysdeps/posix/opendir.c: ... here.
59261         * sysdeps/unix/readdir.c: Renamed to ...
59262         * sysdeps/posix/readdir.c: ... here.
59263         * sysdeps/unix/readdir_r.c: Renamed to ...
59264         * sysdeps/posix/readdir_r.c: ... here.
59265         * sysdeps/unix/rewinddir.c: Renamed to ...
59266         * sysdeps/posix/rewinddir.c: ... here.
59267         * sysdeps/unix/seekdir.c: Renamed to ...
59268         * sysdeps/posix/seekdir.c: ... here.
59269         * sysdeps/unix/telldir.c: Renamed to ...
59270         * sysdeps/posix/telldir.c: ... here.
59271         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59272         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59273         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59274         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59276         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59277         * bits/fcntl.h: ... here.
59279         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59280         not 0.
59281         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59282         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59283         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59284         (struct flock): Move l_start, l_len to the beginning.
59285         Use __pid_t for l_pid.
59286         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59287         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59288         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59289         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59290         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59291         [__USE_LARGEFILE64] (struct flock64): New type.
59292         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59294         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59295         * bits/dirent.h: ... here.
59297         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59298         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59300 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59302         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59303         Change from 2.6.0 to 2.6.16.
59304         * sysdeps/unix/sysv/linux/configure: Regenerated.
59305         * sysdeps/unix/sysv/linux/kernel-features.h
59306         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59307         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59308         version.
59309         (__ASSUME_UTIMES): Likewise.
59310         (__ASSUME_CLONE_STOPPED): Remove.
59311         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59312         architectures, not kernel version.
59313         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59314         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59315         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59316         (__ASSUME_WAITID_SYSCALL): Likewise.
59317         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59318         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59319         * README: State 2.6.16 as minimum Linux kernel version.  Do not
59320         refer to older versions.
59322 2012-08-06  Roland McGrath  <roland@hack.frob.com>
59324         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59325         Define alphasort64 as an alias.
59326         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59327         Define versionsort64 as an alias.
59328         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59329         Define scandir64 as an alias.
59330         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59331         Define scandirat64 as an alias.
59332         * dirent/alphasort64.c (alphasort64):
59333         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59334         * dirent/versionsort64.c: Likewise.
59335         * dirent/scandir64.c: Likewise.
59336         * dirent/scandirat64.c: Likewise.
59337         * sysdeps/wordsize-64/alphasort.c: File removed.
59338         * sysdeps/wordsize-64/alphasort64.c: File removed.
59339         * sysdeps/wordsize-64/scandir.c: File removed.
59340         * sysdeps/wordsize-64/scandir64.c: File removed.
59341         * sysdeps/wordsize-64/scandirat.c: File removed.
59342         * sysdeps/wordsize-64/scandirat64.c: File removed.
59343         * sysdeps/wordsize-64/versionsort.c: File removed.
59344         * sysdeps/wordsize-64/versionsort64.c: File removed.
59345         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
59346         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
59347         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
59348         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
59349         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59350         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
59351         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
59352         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
59354         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
59355         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59356         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
59357         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59358         [defined __arch64__ || defined __sparcv9]
59359         (__INO_T_MATCHES_INO64_T): New macro.
59360         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59361         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
59362         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
59363         * sysdeps/unix/sysv/linux/bits/dirent.h
59364         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
59365         (_DIRENT_MATCHES_DIRENT64): New macro.
59367         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
59368         Define lockf64 as an alias.
59369         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
59370         Define fseeko64 as an alias.
59371         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
59372         Define ftello64 as an alias.
59373         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
59374         Define _IO_fgetpos64 and fgetpos64 as aliases.
59375         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
59376         Define _IO_fsetpos64 and fsetpos64 as aliases.
59377         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
59378         Conditionalize body on this.
59379         * libio/fseeko64.c: Likewise.
59380         * libio/ftello64.c: Likewise.
59381         * libio/iofgetpos64.c: Likewise.
59382         * libio/iofsetpos64.c: Likewise.
59383         * sysdeps/wordsize-64/lockf.c: File removed.
59384         * sysdeps/wordsize-64/lockf64.c: File removed.
59385         * sysdeps/wordsize-64/fseeko.c: File removed.
59386         * sysdeps/wordsize-64/fseeko64.c: File removed.
59387         * sysdeps/wordsize-64/ftello.c: File removed.
59388         * sysdeps/wordsize-64/ftello64.c: File removed.
59389         * sysdeps/wordsize-64/iofgetpos.c: File removed.
59390         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
59391         * sysdeps/wordsize-64/iofsetpos.c: File removed.
59392         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
59393         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
59394         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
59395         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
59396         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
59397         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
59398         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
59399         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
59400         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
59401         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
59402         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
59404         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59405         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59406         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
59407         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59408         [defined __arch64__ || defined __sparcv9]
59409         (__OFF_T_MATCHES_OFF64_T): New macro.
59410         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59411         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59412         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59413         (__OFF_T_MATCHES_OFF64_T): New macro.
59415 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59417         * stdlib/secure-getenv.c (__secure_getenv): Replace
59418         GLIBC_2_16 with GLIBC_2_17.
59420 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59422         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
59423         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59425 2012-08-03  David S. Miller  <davem@davemloft.net>
59427         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59429 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59431         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
59432         Remove.
59433         (__ASSUME_CORRECT_SI_PID): Likewise.
59434         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
59435         (__ASSUME_TMPFS_NAME): Likewise.
59436         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
59437         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
59438         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
59439         (HAVE_AUX_SECURE): Make definition unconditional.
59440         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
59441         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
59443 2012-08-03  Roland McGrath  <roland@hack.frob.com>
59445         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
59446         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
59447         * sysdeps/mach/hurd/eloop-threshold.h: New file.
59448         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59449         __eloop_threshold instead of SYMLOOP_MAX.
59451         * sysdeps/generic/eloop-threshold.h: New file.
59452         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
59453         of MAXSYMLINKS.
59454         * elf/chroot_canon.c (chroot_canon): Likewise.
59456 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59458         [BZ #13717]
59459         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59460         Change to 2.6.0 everywhere.
59461         * sysdeps/unix/sysv/linux/configure: Regenerated.
59462         * sysdeps/unix/sysv/linux/kernel-features.h
59463         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
59464         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
59465         kernel versions.
59466         (__ASSUME_POSIX_TIMERS): Define unconditionally.
59467         (__ASSUME_FUTEX_REQUEUE): Remove.
59468         (__ASSUME_STATFS64): Define unconditionally.
59469         (__ASSUME_AT_SECURE): Likewise.
59470         (__ASSUME_CORRECT_SI_PID): Likewise.
59471         (__ASSUME_TGKILL): Define without depending on kernel version for
59472         i386.
59473         (__ASSUME_UTIMES): Likewise.
59474         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
59475         kernel version.
59476         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
59477         (__ASSUME_TMPFS_NAME): Likewise.
59478         * README: Update reference to Linux kernel versions.
59480 2012-08-02  Marek Polacek  <polacek@redhat.com>
59482         [BZ# 14150]
59483         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
59484         libc_cv_asm_type_prefix with %.
59485         * configure: Regenerated.
59486         * include/libc-symbols.h: Remove comment about
59487         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59488         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
59489         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
59490         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
59491         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
59492         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59493         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
59494         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
59495         * elf/tst-unique2mod1.c: Likewise.
59496         * elf/tst-unique1mod2.c: Likewise.
59497         * elf/tst-unique1mod1.c: Likewise.
59498         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
59499         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
59500         Replace ASM_TYPE_DIRECTIVE with .type.
59501         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59502         * sysdeps/i386/sysdep.h: Likewise.
59503         * sysdeps/x86_64/sysdep.h: Likewise.
59504         * sysdeps/sh/sysdep.h: Likewise.
59505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59506         Do not define ASM_TYPE_DIRECTIVE.
59507         * sysdeps/powerpc/sysdep.h: Likewise.
59508         * sysdeps/powerpc/powerpc32/sysdep.h:
59509         Replace ASM_TYPE_DIRECTIVE with .type.
59510         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59511         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59512         * sysdeps/i386/fpu/e_powf.S: Likewise.
59513         * sysdeps/i386/fpu/e_expl.S: Likewise.
59514         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59515         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59516         * sysdeps/i386/fpu/e_pow.S: Likewise.
59517         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59518         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59519         * sysdeps/i386/fpu/s_expm1.S: Likewise.
59520         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59521         * sysdeps/i386/fpu/e_log2.S: Likewise.
59522         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59523         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59524         * sysdeps/i386/fpu/e_powl.S: Likewise.
59525         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59526         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59527         * sysdeps/i386/fpu/e_logl.S: Likewise.
59528         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59529         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59530         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59531         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59532         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59533         * sysdeps/i386/fpu/e_log.S: Likewise.
59534         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59535         * sysdeps/i386/fpu/e_logf.S: Likewise.
59536         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59537         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59538         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59539         * sysdeps/i386/fpu/e_log10.S: Likewise.
59540         * sysdeps/i386/fpu/s_frexp.S: Likewise.
59541         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59542         * sysdeps/i386/fpu/s_asinh.S: Likewise.
59543         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59544         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59545         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
59546         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59547         * sysdeps/i386/i686/strtok.S: Likewise.
59548         * sysdeps/i386/i386-mcount.S: Likewise.
59549         * sysdeps/i386/strtok.S: Likewise.
59550         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
59551         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59552         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59553         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59554         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59555         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59556         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59557         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59558         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59559         * sysdeps/x86_64/_mcount.S: Likewise.
59560         * sysdeps/x86_64/strtok.S: Likewise.
59561         * sysdeps/sh/_mcount.S: Likewise.
59563 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59565         * libio/iofopen.c: Include <fcntl.h>.
59566         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
59567         (_IO_fopen64, fopen64): Define as aliases.
59568         * libio/iofopen64.c: Include <fcntl.h>.
59569         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
59570         Conditionalize body on this.
59571         * sysdeps/wordsize-64/iofopen.c: File removed.
59572         * sysdeps/wordsize-64/iofopen64.c: File removed.
59574 2012-08-01  Marek Polacek  <polacek@redhat.com>
59576         * libc/Makeconfig: Use elf in place of binfmt-subdir.
59577         Use dlfcn directly instead of a variable.
59578         (binfmt-subdir): Do not define.
59579         (dlfcn): Likewise.
59581 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
59583         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
59584         Remove all definitions.
59585         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
59586         <kernel-features.h>.
59587         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59588         (miss_F_GETOWN_EX): Remove all definitions.
59589         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
59590         macro definition.
59591         [!__ASSUME_FCNTL64]: Remove conditional code.
59592         [__ASSUME_FCNTL64]: Make code unconditional.
59593         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
59594         <kernel-features.h>.
59595         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59596         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
59597         (lockf64) [__NR_fcntl64]: Make code unconditional.
59598         (lockf64) [__ASSUME_FCNTL64]: Likewise.
59600         * sysdeps/unix/sysv/linux/kernel-features.h
59601         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
59602         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
59603         Make code unconditional.
59604         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59605         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
59607         [__NR_vfork]: Make code unconditional.
59608         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59609         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
59611         [__NR_vfork]: Make code unconditional.
59612         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59613         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59615 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59617         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
59618         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
59620         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59621         Define mkstemp64 as an alias.
59622         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59623         Define mkstemps64 as an alias.
59624         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59625         Define mkostemp64 as an alias.
59626         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59627         Define mkostemps64 as an alias.
59628         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
59629         Conditionalize body on this.
59630         * misc/mkostemp64.c: Likewise.
59631         * misc/mkostemps64.c: Likewise.
59632         * misc/mkstemps64.c: Likewise.
59633         * sysdeps/wordsize-64/mkstemp64.c: File removed.
59634         * sysdeps/wordsize-64/mkostemp64.c: File removed.
59635         * sysdeps/wordsize-64/mkostemp.c: File removed.
59636         * sysdeps/wordsize-64/mkstemp.c: File removed.
59637         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
59638         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
59639         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
59640         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
59642         [BZ #14138]
59643         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
59644         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
59645         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
59646         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
59648         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
59649         compat_symbol macros from <shlib-compat.h> rather than the underlying
59650         default_symbol_version and symbol_version macros, so that DEFAULT
59651         lines in shlib-versions are respected.
59652         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
59654 2012-08-01  Florian Weimer  <fweimer@redhat.com>
59656         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
59657         Declare with warn_unused_result.
59658         (setgid, setregid, setegid, setresgid): Likewise.
59659         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
59660         Likewise.
59661         * WUR-REPORT: Remove set*id functions.
59663 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
59665         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
59667 2012-07-31  Roland McGrath  <roland@hack.frob.com>
59669         [BZ #10191]
59670         * include/sys/socket.h (__libc_accept, __libc_accept4):
59671         Add attribute_hidden.
59672         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
59674         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
59675         use of PTR_MANGLE.
59676         * inet/getnetgrent_r.c (setup): Likewise.
59678         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
59680 2012-07-31  David S. Miller  <davem@davemloft.net>
59682         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59684 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
59686         [BZ #13629]
59687         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
59688         value between 1.0 and 2.0 and smaller part has absolute value less
59689         than 1.0.
59690         * math/s_clog10.c (__clog10): Likewise.
59691         * math/s_clog10f.c (__clog10f): Likewise.
59692         * math/s_clog10l.c (__clog10l): Likewise.
59693         * math/s_clogf.c (__clogf): Likewise.
59694         * math/s_clogl.c (__clogl): Likewise.
59695         * math/libm-test.inc (clog_test): Add more tests.
59696         (clog10_test): Likewise.
59697         * sysdeps/i386/fpu/libm-test-ulps: Update.
59698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59700 2012-07-31  Florian Weimer  <fweimer@redhat.com>
59702         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
59703         Exit with zero in case no suitable GID is found, and write a
59704         message to standard error.
59706 2012-07-30  Roland McGrath  <roland@hack.frob.com>
59708         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
59709         rather than to 1.
59710         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
59711         (MAXPATHLEN): Removed.
59712         (NOGROUP, NODEV): New macros.
59713         (setbit, clrbit, isset, isclr): New macros.
59714         (howmany, roundup, powerof2): New macros.
59715         (DEV_BSIZE): New macro.
59717         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
59718         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
59720         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
59721         definition on [!__NO_LONG_DOUBLE_MATH].
59723         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
59724         PTR_MANGLE and PTR_DEMANGLE.
59726         * socket/accept4.c (accept4): Rename to __libc_accept4.
59727         Define accept4 as a weak alias.
59729         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
59730         on [_DIRENT_HAVE_D_TYPE].
59731         * io/ftw.c (ftw_dir): Likewise.
59733         * io/xmknod.c (__xmknod): Don't check PATH for being null.
59735         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
59737         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
59738         Use the BSD numbers rather than the arbitrary ones we had.
59739         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
59740         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
59741         (SIGXCPU, SIGXFSZ): New macros.
59742         (_NSIG): Now 32.
59744         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
59745         initializer on [_LIBC_REENTRANT].
59747         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
59748         definitions inside [_POSIX_MAPPED_FILES].
59750         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
59752         * dirent/opendir.c: Include <fcntl.h>.
59754         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
59755         (__libc_getspecific): Likewise.
59756         (__libc_key_create): Likewise.
59758         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
59759         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
59760         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
59761         (tmpfile64): Define as alias.
59762         * sysdeps/wordsize-64/tmpfile.c: File removed.
59763         * sysdeps/wordsize-64/tmpfile64.c: File removed.
59764         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
59765         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
59767         * stdio-common/vfscanf.c: Include <stdbool.h>.
59768         * nss/makedb.c: Likewise.
59769         * stdio-common/_i18n_number.h: Likewise.
59770         * argp/argp-help.c: Likewise.
59771         * posix/wordexp.c: Likewise.
59772         * sysdeps/posix/spawni.c: Likewise.
59773         * nss/nss_files/files-initgroups.c: Likewise.
59774         * stdio-common/reg-modifier.c: Include <stdlib.h>.
59775         * nss/nss_files/files-initgroups.c: Likewise.
59776         * nss/nss_db/db-netgrp.c: Likewise.
59777         * nss/nss_db/db-initgroups.c: Likewise.
59778         * io/fchmodat.c: Include <sys/stat.h>.
59780         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
59781         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
59783         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
59784         [HAVE_MMAP].
59786         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
59787         Add multiple inclusion protection.
59789 2012-07-27  David S. Miller  <davem@davemloft.net>
59791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59793 2012-07-27  Gary Benson  <gbenson@redhat.com>
59795         [BZ #14298]
59796         * elf/rtld.c: Include <stap-probe.h>.
59797         (dl_main): Added static probes "init_start" and "init_complete".
59798         * elf/dl-load.c: Include <stap-probe.h>.
59799         (lose): Take new parameter "nsid".
59800         Added static probe "map_failed".
59801         (_dl_map_object_from_fd): Pass namespace id to lose.
59802         Added static probe "map_start".
59803         (open_verify): Pass namespace id to lose.
59804         * elf/dl-open.c: Include <stap-probe.h>.
59805         (dl_open_worker) Added static probes "map_complete", "reloc_start"
59806         and "reloc_complete".
59807         * elf/dl-close.c: Include <stap-probe.h>.
59808         (_dl_close_worker): Added static probes "unmap_start" and
59809         "unmap_complete".
59810         * elf/rtld-debugger-interface.txt: New file documenting the above.
59812 2012-07-26  Roland McGrath  <roland@hack.frob.com>
59814         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
59815         rather than a string variable.
59816         * sunrpc/rpc_main.c (h_output): Likewise.
59817         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
59819 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
59821         * inet/check_native.c: New file.
59823 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
59825         [BZ #13629]
59826         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
59827         if larger part has absolute value 1.0.
59828         * math/s_clog10.c (__clog10): Likewise.
59829         * math/s_clog10f.c (__clog10f): Likewise.
59830         * math/s_clog10l.c (__clog10l): Likewise.
59831         * math/s_clogf.c (__clogf): Likewise.
59832         * math/s_clogl.c (__clogl): Likewise.
59833         * math/libm-test.inc (clog_test): Add more tests.
59834         (clog10_test): Likewise.
59835         * sysdeps/i386/fpu/libm-test-ulps: Update.
59836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59838         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
59839         (pltexit): Likewise.
59840         (La_regs): Likewise.
59841         (La_retval): Likewise.
59842         (int_retval): Likewise.
59843         Update #error for removed macros to refer only to definitions in
59844         tst-audit.h.
59845         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
59846         macro.
59847         (pltexit): Likewise.
59848         (La_regs): Likewise.
59849         (La_retval): Likewise.
59850         (int_retval): Likewise.
59851         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
59852         macro.
59853         (pltexit): Likewise.
59854         (La_regs): Likewise.
59855         (La_retval): Likewise.
59856         (int_retval): Likewise.
59857         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
59858         macro.
59859         (pltexit): Likewise.
59860         (La_regs): Likewise.
59861         (La_retval): Likewise.
59862         (int_retval): Likewise.
59863         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
59864         macro.
59865         (pltexit): Likewise.
59866         (La_regs): Likewise.
59867         (La_retval): Likewise.
59868         (int_retval): Likewise.
59869         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
59870         macro.
59871         (pltexit): Likewise.
59872         (La_regs): Likewise.
59873         (La_retval): Likewise.
59874         (int_retval): Likewise.
59875         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
59876         macro.
59877         (pltexit): Likewise.
59878         (La_regs): Likewise.
59879         (La_retval): Likewise.
59880         (int_retval): Likewise.
59881         * sysdeps/generic/tst-audit.h: Update comment to refer only to
59882         macro definitions in tst-audit.h.
59883         * sysdeps/i386/tst-audit.h: New file.
59884         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
59885         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
59886         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
59887         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
59888         * sysdeps/sh/tst-audit.h: Likewise.
59889         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
59890         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
59891         * sysdeps/x86_64/tst-audit.h: Likewise.
59893 2012-07-26  Andreas Jaeger  <aj@suse.de>
59895         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
59896         ptrace.
59898         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
59899         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
59900         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
59901         PTRACE_O_MASK.
59902         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
59903         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
59904         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
59906         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
59907         value.
59909         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
59910         _sigsys.
59911         (si_call_addr, si_syscall, si_arch): Define new macro.
59912         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
59913         _sigsys.
59914         (si_call_addr, si_syscall, si_arch): Define new marcro.
59915         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
59916         _sigsys.
59917         (si_call_addr, si_syscall, si_arch): Define new macro.
59918         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
59919         _sigsys.
59920         (si_call_addr, si_syscall, si_arch): Define new macro.
59922 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59924         [BZ #13717]
59925         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59926         Change to 2.4.21 where previously 2.4.1.
59927         * sysdeps/unix/sysv/linux/configure: Regenerated.
59928         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
59929         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
59930         Linux kernel version.
59931         (__ASSUME_STD_AUXV): Remove.
59932         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
59933         kernel version.
59934         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
59935         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
59936         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
59937         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
59938         (__ASSUME_NETLINK_SUPPORT): Likewise.
59939         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
59940         (__no_netlink_support): Remove conditional definition.
59941         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
59942         Remove.
59943         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59944         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
59945         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
59946         (if_nameindex_ioctl): Remove.
59947         (if_nameindex_netlink): Do not handle __no_netlink_support.
59948         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59949         code.
59950         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
59951         Remove conditional code.
59952         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59953         code.
59954         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
59955         unconditional.
59956         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59957         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
59958         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
59959         Remove.
59960         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
59961         [!__ASSUME_STD_AUXV]: Remove conditional code.
59962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
59963         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
59964         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
59965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
59966         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
59967         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59968         code.
59969         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59971         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
59972         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59973         conditional code.
59974         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59976         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59977         code.
59978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59979         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59980         conditional code.
59981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
59982         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59983         code unconditional.
59984         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59985         conditional code.
59986         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59987         unconditional.
59988         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59989         conditional code.
59990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59991         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59992         unconditional.
59993         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59994         conditional code.
59995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
59996         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59997         code unconditional.
59998         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59999         conditional code.
60000         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60001         unconditional.
60002         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60003         conditional code.
60004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
60005         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60006         code unconditional.
60007         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60008         conditional code.
60009         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60010         unconditional.
60011         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60012         conditional code.
60014 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
60016         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
60017         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
60018         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
60019         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
60020         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
60021         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
60022         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
60023         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
60024         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
60025         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
60026         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
60027         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
60028         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
60029         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
60030         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
60031         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
60032         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
60033         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
60034         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
60035         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
60036         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
60037         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
60038         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60040 2012-07-25  Florian Weimer  <fweimer@redhat.com>
60042         * Versions.def: Add GLIBC_2.17.
60043         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
60044         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
60045         Introduce __libc_secure_getenv.
60046         * stdlib/Versions (2.17): Add secure_getenv
60047         (GLIBC_PRIVATE): Add __libc_secure_getenv.
60048         * stdlib/secure-getenv.c: Rename __secure_getenv to
60049         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
60050         symbol __secure_getenv for GLIBC_2.0.
60051         * stdlib/tst-secure-getenv.c: New.
60052         * stdlib/Makefile (tests): Add testcase.
60053         * manual/startup.texi (Environment Access): Document
60054         secure_getenv.
60055         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
60056         __libc_secure_getenv.
60057         * inet/ruserpass.c (ruserpass): Likewise.
60058         * malloc/mtrace.c (mtrace): Likewise.
60059         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
60060         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
60061         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
60062         * sysdeps/posix/tempname.c: Likewise.  Evaluate
60063         HAVE_SECURE_GETENV.
60064         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
60065         __secure_getenv to __libc_secure_getenv.
60066         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
60067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60068         Likewise.
60069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60070         Likewise.
60071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60073         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60076         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60077         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60079 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60081         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
60082         (struct La_i86_retval): Likewise.
60083         (struct La_x86_64_regs): Likewise.
60084         (struct La_x86_64_retval): Likewise.
60085         (struct La_x32_regs): Likewise.
60086         (struct La_x32_retval): Likewise.
60087         (struct La_ppc32_regs): Likewise.
60088         (struct La_ppc32_retval): Likewise.
60089         (struct La_ppc64_regs): Likewise.
60090         (struct La_ppc64_retval): Likewise.
60091         (struct La_sh_regs): Likewise.
60092         (struct La_sh_retval): Likewise.
60093         (struct La_s390_32_regs): Likewise.
60094         (struct La_s390_32_retval): Likewise.
60095         (struct La_s390_64_regs): Likewise.
60096         (struct La_s390_64_retval): Likewise.
60097         (struct La_sparc32_regs): Likewise.
60098         (struct La_sparc32_retval): Likewise.
60099         (struct La_sparc64_regs): Likewise.
60100         (struct La_sparc64_retval): Likewise.
60101         (struct audit_ifaces): Remove architecture-specific pltenter and
60102         pltexit members.
60103         * sysdeps/i386/ldsodefs.h: New file.
60104         * sysdeps/powerpc/ldsodefs.h: Likewise.
60105         * sysdeps/s390/ldsodefs.h: Likewise.
60106         * sysdeps/sh/ldsodefs.h: Likewise.
60107         * sysdeps/sparc/ldsodefs.h: Likewise.
60108         * sysdeps/x86_64/ldsodefs.h: Likewise.
60110 2012-07-25  Marek Polacek  <polacek@redhat.com>
60112         [BZ #6808]
60113         * math/libm-test.inc (yn_test): Add another test.
60114         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
60115         to ERANGE when the result is +-Inf.
60116         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60117         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
60118         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
60119         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
60121 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
60123         * conform/data/time.h-data (NULL): Use macro-constant.  Require
60124         equal to 0.
60125         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
60126         clock_t.
60127         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
60129 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
60131         * configure.in <sysdeps resolving>: Correct printing
60132         Implies_before.
60133         * configure: Regenerate.
60135 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
60137         * math/w_ilogb.c: Include <limits.h>.
60138         * math/w_ilogbl.c: Likewise.
60140 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60142         * manual/lang.texi (__va_copy): Document primarily as ISO C99
60143         va_copy.  Document allowing for unavailable va_copy only as
60144         pre-C99 compatibility.
60145         * manual/string.texi (Copying and Concatenation): Use va_copy
60146         instead of __va_copy in concat example.
60148 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
60150         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60151         (__sendto): Use create_address_port.  Initialize APORT and deallocate
60152         it if not null.
60154         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60155         with O_NOLINK passed to __file_name_lookup.
60157         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60158         with O_NOLINK passed to __file_name_lookup.
60160         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60161         negative N or less than NGIDS.
60163         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60164         type to string_t.  Set ERANGE as errno and return it if NAME is not big
60165         enough.  Use memcpy instead of strncpy.
60167 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60169         * elf/Makefile (check-data): Remove.
60170         (localplt.data): New vpath directive.
60171         ($(objpfx)check-localplt.out): Use localplt.data from vpath
60172         instead of $(check-data).
60173         * scripts/data/localplt-generic.data: Move to ...
60174         * sysdeps/generic/localplt.data: ... here.
60175         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60176         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60177         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60179         ... here.
60180         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
60182         ... here.
60183         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
60184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
60185         ... here.
60186         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
60187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60188         ... here.
60189         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
60190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
60191         ... here.
60192         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
60193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
60194         ... here.
60196 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60198         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60199         PPC32 and PPC64 files.
60200         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
60201         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
60203 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60205         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
60206         __makecontext_ret to ...
60207         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
60208         ... here and call exit if uc_link is NULL.  New file.
60209         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
60210         __makecontext_ret.S.
60211         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
60212         __makecontext_ret to ...
60213         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
60214         ... here and call exit if uc_link is NULL.  New file.
60215         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
60216         __makecontext_ret.S.
60218 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60220         * elf/elf.h (R_390_IRELATIVE): New definition.
60221         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
60222         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
60223         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
60224         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60225         (elf_machine_lazy_rel): Likewise.
60226         * sysdeps/s390/dl-irel.h: New file.
60227         * sysdeps/s390/s390-64/memcpy.S: New asm code.
60228         * sysdeps/s390/s390-64/memset.S: New asm code.
60229         * sysdeps/s390/s390-64/memcmp.S: New asm code.
60230         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
60231         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
60232         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
60233         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
60234         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
60235         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
60236         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
60237         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
60238         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
60239         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
60240         * sysdeps/s390/s390-32/memcpy.S: New asm code.
60241         * sysdeps/s390/s390-32/memset.S: New asm code.
60242         * sysdeps/s390/s390-32/memcmp.S: New asm code.
60244 2012-07-17  Marek Polacek  <polacek@redhat.com>
60246         [BZ #14349]
60247         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
60248         * sysdeps/s390/s390-64/configure.in: Likewise.
60249         * sysdeps/sparc/configure.in: Likewise.
60250         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
60251         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
60252         * sysdeps/i386/configure.in: Likewise.
60253         * sysdeps/x86_64/configure.in: Likewise.
60254         * sysdeps/sh/configure.in: Likewise.
60255         * sysdeps/s390/s390-32/configure: Regenerated.
60256         * sysdeps/s390/s390-64/configure: Likewise.
60257         * sysdeps/x86_64/configure: Likewise.
60258         * sysdeps/sh/configure: Likewise.
60259         * sysdeps/powerpc/powerpc64/configure: Likewise.
60260         * sysdeps/powerpc/powerpc32/configure: Likewise.
60261         * sysdeps/sparc/configure: Likwise.
60262         * sysdeps/i386/configure: Likewise.
60264         * elf/dl-open.c: Comment fixes.
60266 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
60268         * Makefile [CXX] (check-data): Remove.
60269         [CXX] (c++-types.data): New vpath directive.
60270         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60271         vpath.  Do not allow for C++ type data being missing.
60272         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60273         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60274         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60275         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60276         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60277         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60278         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60280         ... here.
60281         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60283         ... here.
60284         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60286         ... here.
60287         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60289         ... here.
60290         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60292         ... here.
60293         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60295         ... here.
60296         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60298         ... here.
60299         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60302         * elf/tls-macros.h (TLS_LE): Move architecture-specific
60303         definitions to architecture-specific files.
60304         (TLS_IE): Likewise.
60305         (TLS_LD): Likewise.
60306         (TLS_GD): Likewise.
60307         * sysdeps/i386/tls-macros.h: New file.
60308         * sysdeps/powerpc/tls-macros.h: Likewise.
60309         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60310         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60311         * sysdeps/sh/tls-macros.h: Likewise.
60312         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60313         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60314         * sysdeps/x86_64/tls-macros.h: Likewise.
60316 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60318         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60319         zero value for regular exit case.
60321         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60322         (__start_context): Preserve zero value for regular exit case.
60324 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60325             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60327         * manual/setjmp.texi (setcontext): Clarify normal process
60328         termination when uc_link is the null pointer.
60329         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60330         exit call.
60332 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
60334         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60335         preprocessor.  Test for each exception mask separately.
60337 2012-07-16  Andreas Jaeger  <aj@suse.de>
60339         * po/ru.po: Update from translation team.
60341 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
60343         * conform/data/string.h-data (NULL): Use macro-constant.  Require
60344         equal to 0.
60345         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60346         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60347         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
60348         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
60349         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60351 2012-07-13  Andreas Jaeger  <aj@suse.de>
60353         * po/fr.po: Update from translation team.
60355 2012-07-12  Marek Polacek  <polacek@redhat.com>
60357         [BZ #14173]
60358         * math/libm-test.inc (yn_test): Add test for BZ #14173.
60359         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
60360         loop condition.
60362 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
60364         [BZ #13717]
60365         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60366         Change to 2.4.1 where previously 2.4.0.
60367         * sysdeps/unix/sysv/linux/configure: Regenerated.
60368         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
60369         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
60370         version.
60371         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
60372         (__ASSUME_AT_CLKTCK): Remove.
60373         (__ASSUME_AT_PAGESIZE): Likewise.
60374         (__ASSUME_AT_XID): Likewise.
60375         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
60376         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
60377         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
60378         unconditionally.
60379         (HAVE_AUX_PAGESIZE): Likewise.
60380         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
60381         [__ASSUME_AT_CLKTCK]: Make code unconditional.
60382         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
60384 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
60386         [BZ #14307]
60387         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
60388         the temporary buffer used to invoke __gethostbyname2_r,
60389         __gethostbyaddr_r and gethostbyname4_r to make room for struct
60390         host_data / struct gaih_addrtuple.
60391         * resolv/nss_dns/dns-host.c (global scope): Move definition of
60392         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
60393         header file nss/nsswitch.h.
60394         * nss/nsswitch.h (global scope): Add definition of implementation
60395         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60396         resolv/nss_dns/dns-host.c).
60398 2012-07-11  Andreas Jaeger  <aj@suse.de>
60400         * po/fr.po: Update from translation team.
60402         * po/sv.po: Update from translation team
60403         * po/fr.po: Another update from translation team.
60405 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60407         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
60408         for subnormals or multiply small sinh result by itself.
60409         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60412 2012-07-11  David S. Miller  <davem@davemloft.net>
60414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60416 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
60418         [BZ #14347]
60419         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
60420         (INTERNAL_MARK): Shift it here.
60422 2012-07-10  Marek Polacek  <polacek@redhat.com>
60424         [BZ #14151]
60425         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
60426         libc_cv_asm_global_directive with .globl.
60427         * configure: Regenerated.
60428         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
60429         with .globl.
60430         * sysdeps/i386/configure: Regenerated.
60431         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
60432         with .globl.
60433         * sysdeps/x86_64/configure: Regenerated.
60434         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
60435         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
60436         * elf/tst-unique2mod2.c: Likewise.
60437         * elf/tst-unique2mod1.c: Likewise.
60438         * elf/tst-unique1mod2.c: Likewise.
60439         * elf/tst-unique1mod1.c: Likewise.
60440         * sysdeps/s390/s390-32/sysdep.h: Likewise.
60441         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60442         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60443         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60444         * sysdeps/mach/sysdep.h: Likewise.
60445         * sysdeps/i386/sysdep.h: Likewise.
60446         * sysdeps/i386/i386-mcount.S: Likewise.
60447         * sysdeps/x86_64/_mcount.S: Likewise.
60448         * sysdeps/x86_64/sysdep.h: Likewise.
60449         * sysdeps/sh/_mcount.S: Likewise.
60450         * sysdeps/sh/sysdep.h: Likewise.
60451         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
60452         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
60453         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
60454         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60455         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
60456         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
60457         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
60458         * locale/localeinfo.h: Likewise.
60459         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
60460         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
60462 2012-07-09  Roland McGrath  <roland@hack.frob.com>
60464         [BZ #14336]
60465         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
60466         system".
60467         * manual/message.texi (The Uniforum approach): Likewise.
60468         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
60469         (glibc iconv Implementation): Likewise.
60471 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
60473         [BZ #14337]
60474         * math/s_clog.c (__clog): Avoid scaling a value down where that
60475         could result in underflow.
60476         * math/s_clog10.c (__clog10): Likewise.
60477         * math/s_clog10f.c (__clog10f): Likewise.
60478         * math/s_clog10l.c (__clog10l): Likewise.
60479         * math/s_clogf.c (__clogf): Likewise.
60480         * math/s_clogl.c (__clogl): Likewise.
60481         * math/libm-test.inc (clog_test): Add more tests.
60482         (clog10_test): Likewise.
60483         * sysdeps/i386/fpu/libm-test-ulps: Update.
60484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60486 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
60488         [BZ #14283]
60489         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
60490         by 7 not 8 to examine high bit of fractional part.
60492         [BZ #14042]
60493         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
60494         for call to __mcount_internal.
60495         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
60496         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
60497         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
60499 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
60501         [BZ #14154]
60502         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
60503         approximation for values within 0x1p-13f of an odd multiple of
60504         pi/4.
60505         * math/libm-test.inc (tan_test): Do not allow spurious underflow
60506         exception.  Add more tests.
60507         * sysdeps/i386/fpu/libm-test-ulps: Update.
60509         [BZ #6778]
60510         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
60511         inputs and return -1 for them.  Do not check for +Inf in case not
60512         reachable for +Inf.
60513         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
60514         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
60515         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60516         and return -1 for them.  Do not check for +Inf in case not
60517         reachable for +Inf.
60518         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
60519         define.
60520         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60521         and return -1 for them.  Do not check for +Inf in case not
60522         reachable for +Inf.
60523         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
60524         spurious underflow.
60525         * sysdeps/i386/fpu/libm-test-ulps: Update.
60526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60528 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
60530         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
60532 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
60534         [BZ #14157]
60535         [BZ #14331]
60536         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
60537         could result in spurious underflow.  Scale down values above
60538         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
60539         * math/s_csqrtf.c (__csqrtf): Likewise.
60540         * math/s_csqrtl.c (__csqrtl): Likewise.
60541         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
60542         spurious underflow.
60543         * sysdeps/i386/fpu/libm-test-ulps: Update.
60544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60546 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
60548         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
60549         xopen-msg.sed.
60550         * catgets/xopen-msg.awk: New file.
60551         * catgets/xopen-msg.sed: Removed.
60553         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
60554         po2text.sed.
60555         * intl/po2test.awk: New file.
60556         * intl/po2test.sed: Removed.
60558 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
60560         [BZ #14328]
60561         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
60562         or multiply small sinh result by itself.
60563         * math/s_ctanf.c (__ctanf): Likewise.
60564         * math/s_ctanh.c (__ctanh): Likewise.
60565         * math/s_ctanhf.c (__ctanhf): Likewise.
60566         * math/s_ctanhl.c (__ctanhl): Likewise.
60567         * math/s_ctanl.c (__ctanl): Likewise.
60568         * math/libm-test.inc (ctan_test_tonearest): New function.
60569         (ctan_test_towardzero): Likewise.
60570         (ctan_test_downward): Likewise.
60571         (ctan_test_upward): Likewise.
60572         (ctanh_test_tonearest): Likewise.
60573         (ctanh_test_towardzero): Likewise.
60574         (ctanh_test_downward): Likewise.
60575         (ctanh_test_upward): Likewise.
60576         (main): Call these new functions.
60577         * sysdeps/i386/fpu/libm-test-ulps: Update.
60578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60580 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
60582         * .gitignore: Delete /ports entry.
60584 2012-07-03  Andreas Jaeger  <aj@suse.de>
60586         * po/bg.po: Update from translation team.
60587         * po/cs.po: Likewise.
60588         * po/de.po: Likewise.
60589         * po/hr.po: Likewise.
60590         * po/nl.pl: Likewise.
60591         * po/pl.po: Likewise.
60592         * po/vi.po: Likewise.
60594 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
60596         * Makeconfig [!+link] (+link-before-libc): New variable.
60597         [!+link] (+link-after-libc): Likewise.
60598         [!+link] (+link-tests): Likewise.
60599         [!+link] (+link): Define in terms of $(+link-before-libc) and
60600         $(+link-after-libc).
60601         [!+link-static] (+link-static-before-libc): New variable.
60602         [!+link-static] (+link-static-after-libc): Likewise.
60603         [!+link-static] (+link-static-tests): Likewise.
60604         [!+link-static] (+link-static): Define in terms of
60605         $(+link-static-before-libc) and $(+link-static-after-libc).
60606         [build-shared] (link-libc-before-gnulib): New variable.
60607         [build-shared] (link-libc-tests): Likewise.
60608         [build-shared] (link-libc): Define in terms of
60609         $(link-libc-before-gnulib).
60610         [!build-shared] (link-libc-tests): New variable.
60611         (link-libc-static-tests): New variable.
60612         [!gnulib] (gnulib-arch): New variable.
60613         [!gnulib] (gnulib-tests): Likewise.
60614         [!gnulib] (static-gnulib-arch): Likewise.
60615         [!gnulib] (static-gnulib-tests): Likewise.
60616         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
60617         Define with "=" instead of ":=".
60618         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
60619         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
60620         * Rules (binaries-all-notests): New variable.
60621         (binaries-all-tests): Likewise.
60622         (binaries-static-notests): Likewise.
60623         (binaries-static-tests): Likewise.
60624         (binaries-all): Define using $(binaries-all-notests) and
60625         $(binaries-all-tests).
60626         (binaries-static): Define using $(binaries-static-notests) and
60627         $(binaries-static-tests).
60628         (binaries-shared-tests): New variable.
60629         (binaries-shared-notests): Likewise.
60630         (binaries-shared): Remove variable.
60631         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
60632         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
60633         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
60634         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
60635         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
60636         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
60637         * elf/Makefile (sln-modules): New variable.
60638         (extra-objs): Add $(sln-modules:=.o).
60639         (ldconfig-modules): Add static-stubs.
60640         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
60641         * elf/static-stubs.c: New file.
60643         [BZ #14283]
60644         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
60645         by 7 not 8 to examine high bit of fractional part.  Use volatile
60646         variables when splitting into final array of floats if
60647         __FLT_EVAL_METHOD__ != 0.
60648         * math/libm-test.inc (cos_test): Add another test.
60649         (sin_test): Likewise.
60650         * sysdeps/i386/fpu/libm-test-ulps: Update.
60652         [BZ #14273]
60653         * math/libm-test.inc (cosh_test): Add more tests.
60655         * version.h (RELEASE): Set to "development".
60656         (VERSION): Set to "2.16.90".
60658 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
60660         * NEWS: Update copyright. Remove last-updated date.
60661         Mention math library bug fixes and timezone data changes.
60662         * README: Mention GNU/Hurd, x32, and HPPA support status.
60664 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
60666         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
60668 2012-06-27  Andreas Jaeger  <aj@suse.de>
60670         * manual/contrib.texi (Contributors): Add Samuel Thibault.
60672 2012-06-25  Andreas Jaeger  <aj@suse.de>
60674         * sysdeps/s390/fpu/libm-test-ulps: Update.
60676 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
60677             Thomas Schwinge  <thomas@codesourcery.com>
60679         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
60680         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
60681         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
60682         fanotify_mark.
60684 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
60686         * sysdeps/mach/start.c: Remove file.
60687         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
60688         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
60689         * sysdeps/sh/init-first.c: Likewise.
60691         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
60692         registers for frame unwinding purposes, add CFI directives.
60693         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60694         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
60695         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
60696         Likewise.
60698         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
60699         __fortify_fail returning.
60700         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60702         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
60703         sysdeps/sh/____longjmp_chk.S.
60704         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
60705         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
60706         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
60707         (gen-as-const-headers): Append sigaltstack-offsets.sym.
60709         * sysdeps/sh/abort-instr.h: New file.
60710         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
60711         process in case exit returns.
60713         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
60714         initialize the GOT register before use.
60716         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
60717         calculation of ARGC > 4.
60719         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
60720         meaningful names to some local labels.
60722 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60723             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60725         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
60726         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
60727         (__arch_compare_and_exchange_val_16_acq): Likewise.
60728         (__arch_compare_and_exchange_val_32_acq): Likewise.
60729         (atomic_exchange_and_add): Fix gUSA sequence.
60730         (atomic_add): Likewise.
60731         (atomic_add_negative): Likewise.
60732         (atomic_add_zero): Likewise.
60733         (atomic_bit_test_set): Likewise.
60735 2012-06-22  Andreas Schwab  <schwab@redhat.com>
60737         [BZ #13579]
60738         * include/link.h (struct link_map): Add l_free_initfini.
60739         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
60740         l_initfini.
60741         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
60742         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
60743         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
60744         set.
60746 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
60748         * configure.in: Use AC_LANG_SOURCE.
60749         * configure: Regenerate.
60751 2012-06-22  Roland McGrath  <roland@hack.frob.com>
60753         * configure.in (libc_cv_localstatedir): New substituted variable.
60754         * configure: Regenerated.
60755         * config.make.in (localstatedir): New variable, substituted from
60756         libc_cv_localstatedir.
60757         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
60758         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
60759         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
60760         * sysdeps/gnu/configure: Regenerated.
60762 2012-06-21  Jeff Law  <law@redhat.com>
60764         [BZ #14277]
60765         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
60766         free.  Simplify list management for _LIBC case.
60768 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
60770         [BZ #14273]
60771         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
60772         Clear sign bit of 64-bit integer value before comparing against
60773         overflow value.
60775         * sysdeps/mach/configure: Regenerated.
60777 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
60779         [BZ #14278]
60780         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
60782 2012-06-21  Jeff Law  <law@redhat.com>
60784         [BZ #13882]
60785         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
60786         uint16_t for elements in the "seen" array to avoid char overflows.
60787         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60788         * elf/dl-open.c (dl_open_worker): Likewise.
60790 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
60792         * scripts/list-sources.sh: Scan PORTS for translations.
60793         * po/libc.pot: Regenerated.
60795 2012-06-21  Andreas Jaeger  <aj@suse.de>
60797         [BZ #12194]
60798         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
60799         warning.
60800         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
60801         * bits/byteswap-16.h (__bswap_16): Likewise.
60802         * bits/byteswap.h (__bswap_constant_16): Likewise.
60804 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
60806         [BZ #14117]
60807         * sysdeps/i386/fpu_control.h: Removed.
60808         * sysdeps/x86_64/fpu_control.h: Moved to ...
60809         * sysdeps/x86/fpu_control.h: Here.
60811         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
60812         (_FPU_SETCW): Likewise.
60814 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
60816         [BZ #14117]
60817         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
60818         * sysdeps/x86/fpu/bits/mathinline.h: This.
60819         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
60821         [BZ #14050]
60822         [BZ #14117]
60823         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
60824         functions if __x86_64__ is defined.
60826 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
60828         * string/endian.h: Add !__ASSEMBLER__ condition for including
60829         conversion interfaces.
60831 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
60833         [BZ #14241]
60834         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
60835         of ABS(x) in calculating zero to negative powers other than odd
60836         integers.
60837         * math/libm-test.inc (pow_test): Add more tests.
60839 2012-06-15  Andreas Jaeger  <aj@suse.de>
60841         * manual/contrib.texi (Contributors): Update entry of Liubov
60842         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
60843         Machado Filho.
60845 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
60847         * string/string.h: Add __wur to GNU version of strerror_r.
60849 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
60851         [BZ #14229]
60852         * string/Makefile (tests): Add tst-strtok_r.
60853         * string/tst-strtok_r.c: New file.
60854         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
60855         RAX_LP/RDX_LP on SAVE_PTR.
60857 2012-06-14  Roland McGrath  <roland@hack.frob.com>
60859         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
60861 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
60863         * libm_test.inc (csqrt_test): Allow more spurious underflow
60864         exceptions.
60865         (j0_test): Likewise.
60866         (j1_test): Likewise.
60867         (y0_test): Likewise.
60868         (y1_test): Likewise.
60870 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
60872         * po/Makefile (libc.pot): Use UTF-8 charset.
60874 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
60876         [BZ #14210]
60877         Suppress sign-conversion warning from FD_SET.
60878         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
60879         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
60880         not unsigned long int.
60881         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
60883 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
60885         [BZ #14050]
60886         [BZ #14117]
60887         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
60888         __extern_always_inline instead of __extern_inline.
60889         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
60890         (__signbit): Likewise.
60891         (__signbitl): Support C++ namespace.
60892         (lrintf): New inline function.
60893         (lrint): Likewise.
60894         (llrintf): Likewise.
60895         (llrint): Likewise.
60896         (fmaxf): Likewise.
60897         (fmax): Likewise.
60898         (fminf): Likewise.
60899         (fmin): Likewise.
60900         (rint): Likewise.
60901         (rintf): Likewise.
60902         (ceil): Likewise.
60903         (ceilf): Likewise.
60904         (floor): Likewise.
60905         (floorf): Likewise.
60906         (nearbyint): Likewise.
60907         (nearbyintf): Likewise.
60909 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
60911         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
60912         non-default versions.
60914 2012-06-11  Roland McGrath  <roland@hack.frob.com>
60916         [BZ #14218]
60917         * manual/argp.texi (Argp): Reword argp_parse description slightly.
60919 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
60921         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
60922         (FE_UPWARD, FE_DOWNWARD): Don't define.
60923         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
60924         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60926         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
60927         reading it.
60928         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60929         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60931 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60933         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60934         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
60935         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
60936         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
60938 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
60940         [BZ #14117]
60941         * sysdeps/i386/fpu/bits/fenv.h: Removed.
60942         * sysdeps/i386/fpu/Implies: New file.
60943         * sysdeps/x86_64/fpu/Implies: Likewise.
60944         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
60945         * sysdeps/x86/fpu/bits/fenv.h: This.
60947         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
60948         __SSE_MATH__.
60950 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60952         [BZ #14134]
60953         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
60954         character 0xffff that matches the last element of the
60955         conversion table.
60957 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60959         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
60960         fmodl commit.
60962 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60964         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
60965         values higher than 25.6283.
60967 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60969         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
60970         subnormal exponent extraction and add some __builtin_expect.
60971         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
60972         Fix for subnormal mantissa calculation.
60974 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
60976         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
60977         cpu2 is -1 and errno is not ENOSYS.
60979 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
60981         [BZ #14117]
60982         * sysdeps/i386/i486/bits/string.h: Renamed to ...
60983         * sysdeps/x86/bits/string.h: This.
60984         * sysdeps/x86_64/bits/string.h: Removed.
60986         * sysdeps/i386/i486/bits/string.h: Define inline functions only
60987         if not compiling for x86-64, but compiling for >= i486.
60989         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
60990         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
60992         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
60993         New macro from Linux kernel 3.4.0.
60994         (FP_XSTATE_MAGIC2): Likewise.
60995         (FP_XSTATE_MAGIC2_SIZE): Likewise.
60996         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
60997         (struct _fpx_sw_bytes): New struct.
60998         (struct _xsave_hdr): Likewise.
60999         (struct _ymmh_state): Likewise.
61000         (struct _xstate): Likewise.
61002         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
61003         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61004         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
61005         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
61006         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
61007         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
61009         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
61010         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
61011         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
61012         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
61013         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
61014         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
61016 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61018         [BZ #13743]
61019         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
61020         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
61021         (sysdep_headers): Include sys/platform/ppc.h.
61022         * sysdeps/powerpc/test-gettimebase.c: Test for
61023         __ppc_get_timebase() to catch future ISA opcode/insn changes.
61024         * manual/Makefile (appendices): Include platform.texi.
61025         * manual/contrib.texi (Contributors): Update @node pointers.
61026         * manual/maint.texi (Maintenance): Likewise.
61027         (Platform): New node.
61028         * manual/platform.texi: New file.  Document the new features.
61030 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61031             Jakub Jelinek  <jakub@redhat.com>
61033         [BZ #14188]
61034         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
61035         where __builtin_expect is unavailable.
61037 2012-06-03  David S. Miller  <davem@davemloft.net>
61039         * stdlib/longlong.h: Updated from GCC.
61041 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
61043         [BZ #14042]
61044         * sysdeps/powerpc/powerpc32/mcount.c: New file.
61045         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
61046         __mcount_internal.
61047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61048         (GLIBC_2.16): Likewise.
61050 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61052         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
61054 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
61057         (default-abi): New variable.
61058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
61059         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
61060         variable.
61061         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
61062         Likewise.
61063         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
61064         Likewise.
61065         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
61066         Likewise.
61068         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
61069         definition.  Document in comment.
61071 2012-06-01  David S. Miller  <davem@davemloft.net>
61073         * stdlib/longlong.h: Updated from GCC.
61075 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61077         [BZ #14117]
61078         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
61079         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
61080         sys/debugreg.h sys/io.h here.
61081         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
61082         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
61083         sys/io.h.
61084         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
61085         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
61086         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
61087         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
61088         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
61089         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61091         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
61092         Define only if __x86_64__ is defined.
61094 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61096         [BZ #14048]
61097         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
61098         Use int64_t for variable i.
61099         * math/libm-test.inc (fmod_test): Add more tests.
61101         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
61102         z computation is not scheduled after fetestexcept.
61103         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
61104         Use math_force_eval instead of asm to ensure calculation scheduled
61105         before exception test.
61106         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
61107         Ensure a1 + u.d computation is not scheduled after fetestexcept.
61109 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
61111         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
61112         computation is not scheduled after fetestexcept.
61114 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61116         [BZ #14117]
61117         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
61118         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
61120 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61122         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
61123         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61125 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61127         [BZ #14117]
61128         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
61129         <bits/wordsize.h>.
61130         (__WCHAR_MIN): Support __WORDSIZE == 64.
61131         (__WCHAR_MAX): Likewise.
61133         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
61134         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
61136         [BZ #14183]
61137         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
61138         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
61140         [BZ #14117]
61141         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
61142         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
61144         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
61145         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61147         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61148         Defined to 1 if __x86_64__ isn't defined.
61149         (_STAT_VER_LINUX_OLD): New.
61150         (st_atime): Remove duplicate.
61151         (st_mtime): Likewise.
61152         (st_ctime): Likewise.
61154 2012-05-31  David S. Miller  <davem@davemloft.net>
61156         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61157         entries.
61159 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
61161         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61162         gen-libm-test.pl.
61164         [BZ #14132]
61165         * elf/dl-reloc.c: Include <_itoa.h>.
61166         (_dl_reloc_bad_type): Remove use of INTUSE.
61167         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61168         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61169         * stdio-common/psiginfo.c (psiginfo): Likewise.
61170         * stdio-common/psignal.c (psignal): Likewise.
61171         * string/strsignal.c (strsignal): Likewise.
61172         * include/signal.h (_sys_siglist): Declare hidden proto.
61173         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
61174         INTVARDEF with libc_hidden_data_def.
61175         * stdio-common/itoa-udigits.c: Likewise.
61176         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61177         (_itoa_lower_digits_internal): Remove declaration.
61178         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61179         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61180         (_sys_sigabbrev_internal): Remove aliases.
61181         (_sys_siglist): Define hidden alias.
61183 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
61185         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61186         bits/sysctl.h.
61188 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61190         [BZ #14117]
61191         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
61192         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
61194         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
61195         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
61196         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
61197         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
61198         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
61199         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
61201         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
61202         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
61203         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61205         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
61206         with __addr.
61207         (insw): Likewise.
61208         (insl): Likewise.
61209         (outsb): Likewise.
61210         (outsw): Likewise.
61211         (outsl): Likewise.
61213         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61214         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
61215         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
61217         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
61218         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
61219         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
61220         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
61221         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
61222         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
61224         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
61225         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
61227         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
61228         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
61230         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
61231         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
61232         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
61234         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
61235         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
61236         to ...
61237         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
61239         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
61240         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
61241         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
61243         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
61244         for x86-64.
61245         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
61247 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
61249         * math/math.h (M_El): Use two more decimal places.
61250         (M_LOG2El): Likewise.
61251         (M_LOG10El): Likewise.
61252         (M_LN2l): Likewise.
61253         (M_LN10l): Likewise.
61254         (M_PIl): Likewise.
61255         (M_PI_2l): Likewise.
61256         (M_PI_4l): Likewise.
61257         (M_1_PIl): Likewise.
61258         (M_2_PIl): Likewise.
61259         (M_2_SQRTPIl): Likewise.
61260         (M_SQRT2l): Likewise.
61261         (M_SQRT1_2l): Likewise.
61263 2012-05-31  David S. Miller  <davem@davemloft.net>
61265         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61266         values between float registers.
61267         * sysdeps/sparc/sparc64/memset.S: Likewise.
61268         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61270 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
61272         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61273         -D_FORTIFY_SOURCE=1.
61274         (CPPFLAGS-tst-longjmp_chk.c): Define.
61275         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61276         (CPPFLAGS-tst-longjmp_chk2.c): Define.
61277         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61278         CFLAGS-tst-wchar-h.c.
61280 2012-05-31  Marek Polacek  <polacek@redhat.com>
61282         [BZ #14132]
61283         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61284         __endmntent_internal): Remove declaration.
61285         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61286         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61287         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61289 2012-05-30  David S. Miller  <davem@davemloft.net>
61291         * sysdeps/sparc/sparc32/soft-fp/q_util.c
61292         (___Q_simulate_exceptions): Use real FP ops rather than writing
61293         into the %fsr.
61294         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61295         Likewise.
61297 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61299         [BZ #14117]
61300         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61301         * sysdeps/x86/bits/xtitypes.h: This.
61303         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61304         * sysdeps/x86/bits/wordsize.h: This.
61306         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61307         * sysdeps/x86/bits/huge_vall.h: This.
61309         * sysdeps/i386/bits/select.h: Removed.
61310         * sysdeps/x86_64/bits/select.h: Renamed to ...
61311         * sysdeps/x86/bits/select.h: This.
61313         * sysdeps/i386/bits/setjmp.h: Removed.
61314         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61315         * sysdeps/x86/bits/setjmp.h: This.
61317         * sysdeps/i386/bits/mathdef.h: Removed.
61318         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61319         * sysdeps/x86/bits/mathdef.h: This.
61321 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
61323         [BZ #14132]
61324         * include/sys/socket.h (__connect_internal)
61325         (__libc_sa_len_internal): Remove declaration.
61326         (__connect, __libc_sa_len): Declare hidden_proto.
61327         (SA_LEN): Remove use of INTUSE.
61328         * socket/connect.c: Add libc_hidden_def.
61329         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61330         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61331         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61332         alias.
61333         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61334         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61335         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61336         of adding _internal alias.
61338 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61340         [BZ #14117]
61341         * sysdeps/i386/bits/link.h: Removed.
61342         * sysdeps/i386/bits/linkmap.h: Likewise.
61343         * sysdeps/x86_64/bits/link.h: Renamed to ...
61344         * sysdeps/x86/bits/link.h: This.
61345         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
61346         * sysdeps/x86/bits/linkmap.h: This.
61348         * sysdeps/i386/bits/endian.h: Removed.
61349         * sysdeps/x86_64/bits/endian.h: Renamed to ...
61350         * sysdeps/x86/bits/endian.h: This.
61352         * sysdeps/i386/bits/byteswap.h: Removed.
61353         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61354         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
61355         * sysdeps/x86/bits/byteswap.h: This.
61356         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
61357         * sysdeps/x86/bits/byteswap-16.h: This.
61358         * sysdeps/i386/Implies: Add x86.
61359         * sysdeps/x86_64/Implies: Likewise.
61361 2012-05-30  David S. Miller  <davem@davemloft.net>
61363         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
61364         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
61365         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61366         (FP_TRAPPING_EXCEPTIONS): Define.
61367         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
61368         (FP_TRAPPING_EXCEPTIONS): Define.
61369         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61370         subnormals only when inexact has been signalled or underflow
61371         exceptions are enabled.
61372         (_FP_PACK_CANONICAL): Likewise.
61374 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61376         [BZ #14183]
61377         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
61378         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
61380 2012-05-30  Richard Henderson  <rth@twiddle.net>
61382         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
61383         with #ifndef NOT_IN_libc.
61385         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
61386         marked to avoid plt entry.
61388 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61390         [BZ #14112]
61391         * Makeconfig (default-abi): New macro.
61392         (abi-includes): Likewise.
61393         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
61394         $(abi-$(default-abi)-lib-soname) for soname if defined.
61395         ($(common-objpfx)gnu/lib-names.stmp): Generate from
61396         abi-variants.
61397         * Makefile (installed-stubs): Likewise.
61398         * include/stubs-biarch.h: Removed.
61399         * scripts/lib-names.awk: Only handle one library at a time.
61400         * scripts/soversions.awk: Remove WORDSIZE support.
61401         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
61402         entries.
61403         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
61404         Removed.
61405         (syscall-list-default-condition): Likewise.
61406         (syscall-list-default-condition): Likewise.
61407         (syscall-list-includes): Likewise.
61408         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
61409         syscall-list-* with abi-*.  Handle undefined abi-variants.
61410         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
61411         * sysdeps/unix/sysv/linux/i386/Implies: New file.
61412         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
61413         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
61414         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
61415         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
61416         Removed.
61417         (syscall-list-32-options): Likewise.
61418         (syscall-list-32-condition): Likewise.
61419         (syscall-list-64-options): Likewise.
61420         (syscall-list-64-condition): Likewise.
61421         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
61422         macro.
61423         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
61424         Renamed to ...
61425         (abi-*): This.
61426         (abi-64-ld-soname): New macro.
61427         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
61428         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
61429         Renamed to ...
61430         (abi-*): This.
61431         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
61432         * sysdeps/x86_64/x32/shlib-versions: Likewise.
61434 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
61436         * sysdeps/unix/sysv/linux/kernel-features.h
61437         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
61438         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
61439         include <kernel-features.h>.
61440         [!__NR_ftruncate64]: Remove conditional code.
61441         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61442         [__NR_ftruncate64]: Make code unconditional.
61443         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61444         * sysdeps/unix/sysv/linux/truncate64.c: Do not
61445         include <kernel-features.h>.
61446         [!__NR_ftruncate64]: Remove conditional code.
61447         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61448         [__NR_ftruncate64]: Make code unconditional.
61449         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
61451         include <kernel-features.h>.
61452         [!__NR_ftruncate64]: Remove conditional code.
61453         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61454         [__NR_ftruncate64]: Make code unconditional.
61455         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61457         include <kernel-features.h>.
61458         [!__NR_ftruncate64]: Remove conditional code.
61459         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61460         [__NR_ftruncate64]: Make code unconditional.
61461         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61463         * configure.in (libc_cv_fpie): Weaken to a compile test using
61464         LIBC_TRY_CC_OPTION.
61465         * configure: Regenerated.
61467 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
61470         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
61471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
61472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61473         Refreshed.
61474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
61475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
61476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
61477         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
61478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
61479         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61480         Refreshed.
61482 2012-05-27  David S. Miller  <davem@davemloft.net>
61484         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
61485         (___Q_zero): New.
61486         (__Q_simulate_exceptions): Return void.  Change to simulate
61487         exceptions by writing into the %fsr.
61488         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
61489         (__Qp_handle_exceptions): Likewise.
61490         (numbers): Delete.
61491         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
61492         __Qp_handle_exceptions.
61493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
61494         __Qp_handle_exceptions.
61495         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61496         as unused and give dummy FP_RND_NEAREST initializer.
61497         (FP_INHIBIT_RESULTS): Define.
61498         (___Q_simulate_exceptions): Update declaration.
61499         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
61500         formatting.
61501         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61502         as unused and give dummy FP_RND_NEAREST initializer.
61503         (__Qp_handle_exceptions): Update declaration.
61504         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
61505         formatting.
61507 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
61509         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
61510         the temporary FPU control word.
61511         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
61512         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
61513         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
61514         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61515         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61516         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
61517         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
61518         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61519         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
61520         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
61521         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61523 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61525         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
61526         fields.
61528 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
61530         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
61531         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
61532         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
61533         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
61534         Likewise.
61535         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
61536         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
61537         Likewise.
61539 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
61541         * po/h.po: Update from translation team.
61543 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
61545         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
61547         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
61548         handling of denormals.
61549         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61550         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
61551         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61552         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61553         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61554         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
61555         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
61556         Likewise.
61558 2012-05-26  Marek Polacek  <polacek@redhat.com>
61560         [BZ #14152]
61561         * math/libm-test.inc (fma_test): Don't always expect underflow
61562         exception.
61564 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61566         [BZ #12416]
61567         * elf/tst-execstack.c: Include stackinfo.h.
61568         (do_test): Adjust test case to ensure that pthread_getattr_np
61569         behaviour remains the same after marking stack executable.
61571 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61573         * sysdeps/unix/sysv/linux/kernel-features.h
61574         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
61575         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
61576         kernel-features.h.
61577         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61578         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61579         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
61580         kernel-features.h.
61581         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61582         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61584 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
61586         * configure.in: Define the default includes to being none.
61587         * configure: Regenerated.
61589 2012-05-25  Roland McGrath  <roland@hack.frob.com>
61591         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
61592         * sysdeps/x86_64/setjmp.S: Likewise.
61593         * sysdeps/i386/bsd-setjmp.S: Likewise.
61594         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61595         * sysdeps/i386/setjmp.S: Likewise.
61596         * sysdeps/i386/__longjmp.S: Likewise.
61597         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61598         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
61600         * include/stap-probe.h: New file.
61601         * configure.in: Handle --enable-systemtap.
61602         * configure: Regenerated.
61603         * config.h.in (USE_STAP_PROBE): New #undef.
61604         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
61605         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
61606         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
61608 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61610         [BZ #13717]
61611         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61612         to 2.4.0 where earlier.
61613         * sysdeps/unix/sysv/linux/configure: Regenerated.
61614         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61615         <kernel-features.h>.
61616         [__ASSUME_32BITUIDS]: Make code unconditional.
61617         [!__ASSUME_32BITUIDS]: Remove conditional code.
61618         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
61619         <kernel-features.h>.
61620         [__ASSUME_32BITUIDS]: Make code unconditional.
61621         [!__ASSUME_32BITUIDS]: Remove conditional code.
61622         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
61623         [__ASSUME_32BITUIDS]: Make code unconditional.
61624         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
61625         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
61626         <kernel-features.h>.
61627         [__ASSUME_32BITUIDS]: Make code unconditional.
61628         [!__ASSUME_32BITUIDS]: Remove conditional code.
61629         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
61630         <kernel-features.h>.
61631         [__ASSUME_32BITUIDS]: Make code unconditional.
61632         [!__ASSUME_32BITUIDS]: Remove conditional code.
61633         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
61634         <kernel-features.h>.
61635         [__ASSUME_32BITUIDS]: Make code unconditional.
61636         [!__ASSUME_32BITUIDS]: Remove conditional code.
61637         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
61638         <kernel-features.h>.
61639         [__ASSUME_32BITUIDS]: Make code unconditional.
61640         [!__ASSUME_32BITUIDS]: Remove conditional code.
61641         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61642         <kernel-features.h>.
61643         [__ASSUME_32BITUIDS]: Make code unconditional.
61644         [!__ASSUME_32BITUIDS]: Remove conditional code.
61645         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61646         <kernel-features.h>.
61647         [__ASSUME_32BITUIDS]: Make code unconditional.
61648         [!__ASSUME_32BITUIDS]: Remove conditional code.
61649         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
61650         <kernel-features.h>.
61651         [__ASSUME_32BITUIDS]: Make code unconditional.
61652         [!__ASSUME_32BITUIDS]: Remove conditional code.
61653         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61654         <kernel-features.h>.
61655         [__ASSUME_32BITUIDS]: Make code unconditional.
61656         [!__ASSUME_32BITUIDS]: Remove conditional code.
61657         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61658         <kernel-features.h>.
61659         [__ASSUME_32BITUIDS]: Make code unconditional.
61660         [!__ASSUME_32BITUIDS]: Remove conditional code.
61661         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
61662         <kernel-features.h>.
61663         [__ASSUME_32BITUIDS]: Make code unconditional.
61664         [!__ASSUME_32BITUIDS]: Remove conditional code.
61665         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
61666         <kernel-features.h>.
61667         [__NR_setresgid] (__setresgid): Do not declare.
61668         [__ASSUME_32BITUIDS]: Make code unconditional.
61669         [!__ASSUME_32BITUIDS]: Remove conditional code.
61670         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
61671         <kernel-features.h>.
61672         [__NR_setresuid] (__setresuid): Do not declare.
61673         [__ASSUME_32BITUIDS]: Make code unconditional.
61674         [!__ASSUME_32BITUIDS]: Remove conditional code.
61675         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.c: Do not include
61680         <kernel-features.h>.
61681         [__ASSUME_32BITUIDS]: Make code unconditional.
61682         [!__ASSUME_32BITUIDS]: Remove conditional code.
61683         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
61684         <kernel-features.h>.
61685         [__ASSUME_32BITUIDS]: Make code unconditional.
61686         [!__ASSUME_32BITUIDS]: Remove conditional code.
61687         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
61688         <kernel-features.h>.
61689         [__ASSUME_32BITUIDS]: Make code unconditional.
61690         [!__ASSUME_32BITUIDS]: Remove conditional code.
61691         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
61692         <kernel-features.h>.
61693         [__ASSUME_32BITUIDS]: Make code unconditional.
61694         [!__ASSUME_32BITUIDS]: Remove conditional code.
61695         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
61696         <kernel-features.h>.
61697         [__ASSUME_32BITUIDS]: Make code unconditional.
61698         [!__ASSUME_32BITUIDS]: Remove conditional code.
61699         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
61700         <kernel-features.h>.
61701         [__ASSUME_32BITUIDS]: Make code unconditional.
61702         [!__ASSUME_32BITUIDS]: Remove conditional code.
61703         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
61704         <kernel-features.h>.
61705         [__ASSUME_32BITUIDS]: Make code unconditional.
61706         [!__ASSUME_32BITUIDS]: Remove conditional code.
61707         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
61708         <kernel-features.h>.
61709         [__ASSUME_32BITUIDS]: Make code unconditional.
61710         [!__ASSUME_32BITUIDS]: Remove conditional code.
61711         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61712         <kernel-features.h>.
61713         [__ASSUME_32BITUIDS]: Make code unconditional.
61714         [!__ASSUME_32BITUIDS]: Remove conditional code.
61715         * sysdeps/unix/sysv/linux/kernel-features.h
61716         (__ASSUME_SETRESUID_SYSCALL): Remove.
61717         (__ASSUME_SETRESGID_SYSCALL): Likewise.
61718         (__ASSUME_32BITUIDS): Likewise.
61719         (__ASSUME_LDT_WORKS): Likewise.
61720         (__ASSUME_O_DIRECTORY): Likewise.
61721         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
61722         architecture but not kernel version.
61723         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
61724         (__ASSUME_MMAP2_SYSCALL): Likewise.
61725         (__ASSUME_STAT64_SYSCALL): Likewise.
61726         (__ASSUME_IPC64): Likewise.
61727         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
61728         <kernel-features.h>.
61729         [__ASSUME_32BITUIDS]: Make code unconditional.
61730         [!__ASSUME_32BITUIDS]: Remove conditional code.
61731         * sysdeps/unix/sysv/linux/opendir.c: Do not include
61732         <kernel-features.h>.
61733         [__ASSUME_O_DIRECTORY]: Make code unconditional.
61734         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
61735         132096]: Remove conditional code.
61736         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
61737         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61738         <kernel-features.h>.
61739         [__ASSUME_32BITUIDS]: Make code unconditional.
61740         [!__ASSUME_32BITUIDS]: Remove conditional code.
61741         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61742         <kernel-features.h>.
61743         [__ASSUME_32BITUIDS]: Make code unconditional.
61744         [!__ASSUME_32BITUIDS]: Remove conditional code.
61745         * sysdeps/unix/sysv/linux/setegid.c: Do not include
61746         <kernel-features.h>.
61747         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
61748         unconditional.
61749         (__setresgid): Do not declare.
61750         [__ASSUME_32BITUIDS]: Make code unconditional.
61751         [!__ASSUME_32BITUIDS]: Remove conditional code.
61752         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
61753         <kernel-features.h>.
61754         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
61755         unconditional.
61756         (__setresuid): Do not declare.
61757         [__ASSUME_32BITUIDS]: Make code unconditional.
61758         [!__ASSUME_32BITUIDS]: Remove conditional code.
61759         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61760         <kernel-features.h>.
61761         [__ASSUME_32BITUIDS]: Make code unconditional.
61762         [!__ASSUME_32BITUIDS]: Remove conditional code.
61763         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
61764         <kernel-features.h>.
61765         [__ASSUME_32BITUIDS]: Make code unconditional.
61766         [!__ASSUME_32BITUIDS]: Remove conditional code.
61768 2012-05-25  Richard Henderson  <rth@twiddle.net>
61770         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
61771         dl_hwcap to ifunc resolver.
61772         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
61773         elf_ifunc_invoke.
61774         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
61775         dl_hwcap to ifunc resolver.
61776         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
61778 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61780         [BZ #14153]
61781         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
61782         for |x| <= 2**-26, not 2**-57.
61783         * math/libm-test.inc (acos_test): Do not allow spurious underflow
61784         exception.
61786 2012-05-24  Jeff Law  <law@redhat.com>
61788         * stdio-common/Makefile (tests): Add bug25.
61789         * stdio-common/bug25.c: New test.
61791 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61793         [BZ #13576]
61794         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
61795         multiple of MALLOC_ALIGNMENT in size.
61796         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
61798 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61800         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
61801         Require >= 256.
61802         (FILENAME_MAX): Use macro-int-constant.
61803         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
61804         (_IOFBF): Use macro-int-constant.
61805         (_IOLBF): Likewise.
61806         (_IONBF): Likewise.
61807         (SEEK_CUR): Likewise.
61808         (SEEK_END): Likewise.
61809         (SEEK_SET): Likewise.
61810         (TMP_MAX): Likewise.
61811         (EOF): Use macro-int-constant.  Require < 0.
61812         (NULL): Use macro-constant.  Require == 0.
61813         (stdin): Require type to be FILE *.
61814         (stdout): Likewise.
61815         (stderr): Likewise.
61816         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
61817         macro-int-constant.
61818         (EXIT_SUCCESS): Likewise.
61819         (NULL): Use macro-constant.  Require == 0.
61820         (RAND_MAX): Use macro-int-constant.
61821         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
61822         [C99-based standards] (strtof): Require function.
61823         [C99-based standards] (strtold): Likewise.
61824         [C99-based standards] (strtoll): Likewise.
61825         [C99-based standards] (strtoull): Likewise.
61826         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61827         [ISO || ISO99 || ISO11] (limits.h): Likewise.
61828         [ISO || ISO99 || ISO11] (math.h): Likewise.
61829         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
61830         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61831         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61833 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
61835         [BZ #14132]
61836         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
61837         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
61838         * intl/dgettext.c (DCGETTEXT): Likewise.
61839         * intl/gettext.c (DCGETTEXT): Likewise.
61840         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
61841         * posix/regex_internal.h (gettext): Likewise.
61842         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
61843         Remove declaration.
61844         * include/argz.h (__argz_count_internal)
61845         (__argz_stringify_internal): Remove declaration.
61846         (__argz_count, __argz_stringify): Declare hidden proto.
61847         * intl/dcgettext.c: Remove use of INTDEF.
61848         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
61849         * string/argz-stringify.c: Likewise.
61850         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61851         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61852         Declare hidden proto.
61853         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61854         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61855         Declare hidden proto.
61856         * include/stdio.h (__asprintf_internal): Don't declare.
61857         (__asprintf): Don't define as macro.  Declare hidden proto.
61858         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
61859         (__fsetlocking): Declare hidden proto.
61860         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
61861         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
61862         hidden proto.
61863         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
61864         (_IO_setlinebuf): Remove use of INTUSE.
61865         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
61866         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
61867         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
61868         Remove declaration.
61869         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
61870         (_IO_do_flush): Remove use of INTUSE.
61871         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
61872         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
61873         (_IO_adjust_column, _IO_least_wmarker)
61874         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
61875         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
61876         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
61877         (_IO_default_doallocate, _IO_wdefault_doallocate)
61878         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
61879         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
61880         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
61881         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
61882         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
61883         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
61884         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
61885         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
61886         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
61887         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
61888         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
61889         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
61890         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
61891         proto.
61892         (_IO_flush_all_internal, _IO_adjust_column_internal)
61893         (_IO_default_uflow_internal, _IO_default_finish_internal)
61894         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
61895         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
61896         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
61897         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
61898         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
61899         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
61900         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
61901         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
61902         (_IO_file_close_internal, _IO_file_close_it_internal)
61903         (_IO_file_underflow_internal, _IO_file_overflow_internal)
61904         (_IO_file_init_internal, _IO_file_attach_internal)
61905         (_IO_file_fopen_internal, _IO_file_read_internal)
61906         (_IO_file_sync_internal, _IO_file_seek_internal)
61907         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
61908         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
61909         (_IO_str_underflow_internal, _IO_str_overflow_internal)
61910         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
61911         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
61912         (_IO_list_all_internal, _IO_link_in_internal)
61913         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
61914         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
61915         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
61916         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
61917         (_IO_do_write_internal, _IO_padn_internal)
61918         (_IO_getline_info_internal, _IO_getline_internal)
61919         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
61920         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
61921         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
61922         (_IO_vfscanf_internal, _IO_vfprintf_internal)
61923         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
61924         (_IO_init_internal, _IO_un_link_internal): Don't declare.
61925         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
61926         with libc_hidden_ver, remove use of INTUSE.
61927         * libio/genops.c: Likewise.
61928         * libio/freopen.c: Likewise.
61929         * libio/freopen64.c: Likewise.
61930         * libio/iofclose.c: Likewise.
61931         * libio/iofdopen.c: Likewise.
61932         * libio/iofflush.c: Likewise.
61933         * libio/iofflush_u.c: Likewise.
61934         * libio/iofgets.c: Likewise.
61935         * libio/iofgets_u.c: Likewise.
61936         * libio/iofopen.c: Likewise.
61937         * libio/iofopncook.c: Likewise.
61938         * libio/iofread.c: Likewise.
61939         * libio/iofread_u.c: Likewise.
61940         * libio/ioftell.c: Likewise.
61941         * libio/iofwrite.c: Likewise.
61942         * libio/iogetline.c: Likewise.
61943         * libio/iogets.c: Likewise.
61944         * libio/iogetwline.c: Likewise.
61945         * libio/iopadn.c: Likewise.
61946         * libio/iopopen.c: Likewise.
61947         * libio/ioseekoff.c: Likewise.
61948         * libio/ioseekpos.c: Likewise.
61949         * libio/iosetbuffer.c: Likewise.
61950         * libio/iosetvbuf.c: Likewise.
61951         * libio/ioungetc.c: Likewise.
61952         * libio/ioungetwc.c: Likewise.
61953         * libio/iovdprintf.c: Likewise.
61954         * libio/iovsprintf.c: Likewise.
61955         * libio/iovsscanf.c: Likewise.
61956         * libio/memstream.c: Likewise.
61957         * libio/obprintf.c: Likewise.
61958         * libio/oldfileops.c: Likewise.
61959         * libio/oldiofclose.c: Likewise.
61960         * libio/oldiofdopen.c: Likewise.
61961         * libio/oldiofopen.c: Likewise.
61962         * libio/oldiopopen.c: Likewise.
61963         * libio/oldstdfiles.c: Likewise.
61964         * libio/putc.c: Likewise.
61965         * libio/setbuf.c: Likewise.
61966         * libio/setlinebuf.c: Likewise.
61967         * libio/stdfiles.c: Likewise.
61968         * libio/strops.c: Likewise.
61969         * libio/vasprintf.c: Likewise.
61970         * libio/vscanf.c: Likewise.
61971         * libio/vsnprintf.c: Likewise.
61972         * libio/vswprintf.c: Likewise.
61973         * libio/wfiledoalloc.c: Likewise.
61974         * libio/wfileops.c: Likewise.
61975         * libio/wgenops.c: Likewise.
61976         * libio/wmemstream.c: Likewise.
61977         * libio/wstrops.c: Likewise.
61978         * libio/__fpurge.c: Likewise.
61979         * libio/__fsetlocking.c: Likewise.
61980         * assert/assert.c: Likewise.
61981         * debug/fgets_chk.c: Likewise.
61982         * debug/fgets_u_chk.c: Likewise.
61983         * debug/fread_chk.c: Likewise.
61984         * debug/fread_u_chk.c: Likewise.
61985         * debug/gets_chk.c: Likewise.
61986         * debug/obprintf_chk.c: Likewise.
61987         * debug/vasprintf_chk.c: Likewise.
61988         * debug/vdprintf_chk.c: Likewise.
61989         * debug/vsnprintf_chk.c: Likewise.
61990         * debug/vsprintf_chk.c: Likewise.
61991         * malloc/mtrace.c: Likewise.
61992         * misc/error.c: Likewise.
61993         * misc/syslog.c: Likewise.
61994         * stdio-common/asprintf.c: Likewise.
61995         * stdio-common/fxprintf.c: Likewise.
61996         * stdio-common/getw.c: Likewise.
61997         * stdio-common/isoc99_fscanf.c: Likewise.
61998         * stdio-common/isoc99_scanf.c: Likewise.
61999         * stdio-common/isoc99_vfscanf.c: Likewise.
62000         * stdio-common/isoc99_vscanf.c: Likewise.
62001         * stdio-common/isoc99_vsscanf.c: Likewise.
62002         * stdio-common/printf-prs.c: Likewise.
62003         * stdio-common/printf_fp.c: Likewise.
62004         * stdio-common/printf_fphex.c: Likewise.
62005         * stdio-common/printf_size.c: Likewise.
62006         * stdio-common/putw.c: Likewise.
62007         * stdio-common/scanf.c: Likewise.
62008         * stdio-common/sprintf.c: Likewise.
62009         * stdio-common/tmpfile.c: Likewise.
62010         * stdio-common/vfprintf.c: Likewise.
62011         * stdio-common/vfscanf.c: Likewise.
62012         * stdlib/strfmon_l.c: Likewise.
62013         * sunrpc/openchild.c: Likewise.
62014         * sunrpc/xdr_stdio.c: Likewise.
62015         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
62016         * sysdeps/mach/hurd/tmpfile.c: Likewise.
62018 2012-05-24  Roland McGrath  <roland@hack.frob.com>
62020         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62022         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
62023         in the third column, to generate for the shared library an IFUNC
62024         that uses _dl_vdso_vsym.
62025         * Makerules (COMPILE.c, compile-stdin.c): New variables.
62026         * Makeconfig (object-suffixes-noshared): New variable.
62028         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
62029         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
62030         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
62031         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
62033         [BZ #14132]
62034         * include/sys/time.h (__gettimeofday): Remove macro.
62035         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
62036         * time/gettimeofday.c (__gettimeofday): Remove #undef.
62037         Remove INTDEF.
62038         (__gettimeofday): Add libc_hidden_def.
62039         (gettimeofday): Add libc_hidden_weak.
62040         * sysdeps/mach/gettimeofday.c: Likewise.
62041         * sysdeps/posix/gettimeofday.c: Likewise.
62042         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
62043         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
62044         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
62045         (__gettimeofday_internal): Remove strong_alias.
62046         (__gettimeofday): Add libc_hidden_def.
62047         (gettimeofday): Add libc_hidden_weak.
62048         * sysdeps/unix/syscalls.list (gettimeofday):
62049         Remove __gettimeofday_internal alias.
62051 2012-05-24  Daniel Jacobowitz  <drow@false.org>
62052             H.J. Lu  <hongjiu.lu@intel.com>
62054         [BZ #12495]
62055         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
62056         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
62057         (largebin_index_32_big): New.
62058         (largebin_index): Use it for 16-byte alignment.
62059         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
62060         correction with front_misalign.
62062 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
62065         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
62066         Likewise.
62067         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
62068         Likewise.
62069         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62070         Likewise.
62071         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
62072         Likewise.
62073         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
62074         Likewise.
62075         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
62076         Likewise.
62077         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
62078         Likewise.
62079         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62080         Likewise.
62081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
62082         Likewise.
62083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
62084         Likewise.
62085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
62086         Likewise.
62087         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
62088         Likewise.
62090         * scripts/data/c++-types-x32-linux-gnu.data: New file.
62091         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62093 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62095         [BZ #10846]
62096         [BZ #14036]
62097         * math/libm-test.inc (exp_test): Add test from bug 14036.
62098         (pow_test): Add test from bug 10846.
62100         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
62101         and other flags.
62102         (special_function): Do not include flags in test name.
62103         (parse_args): Likewise.
62104         * sysdeps/i386/fpu/libm-test-ulps: Update.
62105         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62106         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62107         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62110         * math/gen-libm-test.pl (%beautify): Add entries for underflow
62111         exceptions.
62112         * math/libm-test.inc ("Philosophy"): Update comment about
62113         exception testing.
62114         (UNDERFLOW_EXCEPTION): New macro.
62115         (UNDERFLOW_EXCEPTION_OK): Likewise.
62116         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62117         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
62118         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
62119         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
62120         (INVALID_EXCEPTION_OK): Update value.
62121         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62122         (OVERFLOW_EXCEPTION_OK): Likewise.
62123         (IGNORE_ZERO_INF_SIGN): Likewise.
62124         (test_exceptions): Handle underflow exceptions.
62125         (acos_test): Update for underflow exception expectations.
62126         (cexp_test): Likewise.
62127         (clog_test): Likewise.
62128         (clog10_test): Likewise.
62129         (csqrt_test): Likewise.
62130         (ctan_test): Likewise.
62131         (ctanh_test): Likewise.
62132         (exp_test): Likewise.
62133         (exp10_test): Likewise.
62134         (exp2_test): Likewise.
62135         (expm1_test): Likewise.
62136         (fma_test): Likewise.
62137         (j0_test): Likewise.
62138         (jn_test): Likewise.
62139         (nexttoward_test): Likewise.
62140         (pow_test): Likewise.
62141         (scalbn_test): Likewise.
62142         (scalbln_test): Likewise.
62143         (tan_test): Likewise.
62144         (y1_test): Likewise.
62145         * sysdeps/i386/fpu/libm-test-ulps: Update.
62146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62148 2012-05-23  David S. Miller  <davem@davemloft.net>
62150         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62151         (__libc_sigaction): Remove unused local variables.
62153 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62155         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62157 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
62159         mktime: avoid signed integer overflow
62160         * time/mktime.c (__mktime_internal): Do not mishandle the case
62161         where diff == INT_MIN.
62163         mktime: simplify computation of average
62164         * time/mktime.c (ranged_convert): Use new time_t_avg function
62165         instead of rolling our own (probably-slower) code.
62167         mktime: do not assume signed right shift propagates sign bit
62168         * time/mktime.c (isdst_differ): New static function.
62169         (__mktime_internal): No need to normalize tm_isdst now.
62170         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62171         tm_isdst values.
62173         mktime: merge another wrapv change from gnulib
62174         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62175         from some compilers.
62177         mktime: remove incorrect attempt at unusual arithmetics
62178         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62179         The code didn't really work on such machines anyway.
62180         (TYPE_MINIMUM): Assume two's complement.
62181         (twos_complement_arithmetic): Verify that long_int and time_t
62182         are two's complement (or unsigned, in the latter case).
62184         mktime: check signed shifts on long_int and time_t, too
62185         * time/mktime.c (SHR): Check that shifts work as desired
62186         on the types long_int and time_t too, as SHR is used on
62187         such types.
62189         mktime: do not assume 'long' is wide enough
62190         * time/mktime.c (verify): Move decl up.
62191         (long_int): New type.
62192         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
62193         to remove assumption in the code that 'long' is wide enough to
62194         store year values.  This assumption is not true on x32 and on
62195         some non-glibc platforms.
62197         mktime: merge wrapv change from gnulib
62198         * time/mktime.c (WRAPV): New macro.
62199         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
62200         (guess_time_tm, __mktime_internal): Do not assume that signed
62201         integer overflow wraps around; modern compilers generate code
62202         where this assumption is no longer valid.
62204 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62206         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62207         Replace "jmp L(pseudo_end)" with "ret".
62208         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
62209         Likewise.
62211 2012-05-23  Andreas Jaeger  <aj@suse.de>
62213         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
62214         * sysdeps/unix/sysv/linux/poll.c: Remove file.
62216 2012-05-23  Andreas Jaeger  <aj@suse.de>
62217             Maximilian Attems  <max@stro.at>
62219         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
62220         New macros.
62222 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62224         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
62225         code so that pseudo_end is just ret and the stack pointer is
62226         correct also for static library in error case.
62228 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
62230         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
62231         move to syscalls.list.
62232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
62233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
62234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
62235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
62237         * manual/install.texi (Running make install): Do not mention Linux
62238         kernel version for which pt_chown is not needed.
62239         (Linux): Do not mention problems with nscd with 2.0 kernels.
62240         * INSTALL: Regenerated.
62242 2012-05-23  Andreas Jaeger  <aj@suse.de>
62244         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
62245         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
62246         macro.
62247         * sysdeps/unix/sysv/linux/s390/bits/mman.h
62248         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62249         * sysdeps/unix/sysv/linux/sh/bits/mman.h
62250         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62251         * sysdeps/unix/sysv/linux/i386/bits/mman.h
62252         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62253         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
62254         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62255         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
62256         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62257         * sysdeps/unix/sysv/linux/bits/in.h
62258         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62260 2012-05-22  Roland McGrath  <roland@hack.frob.com>
62262         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62263         (PREPARE_VERSION): Just use assert instead, it will be elided
62264         under [NDEBUG] anyway.
62266 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62268         * sysdeps/unix/sysv/linux/Makefile: Include
62269         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62270         (sysdep_routines): Remove sysctl.
62271         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62272         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62273         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62274         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62275         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62277 2012-05-22  Andreas Jaeger  <aj@suse.de>
62279         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62280         that pseudo_end is just ret and the stack pointer is correct also
62281         for static library in error case.
62283 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
62285         [BZ #14122]
62286         * nss/nsswitch.c (defconfig_entries): New variable.
62287         (__nss_database_lookup): Don't leak defconfig entries.
62288         (nss_parse_service_list): Don't leak on error paths.
62289         (free_database_entries): New function.
62290         (free_defconfig): New function.
62291         (free_mem): Move common code to free_database_entries.
62293 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62295         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62296         Add arch_prctl.
62297         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62299         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62300         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62301         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62302         New macro.
62303         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62304         (INTERNAL_SYSCALL_TYPES): Likewise.
62305         (LOAD_ARGS_TYPES_[1-6]): Likewise.
62306         (LOAD_REGS_TYPES_[1-6]): Likewise.
62307         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62308         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62310 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62312         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62313         copysignl for GLIBC_2_0.
62314         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62315         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62316         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62317         logbl for GLIBC_2_0.
62318         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62319         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62321 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62323         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62324         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62326         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62327         Use "neg %eax".
62329         * time/mktime.c: Update copyright years.
62331 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
62333         mktime: merge comment-quoting-style change from gnulib
62334         * time/mktime.c: Quote 'like this' in comments.
62335         The GNU coding standards suggest that we no longer quote `like this',
62336         as "`" and "'" are typically rendered asymmetrically nowadays.
62337         The typical gnulib style is to quote 'like this' when quoting
62338         code, and "like this" when quoting English.
62340         * time/mktime.c (compile-command): Add "-I.".
62342         mktime: merge mktime-internal.h change from gnulib
62343         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
62345         mktime: merge time_r change from gnulib
62346         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
62348         mktime: merge DEBUG change from gnulib
62349         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
62350         case system <time.h> has a #define.
62352         mktime: merge <sys/types.h> change from gnulib
62353         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62354         since <time.t> is now guaranteed to define time_t.
62356         mktime: merge HAVE_CONFIG_H change from gnulib
62357         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
62359 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62361         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62362         Use "neg %eax".
62364         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
62365         __rlim_t cast.
62366         (struct rusage): Use anonymous union to pad each field to
62367         __syscall_slong_t.
62369 2012-05-21  David S. Miller  <davem@davemloft.net>
62371         * Makefules (o-iterator): Remove .s cases.
62372         (compile-command.s): Delete.
62373         (COMPILE.s): Delete.
62374         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
62376 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
62378         * configure.in (libc_cv_predef_stack_protector): Only consider
62379         "foobar" and "__stack_chk_fail" lines in libc_undefs.
62380         * configure: Regenerated.
62382 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62384         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62385         New macro.  Use R*LP on int and pointer.
62386         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
62387         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62388         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
62389         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
62391         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62392         [__WORDSIZE_TIME64_COMPAT32] instead of
62393         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
62394         (struct utmp): Likewise.
62395         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
62396         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
62397         Renamed to ...
62398         (__WORDSIZE_TIME64_COMPAT32): This.
62399         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
62400         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
62401         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
62402         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
62403         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62404         (__WORDSIZE_TIME64_COMPAT32): New macro.
62406 2012-05-21  Andreas Jaeger  <aj@suse.de>
62408         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
62409         only if [SHARED]. Add prototype for __wcschr_ia32.
62411 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62413         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
62414         of %rbp unmolested in the jmp_buf while mangling the low bits.
62415         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
62416         unmolested high bits of %rbp while demangling the low bits.
62417         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62419 2012-05-21  Andreas Jaeger  <aj@suse.de>
62421         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
62422         * sunrpc/svc_simple.c: Use it for registerrpc.
62423         * sunrpc/xcrypt.c: Use it for passwd2des.
62425         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
62427 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62429         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
62430         Don't define if [__SYSCALL_WORDSIZE != 32].
62431         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
62432         New macro.
62434 2012-05-21  Bruno Haible  <bruno@clisp.org>
62435             Andreas Jaeger  <aj@suse.de>
62437         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
62438         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
62439         inptr and inend for must_buffer_ch.
62440         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
62441         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
62442         * stdio-common/Makefile (tests): Remove bug15.
62443         (bug15-ENV): Remove macro.
62444         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
62445         anymore.
62447 2012-05-19  Andreas Jaeger  <aj@suse.de>
62448             Roland McGrath  <roland@hack.frob.com>
62450         * manual/contrib.texi: Completely rewritten. It contains now an
62451         alphabetical list of contributors and their contributions.
62453 2012-05-21  Richard Henderson  <rth@twiddle.net>
62455         * misc/getauxval.c (__getauxval): Use unsigned long int.
62456         * misc/sys/auxv.h: Include <sys/cdefs.h>.
62457         (getauxval): Use unsigned long int.
62459 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62461         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62463 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62465         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
62466         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
62467         __alignof__ (long double).
62469 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62473 2012-05-20  Richard Henderson  <rth@twiddle.net>
62475         * misc/getauxval.c: New file.
62476         * misc/sys/auxv.h: New file.
62477         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
62478         (routines): Add getauxval.
62479         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
62480         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
62481         * elf/dl-sysdep.c (_dl_auxv): Remove.
62482         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
62483         * elf/dl-support.c (_dl_auxv): New variable.
62484         (_dl_aux_init): Initialize it.
62485         * manual/startup.texi (Auxiliary Vector): New node.
62486         * sysdeps/generic/bits/hwcap.h: New file.
62487         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
62488         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
62489         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
62490         * sysdeps/sparc/sysdep.h: ... here.  Include it.
62491         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
62492         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
62493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62494         Update.
62495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
62496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
62497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
62498         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
62499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62501         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
62502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
62504 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62508 2012-05-19  David S. Miller  <davem@davemloft.net>
62510         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62512 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62514         [BZ #14123]
62515         * math/s_ccosh.c: Include <float.h>
62516         (__ccosh): Avoid internal overflow calculating sinh and cosh
62517         values before multiplying by sin and cos values.
62518         * math/s_ccoshf.c: Likewise.
62519         * math/s_ccoshl.c: Likewise.
62520         * math/s_csin.c: Likewise.
62521         * math/s_csinf.c: Likewise.
62522         * math/s_csinl.c: Likewise.
62523         * math/s_csinh.c: Likewise.
62524         * math/s_csinhf.c: Likewise.
62525         * math/s_csinhl.c: Likewise.
62526         * math/libm-test.inc (ccos_test): Add more tests.
62527         (ccosh_test): Likewise.
62528         (csin_test): Likewise.
62529         (csinh_test): Likewise.
62530         * sysdeps/i386/fpu/libm-test-ulps: Update.
62531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62533 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
62535         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
62536         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
62538         * sysdeps/x86_64/x32/_itoa.h: Add comment.
62540 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62542         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
62543         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
62544         * sysdeps/powerpc/soft-fp/Versions: Likewise.
62545         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
62546         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
62547         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
62548         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
62549         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
62550         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
62551         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
62552         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
62553         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
62554         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
62555         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
62556         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
62557         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
62558         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
62559         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
62560         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
62561         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
62562         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
62563         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
62564         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
62565         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
62566         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
62567         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
62568         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
62569         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
62570         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
62571         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
62572         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
62574 2012-05-18  Andreas Jaeger  <aj@suse.de>
62576         * csu/.gitignore: Delete.
62578 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62580         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
62581         (timex): Use __syscall_slong_t.
62583 2012-05-18  Andreas Jaeger  <aj@suse.de>
62584             Carlos O'Donell  <carlos_odonell@mentor.com>
62586         * manual/install.texi (Configuring and compiling): Update
62587         description about files modified in the source directory.
62588         * INSTALL: Regenerated.
62590 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62592         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
62593         value.  Use "or" to set return value to -1.
62594         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
62595         negate return value.
62597 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62599         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
62600         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
62601         failure if the compiler has Graphite support disabled.
62602         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
62603         Likewise.
62604         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
62605         (CFLAGS-memmove.c): Likewise.
62606         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
62607         Likewise.
62609 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62611         * sysdeps/x86_64/x32/_itoa.h: New file.
62613         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
62614         getdents system call only if kernel and user dirents have the
62615         same d_ino and d_off.
62617         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62618         LLONG_MAX != LONG_MAX.
62619         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62620         (_fitoa_word): Likewise.
62622         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
62623         years.
62624         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
62625         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
62626         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
62628         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
62629         include <bits/wordsize.h>.  Check __x86_64__ instead of
62630         __WORDSIZE.
62631         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
62632         if __x86_64__ is defined.  Use anonymous union on fpstate.
62634         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
62635         anonymous union.
62637 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
62639         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
62640         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
62641         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
62642         Refer to _rtld_local_ro instead of _rtld_global_ro.
62643         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
62644         Likewise.
62645         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
62646         Likewise.
62647         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
62648         Likewise.
62649         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
62650         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
62651         of _rtld_global, and rtld_progname instead of _dl_argv[0].
62653         [BZ #10882]
62654         * sysdeps/powerpc/powerpc32/dl-machine.c
62655         (__elf_machine_runtime_setup) [PROF]: Don't reference
62656         _dl_prof_resolve.
62658 2012-05-18  Andreas Jaeger  <aj@suse.de>
62660         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
62661         function only available for GCCs before 3.4 since GCC 3.4
62662         introduced a builtin.
62663         (lrint): Likewise.
62664         (llrintf): Likewise.
62665         (llrint): Likewise.
62666         (fmaxf): Likewise.
62667         (fmax): Likewise.
62668         (fminf): Likewise.
62669         (fmin): Likewise.
62670         (rint): Likewise.
62671         (rintf): Likewise.
62672         (nearbyint): Likewise.
62673         (nearbyintf): Likewise.
62674         (ceil): Likewise.
62675         (ceilf): Likewise.
62676         (floor): Likewise.
62677         (floorf): Likewise.
62679 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62681         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
62682         on both fields and cast pointer to __syscall_ulong_t.
62684         * bits/types.h (__fsword_t): New type.
62685         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
62686         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
62687         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62688         (__FSWORD_T_TYPE): Likewise.
62689         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62690         (__FSWORD_T_TYPE): Likewise.
62691         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62692         (__FSWORD_T_TYPE): Likewise.
62693         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
62694         (__FSWORD_T_TYPE): Likewise.
62695         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
62696         __SWORD_TYPE with __fsword_t.
62697         (statfs64): Likewise.
62699 2012-05-17  David S. Miller  <davem@davemloft.net>
62701         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
62703 2012-05-17  Andreas Jaeger  <aj@suse.de>
62705         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
62706         warning.
62708 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62710         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
62712 2012-05-17  Andreas Jaeger  <aj@suse.de>
62714         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
62715         when it is used.
62717 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62719         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
62721 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62723         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
62724         * sysdeps/x86_64/tst-mallocalign1.c: New file.
62726 2012-05-17  Andreas Jaeger  <aj@suse.de>
62727             Carlos O'Donell  <carlos_odonell@mentor.com>
62729         [BZ #14059]
62730         * sysdeps/x86_64/multiarch/init-arch.h
62731         (bit_YMM_Usable): Rename to...
62732         (bit_AVX_Usable): ... this.
62733         (bit_FMA4_Usable): New macro.
62734         (bit_XMM_state): New macro.
62735         (bit_YMM_state): New macro.
62736         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
62737         [__ASSEMBLER__] (index_AVX_Usable): ... this.
62738         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
62739         (CPUID_OSXSAVE): New macro.
62740         (CPUID_AVX): New macro.
62741         (CPUID_FMA4): New macro.
62742         (index_YMM_Usable): Rename to...
62743         (index_AVX_Usable): ... this.
62744         (HAS_AVX): Use HAS_ARCH_FEATURE.
62745         (HAS_FMA4): Likewise.
62746         (HAS_YMM_USABLE): Remove.
62747         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62748         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
62749         are present.
62750         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
62751         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
62752         * sysdeps/x86_64/multiarch/Makefile: Likewise.
62753         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
62754         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
62756 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62758         * math/libm-test.c: Support platforms without multiple rounding modes.
62759         * math/bug-nextafter.c: Support platforms without FP exceptions.
62760         * math/bug-nexttoward.c: Likewise.
62761         * math/test-fenv.c: Likewise.
62762         * math/test-misc.c: Likewise.
62763         * stdlib/bug-getcontext.c: Likewise.
62765 2012-05-17  Andreas Jaeger  <aj@suse.de>
62767         * manual/examples/search.c (critter_cmp): Change signature to
62768         avoid warnings.
62769         * manual/string.texi (Collation Functions): Likewise.
62771 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62773         * bits/types.h: Fold copyright years.
62774         * bits/typesizes.h: Likewise.
62775         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
62776         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
62777         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
62778         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
62779         * time/time.h: Likewise.
62781 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
62783         [BZ #208]
62784         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
62785         in instead of returning them.  Return void.
62786         (__libc_mallinfo): Accumulate over all arenas.
62787         (__malloc_stats): Adjust for change in int_mallinfo interface.
62789 2012-05-16  Roland McGrath  <roland@hack.frob.com>
62791         [BZ #10375]
62792         * configure.in (NM): Add AC_CHECK_TOOL for it.
62793         (libc_extra_cflags): New substituted variable.
62794         Check for -fstack-protector being used implicitly.
62795         * configure: Regenerated.
62796         * config.make.in (config-extra-cflags): New variable,
62797         gets @libc_extra_cflags@.
62798         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
62800         [BZ #10375]
62801         * configure.in: Check for _FORTIFY_SOURCE being predefined.
62802         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
62803         * configure: Regenerated.
62804         * config.make.in (CPPUNDEFS): New substituted variable.
62805         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
62806         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
62807         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
62809 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62811         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
62812         (mq_attr): Use __syscall_slong_t.
62814 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62816         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
62817         Check __x86_64__ instead of __WORDSIZE.
62818         (_STAT_VER_LINUX): Likewise.
62819         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
62820         __syscall_ulong_t and __syscall_slong_t.
62821         (stat64): Likewise.
62823 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62825         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
62827 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62829         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
62831 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62833         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
62834         __syscall_ulong_t.
62836         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
62837         include <bits/wordsize.h>.  Check __x86_64__ instead of
62838         __WORDSIZE.
62839         (greg_t): Use "__extension__ long long int" if __x86_64__ is
62840         defined.
62841         (mcontext_t): Replace "unsigned long" with "unsigned long long".
62843         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
62844         include <bits/wordsize.h>.  Check __x86_64__ instead of
62845         __WORDSIZE.
62846         (user_regs_struct): Use "__extension__ unsigned long long"
62847         instead of "unsigned long" if __x86_64__ is defined.
62848         (user): Likewise.  Pad after pointer field if __ILP32__ is
62849         defined.
62851 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
62853         * configure.in (makeinfo): Require version 4.5 or later.  Allow
62854         versions 5 to 9.
62855         * configure: Regenerated.
62856         * manual/install.texi (texinfo): Increase version requirement to
62857         4.5 or later.
62858         * INSTALL: Regenerated.
62860         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
62862 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62864         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
62866         * sysdeps/x86_64/x32/ffs.c: New file.
62868         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
62869         __syscall_ulong_t.
62870         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
62871         defined.  Use __syscall_ulong_t.
62872         (shminfo): Use __syscall_ulong_t.
62873         (shm_info): Likewise.
62875         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
62876         __syscall_ulong_t.
62878         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
62879         <bits/wordsize.h>.
62880         (msgqnum_t): Use __syscall_ulong_t.
62881         (msglen_t): Likewise.
62882         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
62883         __syscall_ulong_t.
62885         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
62886         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62888         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
62890         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
62891         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
62893         * sysvipc/sys/msg.h (msgbuf): Replace long int with
62894         __syscall_slong_t.
62896         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
62897         include <bits/wordsize.h>.  Check __x86_64__ instead of
62898         __WORDSIZE.
62900         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
62901         "unsigned long long int" if __x86_64__ is defined.
62902         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
62904         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
62905         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62906         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
62908         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
62909         <stdint.h>.
62910         (GET_PC): Cast to uintptr_t first.
62911         (GET_FRAME): Likewise.
62912         (GET_STACK): Likewise.
62914         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
62915         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
62916         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
62917         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
62918         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
62919         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
62920         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
62921         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
62922         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
62923         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
62924         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
62925         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
62926         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62927         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
62928         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
62929         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
62930         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
62931         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
62932         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
62933         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
62934         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
62935         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
62936         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
62937         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
62938         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
62939         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
62940         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
62941         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
62942         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
62944 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
62946         * Makerules (+depfiles): Also collect depfiles from .oS in
62947         $(extra-objs).
62948         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
62949         .oS, $(libnldbl-routines)).
62951         * Makerules (native-compile-mkdep-flags): Define.
62952         * sunrpc/Makefile (extra-objs): Add $(addprefix
62953         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
62954         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
62955         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
62956         calling $(make-target-directory).
62958 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62960         * bits/types.h (__snseconds_t): Removed.
62961         * time/time.h (struct timespec): Replace __snseconds_t with
62962         __syscall_slong_t.
62963         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
62964         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
62965         Likewise.
62966         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62967         (__SNSECONDS_T_TYPE): Likewise.
62968         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62969         (__SNSECONDS_T_TYPE): Likewise.
62970         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62971         (__SNSECONDS_T_TYPE): Likewise.
62973 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62975         * sysdeps/mach/hurd/bits/typesizes.h
62976         (__SYSCALL_SLONG_TYPE): New macro.
62977         (__SYSCALL_ULONG_TYPE): Likewise.
62979 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62981         * bits/types.h (__syscall_slong_t): New type.
62982         (__syscall_ulong_t): Likewise.
62984         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
62985         (__SYSCALL_ULONG_TYPE): Likewise.
62986         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62987         (__SYSCALL_SLONG_TYPE): Likewise.
62988         (__SYSCALL_ULONG_TYPE): Likewise.
62989         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62990         (__SYSCALL_SLONG_TYPE): Likewise.
62991         (__SYSCALL_ULONG_TYPE): Likewise.
62992         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62993         (__SYSCALL_SLONG_TYPE): Likewise.
62994         (__SYSCALL_ULONG_TYPE): Likewise.
62996 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62998         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
62999         Add sigaltstack-offsets.sym.
63000         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
63001         <sigaltstack-offsets.h>.
63002         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
63003         longjmp_msg pointer.
63004         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
63005         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
63006         signal stack.
63007         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
63009 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63011         * elf/stackguard-macros.h: Remove file.
63012         * sysdeps/generic/stackguard-macros.h: New file.
63013         * sysdeps/i386/stackguard-macros.h: Likewise.
63014         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63015         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63016         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63017         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63018         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63019         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63020         * sysdeps/x86_64/stackguard-macros.h: Likewise.
63021         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
63022         <elf/stackguard-macros.h>.
63024         [BZ #14109]
63025         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
63026         __aligned__ in attribute.
63027         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
63028         (gregset_t): Likewise.
63030 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63032         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
63033         * sysdeps/x86_64/64/Implies-after: Here.  New file.
63034         * sysdeps/x86_64/x32/Implies-after: New file.
63036 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63038         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
63039         and access return value for _dl_profile_fixup.  Use R10_LP to
63040         load frame size.
63042 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63044         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
63046 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63048         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
63049         * sysdeps/x86_64/x32/sysdep.h: New file.
63051 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63053         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
63054         * sysdeps/x86_64/setjmp.S: Likewise.
63056 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63058         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
63059         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
63060         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
63061         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
63062         remove unused global constant.
63064 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
63066         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
63067         include of <not-cancel.h>.
63069 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63071         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
63073 2012-05-15  Jeff Law  <law@redhat.com>
63074             Andreas Jaeger  <aj@suse.de>
63076         [BZ #13594]
63077         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
63078         out from...
63079         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
63080         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
63081         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
63082         code changing __hst_map_handle.map.
63084 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63086         * configure.in (sysnames): Look for Implies-before and Implies-after
63087         files.
63088         * configure: Regenerated.
63090 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63092         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
63093         8-byte data alignment with LP_SIZE alignment.
63095 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63097         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63098         into R10_LP.
63100 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63102         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
63104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63106         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
63107         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
63108         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
63109         Likewise.
63110         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63112 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63114         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
63115         (stackinfo_sub_sp): Likewise.
63117 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63119         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
63120         RAX_LP.
63122 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63124         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
63125         into R*_LP.
63127 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63129         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
63130         sizes into R*_LP.
63132 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63134         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
63136 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63138         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
63139         into R11_LP and load __x86_64_shared_cache_size_half into
63140         R8_LP.
63142 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63144         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
63145         R8_LP.
63147 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63149         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63150         logb for POWER7.
63151         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63152         logbf for POWER7.
63153         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63154         logbl for POWER7.
63155         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63156         powerpc32/power7/fpu/s_logb.c via #include.
63157         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63158         powerpc32/power7/fpu/s_logbf.c via #include.
63159         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63160         powerpc32/power7/fpu/s_logbl.c via #include.
63162 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63164         * README.libm: Remove file.
63166 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63168         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63169         count for x32.  Use R*_LP and omit operand-size suffix.
63171 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63173         * shlib-versions: Move x86_64-.*-linux.* entries to ...
63174         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
63175         * sysdeps/x86_64/x32/shlib-versions: New file.
63177 2012-05-14  Roland McGrath  <roland@hack.frob.com>
63179         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63180         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63181         Use _dl_fatal_printf instead.
63183 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63185         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
63186         set if not set by the user.  Do not allow for being unset.
63187         * sysdeps/unix/sysv/linux/configure: Regenerated.
63189 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63191         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
63192         the `q' suffix from lea and replace .quad with ASM_ADDR.
63194 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63196         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
63197         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
63198         instead of $17.
63199         (PTR_DEMANGLE): Likewise.
63201 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63203         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
63204         (LP_OP): Likewise.
63205         (ASM_ADDR): Likewise.
63206         (RAX_LP): Likewise.
63207         (RBP_LP): Likewise.
63208         (RBX_LP): Likewise.
63209         (RCX_LP): Likewise.
63210         (RDI_LP): Likewise.
63211         (RSI_LP): Likewise.
63212         (RSP_LP): Likewise.
63213         (R8_LP): Likewise.
63214         (R9_LP): Likewise.
63215         (R10_LP): Likewise.
63216         (R10_LP): Likewise.
63217         (R11_LP): Likewise.
63218         (R12_LP): Likewise.
63219         (R13_LP): Likewise.
63220         (R14_LP): Likewise.
63221         (R15_LP): Likewise.
63223 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63225         * sysdeps/x86_64/x32/dl-machine.h: New file.
63227 2012-05-14  Andreas Jaeger  <aj@suse.de>
63229         * manual/Makefile (subdir): Remove export of subdir.
63230         (all): Remove target.
63231         (.PHONY): Remove all from list.
63232         (mkinstalldirs): Remove.
63233         (.PHONY): Remove installdirs from list.
63234         ($(inst_infodir)/libc.info): Use make-target-directory.
63235         (installdirs): Remove.
63236         (subdir_%): Remove.
63237         (glibc-targets): Remove.
63238         (lib): Remove.
63239         (stubs): Remove.
63240         ($(objpfx)stubs ../po/manual.pot): Remove.
63241         ($(objpfx)stamp%): Remove.
63242         (make-target-directory): Remove.
63243         (subdir_install): Remove.
63244         (routines): Remove.
63245         (aux): Remove.
63246         (sources): Remove.
63247         (objects): Remove.
63248         (headers): Remove.
63250         [BZ #13750]
63251         * manual/.gitignore: Remove, it's not needed anymore.
63252         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
63253         all files in it.
63254         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
63255         directory.
63256         (texis): Renamed to $(objpfx)texis.
63257         (texis-path): New, contains path to generated files.
63258         (chapters.%): Use texis-path for complete path, add extra argument
63259         libc-texinfo.sh.
63260         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63261         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63262         (summary,texi, stamp-summary): Use complete path of
63263         files. Generate files in build dir.
63264         (dir-add.texi): Build in build dir.
63265         (libm-err.texi,stamp-libm-err): Likewise.
63266         (version.texi, stamp-version): Likewise.
63267         (.%c.texi): Likewise.
63268         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63269         (mostlyclean): Remove target.
63270         (realclean): Remove target.
63271         (generated): Add new variable with contents from mostlyclean and
63272         realclean, remove entries duplicated in common-mostlyclean, add
63273         stamp-libm-err and stamp-version.
63274         (generated-dirs): Add libc directory.
63275         ($(inst_infodir)/libc.info): Install files from build dir.
63277         * manual/install.texi (Configuring and compiling): Adjust since
63278         the info files are not part of the tar ball anymore.
63280 2012-05-14  Andreas Jaeger  <aj@suse.de>
63282         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63283         variable.
63285 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63287         [BZ #13717]
63288         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63289         to 2.2.0 where earlier.
63290         * sysdeps/unix/sysv/linux/configure: Regenerated.
63291         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63292         Remove conditional code.
63293         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63294         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63295         Remove conditional code.
63296         [!__NR_lchown]: Likewise.
63297         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63298         [__NR_lchown]: Likewise.
63299         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63300         comment referencing __ASSUME_LCHOWN_SYSCALL.
63301         * sysdeps/unix/sysv/linux/i386/sigaction.c
63302         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63303         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63304         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63305         Remove conditional code.
63306         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63307         (__protocol_available): Remove #if 0 code.
63308         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63309         conditional code.
63310         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63311         * sysdeps/unix/sysv/linux/kernel-features.h
63312         (__ASSUME_GETCWD_SYSCALL): Don't define.
63313         (__ASSUME_REALTIME_SIGNALS): Likewise.
63314         (__ASSUME_PREAD_SYSCALL): Likewise.
63315         (__ASSUME_PWRITE_SYSCALL): Likewise.
63316         (__ASSUME_POLL_SYSCALL): Likewise.
63317         (__ASSUME_LCHOWN_SYSCALL): Likewise.
63318         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63319         non-SPARC.
63320         (__ASSUME_SIOCGIFNAME): Don't define.
63321         (__ASSUME_MSG_NOSIGNAL): Likewise.
63322         (__ASSUME_SENDFILE): Define unconditionally.
63323         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63324         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63325         conditional code.
63326         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63327         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63328         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63329         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63330         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63331         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63332         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63334         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63335         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63337         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63338         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
63340         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63341         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
63343         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63344         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
63346         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63347         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
63349         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63350         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
63352         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63353         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
63355         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63356         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63357         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
63358         Remove conditional code.
63359         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63360         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63361         Remove conditional code.
63362         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63363         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
63364         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
63365         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63366         Remove conditional code.
63367         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63368         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
63369         Remove conditional code.
63370         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63371         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
63372         Remove conditional code.
63373         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63374         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63375         Remove conditional code.
63376         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63377         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63378         Remove conditional code.
63379         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63380         * sysdeps/unix/sysv/linux/sh/pwrite64.c
63381         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63382         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63383         * sysdeps/unix/sysv/linux/sigaction.c
63384         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63385         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63386         * sysdeps/unix/sysv/linux/sigpending.c
63387         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63388         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63389         * sysdeps/unix/sysv/linux/sigprocmask.c
63390         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63391         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63392         * sysdeps/unix/sysv/linux/sigsuspend.c
63393         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63394         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63395         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63396         (__libc_missing_rt_sigs): Remove.
63397         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
63398         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
63399         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
63400         Remove conditional code.
63401         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
63402         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
63403         return 1.
63404         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
63405         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
63406         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
63407         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
63409 2012-05-14  Andreas Jaeger  <aj@suse.de>
63411         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
63412         it's not used in glibc.
63413         (__coshm1): Likewise.
63414         (__acosh1p): Likewise.
63415         (__sgn): Likewise.
63417         * manual/string.texi (Copying and Concatenation): Add missing
63418         variable in concat example.
63419         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
63421 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63423         [BZ #14103]
63424         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
63425         __builtin_clzl with __builtin_clzll.
63427 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63429         [BZ #14104]
63430         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
63431         libc_freeres_ptr.
63433 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63435         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
63436         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
63437         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
63438         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
63440 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
63442         * NEWS: Update ia64 info.
63444 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
63446         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
63447         used as bcopy.
63449 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
63451         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
63452         * sysdeps/unix/syscalls.list (dup3): Likewise.
63453         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
63454         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
63456 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63458         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
63459         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
63461 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63463         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
63464         thread pointer.
63465         (TLS_IE): Use mov/add instead of movq/addq to load thread
63466         pointer.
63467         (TLS_GD_PREFIX): New.
63468         (TLS_GD): Use it.
63470 2012-05-11  David S. Miller  <davem@davemloft.net>
63472         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
63473         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
63474         (_FPU_SETCW): Likewise.
63476 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63478         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
63479         is 32-byte aligned.
63481 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
63483         [BZ #11837]
63484         * iconvdata/gb18030.c: Update tables.
63485         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
63486         characters specially.
63487         (BODY for TO_LOOP): Add encoding of missing ranges.
63489 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
63491         [BZ #13673]
63492         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
63493         * sysdeps/mach/hurd/dup3.c: Likewise.
63494         * sysdeps/mach/hurd/readlinkat.c: Likewise.
63495         * sysdeps/powerpc/memmove.c:: Likewise.
63497 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63499         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
63500         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
63502 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63504         * elf/elf.h (R_X86_64_RELATIVE64): New.
63505         (R_X86_64_NUM): Updated.
63506         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63507         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
63508         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
63509         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
63510         tst-quad1pie tst-quad2pie
63511         (modules-names): Add tst-quadmod1 tst-quadmod2.
63512         ($(objpfx)tst-quad1): New dependency.
63513         ($(objpfx)tst-quad2): Likewise.
63514         ($(objpfx)tst-quad1pie): Likewise.
63515         ($(objpfx)tst-quad2pie): Likewise.
63516         * sysdeps/x86_64/tst-quad1.c: New file.
63517         * sysdeps/x86_64/tst-quad1pie.c: New file.
63518         * sysdeps/x86_64/tst-quad2.c: Likewise.
63519         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
63520         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
63521         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
63522         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
63523         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
63525 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63527         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
63528         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
63529         * streams/stropts.h (t_scalar_t): Define type.
63531         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
63532         (_PATH_PRESERVE): Set to "/var/lib".
63533         (_PATH_RWHODIR): Set to "/var/spool/rwho".
63535         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
63536         instead of int.
63538         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
63539         if __dir_mkfile succeeded.
63541         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
63542         checking for _hurd_dtablesize.  Unlock it right after having
63543         finished _hurd_dtable allocation.
63545 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63547         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
63548         * sysdeps/mach/hurd/configure: Regenerated.
63549         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
63550         special-casing to...
63551         * sysdeps/gnu/configure.in: ... this new file.
63552         * sysdeps/unix/sysv/linux/configure: Regenerated.
63553         * sysdeps/gnu/configure: New generated file.
63555         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
63556         for Linux: use nsec instead of usec, as well as:
63557         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
63558         members of type struct timespec.
63559         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
63560         New macros.
63561         (struct stat64): Likewise.
63562         (_STATBUF_ST_NSEC): New macro.
63563         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
63565         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63566         __strtoul_internal rather than strtoul.
63568 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63570         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
63571         and reject them.
63573 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63575         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
63576         which preserves existing values.
63577         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
63579 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63581         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
63582         TIMEOUT values.  Return EINVAL for NFDS values either negative or
63583         greater than FD_SETSIZE.
63585 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63587         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
63588         allocated, call __vm_protect to finish enabling the existing space, and
63589         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
63590         allocate the remainder.
63592 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63594         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
63595         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
63597 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63599         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
63600         sysdeps/mach/hurd/readlink.c.
63602         * posix/tst-sysconf.c (posix_options): Only use
63603         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
63604         _POSIX_SYNCHRONIZED_IO when they are defined
63605         * sysdeps/mach/hurd/bits/posix_opt.h:
63606         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
63607         (_XOPEN_REALTIME): Undefine macro.
63608         (_XOPEN_REALTIME_THREADS): Undefine macro.
63609         (_XOPEN_SHM): Undefine macro.
63610         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
63611         macro to -1.
63612         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
63613         macro to -1.
63614         (_POSIX_ASYNC_IO): Undefine macro.
63615         (_POSIX_PRIORITIZED_IO): Undefine macro.
63616         (_POSIX_SPIN_LOCKS): Define macro to -1.
63618         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
63619         SA_NODEFER, SA_RESETHAND.
63620         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
63621         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
63622         F_DUPFD_CLOEXEC.
63624 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63626         * elf/Makefile (pldd-modules): Define unconditionally.
63628 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63630         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
63632 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63634         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
63635         Return ENOENT when name is empty.
63636         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
63638 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63640         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
63642         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
63644 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63646         Fix mlock in all cases except non-readable pages.
63647         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
63648         instead of VM_PROT_ALL as parameter to __vm_wire function.
63650         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
63651         (__mkdir): When path is `/', just fail with EEXIST.
63652         * sysdeps/mach/hurd/mkdirat.c: Likewise.
63654 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63656         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
63657         <sys/uio.h> (for writev).
63658         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
63659         and <sys/param.h> (for MIN).
63661 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63663         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
63664         REQUESTED_TIME.  Properly set the remaining time and return EINTR
63665         if interrupted.
63667 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63669         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
63670         Depend on against $(link-rpcuserlibs).
63672 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63674         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
63675         (__libc_stack_end): Do not use attribute_relro.
63676         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
63677         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
63678         to libthread-provided value.
63679         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
63680         attribute_relro.
63682 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63684         [BZ #3748]
63685         * bits/libc-lock.h (__libc_once_get): New macro.
63686         * sysdeps/mach/bits/libc-lock.h: Likewise.
63687         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
63688         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
63689         instead of using implementation details.
63691         * libio/fileops.c: Unconditionally include <kernel-features.h>.
63692         * libio/freopen.c: Likewise.
63693         * libio/freopen64.c: Likewise.
63694         * misc/syslog.c: Likewise.
63695         * nscd/connections.c: Likewise.
63696         * nscd/netgroupcache.c: Likewise.
63697         * sysdeps/posix/getcwd.c: Likewise.
63699 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63701         * math/w_ilogbf.c: Add #include <limits.h>.
63703 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63705         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
63706         path instead of returning without unlocking.
63708         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
63709         immediate-write ioctls.
63710         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
63712 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63714         * sysdeps/mach/hurd/i386/init-first.c (init): Use
63715         __builtin_frame_address instead of making assumptions about the
63716         location of the return address relative to DATA.  Force early load of
63717         the return address.
63718         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
63719         __builtin_frame_address.
63721         dup3 for GNU Hurd.
63722         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
63723         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
63724         implement dup3 and do some further code clean-ups.
63725         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
63726         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
63728 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63730         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
63732         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
63733         HURD_CRITICAL_END around holding _hurd_dtable_lock.
63734         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
63735         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
63736         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
63737         d->port.lock.
63739         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
63740         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
63741         when handler == SIG_ERR, not when handler != SIG_ERR.
63743 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63745         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
63746         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
63747         definitions.
63749         accept4 for GNU Hurd.
63750         * include/sys/socket.h (__libc_accept4): New prototype.
63751         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
63752         to implement __libc_accept4.
63753         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
63754         __libc_accept4.
63755         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
63757         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
63758         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
63759         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
63760         signal-defines.sym.
63762 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63764         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
63766 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63768         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
63769         assertion on O_CLOEXEC flag.
63770         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
63771         * hurd/intern-fd.c: Likewise.
63772         * hurd/port2fd.c: Likewise.
63774 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63776         [BZ #3906]
63777         * bits/in.h (IPV6_PKTINFO): Define new macro.
63778         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
63780 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63782         [BZ #13954]
63783         [BZ #13955]
63784         [BZ #13956]
63785         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
63786         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63787         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
63788         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63789         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63790         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63791         * math/libm-test.inc (logb_test) : Additional logb tests.
63793 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
63794             Andreas Jaeger  <aj@suse.de>
63796         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
63797         * configure: Regenerated.
63798         * config.h.in (LINK_OBSOLETE_RPC): New macro.
63799         * config.make.in (link-obsolete-rpc): New substituted variable.
63800         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
63801         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
63802         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63803         (shared-only-routines): Don't set it under [link-obsolete-rpc],
63804         so that libc.a contains the symbols.
63805         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63806         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
63807         * sunrpc/auth_none.c: Likewise.
63808         * sunrpc/auth_unix.c: Likewise.
63809         * sunrpc/authdes_prot.c: Likewise.
63810         * sunrpc/authuxprot.c: Likewise.
63811         * sunrpc/clnt_gen.c: Likewise.
63812         * sunrpc/clnt_perr.c: Likewise.
63813         * sunrpc/clnt_raw.c: Likewise.
63814         * sunrpc/clnt_simp.c: Likewise.
63815         * sunrpc/clnt_tcp.c: Likewise.
63816         * sunrpc/clnt_udp.c: Likewise.
63817         * sunrpc/clnt_unix.c: Likewise.
63818         * sunrpc/des_crypt.c: Likewise.
63819         * sunrpc/des_soft.c: Likewise.
63820         * sunrpc/get_myaddr.c: Likewise.
63821         * sunrpc/key_call.c: Likewise.
63822         * sunrpc/key_prot.c: Likewise.
63823         * sunrpc/netname.c: Likewise.
63824         * sunrpc/pm_getmaps.c: Likewise.
63825         * sunrpc/pm_getport.c: Likewise.
63826         * sunrpc/pmap_clnt.c: Likewise.
63827         * sunrpc/pmap_prot.c: Likewise.
63828         * sunrpc/pmap_prot2.c: Likewise.
63829         * sunrpc/pmap_rmt.c: Likewise.
63830         * sunrpc/publickey.c: Likewise.
63831         * sunrpc/rpc_cmsg.c: Likewise.
63832         * sunrpc/rpc_common.c: Likewise.
63833         * sunrpc/rpc_dtable.c: Likewise.
63834         * sunrpc/rpc_prot.c: Likewise.
63835         * sunrpc/rpc_thread.c: Likewise.
63836         * sunrpc/rtime.c: Likewise.
63837         * sunrpc/svc.c: Likewise.
63838         * sunrpc/svc_auth.c: Likewise.
63839         * sunrpc/svc_raw.c: Likewise.
63840         * sunrpc/svc_run.c: Likewise.
63841         * sunrpc/svc_tcp.c: Likewise.
63842         * sunrpc/svc_udp.c: Likewise.
63843         * sunrpc/svc_unix.c: Likewise.
63844         * sunrpc/svcauth_des.c: Likewise.
63845         * sunrpc/xcrypt.c: Likewise.
63846         * sunrpc/xdr.c: Likewise.
63847         * sunrpc/xdr_array.c: Likewise.
63848         * sunrpc/xdr_float.c: Likewise.
63849         * sunrpc/xdr_intXX_t.c: Likewise.
63850         * sunrpc/xdr_mem.c: Likewise.
63851         * sunrpc/xdr_rec.c: Likewise.
63852         * sunrpc/xdr_ref.c: Likewise.
63853         * sunrpc/xdr_sizeof.c: Likewise.
63854         * sunrpc/xdr_stdio.c: Likewise.
63856 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63858         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
63859         change.  Update copyright years.
63861 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63863         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
63865 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
63866             Joseph Myers  <joseph@codesourcery.com>
63867             Paul Pluzhnikov  <ppluzhnikov@google.com>
63869         [BZ #14012]
63870         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
63871         requiring rpcgen.
63872         [cross-compiling] (extra-libs): Likewise.
63873         [cross-compiling] (extra-libs-others): Likewise.
63874         [cross-compiling] (librpcsvc-routines): Likewise.
63875         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
63876         [cross-compiling] (omit-deps): Likewise.
63877         (sunrpc-CPPFLAGS): New variable.
63878         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
63879         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
63880         (cross-rpcgen-objs): New variable.
63881         (extra-objs): Append $(cross-rpcgen-objs).
63882         ($(cross-rpcgen-objs)): New rule.
63883         ($(objpfx)cross-rpcgen): Likewise.
63884         (rpcgen-cmd): Define to use $(built-program-file).  Expand
63885         comment.
63886         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
63887         ($(objpfx)x%.stmp): Likewise.
63888         * sunrpc/proto.h [IS_IN_build] (_): Define.
63889         [IS_IN_build] (_libc_intl_domainname): Likewise.
63891 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63893         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
63894         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
63895         and R_X86_64_TPOFF64.
63897 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63899         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
63900         sysdeps/unix/sysv/syscalls.list.
63901         (stime): Likewise.
63902         (utime): Likewise.
63903         * sysdeps/unix/sysv/syscalls.list: Remove file.
63905 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
63907         [BZ #3440]
63908         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
63909         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
63910         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
63911         (__LC_IDENTIFICATION): Make these macros useful in #if
63912         expressions, as required by C99.
63914 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
63916         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
63917         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
63918         after this.
63920 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
63922         * stdlib/longlong.h: Updated from GCC.
63924 2012-05-09  Andreas Jaeger  <aj@suse.de>
63926         * nscd/nscd.c (run_modes): Make named enum, reorder so that
63927         default is first entry.
63928         (run_mode): Set type.
63929         (main): Remove informal message about syslog.
63930         (options): Fix typo.
63932         [BZ #14053]
63933         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
63934         to asm.
63935         (lrint): Likewise.
63936         (llrintf): Likewise.
63937         (llrint): Likewise.
63938         (rint): Likewise.
63939         (rintf): Likewise.
63940         (nearbyint): Likewise.
63941         (nearbyintf): Likewise.
63943 2012-05-09  Andreas Jaeger  <aj@suse.de>
63944             Pedro Alves  <palves@redhat.com>
63946         * nscd/nscd.c (run_mode): Use enum.
63947         (main): Cleanup coding style issue.
63949 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
63950             Andreas Jaeger  <aj@suse.de>
63952         * nscd/nscd.c (go_background): Replaced with...
63953         (run_mode): ... this.
63954         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
63955         (options): Add -F --foreground.
63956         (main): Implement it.
63957         (parse_opt): Parse it.
63959 2012-05-09  Andreas Jaeger  <aj@suse.de>
63961         [BZ #14083]
63962         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
63963         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
63964         -Wconversion warning.
63965         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
63966         Likewise.
63968 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
63970         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
63971         == 0.
63972         (LC_ALL): Use macro-int-constant.
63973         (LC_COLLATE): Likewise.
63974         (LC_CTYPE): Likewise.
63975         (LC_MESSAGES): Likewise.
63976         (LC_MONETARY): Likewise.
63977         (LC_NUMERIC): Likewise.
63978         (LC_TIME): Likewise.
63979         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
63980         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63981         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63982         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
63983         Specify type.
63984         [C99-based standards] (float_t): Expect type.
63985         [C99-based standards] (double_t): Expect type.
63986         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
63987         type.
63988         [C99-based standards] (HUGE_VALL): Likewise.
63989         [C99-based standards] (INFINITY): Likewise.
63990         [C99-based standards] (NAN): Likewise.
63991         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
63992         [C99-based standards] (FP_NAN): Likewise.
63993         [C99-based standards] (FP_NORMAL): Likewise.
63994         [C99-based standards] (FP_SUBNORMAL): Likewise.
63995         [C99-based standards] (FP_ZERO): Likewise.
63996         [C99-based standards] (FP_FAST_FMA): Use
63997         optional-macro-int-constant.  Specify type.  Require == 1.
63998         [C99-based standards] (FP_FAST_FMAF): Likewise.
63999         [C99-based standards] (FP_FAST_FMAL): Likewise.
64000         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
64001         [C99-based standards] (FP_ILOGBNAN): Likewise.
64002         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
64003         Specify type.
64004         [C99-based standards] (MATH_ERREXCEPT): Likewise.
64005         [C99-based standards] (math_errhandling): Specify type.
64006         [ISO99 || ISO11] (signgam): Do not allow.
64007         [non-C99-based standards] (copysignf): Do not allow.
64008         [non-C99-based standards] (exp2f): Likewise.
64009         [non-C99-based standards] (log2f): Likewise.
64010         [non-C99-based standards] (modff): Allow.
64011         [non-C99-based standards] (erff): Do not allow.
64012         [non-C99-based standards] (erfcf): Likewise.
64013         [non-C99-based standards] (gammaf): Likewise.
64014         [non-C99-based standards] (hypotf): Likewise.
64015         [non-C99-based standards] (j0f): Likewise.
64016         [non-C99-based standards] (j1f): Likewise.
64017         [non-C99-based standards] (jnf): Likewise.
64018         [non-C99-based standards] (lgammaf): Likewise.
64019         [non-C99-based standards] (tgammaf): Likewise.
64020         [non-C99-based standards] (y0f): Likewise.
64021         [non-C99-based standards] (y1f): Likewise.
64022         [non-C99-based standards] (ynf): Likewise.
64023         [non-C99-based standards] (isnanf): Likewise.
64024         [non-C99-based standards] (acoshf): Likewise.
64025         [non-C99-based standards] (asinhf): Likewise.
64026         [non-C99-based standards] (atanhf): Likewise.
64027         [non-C99-based standards] (cbrtf): Likewise.
64028         [non-C99-based standards] (expm1f): Likewise.
64029         [non-C99-based standards] (ilogbf): Likewise.
64030         [non-C99-based standards] (log1pf): Likewise.
64031         [non-C99-based standards] (logbf): Likewise.
64032         [non-C99-based standards] (nextafterf): Likewise.
64033         [non-C99-based standards] (remainderf): Likewise.
64034         [non-C99-based standards] (rintf): Likewise.
64035         [non-C99-based standards] (scalbf): Likewise.
64036         [non-C99-based standards] (copysignl): Likewise.
64037         [non-C99-based standards] (exp2l): Likewise.
64038         [non-C99-based standards] (log2l): Likewise.
64039         [non-C99-based standards] (modfl): Allow.
64040         [non-C99-based standards] (erfl): Do not allow.
64041         [non-C99-based standards] (erfcl): Likewise.
64042         [non-C99-based standards] (gammal): Likewise.
64043         [non-C99-based standards] (hypotl): Likewise.
64044         [non-C99-based standards] (j0l): Likewise.
64045         [non-C99-based standards] (j1l): Likewise.
64046         [non-C99-based standards] (jnl): Likewise.
64047         [non-C99-based standards] (lgammal): Likewise.
64048         [non-C99-based standards] (tgammal): Likewise.
64049         [non-C99-based standards] (y0l): Likewise.
64050         [non-C99-based standards] (y1l): Likewise.
64051         [non-C99-based standards] (ynl): Likewise.
64052         [non-C99-based standards] (isnanl): Likewise.
64053         [non-C99-based standards] (acoshl): Likewise.
64054         [non-C99-based standards] (asinhl): Likewise.
64055         [non-C99-based standards] (atanhl): Likewise.
64056         [non-C99-based standards] (cbrtl): Likewise.
64057         [non-C99-based standards] (expm1l): Likewise.
64058         [non-C99-based standards] (ilogbl): Likewise.
64059         [non-C99-based standards] (log1pl): Likewise.
64060         [non-C99-based standards] (logbl): Likewise.
64061         [non-C99-based standards] (nextafterl): Likewise.
64062         [non-C99-based standards] (remainderl): Likewise.
64063         [non-C99-based standards] (rintl): Likewise.
64064         [non-C99-based standards] (scalbl): Likewise.
64065         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64066         [non-C99-based standards] (FP_*): Do not allow.
64067         [C99-based standards] (FP_*): Change to
64068         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64069         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64070         allow.
64071         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
64072         (SIG_ERR): Likewise.
64073         [X/Open-based standards] (SIG_HOLD): Likewise.
64074         (SIG_IGN): Likewise.
64075         (SIGABRT): Use macro-int-constant.  Specify type.  Require
64076         positive value.
64077         (SIGFPE): Likewise.
64078         (SIGILL): Likewise.
64079         (SIGINT): Likewise.
64080         (SIGSEGV): Likewise.
64081         (SIGTER): Likewise.
64082         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
64083         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
64084         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
64085         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
64086         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
64087         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
64088         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
64089         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
64090         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
64091         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
64092         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
64093         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
64094         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
64095         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
64096         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
64097         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
64098         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
64099         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
64100         [X/Open-based standards] (SIGTRAP): Likewise.
64101         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
64102         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
64103         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
64104         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
64105         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64106         allow.
64108 2012-05-08  Ian Wienand  <ianw@vmware.com>
64110         [BZ #14080]
64111         * time/tzset.c (__tzset_parse_tz): Update default rules for
64112         daylight time changes in the Energy Policy Act of 2005.
64114 2012-05-09  Andreas Jaeger  <aj@suse.de>
64116         [BZ #13983]
64117         * elf/ldconfig.c (parse_conf): Change string to make clear that
64118         ldconfig only issued a warning if ld.so.conf does not exist.
64120 2012-05-08  David S. Miller  <davem@davemloft.net>
64122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
64123         movxtod instead of popping the value on the stack.
64125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64127 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
64129         * config.h.in: Add HAVE_ARM_PCS_VFP.
64131 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
64133         [BZ #13979]
64134         * include/features.h: Warn if user requests __FORTIFY_SOURCE
64135         checking but the checks are disabled for any reason.
64137 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
64139         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
64140         and ELF64_R_TYPE with ELFW(R_TYPE).
64142 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
64144         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
64145         (ulimit): Likewise.
64147         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64148         (settimeofday): Likewise.
64150 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
64152         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
64153         a struct th_u2 inside the union, and move tu_block/tu_code into
64154         a new th_u3 union of tu_block/tu_code inside of that.  Move
64155         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
64156         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
64157         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64158         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64159         (th_stuff): Change to th_u1.tu_stuff.
64160         (th_data): Define.
64161         (th_msg): Change to th_u1.th_u2.tu_data.
64163 2012-05-07  David S. Miller  <davem@davemloft.net>
64165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64167         [BZ #14074]
64168         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64169         (SETUP_PIC_REG): Use it.
64170         (SETUP_PIC_REG_LEAF): Use it.
64172 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
64174         [BZ #13885]
64175         [BZ #13923]
64176         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64177         USE_AS_EXPM1L.
64178         (EXPL_FINITE): Likewise.
64179         (FLDLOG): Likewise.
64180         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64181         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64182         e_expl.S.
64183         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64184         USE_AS_EXPM1L.
64185         (EXPL_FINITE): Likewise.
64186         (FLDLOG): Likewise.
64187         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64188         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64189         e_expl.S.
64190         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
64191         test of -max_value argument for long double.
64192         * sysdeps/i386/fpu/libm-test-ulps: Update.
64193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64195 2012-05-06  David S. Miller  <davem@davemloft.net>
64197         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
64198         quad soft-float symbols whose references which are compiler
64199         generated.
64200         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64202 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
64204         [BZ #13884]
64205         [BZ #13914]
64206         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64207         USE_AS_EXP10L.
64208         (EXPL_FINITE): Likewise.
64209         (FLDLOG): Likewise.
64210         (c0): Likewise.
64211         (c1): Likewise.
64212         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64213         Adjust comments for base varying.
64214         (__expl_finite): Change alias to EXPL_FINITE.
64215         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
64216         e_expl.S.
64217         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
64218         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
64219         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
64220         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
64221         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64222         USE_AS_EXP10L.
64223         (EXPL_FINITE): Likewise.
64224         (FLDLOG): Likewise.
64225         (c0): Likewise.
64226         (c1): Likewise.
64227         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64228         Adjust comments for base varying.
64229         (__expl_finite): Change alias to EXPL_FINITE.
64230         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
64231         tests for bugs.
64232         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64234         [BZ #14064]
64235         * math/libm-test.inc (check_float_internal): Correct ulp
64236         calculation for subnormal expected results.
64238 2012-05-06  Andreas Jaeger  <aj@suse.de>
64240         * Makeconfig (+math-flags): New, set to -frounding-math.
64241         (+cflags): Add +math-flags so that all of glibc gets compiled with
64242         it.
64244         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
64246 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
64248         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
64249         Disable one test.
64251         [BZ #13787]
64252         [BZ #13922]
64253         [BZ #14036]
64254         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
64255         (__ieee754_expl): Allow for and saturate large arguments.
64256         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
64257         (u_threshold): Likewise.
64258         (__exp): Call __ieee754_exp before checking for overflow and
64259         underflow.
64260         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64261         (u_threshold): Likewise.
64262         (__expf): Call __ieee754_expf before checking for overflow and
64263         underflow.
64264         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64265         (u_threshold): Likewise.
64266         (__expl): Call __ieee754_expl before checking for overflow and
64267         underflow.
64268         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64269         (__ieee754_expl): Allow for and saturate large arguments.
64270         * math/libm-test.inc (exp_test): Add another test.  Do not allow
64271         missing overflow exception on overflow.
64272         (expm1_test): Do not allow missing overflow exception on overflow.
64274         * sysdeps/i386/fpu/e_expl.c: Move to ...
64275         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
64276         rather than using inline asm.
64277         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64278         * sysdeps/x86_64/fpu/e_expl.S: Copy from
64279         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64281         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64282         (nice): Likewise.
64283         (poll): Likewise.
64284         (signal): Likewise.
64285         (time): Likewise.
64286         (times): Likewise.
64288 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64290         * sysdeps/unix/syscalls.list (adjtime): Add entry from
64291         sysdeps/unix/common/syscalls.list.
64292         (fchmod): Likewise.
64293         (fchown): Likewise.
64294         (ftruncate): Likewise.
64295         (getrusage): Likewise.
64296         (gettimeofday): Likewise.
64297         (setpgid): Likewise.
64298         (setregid): Likewise.
64299         (setreuid): Likewise.
64300         (sigaction): Likewise.
64301         (truncate): Likewise.
64302         (vhangup): Likewise.
64303         * sysdeps/unix/common/syscalls.list: Remove file.
64304         * sysdeps/unix/bsd/Implies: Don't include unix/common.
64305         * sysdeps/unix/sysv/linux/Implies: Likewise.
64307 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
64309         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64310         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64311         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64312         Moved to ...
64313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64314         Here.
64315         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64316         to ...
64317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64318         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64319         to ...
64320         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64321         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64322         to ...
64323         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64324         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64325         to ...
64326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64327         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64328         to ...
64329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64330         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64331         to ...
64332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64333         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64334         to ...
64335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64336         Here.
64337         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
64338         to ...
64339         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
64340         Here.
64341         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64342         to ...
64343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
64344         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
64345         Moved to ...
64346         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
64347         Here.
64348         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
64349         to ...
64350         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
64352 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64354         * sysdeps/unix/common/bits/dirent.h: Remove file.
64355         * sysdeps/unix/common/bits/fcntl.h: Likewise.
64357         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
64358         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
64359         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
64360         * sysdeps/unix/bsd/isatty.c: Likewise.
64361         * sysdeps/unix/bsd/tcdrain.c: Likewise.
64362         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
64363         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
64365 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64367         [BZ #13563]
64368         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
64369         long double comparison inaccuracies.
64370         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64373 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
64375         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
64376         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
64378 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64380         [BZ #14049]
64381         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
64382         nonzero digits before rounding a hex value.
64383         * stdlib/tst-strtod.c (tests): Add another test.
64385 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64387         * sysdeps/s390/fpu/libm-test-ulps: Update.
64389 2012-05-03  Andreas Jaeger  <aj@suse.de>
64391         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
64392         does not get optimized out.
64393         (malloc_opt_barrier): New.
64395 2012-05-03  Andreas Jaeger  <aj@suse.de>
64396             Roland McGrath  <roland@hack.frob.com>
64398         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
64399         intermediate file deletion.
64400         (generated): Add .symlist files.
64402 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
64404         [BZ #13775]
64405         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
64406         Redirect under this condition.
64407         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64408         [__USE_GNU] (__dprintf_chk): Not under this condition.
64409         [__USE_GNU] (__vdprintf_chk): Likewise.
64410         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
64411         under this condition.
64412         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64413         [__USE_XOPEN2K8] (dprintf): Define under this condition.
64414         [__USE_XOPEN2K8] (vdprintf): Likewise.
64415         [__USE_GNU] (__dprintf_chk): Not under this condition.
64416         [__USE_GNU] (__vdprintf_chk): Likewise.
64417         [__USE_GNU] (dprintf): Likewise.
64418         [__USE_GNU] (vdprintf): Likewise.
64420 2012-05-03  Roland McGrath  <roland@hack.frob.com>
64422         * elf/Makefile (common-generated): Set this instead of generated for
64423         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
64424         $(all-built-dso)-derived lists.
64426 2012-05-03  Andreas Jaeger  <aj@suse.de>
64428         * sysdeps/i386/fpu/libm-test-ulps: Update.
64430         * FAQ: Removed.
64431         * FAQ.in: Likewise.
64432         * scripts/gen-FAQ.pl: Likewise.
64433         * manual/install.texi (Installation): Point to online location of
64434         FAQ.
64435         * Makefile (files-for-dist): Remove FAQ.
64436         (FAQ): Remove.
64438 2012-05-02  Allan McRae  <allan@archlinux.org>
64440         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
64441         (LDFLAGS-reldepmod5.so): Likewise.
64442         (LDFLAGS-reldep6mod1.so): Likewise.
64443         (LDFLAGS-reldep6mod4.so): Likewise.
64444         (LDFLAGS-reldep8mod3.so): Likewise.
64445         (LDFLAGS-unload4mod1.so): Likewise.
64446         (LDFLAGS-unload4mod2.so): Likewise.
64447         (LDFLAGS-tst-initorder): Likewise.
64448         (LDFLAGS-tst-initordera2.so): Likewise.
64449         (LDFLAGS-tst-initordera3.so): Likewise.
64450         (LDFLAGS-tst-initordera4.so): Likewise.
64451         (LDFLAGS-tst-initorderb2.so): Likewise.
64452         (LDFLAGS-noload): Likewise.
64453         (LDFLAGS-next): Likewise.
64454         (LDFLAGS-order2mod1.so): Likewise.
64455         (LDFLAGS-order2mod2.so): Likewise.
64456         (LDFLAGS-tst-initorder2): Likewise.
64457         (LDFLAGS-tst-initorder2a.so): Likewise.
64458         (LDFLAGS-tst-initorder2b.so): Likewise.
64459         (LDFLAGS-tst-initorder2c.so): Likewise.
64460         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
64462 2012-05-02  David S. Miller  <davem@davemloft.net>
64464         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64466 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
64468         [BZ #14055]
64469         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
64471 2012-05-02  Andreas Jaeger  <aj@suse.de>
64473         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
64474         since we manipulate rounding mode.
64475         (CPPFLAGS-test-idouble.c): Likewise.
64476         (CPPFLAGS-test-ifloat.c): Likewise.
64477         (CFLAGS-test-ldouble.c): Likewise.
64478         (CFLAGS-test-double.c): Likewise.
64479         (CFLAGS-test-float.c): Likewise.
64480         (CFLAGS-test-misc.c): Likewise.
64481         (CFLAGS-test-test-fenv.c): Likewise.
64483 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64485         [BZ #2550]
64486         [BZ #2570]
64487         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
64488         comparisons to determine direction to adjust input.
64490 2012-05-01  Roland McGrath  <roland@hack.frob.com>
64492         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
64493         output to the target.
64495         * scripts/localplt.awk: New file.
64496         * elf/Makefile ($(objpfx)check-localplt): Target removed.
64497         (check-localplt-CFLAGS): Variable removed.
64498         ($(all-built-dso:=.jmprel)): New static pattern rule.
64499         (generated): Add those targets.
64500         (localplt-built-dso): New variable.
64501         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
64503         * elf/check-localplt.c: File removed.
64505         * scripts/check-execstack.awk: New file.
64506         * elf/Makefile ($(objpfx)check-execstack): Target removed.
64507         (check-execstack-CFLAGS): Variable removed.
64508         ($(objpfx)check-execstack.h): Target removed.
64509         ($(objpfx)execstack-default): New target.
64510         (generated): Add that instead of check-execstack.h.
64511         ($(all-built-dso:=.phdr)): New static pattern rule.
64512         (generated): Add those targets.
64513         * elf/check-execstack.c: File removed.
64515         * scripts/check-textrel.awk: New file.
64516         * elf/Makefile ($(objpfx)check-textrel): Target removed.
64517         (check-textrel-CFLAGS): Variable removed.
64518         (all-built-dso): Use := to define.o
64519         ($(all-built-dso:=.dyn)): New static pattern rule.
64520         (generated): Add those targets.
64521         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
64522         * config.make.in (READELF): New substituted variable.
64523         * elf/check-textrel.c: File removed.
64525 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64527         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64528         allow.
64529         * conform/data/ctype.h-data [C99-based standards] (isblank):
64530         Expect function.
64531         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
64532         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
64533         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64534         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
64535         Specify type.  Require positive value.
64536         (EILSEQ): Likewise.
64537         (ERANGE): Likewise.
64538         [ISO || POSIX] (EILSEQ): Do not expect.
64539         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
64540         Specify type.  Require positive value.
64541         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
64542         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
64543         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
64544         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
64545         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
64546         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
64547         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
64548         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
64549         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
64550         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
64551         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
64552         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
64553         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
64554         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
64555         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
64556         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
64557         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
64558         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
64559         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
64560         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
64561         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
64562         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
64563         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
64564         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
64565         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
64566         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
64567         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
64568         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
64569         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
64570         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
64571         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
64572         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
64573         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
64574         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
64575         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
64576         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
64577         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
64578         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
64579         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
64580         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
64581         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
64582         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
64583         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
64584         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
64585         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
64586         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
64587         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
64588         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
64589         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
64590         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
64591         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
64592         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
64593         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
64594         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
64595         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
64596         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
64597         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
64598         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
64599         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
64600         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
64601         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
64602         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
64603         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
64604         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
64605         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
64606         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
64607         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
64608         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
64609         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
64610         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
64611         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
64612         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
64613         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
64614         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
64615         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
64616         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
64617         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
64618         Require >= 2.
64619         (FLT_ROUNDS): Expect as macro, not constant.
64620         (FLT_MANT_DIG): Use macro-int-constant.
64621         (DBL_MANT_DIG): Likewise.
64622         (LDBL_MANT_DIG): Likewise.
64623         (FLT_DIG): Likewise.
64624         (DBL_DIG): Likewise.
64625         (LDBL_DIG): Likewise.
64626         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
64627         (DBL_MIN_EXP): Likewise.
64628         (LDBL_MIN_EXP): Likewise.
64629         (FLT_MAX_EXP): Use macro-int-constant.
64630         (DBL_MAX_EXP): Likewise.
64631         (LDBL_MAX_EXP): Likewise.
64632         (FLT_MAX_10_EXP): Likewise.
64633         (DBL_MAX_10_EXP): Likewise.
64634         (LDBL_MAX_10_EXP): Likewise.
64635         (FLT_MAX): Use macro-constant.
64636         (DBL_MAX): Likewise.
64637         (LDBL_MAX): Likewise.
64638         (FLT_EPSILON): Use macro-constant.  Give upper bound.
64639         (DBL_EPSILON): Likewise.
64640         (LDBL_EPSILON): Likewise.
64641         (FLT_MIN): Likewise.
64642         (DBL_MIN): Likewise.
64643         (LDBL_MIN): Likewise.
64644         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
64645         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
64646         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
64647         [ISO11] (FLT_HAS_SUBNORM): Likewise.
64648         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
64649         [ISO11] (DBL_DECIMAL_DIG): Likewise.
64650         [ISO11] (FLT_DECIMAL_DIG): Likewise.
64651         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
64652         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
64653         [ISO11] (FLT_TRUE_MIN): Likewise.
64654         [ISO11] (LDBL_TRUE_MIN): Likewise.
64655         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64656         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
64657         (SCHAR_MIN): Use macro-int-constant.  Specify type.
64658         (SCHAR_MAX): Likewise.
64659         (UCHAR_MAX): Likewise.
64660         (CHAR_MIN): Likewise.
64661         (CHAR_MAX): Likewise.
64662         (MB_LEN_MAX): Use macro-int-constant.
64663         (SHRT_MIN): Use macro-int-constant.  Specify type.
64664         (SHRT_MAX): Likewise.
64665         (USHRT_MAX): Likewise.
64666         (INT_MAX): Likewise.
64667         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
64668         bound negative.
64669         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64670         bound with "U".
64671         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64672         bound with "L".
64673         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
64674         bound negative.  Suffix upper bound with "L".
64675         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64676         bound with "UL".
64677         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
64678         Specify type.
64679         [C99-based standards] (LLONG_MAX): Likewise.
64680         [C99-based standards] (ULLONG_MAX): Likewise.
64681         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
64682         == 0.
64683         [ISO11] (max_align_t): Require type.
64684         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64686         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
64687         from $CFLAGS, without defining away __attribute__ calls.
64688         (checknamespace): Use $CFLAGS_namespace.
64690         * conform/conformtest.pl (@keywords): Only include C99 keywords
64691         for standards based on C99 or C11.
64693         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
64694         Disable tests.
64695         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
64696         UNIX98]: Likewise.
64698         * conform/conformtest.pl: Handle "macro-int-constant" and test for
64699         usability of symbols in #if.
64701         * conform/conformtest.pl: If macro or constant types start
64702         "promoted:", expect the symbol to be of the following type
64703         promoted by the integer promotions.
64705         * conform/conformtest.pl: Parse all "constant" and "macro" lines
64706         in one place.  Also handle "macro-constant".
64708         * conform/conformtest.pl: Only accept expected macro values with
64709         "==".  Parse all "macro" lines in one place.
64710         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
64712         * conform/conformtest.pl: Handle braced types on "constant" lines
64713         instead of handling "typed-constant".
64714         * conform/data/signal.h-data: Use "constant" instead of
64715         "typed-constant".
64717         * conform/conformtest.pl: Handle "optional-" at start of lines in
64718         one place rather than duplicating several cases.  Handle each
64719         format of "macro" line with initial "optional-".
64721         * conform/conformtest.pl: Only accept expected constant or
64722         optional-constant values with "==".  Parse all "constant" lines in
64723         one place.  Parse all "optional-constant" lines in one place.
64724         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
64725         * conform/data/fmtmsg.h-data: Likewise.
64726         * conform/data/netinet/in.h-data: Likewise.
64727         * conform/data/tar.h-data: Likewise.
64728         * conform/data/limits.h-data: Use "==" form on "constant" and
64729         "optional-constant" lines.
64731         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
64732         Use -std=c99 for XOPEN2K.
64733         (@knownproblems): Remove.
64734         (newtoken): Don't check %isknown.
64736         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
64737         Do not expect macro.
64738         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
64739         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
64740         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
64741         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
64742         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
64743         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
64744         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
64745         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
64746         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
64747         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
64748         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
64749         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
64750         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
64751         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
64752         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
64753         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
64754         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
64755         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
64756         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
64757         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
64758         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
64759         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
64760         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
64761         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
64762         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
64763         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
64764         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
64765         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
64766         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
64767         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
64768         [XPG3] (acosh): Likewise.
64769         [XPG3] (asinh): Likewise.
64770         [XPG3] (atanh): Likewise.
64771         [XPG3] (cbrt): Likewise.
64772         [XPG3] (expm1): Likewise.
64773         [XPG3] (ilogb): Likewise.
64774         [XPG3] (log1p): Likewise.
64775         [XPG3] (logb): Likewise.
64776         [XPG3] (nextafter): Likewise.
64777         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
64778         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
64779         [XPG3] (remainder): Likewise.
64780         [XPG3] (rint): Likewise.
64781         [XPG3 || XPG4 || UNIX98] (round): Likewise.
64782         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
64783         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
64784         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
64785         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
64786         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
64787         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
64788         [UNIX98 || XOPEN2K] (scalb): Expect.
64789         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
64790         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
64791         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
64792         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
64793         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
64794         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
64795         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
64796         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
64797         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
64798         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
64799         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
64800         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
64801         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
64802         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
64803         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
64804         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
64805         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
64806         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
64807         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
64808         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
64809         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
64810         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
64811         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
64812         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
64813         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
64814         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
64815         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
64816         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
64817         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
64818         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
64819         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
64820         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
64821         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
64822         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
64823         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
64824         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
64825         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
64826         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
64827         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
64828         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
64829         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
64830         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
64831         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
64832         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
64833         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
64834         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
64835         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
64836         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
64837         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
64838         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
64839         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
64840         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
64841         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
64842         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
64843         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
64844         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
64845         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
64846         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
64847         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
64848         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
64849         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
64850         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
64851         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
64852         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
64853         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
64854         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
64855         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
64856         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
64857         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
64858         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
64859         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
64860         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
64861         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
64862         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
64863         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
64864         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
64865         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
64866         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
64867         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
64868         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
64869         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
64870         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
64871         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
64872         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
64873         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
64874         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
64875         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
64876         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
64877         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
64878         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
64879         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
64880         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
64881         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
64882         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
64883         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
64884         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
64885         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
64886         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
64887         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
64888         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
64889         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
64890         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
64891         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
64892         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
64893         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
64894         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
64895         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
64896         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
64897         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
64898         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
64899         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
64900         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
64901         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
64902         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
64903         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
64904         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
64905         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
64906         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
64907         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
64908         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
64909         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
64910         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
64911         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
64912         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
64913         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
64914         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
64915         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
64916         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
64917         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
64918         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
64919         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
64920         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
64921         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
64922         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
64923         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
64924         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
64925         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
64927         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
64928         _XOPEN_SOURCE_EXTENDED for XPG4.
64930         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
64932         * Makeconfig (localtime): Remove variable.
64933         (inst_localtime-file): Likewise.
64935 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
64938         Update.
64939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64940         Update.
64941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
64942         Update.
64943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64944         Update.
64945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
64946         Update.
64947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
64948         Update.
64949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64950         Update.
64951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
64952         Update.
64953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64954         Update.
64956 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64958         [BZ #2550]
64959         [BZ #2570]
64960         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
64961         comparisons to determine direction to adjust input.
64962         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
64963         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
64964         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
64965         Likewise.
64966         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
64967         Likewise.
64968         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
64969         Likewise.
64970         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
64971         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
64972         Likewise.
64973         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
64974         Likewise.
64975         * math/libm-test.inc (nexttoward_test): Add more tests.
64977 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64979         [BZ #14040]
64980         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
64981         in version GLIBC_2.1, not GLIBC_2.0.
64982         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
64983         Likewise.
64985 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
64987         [BZ #13942]
64988         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
64989         (1 - x) * (1 + x).
64990         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64991         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
64992         * math/libm-test.inc (acos_test): Add more tests.
64993         (asin_test): Likewise.
64994         * sysdeps/i386/fpu/libm-test-ulps: Update.
64995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64997         [BZ #14034]
64998         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
64999         of square root.
65000         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
65001         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65002         * math/libm-test.inc (acos_test_tonearest): New function.
65003         (acos_test_towardzero): Likewise.
65004         (acos_test_downward): Likewise.
65005         (acos_test_upward): Likewise.
65006         (asin_test_tonearest): Likewise.
65007         (asin_test_towardzero): Likewise.
65008         (asin_test_downward): Likewise.
65009         (asin_test_upward): Likewise.
65010         (main): Call the new functions.
65011         * sysdeps/i386/fpu/libm-test-ulps: Update.
65012         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65014         [BZ #13884]
65015         [BZ #13924]
65016         * math/e_exp10.c: Include <float.h>.
65017         (__ieee754_exp10): Handle underflow here rather than multiplying
65018         large negative argument by M_LN10.
65019         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65020         of __ieee754_expf.
65021         * math/e_exp10l.c: Include <float.h>.
65022         (__ieee754_exp10l): Handle underflow here rather than multiplying
65023         large negative argument by M_LN10l.
65024         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
65025         spurious overflow exception on underflow.
65027 2012-04-29  Marek Polacek  <polacek@redhat.com>
65029         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
65030         (__fortify_function): New macro.
65031         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
65032         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
65033         __extern_always_inline.
65034         * libio/bits/stdio2.h: Likewise.
65035         * libio/bits/stdio.h: Likewise.
65036         * string/string.h: Likewise.
65037         * string/bits/string3.h: Likewise.
65038         * include/stdio.h: Likewise.
65039         * stdlib/bits/stdlib.h: Likewise.
65040         * stdlib/stdlib.h: Likewise.
65041         * rt/bits/mqueue2.h: Likewise.
65042         * rt/mqueue.h: Likewise.
65043         * posix/bits/unistd.h: Likewise.
65044         * posix/unistd.h: Likewise.
65045         * io/bits/poll2.h: Likewise.
65046         * io/bits/fcntl2.h: Likewise.
65047         * io/fcntl.h: Likewise.
65048         * io/sys/poll.h: Likewise.
65049         * misc/bits/syslog.h: Likewise.
65050         * misc/bits/syslog-ldbl.h: Likewise.
65051         * misc/sys/syslog.h: Likewise.
65052         * socket/bits/socket2.h: Likewise.
65053         * socket/sys/socket.h: Likewise.
65054         * debug/tst-chk1.c: Likewise.
65055         * wcsmbs/bits/wchar2.h: Likewise.
65056         * wcsmbs/bits/wchar-ldbl.h: Likewise.
65057         * wcsmbs/wchar.h: Likewise.
65059 2012-04-29  Andreas Jaeger  <aj@suse.de>
65061         * Makerules (tests): Remove enable-check-abi protection.
65062         (check-abi-warn): Remove.
65063         (check-abi-%): Remove check-abi-warn usage.
65065         * configure.in: Remove check-abi configure option.
65066         * configure: Regenerated.
65067         * config.make.in (enable-check-abi): Remove.
65069 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
65071         [BZ #14033]
65072         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
65073         double functions to double *_finite functions.
65075         [BZ #13941]
65076         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
65077         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
65078         LDBL_MIN_EXP.
65079         * stdio-common/Makefile (tests): Add tst-sprintf3.
65080         * stdio-common/tst-sprintf3.c: New file.
65082         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
65083         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
65085 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65087         * conform/conformtest.pl: Remove duplicate typed-constant
65088         handling.
65090 2012-04-28  David S. Miller  <davem@davemloft.net>
65092         * Makerules (%.abilist): Add vpath on sysdep_dirs.
65093         (check-abi-%): Remove AWK script prerequisite and explicit
65094         abilist directory.
65095         (check-abi): Rewrite to just diff the symlist with the abilist.
65096         (config-tls, config-abi-config): Delete, no longer used.
65097         (update-abi-%): Remove AWK script and explicit abilist directory.
65098         (update-abi): Rewrite to simply compare and conditionally copy the
65099         symlist and the sysdep abilist file.  Remove update-abi-config
65100         checks.
65101         * abilist/ld.abilist: Remove.
65102         * abilist/libBrokenLocale.abilist: Remove.
65103         * abilist/libanl.abilist: Remove.
65104         * abilist/libcrypt.abilist: Remove.
65105         * abilist/libdl.abilist: Remove.
65106         * abilist/librt.abilist: Remove.
65107         * abilist/libthread_db.abilist: Remove.
65108         * abilist/libutil.abilist: Remove.
65109         * scripts/extract-abilist.awk: Remove.
65110         * scripts/merge-abilist.awk: Remove.
65111         * sysdeps/generic/libcidn.abilist: New file.
65112         * sysdeps/generic/libnss_compat.abilist: New file.
65113         * sysdeps/generic/libnss_db.abilist: New file.
65114         * sysdeps/generic/libnss_dns.abilist: New file.
65115         * sysdeps/generic/libnss_files.abilist: New file.
65116         * sysdeps/generic/libnss_hesiod.abilist: New file.
65117         * sysdeps/generic/libnss_nis.abilist: New file.
65118         * sysdeps/generic/libnss_nisplus.abilist: New file.
65119         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
65120         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
65121         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
65122         file.
65123         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65124         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
65125         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
65126         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
65127         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
65128         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
65129         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
65130         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
65131         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
65132         file.
65133         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65134         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
65135         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
65136         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
65137         file.
65138         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
65139         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
65140         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
65141         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
65142         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
65143         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
65144         file.
65145         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65146         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65147         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65148         file.
65149         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65150         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65151         New file.
65152         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65153         New file.
65154         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65155         New file.
65156         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65157         New file.
65158         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65159         New file.
65160         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65161         New file.
65162         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65163         New file.
65164         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65165         New file.
65166         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65167         New file.
65168         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65169         New file.
65170         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65171         New file.
65172         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65173         New file.
65174         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65175         New file.
65176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65177         file.
65178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65179         New file.
65180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65181         New file.
65182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
65183         file.
65184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
65185         New file.
65186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
65187         New file.
65188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
65189         file.
65190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
65191         New file.
65192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65193         New file.
65194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
65195         New file.
65196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
65197         New file.
65198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
65199         New file.
65200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
65201         New file.
65202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
65203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
65204         file.
65205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65206         New file.
65207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
65208         file.
65209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
65210         file.
65211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
65212         file.
65213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
65214         file.
65215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
65216         file.
65217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65218         New file.
65219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
65220         file.
65221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
65222         file.
65223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
65224         New file.
65225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
65226         file.
65227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
65228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
65229         file.
65230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
65231         New file.
65232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
65233         file.
65234         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
65235         file.
65236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
65237         file.
65238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
65239         file.
65240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
65241         file.
65242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65243         New file.
65244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
65245         file.
65246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
65247         file.
65248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
65249         New file.
65250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
65251         file.
65252         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65253         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
65254         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
65255         file.
65256         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
65257         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
65258         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65259         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65260         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65261         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65262         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65263         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65264         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65265         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65267         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65268         file.
65269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65270         New file.
65271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65272         file.
65273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65274         file.
65275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65276         file.
65277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65278         file.
65279         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65280         file.
65281         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65282         New file.
65283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65284         New file.
65285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65286         file.
65287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65288         New file.
65289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65290         file.
65291         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65293         file.
65294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65295         New file.
65296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65297         file.
65298         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65299         file.
65300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65301         file.
65302         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65303         file.
65304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65305         file.
65306         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65307         New file.
65308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65309         New file.
65310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65311         file.
65312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65313         New file.
65314         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65315         file.
65317 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65319         * conform/conformtest.pl: Fix typo in handling typed-constant from
65320         allow-header.
65322 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65324         * README: Cut down references to pre-2.6 Linux kernels and
65325         Linuxthreads.  Update lists of configurations in libc and ports
65326         and sort alphabetically.  Say "or newer" with Linux kernel version
65327         requirements.
65329         * config.h.in [IS_IN_build]: Allow compiling without optimization.
65331 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65333         [BZ #887]
65334         * math/libm-test.inc (logb_test_downward): New test to expose
65335         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65336         rounding mode.
65338 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65340         [BZ #14027]
65341         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
65342         to be done.
65343         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
65344         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
65346 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
65348         * sysdeps/unix/i386/brk.S: Remove file.
65349         * sysdeps/unix/i386/dl-brk.S: Likewise.
65350         * sysdeps/unix/i386/pipe.S: Likewise.
65351         * sysdeps/unix/i386/sigreturn.S: Likewise.
65352         * sysdeps/unix/i386/syscall.S: Likewise.
65353         * sysdeps/unix/i386/vfork.S: Likewise.
65354         * sysdeps/unix/i386/wait.S: Likewise.
65356         * sysdeps/unix/common/tcsendbrk.c: Move to ...
65357         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
65359         * configure.in (arm*-none*): Do not allow without
65360         --enable-hacker-mode.
65361         (netbsd*): Remove case setting base_os.
65362         (386bsd*): Likewise.
65363         (freebsd*): Likewise.
65364         (bsdi*): Likewise.
65365         (osf*): Likewise.
65366         (sunos*): Likewise.
65367         (ultrix*): Likewise.
65368         (newsos*): Likewise.
65369         (dynix*): Likewise.
65370         (*bsd*): Likewise.
65371         (sysv*): Likewise.
65372         (isc*): Likewise.
65373         (esix*): Likewise.
65374         (sco*): Likewise.
65375         (minix*): Likewise.
65376         (irix4*): Likewise.
65377         (irix6*): Likewise.
65378         (solaris[2-9]*): Likewise.
65379         (none): Likewise.
65380         * configure: Regenerated.
65382 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65384         [BZ #11521]
65385         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
65386         overflow or cancellation in calculating denominator.
65387         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
65388         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
65389         down expression to avoid unexpected rounding in newer GCCs.
65390         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
65392 2012-04-26  David S. Miller  <davem@davemloft.net>
65394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
65395         long-double compat symbols.
65396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
65400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
65403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
65404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
65405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
65406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
65407         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
65408         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65410 2012-04-25  David S. Miller  <davem@davemloft.net>
65412         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
65413         HWCAP_* values only after the memory barriers have been defined.
65414         (atomic_full_barrier): Define.
65415         (atomic_read_barrier): Define.
65416         (atomic_write_barrier): Define.
65418 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65420         * shlib-versions: Add libgcc_s version information.
65421         * sysdeps/generic/libgcc_s.h: Remove.
65422         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
65423         libgcc_s.h.
65424         * sysdeps/gnu/unwind-resume.c: Likewise.
65425         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
65427 2012-04-25  David S. Miller  <davem@davemloft.net>
65429         * sysdeps/unix/sparc/brk.S: Delete.
65430         * sysdeps/unix/sparc/dl-brk.S: Delete.
65431         * sysdeps/unix/sparc/pipe.S: Delete.
65432         * sysdeps/unix/sparc/sysdep.S: Delete.
65433         * sysdeps/unix/sparc/sysdep.h: Delete.
65434         * sysdeps/unix/sparc/vfork.S: Delete.
65435         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
65436         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
65437         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
65438         (ret_ERRVAL, r0, r1, MOVE): Define.
65439         (JUMPTARGET): Remove.
65440         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
65441         sysdeps/unix/sparc/sysdep.h
65442         (ENTRY, END): Remove.
65443         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65445 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
65447         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
65448         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
65449         -DIS_IN_build.
65451         * timezone/README: Update upstream location and email address for
65452         tzcode and tzdata.
65453         * timezone/zdump.c: Update from tzcode 2012b.
65454         * timezone/zic.c: Likewise.
65456         * configure.in (libc_cv_as_needed): Remove test.
65457         * configure: Regenerated.
65458         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
65459         conditional definition.
65460         [$(have-as-needed) != yes] (no-as-needed): Likewise.
65461         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
65462         * config.make.in (have-as-needed): Remove variable.
65464 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65465             Paul Pluzhnikov  <ppluzhnikov@google.com>
65467         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
65468         strings correctly.
65470 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
65472         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
65473         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65474         * sysdeps/sh/strlen.S: Likewise.
65476 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65478         * sysdeps/unix/fork.S: Remove file.
65479         * sysdeps/unix/i386/fork.S: Likewise.
65480         * sysdeps/unix/sparc/fork.S: Likewise.
65482         * sysdeps/unix/system.c: Remove file.
65483         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
65485         * sysdeps/unix/getegid.S: Remove file.
65486         * sysdeps/unix/geteuid.S: Likewise.
65488 2012-04-24  Roland McGrath  <roland@hack.frob.com>
65490         * scripts/check-localplt.awk: New file.
65491         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
65492         of diff.
65493         * scripts/data/localplt-generic.data: Add a comment.
65495         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
65496         NODE when __dir_mkfile failed.
65497         * sysdeps/mach/hurd/symlinkat.c: Likewise.
65498         Reported by Ludovic Courtès <ludo@gnu.org>.
65500 2012-04-24  Andreas Jaeger  <aj@suse.de>
65502         * Makerules (common-clean): Also remove gen-as-const-headers
65503         files.
65505 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65507         * Makerules (native-compile): Do not change working directory for
65508         build.  Use $(OUTPUT_OPTION) in command.
65509         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
65511 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65513         [BZ #13886]
65514         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
65515         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
65516         * math/libm-test.inc (floor_test): Add more tests.
65517         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
65519 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65521         * sysdeps/unix/getdents.c: Remove file.
65522         * sysdeps/unix/sysv/getdents.c: Likewise.
65523         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
65525         * sysdeps/unix/syscalls.list (madvise): Add syscall from
65526         sysdeps/unix/mman/syscalls.list.
65527         (mmap): Likewise.
65528         (mprotect): Likewise.
65529         (msync): Likewise.
65530         (munmap): Likewise.
65531         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
65532         * sysdeps/unix/mman/syscalls.list: Remove.
65533         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
65535         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
65536         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
65537         * configure: Regenerated.
65538         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
65539         $(libgcc_s_suffix).
65540         * config.make.in (libgcc_s_suffix): Remove variable.
65542 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
65544         * sysdeps/unix/sysv/gethostname.c: Move to ...
65545         * sysdeps/posix/gethostname.c: ... here.
65547         * sysdeps/unix/execve.S: Remove file.
65549         * sysdeps/unix/_exit.S: Remove file.
65551 2012-04-23  Andreas Jaeger  <aj@suse.de>
65553         [BZ #13739]
65554         * manual/Makefile: Remove make dist support, there's no
65555         need for a stand-alone documentation tar ball.
65556         (TEXI2DVI): Define always, it's not in Makeconfig.
65557         (dist): Removed.
65558         (tar-it): Removed.
65559         (edition): Removed.
65560         (glibc-doc-$(edition).tar): Removed
65561         (%.Z): Removed.
65562         (%.gz): Removed.
65563         (%.uu): Removed.
65564         (ETAGS): Remove, it's in Makeconfig.
65565         (move-if-change): Remove, it's in Makeconfig.
65567 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
65569         [BZ #13970]
65570         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
65571         (strtod, strtof, strtold, strtol, strtoul, strtoq)
65572         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
65573         (strtod_l, strtof_l, strtold_l): Remove __wur.
65574         It is not necessarily an error to ignore strtol's return value.
65575         One can reliably look at the stored endptr to decide whether
65576         the number had valid syntax.
65578 2012-04-21  Andreas Jaeger  <aj@suse.de>
65580         [BZ #13739]
65581         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
65583 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
65585         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
65586         * sysdeps/unix/sysv/Versions: Remove file.
65588 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
65590         [BZ #13927]
65591         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65593 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
65595         [BZ #7064]
65596         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
65597         version from __vm86.
65599 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
65601         * sysdeps/unix/common/lxstat.c: Remove file.
65602         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
65604         * sysdeps/unix/sysv/Makefile: Remove file.
65606         * sysdeps/unix/sysv/direct.h: Remove file.
65608         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
65609         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
65610         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
65611         * sysdeps/unix/sysv/bits/signum.h: Likewise.
65612         * sysdeps/unix/sysv/bits/stat.h: Likewise.
65613         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
65614         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
65616         * sysdeps/unix/sysv/setrlimit.c: Remove file.
65618         * sysdeps/unix/xmknod.c: Remove file.
65619         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
65621         * sysdeps/unix/sysv/settimeofday.c: Remove file.
65623         * sysdeps/unix/sysv/i386/time.S: Remove file.
65625         * sysdeps/unix/fxstat.c: Remove file.
65626         * sysdeps/unix/xstat.c: Likewise.
65627         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
65629         * sysdeps/unix/sysv/sigaction.c: Remove file.
65631         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
65632         (sysdep_headers): Remove variable.
65633         [termio.h not in sysdep_headers] (generated): Likewise.
65634         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
65635         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
65636         * sysdeps/unix/sysv/tcdrain.c: Likewise.
65637         * sysdeps/unix/sysv/tcflow.c: Likewise.
65638         * sysdeps/unix/sysv/tcflush.c: Likewise.
65639         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
65640         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
65641         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
65642         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
65643         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
65645         * sysdeps/unix/siglist.c: Remove file.
65647         * sysdeps/unix/getppid.S: Remove file.
65649         * sysdeps/unix/mkdir.c: Remove file.
65650         * sysdeps/unix/rmdir.c: Likewise.
65652 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
65654         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
65655         ERR_MAX value.
65656         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
65657         errlist-compat value.
65659 2012-04-18  David S. Miller  <davem@davemloft.net>
65661         * sysdeps/generic/memcopy.h (reg_char): Delete.
65662         * debug/strcat_chk.c: Use char, not reg_char.
65663         * debug/strcpy_chk.c: Likewise.
65664         * debug/strncat_chk.c: Likewise.
65665         * debug/strncpy_chk.c: Likewise.
65666         * string/memchr.c: Likewise.
65667         * string/memrchr.c: Likewise.
65668         * string/rawmemchr.c: Likewise.
65669         * string/strcat.c: Likewise.
65670         * string/strchr.c: Likewise.
65671         * string/strchrnul.c: Likewise.
65672         * string/strcmp.c: Likewise.
65673         * string/strcpy.c: Likewise.
65674         * string/strncat.c: Likewise.
65675         * string/strncmp.c: Likewise.
65676         * string/strncpy.c: Likewise.
65678 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65680         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
65681         __builtin_memcopy is called when src and dest ranges are known to not
65682         overlap.
65684 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65686         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
65687         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
65688         fwd_align_merge macro call.
65689         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
65690         bwd_align_merge macro call.
65691         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65693 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65695         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
65696         bwd_align_merge macros.
65697         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
65698         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
65699         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65701 2012-04-18  David S. Miller  <davem@davemloft.net>
65703         * sysdeps/sparc/sparc64/memcopy.h: Delete.
65705 2012-04-18  Andreas Jaeger  <aj@suse.de>
65707         [BZ# 6794]
65708         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
65709         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
65710         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65712         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
65713         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
65714         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65716         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
65717         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
65718         Adjust for changed ldbl-128 files.
65720         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
65721         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
65722         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65724 2012-04-17  David S. Miller  <davem@davemloft.net>
65726         * sysdeps/sparc/sparc32/memcopy.h: Delete.
65728 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
65730         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
65731         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
65732         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
65733         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
65734         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
65735         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
65737 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65739         [BZ #6794]
65740         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
65741         * math/libm-test.inc: Add ilogb errno and exception tests.
65742         * math/w_ilogb.c: New file: ilogb wrapper.
65743         * math/w_ilogbf.c: New file: ilogbf wrapper.
65744         * math/w_ilogbl.c: New file: ilogbl wrapper.
65745         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
65746         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
65747         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
65748         exception being thrown with 0.0 as argument.
65749         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
65750         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
65751         exception being thrown with 0.0 as argument.
65752         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
65753         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65754         exception being thrown with 0.0 as argument.
65755         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
65756         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65757         exception being thrown with 0.0 as argument.
65758         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
65759         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
65760         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
65761         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
65762         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
65763         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
65764         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
65765         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
65766         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
65768 2012-04-17  Petr Baudis  <pasky@ucw.cz>
65770         * include/sys/uio.h: Change __vector to __iovec to avoid clash
65771         with altivec.
65773 2012-04-16  Marek Polacek  <polacek@redhat.com>
65775         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
65777 2012-04-16  Marek Polacek  <polacek@redhat.com>
65779         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
65780         operands of fdivp instruction.
65782 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65784         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
65785         * elf/tst-auditmod3b.c: Likewise.
65786         * elf/tst-auditmod4b.c: Likewise.
65787         * elf/tst-auditmod5b.c: Likewise.
65788         * elf/tst-auditmod6b.c: Likewise.
65789         * elf/tst-auditmod6c.c: Likewise.
65790         * elf/tst-auditmod7b.c: Likewise.
65791         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
65792         * sysdeps/x86_64/preconfigure.in: Likewise.
65793         * sysdeps/x86_64/preconfigure: Regenerated.
65795 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65797         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
65798         __ILP32__.
65800 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
65802         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65803         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
65805 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
65807         [BZ #13973]
65808         * locale/iso-639.def: Fix gl language name. Spotted by
65809         Yaron Shahrabani.
65811 2012-04-12  Roland McGrath  <roland@hack.frob.com>
65813         [BZ #2074]
65814         * libio/libio.h (__io_write_fn): Update comment.
65816 2012-04-12  Petr Baudis  <pasky@ucw.cz>
65818         [BZ #2074]
65819         * stdio.texi (Hook Functions): The user provided writer function
65820         is not allowed to return -1.
65822 2012-04-11  David S. Miller  <davem@davemloft.net>
65824         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65826 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
65828         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
65829         Add a leading slash to rtkaio.
65831 2012-04-11  Jim Meyering  <meyering@redhat.com>
65833         [BZ #11959]
65834         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
65835         It is not necessarily an error to ignore fwrite's return
65836         value.  One can reliably use ferror to test for errors after
65837         the fact.
65839 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65841         * bits/types.h (__snseconds_t): New type.
65842         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
65844         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
65845         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65846         (__SNSECONDS_T_TYPE): Likewise.
65847         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65848         (__SNSECONDS_T_TYPE): Likewise.
65849         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65850         (__SNSECONDS_T_TYPE): Likewise.
65852 2012-04-10  Andreas Jaeger  <aj@suse.de>
65854         [BZ #2636]
65855         * manual/time.texi (Processor Time): Return type of times is
65856         elapsed real time since an arbitrary point in the past.
65857         (CPU Time): Move CLK_TCK from here...
65858         (Processor Time): ...to here.  Correct description.
65859         * manual/conf.texi (Constants for Sysconf): Correct description of
65860         _SC_CLK_TCK.
65862 2012-04-10  David S. Miller  <davem@davemloft.net>
65864         [BZ #13967]
65865         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
65866         where the is a gap between DT_REL(A) and DT_JMPREL.
65868 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65870         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
65871         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65872         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65874 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65876         * elf/dl-support.c (_dl_inhibit_cache): New variable.
65877         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
65878         (dl_main): Handle --inhibit-cache.
65879         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
65880         _dl_inhibit_cache.
65881         * elf/dl-load.c (_dl_map_object): Use it.
65882         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
65884 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65886         [BZ #13872]
65887         * sysdeps/i386/fpu/e_powl.S (p78): New object.
65888         (__ieee754_powl): Saturate large exponents rather than testing for
65889         overflow of y*log2(x).
65890         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65891         * math/libm-test.inc (pow_test): Do not permit spurious overflow
65892         exceptions.
65894         [BZ #11521]
65895         * math/s_ctan.c: Include <float.h>.
65896         (__ctan): Avoid internal overflow or cancellation in calculating
65897         denominator.
65898         * math/s_ctanf.c: Likewise.
65899         * math/s_ctanl.c: Likewise.
65900         * math/s_ctanh.c: Likewise.
65901         * math/s_ctanhf.c: Likewise.
65902         * math/s_ctanhl.c: Likewise.
65903         * math/libm-test.inc (ctan_test): Add more tests.
65904         (ctanh_test): Likewise.
65905         * sysdeps/i386/fpu/libm-test-ulps: Update.
65906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65908 2012-04-09  Andreas Jaeger  <aj@suse.de>
65910         [BZ #6894]
65911         * manual/filesys.texi (Directory Entries): Mention that d_namlen
65912         is an optional BSD extension.
65914         [BZ #10254]
65915         * manual/stdio.texi (Opening Streams): Document additional fopen
65916         parameters.
65918 2012-04-09  Roland McGrath  <roland@hack.frob.com>
65920         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
65921         %eax without telling the compiler.
65923 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
65925         [BZ # 13963]
65926         * manual/install.texi: Use sourceware.org.
65928 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65930         [BZ #13873]
65931         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
65932         (__ieee754_pow): Generate overflow and underflow using huge*huge
65933         and tiny*tiny rather than just returning constant infinity or zero
65934         for large exponents.
65935         * math/libm-test.inc (pow_test): Require overflow exceptions for
65936         applicable cases of large exponents.
65938         [BZ #706]
65939         * sysdeps/i386/fpu/e_pow.S (p10): New object.
65940         (__ieee754_pow): Use iterative multiplication algorithm only for
65941         integer exponents with absolute value below 1024.  Check for odd
65942         integer exponents when using algorithm for real exponents.
65943         * math/libm-test.inc (pow_test): Add more tests.
65944         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65946 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
65948         [BZ #13705]
65949         * math/libm-test.inc (exp_test): Do not allow overflow exception
65950         on underflow test.
65952 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
65954         [BZ #13705]
65955         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
65956         instead of __kernel_standard_f.
65958 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
65960         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
65961         * sysdeps/x86_64/memset_chk.S: Likewise.
65963 2012-04-08  Andreas Jaeger  <aj@suse.de>
65965         [BZ #10153]
65966         * manual/startup.texi (Environment Access): Describe return value
65967         for putenv and setenv.
65969         [BZ #6895]
65970         * manual/filesys.texi (Directory Entries): Add description for
65971         DT_LNK.
65973         [BZ #6890]
65974         * manual/filesys.texi (Directory Entries): Clarify that it's file
65975         system not operating system in the description of DT_UNKNOWN.
65977         [BZ #6578]
65978         * manual/syslog.texi (closelog): Fix reference, it's openlog.
65980 2012-04-08  Stephen Compall  <s11@member.fsf.org>
65982         [BZ #6649]
65983         * manual/llio.texi (Opening and Closing Files): Add cross
65984         reference to explain mode argument.
65986 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
65988         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
65989         * sysdeps/x86_64/memset_chk.S: Likewise.
65991 2012-04-07  David S. Miller  <davem@davemloft.net>
65993         * elf/elf.h (R_SPARC_WDISP10): Define.
65994         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
65995         R_SPARC_SIZE32.
65996         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
65997         R_SPARC_SIZE64 and R_SPARC_H34.
65999 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
66001         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
66002         conditions and remove no longer applicable assertion.
66004 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66006         * bits/byteswap.h: Include <features.h>.
66007         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66008         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66010 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66012         * bits/byteswap.h (__bswap_16): Removed.
66013         Include <bits/byteswap-16.h> to get __bswap_16.
66014         * sysdeps/i386/bits/byteswap.h: Likewise.
66015         * sysdeps/s390/bits/byteswap.h: Likewise.
66016         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66017         * bits/byteswap-16.h: New file.
66018         * sysdeps/i386/bits/byteswap-16.h: Likewise.
66019         * sysdeps/s390/bits/byteswap-16.h: Likewise.
66020         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
66021         * string/Makefile (headers): Add bits/byteswap-16.h.
66023 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66025         [BZ #13895]
66026         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
66027         extra indirection.
66028         * nss/Makefile (tests-static, tests): Add tst-nss-static.
66029         * nss/tst-nss-static.c: New.
66031 2012-04-06  Robert Millan  <rmh@gnu.org>
66033         [BZ #6486]
66034         * manual/llio.texi (File Position Primitive): lseek
66035         refers to WHENCE when it really means OFFSET.
66037 2012-04-06  Andreas Jaeger  <aj@suse.de>
66039         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
66040         strncmp declarations.
66042         * abilist/libc.abilist: Add __poll and __ppoll.
66044 2012-04-05  David S. Miller  <davem@davemloft.net>
66046         * scripts/check-local-headers.sh: Accept a host triplet in the
66047         path matched by the exclude regexp.
66049         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
66050         definition.
66051         * sysdeps/powerpc/powerpc32/dl-machine.h
66052         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
66053         * sysdeps/s390/s390-32/dl-machine.h
66054         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66055         * sysdeps/sparc/sparc32/dl-machine.h
66056         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66057         * sysdeps/sparc/sparc64/dl-machine.h
66058         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66060         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
66061         lazy binding.
66062         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
66063         undefined symbol errors.
66065         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
66066         DT_NEEDED entries.
66068 2012-04-05  Michael Matz  <matz@suse.de>
66070         [BZ #13592]
66071         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
66073 2012-04-05  Andreas Jaeger  <aj@suse.de>
66075         [BZ #13908]
66076         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
66077         comment.
66079 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66081         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
66082         which ROUND is no valid rounding mode.
66084 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66086         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
66087         read again.
66088         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
66090 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66092         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
66093         an exception using FPU order intentionally.
66095 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66097         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
66098         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
66099         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
66100         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
66102 2012-04-05  Simon Josefsson  <simon@josefsson.org>
66104         [BZ #12340]
66105         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
66106         EINVAL when BUFLEN is too smal.
66108 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
66110         [BZ #13553]
66111         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
66112         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
66114 2012-04-03  Andreas Jaeger  <aj@suse.de>
66116         [BZ #13938]
66117         * manual/setjmp.texi (System V contexts): Fix sentence.
66119         [BZ #13926]
66120         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
66121         New macro for this case.
66122         [!__GNUC__] (__bswap_64): New inline function for this case.
66123         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66124         * bits/byteswap.h: Likewise.
66125         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
66126         ull, guard with __GLIBC_HAVE_LONG_LONG.
66128         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
66129         __GLIBC_HAVE_LONG_LONG.
66131         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
66132         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
66134 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66136         [BZ #13691]
66137         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66138         inptr and inend, rather than using last_ch.
66140 2012-04-02  David S. Miller  <davem@davemloft.net>
66142         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
66143         * stdio-common/printf-parse.h (read_int): Change return type to
66144         'int', return -1 on INT_MAX overflow.
66145         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66146         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
66147         overflows INT_MAX.  Check for overflow of in-format-string precision
66148         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
66149         SIZE_MAX not INT_MAX for integer overflow test.
66150         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66151         skip the construct in the format string but do not record anything.
66152         * stdio-common/bug22.c: Adjust to test both width/prevision
66153         INT_MAX overflow as well as total length INT_MAX overflow.  Check
66154         explicitly for proper errno values.
66156 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66158         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66159         CHAR_MAX.
66160         * string/test-strcmp.c [! WIDE]: Likewise.
66161         * time/tst-mktime2.c: Likewise for INT_MAX.
66162         * string/test-string.h: #include <sys/param.h> for MIN.
66164         * csu/init-first.c (__libc_init_first): Call __ctype_init.
66165         * sysdeps/i386/init-first.c (init): Likewise.
66166         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66167         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66168         * sysdeps/sh/init-first.c (init): Likewise.
66170 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
66172         * po/ru.po: Update from translation team.
66173         * po/vi.po: Likewise.
66175 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66177         * resolv/nss_dns/dns-host.c: Merge copyright years.
66179 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66181         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66182         Optimize memcpy with prefetch if
66183         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
66184         src, dst pointers have unequal 16 byte alignments.
66186 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66188         [BZ #13928]
66189         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
66190         from a CNAME entry and return the minimum ttl for the query.
66191         (gaih_getanswer_slice): Likewise.
66193 2012-03-30  Jeff Law  <law@redhat.com>
66195         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
66196         due to long keys.
66197         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
66198         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
66200         * resolv/nss_dns/dns-host.c: Update copyright year.
66202 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
66204         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
66205         requests to save a system call.  Fix check that all bytes are sent.
66207         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
66208         comments for sendmmsg.
66210 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66212         [BZ #13691]
66213         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
66214         with only 1 character between 0x0041 and 0x01b0.
66215         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
66216         * wcsmbs/tst-mbsnrtowcs.c: New file.
66218 2012-03-29  David S. Miller  <davem@davemloft.net>
66220         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
66221         small copies by hand.
66223 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66225         [BZ #13761]
66226         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
66227         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
66228         group memberships.
66230 2012-03-28  David S. Miller  <davem@davemloft.net>
66232         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
66233         that branches into memcpy.
66234         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66235         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
66236         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66237         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
66238         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
66239         bits.
66240         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
66241         implementation too.
66242         * sysdeps/sparc/mempcpy.S: New file.
66244         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
66245         the IFUNC routine in the libc case.
66246         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66248         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
66249         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
66250         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
66251         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
66252         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
66253         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
66254         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
66255         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
66257         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66258         loop to 256 bytes instead of 64 bytes and fix test signedness.
66260         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66261         * sysdeps/sparc/sparc32/Makefile: rather than here...
66262         * sysdeps/sparc/sparc64/Makefile: and here.
66264 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
66266         * malloc/mallocbug.c: Avoid warnings about unused variables.
66268 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66270         [BZ #13760]
66271         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66272         in the right place. Discard and retry query if response is
66273         larger than input buffer size.
66275 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
66277         [BZ #369]
66278         [BZ #2678]
66279         [BZ #3866]
66280         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66281         x for large integer exponent.
66282         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66283         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
66284         sign of result as needed afterwards.
66285         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66286         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66287         result for underflowing pow the same as for overflow.
66288         (__kernel_standard_l): Handle powl overflow and underflow here
66289         rather than calling __kernel_standard.
66290         * math/libm-test.inc (pow_test): Add more tests.
66292         [BZ #3868]
66293         [BZ #13879]
66294         [BZ #13910]
66295         [BZ #13911]
66296         [BZ #13912]
66297         [BZ #13913]
66298         [BZ #13915]
66299         [BZ #13916]
66300         [BZ #13917]
66301         [BZ #13918]
66302         [BZ #13919]
66303         [BZ #13920]
66304         [BZ #13921]
66305         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66306         * sysdeps/ieee754/k_standard.c: Include <float.h>.
66307         (__kernel_standard_l): New function.
66308         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66309         __kernel_standard.
66310         * math/w_acosl.c (__acosl): Likewise.
66311         * math/w_asinl.c (__asinl): Likewise.
66312         * math/w_atan2l.c (__atan2l): Likewise.
66313         * math/w_atanhl.c (__atanhl): Likewise.
66314         * math/w_coshl.c (__coshl): Likewise.
66315         * math/w_exp10l.c (__exp10l): Likewise.
66316         * math/w_exp2l.c (__exp2l): Likewise.
66317         * math/w_fmodl.c (__fmodl): Likewise.
66318         * math/w_hypotl.c (__hypotl): Likewise.
66319         * math/w_j0l.c (__j0l, __y0l): Likewise.
66320         * math/w_j1l.c (__j1l, __y1l): Likewise.
66321         * math/w_jnl.c (__jnl, __ynl): Likewise.
66322         * math/w_lgammal.c (__lgammal): Likewise.
66323         * math/w_log10l.c (__log10l): Likewise.
66324         * math/w_log2l.c (__log2l): Likewise.
66325         * math/w_logl.c (__logl): Likewise.
66326         * math/w_powl.c (__powl): Likewise.
66327         * math/w_remainderl.c (__remainderl): Likewise.
66328         * math/w_scalbl.c (sysv_scalbl): Likewise.
66329         * math/w_sinhl.c (__sinhl): Likewise.
66330         * math/w_sqrtl.c (__sqrtl): Likewise.
66331         * math/w_tgammal.c (__tgammal): Likewise.
66332         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66333         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66334         * math/libm-test.inc (acos_test): Add more tests.
66335         (acosh_test): Likewise.
66336         (asin_test): Likewise.
66337         (atanh_test): Likewise.
66338         (exp_test): Likewise.
66339         (exp10_test): Likewise.
66340         (exp2_test): Likewise.
66341         (expm1_test): Likewise.
66342         (lgamma_test): Likewise.
66343         (log_test): Likewise.
66344         (log10_test): Likewise.
66345         (log1p_test): Likewise.
66346         (log2_test): Likewise.
66347         (pow_test): Do not allow some spurious overflow exceptions.
66348         (sqrt_test): Add more tests.
66349         (tgamma_test): Likewise.
66350         (y0_test): Likewise.
66351         (y1_test): Likewise.
66352         (yn_test): Likewise.
66354 2012-03-27  Anton Blanchard  <anton@samba.org>
66356         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
66357         MAP_HUGETLB.
66358         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66359         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66360         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66362 2012-03-27  David S. Miller  <davem@davemloft.net>
66364         * conform/Makefile: Run run-conformtest.sh using $(BASH).
66366         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
66367         have-as-vis3 check.
66369 2012-03-27  Andreas Jaeger  <aj@suse.de>
66371         * sysdeps/x86_64/elf/configure.in: Moved to ...
66372         * sysdeps/x86_64/configure.in: ... here.
66373         * sysdeps/x86_64/elf/start.S: Moved to ...
66374         * sysdeps/x86_64/start.S: ... here.
66375         * sysdeps/x86_64/elf/configure: Delete.
66377         * sysdeps/x86_64/configure.in: Merge contents from
66378         sysdeps/i386/configure.in (without i686 check).
66380         * sysdeps/i386/elf/Versions: Merge into ...
66381         * sysdeps/i386/Versions: ... this.
66382         * sysdeps/i386/elf/Versions: Delete file.
66383         * sysdeps/i386/elf/start.S: Moved to ...
66384         * sysdeps/i386/start.S: ...here.
66385         * sysdeps/i386/elf/configure.in: Merge into...
66386         * sysdeps/i386/configure.in: ...here.
66387         * sysdeps/i386/elf/configure.in: Delete file.
66388         * sysdeps/i386/elf/configure: Delete file.
66390         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
66391         * debug/backtracesyms.c: ... here.
66392         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
66393         * debug/backtracesymsfd.c: ... here.
66394         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
66395         * sysdeps/generic/ifunc-sel.h: ... here.
66397         * sysdeps/unix/i386/start.c: Delete file.
66398         * sysdeps/unix/sparc/start.c: Delete file.
66399         * sysdeps/unix/start.c: Delete file.
66401         * sysdeps/sh/elf/configure.in: Moved to ...
66402         * sysdeps/sh/configure.in: ... here.
66403         * sysdeps/sh/elf/start.S: Moved to ...
66404         * sysdeps/sh/start.S: ... here.
66405         * sysdeps/sh/elf/configure: Delete file.
66407         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
66408         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
66409         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
66410         * sysdeps/powerpc/powerpc64/entry.h: ... here.
66411         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
66412         * sysdeps/powerpc/powerpc64/start.S: here.
66413         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
66414         * sysdeps/powerpc/powerpc64/Makefile: ... this.
66415         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
66416         * sysdeps/powerpc/powerpc64/configure.in: ... this.
66417         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
66419         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
66420         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
66421         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
66422         * sysdeps/powerpc/powerpc32/start.S: ... here.
66423         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
66424         * sysdeps/powerpc/powerpc32/configure.in: ... this.
66425         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
66427         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
66428         * sysdeps/powerpc/ifunc-sel.h: ... here.
66429         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
66430         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
66432         * sysdeps/sparc/elf/configure.in: Moved to ...
66433         * sysdeps/sparc/configure.in: ... here.
66434         * sysdeps/sparc/elf/configure: Delete file.
66435         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
66436         * sysdeps/sparc/sparc32/start.S: ... here.
66437         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
66438         * sysdeps/sparc/sparc64/start.S: ... here.
66439         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
66440         * sysdeps/sparc/sparc32/Makefile: ... this.
66441         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
66442         * sysdeps/sparc/sparc64/Makefile: ... this.
66444         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
66445         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
66446         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
66447         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
66448         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
66449         * sysdeps/s390/s390-32/setjmp.S: ... here.
66450         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
66451         * sysdeps/s390/s390-32/configure.in: ... here.
66452         * sysdeps/s390/s390-32/elf/configure: Delete file.
66453         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
66454         * sysdeps/s390/s390-32/start.S: ... here.
66456         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
66457         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
66458         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
66459         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
66460         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
66461         * sysdeps/s390/s390-64/setjmp.S: ... here.
66462         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
66463         * sysdeps/s390/s390-64/configure.in: ... here
66464         * sysdeps/s390/s390-64/elf/configure: Delete file.
66465         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
66466         * sysdeps/s390/s390-64/start.S: ... here.
66467         * sysdeps/s390/s390-64/elf/configure: Delete.
66469         * configure.in: Remove support for elf directories in sysdeps.
66471         * configure: Regenerated.
66472         * sysdeps/i386/configure: Regenerated.
66473         * sysdeps/powerpc/powerpc32/configure: Regenerated.
66474         * sysdeps/powerpc/powerpc64/configure: Regenerated.
66475         * sysdeps/s390/s390-32/configure: Regenerated.
66476         * sysdeps/s390/s390-64/configure: Regenerated.
66477         * sysdeps/sh/configure: Regenerated.
66478         * sysdeps/sparc/configure: Regenerated.
66479         * sysdeps/x86_64/configure: Regenerated.
66481 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
66483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66485         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
66486         denormal result into account.
66488 2012-03-25  Roland McGrath  <roland@hack.frob.com>
66490         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
66491         Reported by Allan McRae <allan@archlinux.org>.
66493 2012-03-23  Jeff Law  <law@redhat.com>
66495         * nss/getnssent.c (__nss_getent): Fix typo.
66497 2012-03-23  David S. Miller  <davem@davemloft.net>
66499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66501 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
66503         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
66504         to pad to uint64_t for each field.
66505         (dl_tls_index): Replace unsigned long with uint64_t.
66507 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
66508         Paul Pluzhnikov  <ppluzhnikov@google.com>
66510         [BZ #6528]
66511         * grp/Makefile (otherlibs): Don't set it.
66512         * inet/Makefile (otherlibs): Likewise.
66513         * login/Makefile (otherlibs): Likewise.
66514         * nscd/Makefile (otherlibs): Likewise.
66515         * posix/Makefile (otherlibs): Likewise.
66516         * pwd/Makefile (otherlibs): Likewise.
66517         * rt/Makefile (otherlibs): Likewise.
66518         * sunrpc/Makefile (otherlibs): Likewise.
66519         * nss/Makefile (otherlibs): Likewise.
66520         Add libnss_files to routines and static-only-routines.
66521         ($(objpfx)getent): Remove rule.
66522         * resolv/Makefile: Add libnss_dns and libresolv to routines and
66523         static-only-routines.
66525 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66527         [BZ #13892]
66528         * math/s_cexp.c: Include <float.h>.
66529         (__cexp): Handle exp result overflowing not necessarily
66530         overflowing both real and imaginary parts of result.
66531         * math/s_cexpf.c: Likewise.
66532         * math/s_cexpl.c: Likewise.
66533         * math/libm-test.inc (cexp_test): Add more tests.
66534         * sysdeps/i386/fpu/libm-test-ulps: Update.
66535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66537 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66539         * include/link.h (ELFW): New macro.
66540         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
66541         Replace ELF64_R_TYPE with ELFW(R_TYPE).
66543 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66545         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
66546         with uint64_t.
66548 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66550         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
66551         declaration.
66552         (struct La_x32_retval): Likewise.
66554 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66556         * sysdeps/x86_64/preconfigure.in: New file.
66557         * sysdeps/x86_64/preconfigure: New generated file.
66559 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66561         [BZ #13824]
66562         * math/e_exp2l.c: Include <float.h>.
66563         (__ieee754_exp2l): Handle overflow and underflow cases
66564         separately.  Only pass fractional part of argument to
66565         __ieee754_expl.
66566         * math/libm-test.inc (exp2_test): Add more tests.
66568         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
66569         negating x to take absolute value.
66570         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
66571         Likewise.
66572         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
66573         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
66574         Likewise.
66575         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
66576         computing low part if x was negated.
66577         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
66579 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66581         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
66582         la_x32_gnu_pltexit.
66583         (pltexit): Cast int_retval to ptrdiff_t.
66584         * elf/tst-auditmod3b.c: Likewise.
66585         * elf/tst-auditmod4b.c: Likewise.
66586         * elf/tst-auditmod5b.c: Likewise.
66587         * elf/tst-auditmod6b.c: Likewise.
66588         * elf/tst-auditmod6c.c: Likewise.
66589         * elf/tst-auditmod7b.c: Likewise.
66591         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
66592         and x32_gnu_pltexit.
66594         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
66595         __ELF_NATIVE_CLASS.
66596         (La_x32_regs): New macro.
66597         (La_x32_retval): Likewise.
66598         (la_x32_gnu_pltenter): New function prototype.
66599         (la_x32_gnu_pltexit): Likewise.
66601 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
66603         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
66604         exponent.
66606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66608         * configure.in (libc_cv_cc_nofma): Check for option to disable
66609         generation of FMA instructions.
66610         * configure: Regenerate.
66611         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
66612         * sysdeps/ieee754/dbl-64/Makefile: New file.
66613         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
66614         Remove brandred-fma4.
66615         (CFLAGS-brandred-fma4.c): Remove.
66616         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
66617         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
66618         define.
66619         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
66620         define.
66622 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66624         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66625         LLONG_MAX != LONG_MAX.
66626         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66627         (_fitoa_word): Likewise.
66628         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
66629         LLONG_MAX != LONG_MAX.
66630         * stdio-common/_itowa.h: Include <_itoa.h>.
66631         (_itowa_word): Use _ITOA_WORD_TYPE on value.
66632         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
66633         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
66634         only if not defined.
66635         (_ITOA_WORD_TYPE): Likewise.
66636         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66637         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
66639 2012-03-21  David S. Miller  <davem@davemloft.net>
66641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66643 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66645         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
66646         of x86_64 when setting libc_cv_slibdir, libdir and
66647         libc_cv_localedir.
66648         * sysdeps/unix/sysv/linux/configure: Regenerated.
66650 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66652         * manual/lang.texi (Old Varargs): Remove section.
66653         (How Variadic): Update menu.
66654         (va_start): Do not mention varargs.h.
66656 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66657             Joseph Myers  <joseph@codesourcery.com>
66659         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
66660         link test.
66661         * configure: Regenerated.
66663 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66665         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
66666         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
66667         conformtest.pl
66669 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66671         * NOTES: Remove.
66672         * Makefile (files-for-dist): Remove NOTES.
66673         (NOTES): Remove rule.
66674         * README: Don't refer to NOTES.
66675         * manual/creature.texi: Don't include macros.texi.
66676         * manual/intro.texi (creature.texi): Remove comment referring to
66677         NOTES.
66679         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
66680         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
66681         * configure: Regenerated.
66682         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
66683         LIBC_TRY_CC_OPTION.
66684         (libc_cv_as_i686): Likewise.
66685         (libc_cv_cc_avx): Likewise.
66686         (libc_cv_cc_sse2avx): Likewise.
66687         (libc_cv_cc_fma4): Likewise.
66688         (libc_cv_cc_novzeroupper): Likewise.
66689         * sysdeps/i386/configure: Regenerated.
66691         [BZ #13883]
66692         * sysdeps/i386/fpu/s_cexp.S: Remove.
66693         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66694         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66695         * math/libm-test.inc (cexp_test): Add more tests.
66696         * sysdeps/i386/fpu/libm-test-ulps: Update.
66697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66699 2012-03-21  Allan McRae  <allan@archlinux.org>
66701         * timezone/Makefile: Do not install iso3166.tab and zone.tab
66703 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66705         [BZ #13871]
66706         * math/w_exp2.c: Do not include <float.h>.
66707         (o_threshold, u_threshold): Remove.
66708         (__exp2): Calculate result before checking finiteness and calling
66709         __kernel_standard.
66710         * math/w_exp2f.c: Likewise.
66711         * math/w_exp2l.c: Likewise.
66712         * math/libm-test.inc (exp2_test): Require overflow exception for
66713         1e6 input.
66715         [BZ #3866]
66716         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
66717         range of signed 64-bit integers before using fistpll.  Remove
66718         checks for whether integers fit in mantissa bits.
66719         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
66720         the range of signed 32-bit integers before using fistpl.  Remove
66721         checks for whether integers fit in mantissa bits.
66722         * sysdeps/i386/fpu/e_powl.S (p64): New object.
66723         (__ieee754_powl): Test for y outside the range of signed 64-bit
66724         integers before using fistpll.  Reduce 64-bit values to 63-bit
66725         ones as needed.
66726         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
66727         divide-by-zero is raised for zero to large negative powers.
66728         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
66729         (__ieee754_powl): Test for y outside the range of signed 64-bit
66730         integers before using fistpll.  Reduce 64-bit values to 63-bit
66731         ones as needed.
66732         * math/libm-test.inc (pow_test): Add more tests.
66734 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66736         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
66737         <stdio-common/_itoa.h>.
66738         * debug/segfault.c: Likewise.
66739         * elf/dl-cache.c: Likewise.
66740         * elf/dl-minimal.c: Likewise.
66741         * elf/dl-misc.c: Likewise.
66742         * elf/dl-sysdep.c: Likewise.
66743         * elf/dl-version.c: Likewise.
66744         * elf/rtld.c: Likewise.
66745         * hurd/hurdsock.c: Likewise.
66746         * hurd/lookup-retry.c: Likewise.
66747         * malloc/malloc.c: Likewise.
66748         * malloc/mtrace.c: Likewise.
66749         * nscd/nscd_getgr_r.c: Likewise.
66750         * nscd/nscd_getpw_r.c: Likewise.
66751         * nscd/nscd_getserv_r.c: Likewise.
66752         * posix/getopt_init.c: Likewise.
66753         * posix/wordexp.c: Likewise.
66754         * stdio-common/_itoa.c: Likewise.
66755         * stdio-common/printf_fphex.c: Likewise.
66756         * stdio-common/vfprintf.c: Likewise.
66757         * string/_strerror.c: Likewise.
66758         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
66759         * sysdeps/i386/i686/hp-timing.h: Likewise.
66760         * sysdeps/mach/_strerror.c: Likewise.
66761         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
66762         * sysdeps/mach/hurd/sethostid.c: Likewise.
66763         * sysdeps/mach/hurd/xmknodat.c: Likewise.
66764         * sysdeps/mach/xpg-strerror.c: Likewise.
66765         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66766         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66767         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
66768         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
66769         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66770         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
66771         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
66772         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
66773         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
66774         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
66775         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
66776         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
66777         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
66778         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
66779         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
66780         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
66781         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
66782         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
66783         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
66784         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
66785         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
66787         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
66789         * stdio-common/_itoa.h: Moved to ...
66790         * sysdeps/generic/_itoa.h: Here.
66792         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
66794         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
66795         instead of "_itoa.h" and "_itowa.h".
66796         * stdio-common/vfprintf.: Likewise.
66798 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66800         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
66801         <bits/wordsize.h>.
66802         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
66803         (__signbit): Likwise.
66804         (llrintf): Likwise.
66805         (llrint): Likwise.
66807 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66809         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
66810         __WORDSIZE != 64.
66812 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
66814         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
66815         OVERFLOW_EXCEPTION_OK.
66816         * math/libm-test.inc ("Philosophy"): Update comment about
66817         exception testing.
66818         (OVERFLOW_EXCEPTION): Define.
66819         (OVERFLOW_EXCEPTION_OK): Likewise.
66820         (INVALID_EXCEPTION_OK): Renumber.
66821         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66822         (IGNORE_ZERO_INF_SIGN): Likewise.
66823         (test_exceptions): Handle FE_OVERFLOW.
66824         (exp10_test): Expect overflow exceptions.
66825         (exp2_test): Likewise.
66826         (expm1_test): Likewise.
66827         (nextafter_test): Likewise.
66828         (pow_test): Likewise.
66829         (scalbn_test): Likewise.
66830         (scalbln_test): Likewise.
66832 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66834         * sysdeps/x86_64/bits/atomic.h
66835         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
66836         64bit integer.
66837         (atomic_exchange_acq): Likewise.
66838         (__arch_exchange_and_add_body): Likewise.
66839         (__arch_add_body): Likewise.
66840         (atomic_add_negative): Likewise.
66841         (atomic_add_zero): Likewise.
66843 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66845         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
66846         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
66848 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66850         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
66851         Check __x86_64__ instead of __WORDSIZE.
66853 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66855         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
66857 2012-03-19  David S. Miller  <davem@davemloft.net>
66859         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66861         * sysdeps/sparc/fpu/fenv_private.h: New file.
66862         * sysdeps/sparc/fpu/math_private.h: Use it.
66863         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
66864         Remove.
66865         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
66866         (libc_feholdexcept_setroundl): Remove.
66867         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
66868         Remove.
66869         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
66870         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
66872 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66874         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
66875         int64_t instead of long int.
66876         (INSERT_WORDS64): Likwise.
66878 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66880         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
66881         _Unwind_GetCFA return to _Unwind_Ptr first.
66883 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
66885         [BZ #13629]
66886         * math/s_clog.c: Include <float.h>.
66887         (__clog): Scale large or subnormal inputs.
66888         * math/s_clogf.c: Likewise.
66889         * math/s_clogl.c: Likewise.
66890         * math/s_clog10.c: Include <float.h>.
66891         (M_LOG10_2): Define.
66892         (__clog10): Scale large or subnormal inputs.
66893         * math/s_clog10f.c: Likewise.
66894         * math/s_clog10l.c: Likewise.
66895         * math/libm-test.inc (clog_test): Add more tests.
66896         (clog10_test): Likewise.
66897         * sysdeps/i386/fpu/libm-test-ulps: Update.
66898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66900         [BZ #11451]
66901         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
66902         x and y.
66903         * math/libm-test.inc (atan2_test): Add another test.
66905         * Makerules (common-objdir-compile): Remove.
66906         * sysdeps/unix/Makefile (config-generated): Do not add
66907         $(unix-generated) to variable.
66908         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
66909         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
66910         Remove rule.
66911         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
66912         Likewise.
66913         [generic bits/local_lim.h] (before-compile): Do not append to
66914         variable.
66915         [generic bits/local_lim.h] (common-generated): Likewise.
66916         [generic sys/param.h] (before-compile): Do not append to variable.
66917         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
66918         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
66919         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
66920         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
66921         include.
66922         [generic sys/param.h] (sys/param.h-includes): Remove variable.
66923         [generic sys/param.h] (sys/param.h-includes): Remove rule.
66924         [generic sys/param.h] ($(addprefix
66925         $(common-objpfx),$(sys/param.h-includes))): Likewise.
66926         [generic sys/param.h] (common-generated): Do not append to
66927         variable.
66928         [generic sys/param.h] (sysdep_headers): Likewise.
66929         [generic bits/errno.h] (before-compile): Do not append to
66930         variable.
66931         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
66932         rule.
66933         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
66934         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
66935         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
66936         [generic bits/errno.h] (common-generated): Do not append to
66937         variable.
66938         [generic bits/ioctls.h] (before-compile): Do not append to
66939         variable.
66940         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
66941         rule.
66942         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
66943         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
66944         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
66945         rule.
66946         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
66947         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
66948         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
66949         [generic bits/ioctls.h] (common-generated): Do not append to
66950         variable.
66951         [generic sys/syscall.h] (syscall.h): Remove variable.
66952         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
66953         rule.
66954         [generic sys/syscall.h] (before-compile): Do not append to
66955         variable.
66956         [generic sys/syscall.h] (common-generated): Likewise.
66957         * sysdeps/unix/errnos-tmpl.c: Remove file.
66958         * sysdeps/unix/errnos.awk: Likewise.
66959         * sysdeps/unix/ioctls-tmpl.c: Likewise.
66960         * sysdeps/unix/ioctls.awk: Likewise.
66961         * sysdeps/unix/mk-local_lim.c: Likewise.
66962         * sysdeps/unix/snarf-ioctls: Likewise.
66964 2012-03-19  Richard Henderson  <rth@twiddle.net>
66966         * sysdeps/i386/fpu/fenv_private.h: New file.
66967         * sysdeps/i386/fpu/math_private.h: Use it.
66968         (math_opt_barrier, math_force_eval): Remove.
66969         (libc_feholdexcept_setround_53bit): Remove.
66970         (libc_feupdateenv_53bit): Remove.
66971         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66972         (math_opt_barrier, math_force_eval): Remove.
66973         (libc_feholdexcept): Remove.
66974         (libc_feholdexcept_setround): Remove.
66975         (libc_fetestexcept, libc_fesetenv): Remove.
66976         (libc_feupdateenv_test): Remove.
66977         (libc_feupdateenv, libc_feholdsetround): Remove.
66978         (libc_feresetround): Remove.
66980         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
66981         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
66983         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
66984         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
66985         (libc_feupdateenv_testl): New.
66986         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
66987         (libc_feupdateenv_testf): New.
66988         (libc_feupdateenv): Use libc_feupdateenv_test.
66989         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
66990         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
66992         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
66993         (libc_feholdsetroundf, libc_feholdsetroundl): New.
66994         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
66995         (libc_feresetround_noex): New.
66996         (libc_feresetround_noexf): New.
66997         (libc_feresetround_noexl): New.
66998         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
66999         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
67000         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
67001         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
67002         SET_RESTORE_ROUND.
67003         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67004         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
67005         (__cos): Likewise.
67006         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
67007         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
67008         SET_RESTORE_ROUND_NOEX.
67009         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
67010         SET_RESTORE_ROUND_NOEXF.
67011         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
67012         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
67013         (libc_feholdsetroundf): New.
67014         (libc_feresetround, libc_feresetroundf): New.
67016         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
67017         (libc_feholdexcept_setround_53bit): Convert from macro to function.
67018         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
67020         * sysdeps/generic/math_private.h: Include <fenv.h>.
67021         (default_libc_feholdexcept): New.
67022         (default_libc_feholdexcept_setround): New.
67023         (default_libc_fesetenv, default_libc_feupdateenv): New.
67024         (libc_feholdexcept): Only define if undefined.
67025         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
67026         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
67027         (libc_feholdexcept_setroundl): Likewise.
67028         (libc_feholdexcept_setround_53bit): Likewise.
67029         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
67030         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
67031         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
67032         (libc_feupdateenv_53bit): Likewise.
67033         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
67034         (libc_feholdexcept): Convert from macro to inline function.
67035         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
67036         (libc_fesetenv, libc_feupdateenv): Likewise.
67038         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
67039         not previously defined.
67040         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
67041         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
67042         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
67043         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
67044         * sysdeps/ieee754/flt-32/math_private.h: New file.
67045         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
67046         math_private.h below SET_FLOAT_WORD.
67047         (__isnan, __isinf_ns, __finite): Remove.
67048         (__isnanf, __isinf_nsf, __finitef): Remove.
67050 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
67052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67054 2012-03-17  David S. Miller  <davem@davemloft.net>
67056         [BZ #6471]
67057         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
67058         for 2.16.
67060 2012-03-16  David S. Miller  <davem@davemloft.net>
67062         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
67063         warnings.
67065         [BZ #6471]
67066         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
67067         properly.
67068         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
67069         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
67070         sysdep_routines when subdir is sysvipc.
67071         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
67072         __getshmlba helper.
67074         * sysdeps/sparc/fpu/libm-test/ulps: Update.
67076 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67078         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
67079         [__LP64__].
67081 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67083         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
67084         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
67085         (__lround): Renamed to ...
67086         (__llround): This.  Replace long int with long long int.
67087         Define lround functions as aliases of llround functions.
67088         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
67090 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67092         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
67093         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
67094         adresses to uintptr_t.  Replace "long int" and "unsigned long
67095         int" with "greg_t" on va_arg.
67097 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67099         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
67100         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
67102         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
67103         Move e_machine check before EI_CLASS check.  Handle x32
67104         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
67105         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
67106         SKIP_EM_IA_64 and include
67107         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
67109         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
67110         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
67111         (add_system_dir): New macro.
67113         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
67114         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
67116 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67118         [BZ #2551]
67119         [BZ #2552]
67120         [BZ #2553]
67121         [BZ #2554]
67122         [BZ #2562]
67123         [BZ #2563]
67124         [BZ #2565]
67125         [BZ #2566]
67126         [BZ #2576]
67127         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
67128         (y0): Likewise.
67129         * math/w_j0f.c (j0f): Likewise.
67130         (y0f): Likewise.
67131         * math/w_j0l.c (__j0l): Likewise.
67132         (__y0l): Likewise.
67133         * math/w_j1.c (j1): Likewise.
67134         (y1): Likewise.
67135         * math/w_j1f.c (j1f): Likewise.
67136         (y1f): Likewise.
67137         * math/w_j1l.c (__j1l): Likewise.
67138         (__y1l): Likewise.
67139         * math/w_jn.c (jn): Likewise.
67140         (yn): Likewise.
67141         * math/w_jnf.c (jnf): Likewise.
67142         (ynf): Likewise.
67143         * math/w_jnl.c (__jnl): Likewise.
67144         (__ynl): Likewise.
67145         * math/libm-test.inc (j0_test): Add more tests.
67146         (j1_test): Likewise.
67147         (jn_test): Likewise.  Add trailing semicolon to existing test.
67148         (y0_test): Likewise.
67149         (y1_test): Likewise.
67150         * sysdeps/i386/fpu/libm-test-ulps: Update.
67151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67153         [BZ #13851]
67154         [BZ #13854]
67155         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67156         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67157         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67158         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67159         (__tanl): Set errno for infinite argument.
67160         * sysdeps/i386/fpu/mptan.c: Remove.
67161         * sysdeps/i386/fpu/s_tan.S: Likewise.
67162         * sysdeps/i386/fpu/s_tanl.S: Likewise.
67163         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67164         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67165         * math/libm-test.inc (tan_test): Add more tests and enable more
67166         tests for double and long double.
67167         * sysdeps/i386/fpu/libm-test-ulps: Update.
67168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67170 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
67172         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67173         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67175 2012-03-16  Roland McGrath  <roland@hack.frob.com>
67177         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67178         * configure.in: Use it for both main tree and add-ons.
67179         * configure: Regenerated.
67181 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67183         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
67185 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67187         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
67188         in comment.
67190         [BZ #13851]
67191         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
67192         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
67193         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
67194         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
67195         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
67196         infinite argument.
67197         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
67198         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
67199         != 0 for prec == 2.
67200         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
67201         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
67202         * sysdeps/i386/fpu/s_cosl.S: Likewise.
67203         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
67204         * sysdeps/i386/fpu/s_sinl.S: Likewise.
67205         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
67206         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
67207         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
67208         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
67209         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
67210         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
67211         * math/libm-test.inc (cos_test): Add more tests and enable more
67212         tests for long double.
67213         (sin_test): Likewise.
67214         (sincos_test): Likewise.
67215         * sysdeps/i386/fpu/libm-test-ulps: Update.
67216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67218 2012-03-16  David S. Miller  <davem@davemloft.net>
67220         * sysdeps/sparc/fpu/math_private.h: New file.
67222 2012-03-15  David S. Miller  <davem@davemloft.net>
67224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
67225         file.
67226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
67227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
67228         file.
67229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
67230         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
67231         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
67232         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
67233         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
67234         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
67235         sysdep routines.
67236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67238         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
67239         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
67241         * sysdeps/sparc/sparc-ifunc.h: New file.
67242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
67243         sparc-ifunc.h
67244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
67246         Likewise.
67247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
67248         Likewise.
67249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
67250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
67251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67253         Likewise.
67254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
67256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
67258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67259         Likewise.
67260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67261         Likewise.
67262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67266         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67267         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67268         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67269         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67270         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67271         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67272         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67273         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67275         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67276         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67277         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67278         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67279         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67280         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67281         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67282         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67283         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67284         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67285         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67287 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67289         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67290         scaling.
67291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67293 2012-03-15  Andreas Jaeger  <aj@suse.de>
67295         [BZ #13852]
67296         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67297         ieee754/flt-32 implementation for sin, cos and sincos.
67298         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67299         * sysdeps/i386/fpu/s_cosf.S: Likewise.
67300         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67301         * sysdeps/i386/fpu/s_sinf.S: Likewise.
67302         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67303         ieee754/flt-32 implementation for tan.
67305         * math/libm-test.inc (cos_test): Enable some large input tests for
67306         float as well
67307         (sin_test): Likewise.
67308         (sincos_test): Likewise.
67309         (tan_test): Add tests for large input.
67311         * sysdeps/i386/fpu/libm-test-ulps: Update.
67313 2012-03-15  Andreas Jaeger  <aj@suse.de>
67315         [BZ #13658]
67316         * math/libm-test.inc (cos_test): Add more test cases.
67317         (sin_test): Likewise.
67318         (sincos_test): Likewise.
67320 2012-03-15  Andreas Jaeger  <aj@suse.de>
67322         [BZ #13837]
67323         * math/libm-test.inc (cos_test): Add a test case for large input
67324         value.
67325         (sin_test): Likewise.
67326         (sincos_test): Likewise.
67328 2012-03-15  Andreas Jaeger  <aj@suse.de>
67329             Joseph Myers  <joseph@codesourcery.com>
67331         [BZ #13658]
67332         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67333         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67334         * sysdeps/i386/fpu/branred.c: Likewise.
67335         * sysdeps/i386/fpu/dosincos.c: Likewise.
67336         * sysdeps/i386/fpu/mpa.c: Likewise.
67337         * sysdeps/i386/fpu/s_cos.S: Likewise.
67338         * sysdeps/i386/fpu/s_sin.S: Likewise.
67339         * sysdeps/i386/fpu/s_sincos.S: Likewise.
67340         * sysdeps/i386/fpu/sincos32.c: Likewise.
67342         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
67343         Define.
67344         (libc_feupdateenv_53bit): Define.
67345         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
67346         Define.
67347         (libc_feupdateenv_53bit): Define.
67349         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
67350         53 bit (without extend i386 double precision).
67352         * math/libm-test.inc (sincos_test): Add tests for large input.
67353         (sin): Likewise.
67354         (cos): Likewise.
67356         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67358 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67362 2012-03-15  David S. Miller  <davem@davemloft.net>
67364         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
67365         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
67366         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
67367         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
67368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
67369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
67370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
67371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
67372         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
67373         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
67374         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
67375         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
67376         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
67377         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
67378         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
67379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
67380         file.
67381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
67382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
67383         file.
67384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
67385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
67386         file.
67387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
67388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
67389         file.
67390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
67391         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
67392         fmin/fmax sysdep routines.
67393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67395 2012-03-14  David S. Miller  <davem@davemloft.net>
67397         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
67398         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
67399         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
67400         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
67401         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
67402         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
67403         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
67404         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
67405         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
67406         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
67407         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
67408         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
67409         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
67410         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
67411         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
67412         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
67413         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
67414         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
67415         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
67416         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
67417         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
67418         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
67419         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
67420         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
67421         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
67422         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
67423         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
67424         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
67425         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
67426         routines.
67427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
67428         file.
67429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
67430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
67431         file.
67432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
67433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
67434         file.
67435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
67436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
67437         file.
67438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
67439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
67440         file.
67441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
67442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
67443         file.
67444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
67445         file.
67446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
67447         file.
67448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
67449         file.
67450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
67451         New file.
67452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
67453         file.
67454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
67455         file.
67456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
67457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
67458         file.
67459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
67460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
67461         file.
67462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
67463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
67464         file.
67465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
67466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
67467         VIS3 routines.
67469         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67470         New file.
67472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67474         * sysdeps/sparc/configure.in: New file.
67475         * sysdeps/sparc/configure: Generate.
67476         * configure.in (libc_cv_sparc_as_vis3): Substitute.
67477         * configure: Regenerate.
67478         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
67479         * config.make.in (have-as-vis3): New.
67480         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
67481         available use -Av9d instead of -Av9a.
67482         * sysdeps/sparc/sparc64/Makefile: Likewise.
67483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
67484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
67485         New file.
67486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
67487         file.
67488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
67489         New file.
67490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
67491         file.
67492         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
67493         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
67494         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
67495         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
67496         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
67498         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
67499         fzeros/fnegs to load 0x80000000 into a float register instead of
67500         using the stack.
67501         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
67503 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67505         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67506         bits/syscall.h.
67507         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
67508         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
67509         ($(inst_includedir)/bits/syscall.h): Remove rule.
67510         ($(objpfx)bits/syscall.d): Include instead of
67511         $(objpfx)syscall-list.d.
67512         (generated): Change syscall-list.h and syscall-list.d to
67513         bits/syscall.h and bits/syscall.d.
67515 2012-03-14  Roland McGrath  <roland@hack.frob.com>
67517         [BZ #13846]
67518         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
67520 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67522         [BZ #13841]
67523         * math/s_csqrt.c: Include <float.h>.
67524         (__csqrt): Scale large or subnormal inputs.
67525         * math/s_csqrtf.c: Likewise.
67526         * math/s_csqrtl.c: Likewise.
67527         * math/libm-test.inc (csqrt_test): Add more tests.
67528         * sysdeps/i386/fpu/libm-test-ulps: Update.
67529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67531         [BZ #13840]
67532         * math/libm-test.inc (hypot_test): Add more tests.
67534 2012-03-13  David S. Miller  <davem@davemloft.net>
67536         [BZ #13840]
67537         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
67538         double-precision for the calculation instead of scaling.
67540 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
67542         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
67543         manipulate bits before adding and subtracting TWO52[sx].
67544         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
67545         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
67546         Likewise.
67547         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
67549 2012-03-13  David S. Miller  <davem@davemloft.net>
67551         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
67552         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
67553         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
67554         rtld-global-offsets.h
67555         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67557         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
67558         large parameters.
67560         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
67562         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
67563         'err' in the ifdef scope in which it is actually used.
67565         * nss/nss_db/db-init.c: Include string.h
67567 2012-03-12  David S. Miller  <davem@davemloft.net>
67569         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67570         masking out of the most significant byte of random value used.
67571         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67572         Fix coding style in previous change.
67574         * sysdeps/unix/sysv/linux/kernel-features.h
67575         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
67576         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
67577         expression.
67578         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
67579         later.
67581 2012-03-11  David S. Miller  <davem@davemloft.net>
67583         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67584         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
67585         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
67586         for 'resultvar' otherwise things get truncated on 64-bit.
67588         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67589         Fix masking out of the most significant byte of random value used.
67591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67593 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
67595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67597 2012-03-09  David S. Miller  <davem@davemloft.net>
67599         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
67600         variables with appropriate CPP guards.
67601         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
67602         from the frame pointer, not the stack pointer.  Correct layout
67603         comments.  Fix test on resulting framesize and the management of
67604         the outregs buffer for pltexit.  Preserve floating point return
67605         values across _dl_call_pltexit call.
67606         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
67607         framesize and the management of the outregs buffer for pltexit.
67608         Preserve floating point return values across _dl_call_pltexit
67609         call.
67610         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
67611         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
67612         (la_sparc64_gnu_pltexit): New functions.
67613         (print_exit): Fix format string for return register value.
67615 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
67617         * sunrpc/Makefile (others): Add rpcgen.
67618         ($(objpfx)rpcgen): Remove special build rule and dependency on
67619         libc.
67620         * sunrpc/rpcgen.c: New file.
67622 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
67624         [BZ #13673]
67625         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
67626         * stdio-common/bug-vfprintf-nargs.c: Likewise.
67627         * sysdeps/i386/crti.S: Likewise.
67628         * sysdeps/i386/crtn.S: Likewise.
67629         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
67630         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
67631         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
67632         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
67633         * sysdeps/sh/crti.S: Likewise.
67634         * sysdeps/sh/crtn.S: Likewise.
67635         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67637         [BZ #13673]
67638         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
67639         with URL.
67640         * locale/programs/locfile-kw.gperf: Likewise.
67641         * locale/programs/charmap-kw.h: Regenerated.
67642         * locale/programs/locfile-kw.h: Likewise.
67644         [BZ #13673]
67645         * intl/plural.y: Replace FSF snail mail address with URL.
67646         * intl/plural.c: Regenerated.
67648 2012-03-09  Richard Henderson  <rth@twiddle.net>
67650         * include/math_private.h: Remove file.
67651         * math/math_private.h: Move file ...
67652         * sysdeps/generic/math_private.h: ... here.
67654         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
67655         * sysdeps/powerpc/fpu/math_private.h: Likewise.
67656         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67658         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
67659         and <math_private.h>.
67660         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67661         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67662         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67663         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67664         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67665         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
67666         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67667         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67668         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67669         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67670         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67671         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67672         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67673         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67674         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67675         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67676         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67677         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67678         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67679         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67680         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67681         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67682         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67683         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67684         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
67685         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67686         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67687         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67688         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67689         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67690         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67691         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67692         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
67693         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67694         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67695         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67696         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67697         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67698         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67699         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67700         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
67701         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67702         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67703         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
67704         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
67705         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67706         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
67707         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
67708         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67709         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67710         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
67711         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
67712         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
67713         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67714         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
67715         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67716         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67717         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
67718         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
67719         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
67720         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67721         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
67722         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67723         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67724         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
67725         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67726         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67727         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67728         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
67729         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
67730         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67731         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67732         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67733         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67734         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
67735         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
67736         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
67737         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67738         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
67739         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
67740         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67741         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
67742         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67743         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67744         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67745         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
67746         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
67747         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
67748         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67749         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67750         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67751         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67752         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67753         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67754         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67755         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67756         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67757         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67758         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67759         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67760         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67761         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67762         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67763         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67764         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67765         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67766         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67767         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67768         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67769         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67770         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67771         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67772         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67773         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67774         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
67775         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67776         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67777         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67778         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67779         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67780         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67781         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67782         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67783         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
67784         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67785         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67786         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67787         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
67788         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67789         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
67790         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
67791         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67792         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67793         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
67794         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
67795         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67796         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67797         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67798         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
67799         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67800         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67801         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67802         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67803         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
67804         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
67805         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67806         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67807         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67808         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
67809         * sysdeps/ieee754/k_standard.c: Likewise.
67810         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67811         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67812         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67813         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67814         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67815         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67816         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67817         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67818         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67819         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67820         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67821         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67822         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67823         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67824         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67825         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67826         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
67827         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67828         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67829         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
67830         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
67831         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
67832         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67833         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67834         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
67835         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
67836         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67837         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67838         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67839         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67840         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
67841         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67842         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67843         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67844         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
67845         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67846         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67847         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
67848         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
67849         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67850         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
67851         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
67852         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
67853         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67854         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
67855         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
67856         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67857         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67858         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67859         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67860         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67861         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
67862         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67863         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
67864         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67865         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67866         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
67867         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
67868         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67869         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67870         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67871         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
67872         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67873         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67874         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67875         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67876         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67877         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67878         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67879         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67880         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67881         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67882         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67883         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67884         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67885         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67886         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
67887         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67888         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67889         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
67890         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
67891         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
67892         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67893         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67894         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
67895         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67896         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67897         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
67898         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67899         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67900         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
67901         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67902         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
67903         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
67904         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67905         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67906         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
67907         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
67908         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
67909         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
67910         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67911         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67912         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67913         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67914         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
67915         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67916         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67917         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
67918         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
67919         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67920         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67921         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67922         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67923         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67924         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67925         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67926         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67927         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67928         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67929         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67930         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67931         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67932         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67933         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67934         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67935         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
67936         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67937         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67938         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67939         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67940         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67941         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67942         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67943         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
67944         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67945         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67946         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
67947         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
67948         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67949         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
67950         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
67951         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67952         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
67953         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
67954         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67955         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67956         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67957         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67958         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67959         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
67960         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67961         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67962         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67963         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67964         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
67965         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
67966         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67967         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67968         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67969         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
67970         * sysdeps/ieee754/s_lib_version.c: Likewise.
67971         * sysdeps/ieee754/s_matherr.c: Likewise.
67972         * sysdeps/ieee754/s_signgam.c: Likewise.
67973         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67974         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67975         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
67976         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
67977         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
67978         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67979         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
67980         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
67981         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
67982         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
67983         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
67984         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
67985         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67986         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67987         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
67988         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67989         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67990         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67991         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67992         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67993         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67995 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67997         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
67998         * sunrpc/rpc_main.c: Likewise.
67999         * sunrpc/rpc_svcout.c: Likewise.
68001 2012-03-09  David S. Miller  <davem@davemloft.net>
68003         * include/math_private.h: New file.
68005 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68007         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
68008         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
68009         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
68010         from <bits/socket_type.h>.
68011         (enum __socket_type): Don't define here.
68012         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
68013         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68014         bits/socket_type.h.
68016         [BZ #13566]
68017         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
68018         checking __USE_GNU.
68020         * Makerules ($(inst_includedir)/%.h): New rule.
68021         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
68022         (install-others): Remove variable setting.
68023         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
68025 2012-03-08  Richard Henderson  <rth@twiddle.net>
68027         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
68028         from macro to inline function; merge with the
68029         !__LIBC_INTERNAL_MATH_INLINES version.
68030         (__ieee754_sqrtf): Likewise.
68032         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
68033         to inline function.
68034         (__rintf, __floor, __floorf): Likewise.
68036         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
68037         macro to inline function.
68038         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
68040         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
68041         not <math/math_private.h>.
68043 2012-03-08  David S. Miller  <davem@davemloft.net>
68045         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
68046         copyright year.
68047         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
68049 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
68051         * resolv/gai_misc.c (handle_requests): Fix struct timespec
68052         normalization.
68053         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
68054         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
68056 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
68058         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
68059         be defined individually, they must be defined as a block.  Define
68060         S for printing a string instead of hidint the different by using a
68061         macro for adding the 'l'.
68062         * stdio-common/tst-fphex-wide.c: Adjust.
68064 2012-03-07  Marek Polacek  <polacek@redhat.com>
68066         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
68068 2012-03-08  Marek Polacek  <polacek@redhat.com>
68070         [BZ #13806]
68071         * stdio-common/Makefile (tests): Add tst-fphex-wide.
68072         * stdio-common/tst-fphex.c: Define a few macros to make the
68073         test reusable.  Use them.
68074         * stdio-common/tst-fphex-wide.c: New file.
68076 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
68078         [BZ #6911]
68079         * manual/macros.texi (gnusystems): New macro.
68080         (nongnusystems): Likewise.
68081         (gnulinuxhurdsystems): Likewise.
68082         (gnuhurdsystems): Likewise..
68083         (gnulinuxsystems): Likewise.
68084         * manual/charset.texi: Use new macros or @theglibc{} to refer to
68085         variants of the GNU system, not "GNU system".
68086         * manual/conf.texi: Likewise.
68087         * manual/errno.texi: Likewise.  Update example of errno macro
68088         expansion.
68089         * manual/filesys.texi: Likewise.
68090         (getumask): Document as specific to GNU/Hurd.
68091         * manual/install.texi: Likewise.  Reword some references to
68092         GNU/Linux.
68093         * manual/intro.texi: Likewise.
68094         * manual/io.texi: Likewise.
68095         (File Name Portability): Detail which constraints are inapplicable
68096         to all GNU systems and which are only inapplicable to GNU/Hurd.
68097         * manual/job.texi: Likewise.
68098         * manual/llio.texi: Likewise.
68099         (O_NOCTTY): Document as present on GNU/Linux.
68100         * manual/maint.texi: Likewise.
68101         * manual/memory.texi: Likewise.
68102         * manual/pattern.texi: Likewise.
68103         * manual/pipe.texi: Likewise.
68104         * manual/process.texi: Likewise.
68105         * manual/resource.texi: Likewise.
68106         (RUSAGE_CHILDREN): Remove statement about specifying a particular
68107         child on GNU/Hurd.
68108         * manual/setjmp.texi: Likewise.
68109         * manual/signal.texi: Likewise.
68110         * manual/startup.texi: Likewise.
68111         * manual/stdio.texi: Likewise.
68112         * manual/terminal.texi: Likewise.
68113         (ONLCR): Document as POSIX.
68114         (OXTABS): Document availability on GNU/Linux as XTABS.
68115         (ONOEOT): Document availability separately from other bits.
68116         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
68117         * manual/time.texi: Likewise.
68118         * manual/users.texi: Likewise.
68119         * INSTALL: Regenerated.
68120         * sysdeps/gnu/errlist.c: Regenerated.
68122         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
68123         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
68124         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
68125         puts.
68126         * configure: Regenerated.
68128 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
68130         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
68131         default includes instead of AC_HEADER_CHECK.
68132         * sysdeps/i386/configure: Regenerated.
68134         [BZ #10716]
68135         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
68136         * math/s_cacoshf.c (__cacoshf): Likewise.
68137         * math/s_cacoshl.c (__cacoshl): Likewise.
68138         * math/s_casinh.c (__casinh): Set signs of result from argument.
68139         * math/s_casinhf.c (__casinhf): Likewise.
68140         * math/s_casinhl.c (__casinhl): Likewise.
68141         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
68142         (casinh_test): Add more tests.
68143         * sysdeps/i386/fpu/libm-test-ulps: Update.
68144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68146 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
68148         * po/zh_TW.po: Update from translation team.
68150         * login/Makefile (distribute): Remove variable.
68151         * catgets/Makefile: Likewise.
68152         * mach/Makefile: Likewise.
68153         * malloc/Makefile: Likewise.
68154         * misc/Makefile: Likewise.
68155         * iconv/Makefile: Likewise.
68156         * nscd/Makefile: Likewise.
68157         * hurd/Makefile: Likewise.
68158         * manual/Makefile: Likewise.
68159         * locale/Makefile: Likewise.
68160         * intl/Makefile: Likewise.
68161         * conform/Makefile: Likewise.
68162         * nss/Makefile: Likewise.
68163         * time/Makefile: Likewise.
68164         * soft-fp/Makefile: Likewise.
68165         * dirent/Makefile: Likewise.
68166         * gmon/Makefile: Likewise.
68167         * po/Makefile: Likewise.
68168         * rt/Makefile: Likewise.
68169         * socket/Makefile: Likewise.
68170         * math/Makefile: Likewise.
68171         * signal/Makefile: Likewise.
68172         * debug/Makefile: Likewise.
68173         * elf/Makefile: Likewise.
68174         * timezone/Makefile: Likewise.
68175         * stdlib/Makefile: Likewise.
68176         * iconvdata/Makefile: Likewise.
68177         * sunrpc/Makefile: Likewise.
68178         * io/Makefile: Likewise.
68179         * argp/Makefile: Likewise.
68180         * inet/Makefile: Likewise.
68181         * hesiod/Makefile: Likewise.
68182         * grp/Makefile: Likewise.
68183         * csu/Makefile: Likewise.
68184         * wctype/Makefile: Likewise.
68185         * crypt/Makefile: Likewise.
68186         * libio/Makefile: Likewise.
68187         * string/Makefile: Likewise.
68188         * nis/Makefile: Likewise.
68189         * resolv/Makefile: Likewise.
68190         * stdio-common/Makefile: Likewise.
68191         * wcsmbs/Makefile: Likewise.
68192         * dlfcn/Makefile: Likewise.
68193         * posix/Makefile: Likewise.
68195         [BZ #6959]
68196         * timezone/Makefile: Don't install timezone files, just the programs
68197         and scripts.
68199 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
68201         * nss/databases.def: Add missing gshadow entry.
68203         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
68205 2012-03-06  Marek Polacek  <polacek@redhat.com>
68207         [BZ #13726]
68208         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
68209         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
68210         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
68211         * stdio-common/tst-long-dbl-fphex.c: New file.
68213 2012-03-06  David S. Miller  <davem@davemloft.net>
68215         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68216         (set_obp_int): New function.
68217         (get_obp_int): New function.
68218         (__get_clockfreq_via_dev_openprom): Likewise.
68219         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
68220         Avoid unused variable warnings on 'val' and use builtin_expect.
68221         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
68222         __builtin_expect.
68223         (INLINE_CLONE_SYSCALL): Likewise.
68225 2012-03-05  David S. Miller  <davem@davemloft.net>
68227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68229 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
68231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68233         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
68234         only for |x| >= 40.
68235         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68237 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
68239         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
68240         Replace gettimeofday with __vdso_gettimeofday.
68242         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68243         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
68244         __vdso_clock_gettime and __vdso_getcpu.
68246         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
68247         time with __vdso_time.
68249 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68251         * manual/lang.texi (size_t): Note types to which size_t may be
68252         equivalent with the GNU C Library, but do not describe when
68253         differences between them are significant.
68255 2012-03-05  Andreas Jaeger  <aj@suse.de>
68257         * sysdeps/i386/fpu/libm-test-ulps: Update.
68259 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68261         [BZ #3976]
68262         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68263         (__ieee754_pow): Save and restore rounding mode and use
68264         round-to-nearest for main computations.
68265         * math/libm-test.inc (pow_test_tonearest): New function.
68266         (pow_test_towardzero): Likewise.
68267         (pow_test_downward): Likewise.
68268         (pow_test_upward): Likewise.
68269         (main): Call the new functions.
68270         * sysdeps/i386/fpu/libm-test-ulps: Update.
68271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68273         [BZ #3976]
68274         * math/libm-test.inc (cosh_test_tonearest): New function.
68275         (cosh_test_towardzero): Likewise.
68276         (cosh_test_downward): Likewise.
68277         (cosh_test_upward): Likewise.
68278         (sinh_test_tonearest): Likewise.
68279         (sinh_test_towardzero): Likewise.
68280         (sinh_test_downward): Likewise.
68281         (sinh_test_upward): Likewise.
68282         (main): Call the new functions.
68283         * sysdeps/i386/fpu/libm-test-ulps: Update.
68284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68286 2012-03-05  Tom de Vries  <tom@codesourcery.com>
68288         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68289         default stack guard is set in last bytes.
68290         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68292 2012-03-05  Kees Cook  <keescook@chromium.org>
68294         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68296         [BZ #13656]
68297         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68298         possibly allocate from heap instead of stack.
68299         * stdio-common/bug-vfprintf-nargs.c: New file.
68300         * stdio-common/Makefile (tests): Add nargs overflow test.
68302 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
68304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68306 2012-03-03  Marek Polacek  <polacek@redhat.com>
68308         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68309         * math/math_private.h: Likewise.
68310         * stdlib/tst-strtod.c: Likewise.
68311         * sysdeps/i386/i486/bits/atomic.h: Likewise.
68312         * sysdeps/x86_64/bits/atomic.h: Likewise.
68314 2012-03-02  David S. Miller  <davem@davemloft.net>
68316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68320         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68321         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68322         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68323         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68325 2012-03-02  Roland McGrath  <roland@hack.frob.com>
68327         [BZ #13792]
68328         * manual/examples/README: New file, says the example source files
68329         can be used under GPL>=2.
68330         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68331         line containing just "*/".
68332         * manual/examples/add.c: Add copyright header (GPL>=2).
68333         * manual/examples/argp-ex1.c: Likewise.
68334         * manual/examples/argp-ex2.c: Likewise.
68335         * manual/examples/argp-ex3.c: Likewise.
68336         * manual/examples/argp-ex4.c: Likewise.
68337         * manual/examples/atexit.c: Likewise.
68338         * manual/examples/db.c: Likewise.
68339         * manual/examples/dir.c: Likewise.
68340         * manual/examples/dir2.c: Likewise.
68341         * manual/examples/execinfo.c: Likewise.
68342         * manual/examples/filecli.c: Likewise.
68343         * manual/examples/filesrv.c: Likewise.
68344         * manual/examples/fmtmsgexpl.c: Likewise.
68345         * manual/examples/genpass.c: Likewise.
68346         * manual/examples/inetcli.c: Likewise.
68347         * manual/examples/inetsrv.c: Likewise.
68348         * manual/examples/isockad.c: Likewise.
68349         * manual/examples/longopt.c: Likewise.
68350         * manual/examples/memopen.c: Likewise.
68351         * manual/examples/memstrm.c: Likewise.
68352         * manual/examples/mkfsock.c: Likewise.
68353         * manual/examples/mkisock.c: Likewise.
68354         * manual/examples/mygetpass.c: Likewise.
68355         * manual/examples/pipe.c: Likewise.
68356         * manual/examples/popen.c: Likewise.
68357         * manual/examples/rprintf.c: Likewise.
68358         * manual/examples/search.c: Likewise.
68359         * manual/examples/select.c: Likewise.
68360         * manual/examples/setjmp.c: Likewise.
68361         * manual/examples/sigh1.c: Likewise.
68362         * manual/examples/sigusr.c: Likewise.
68363         * manual/examples/stpcpy.c: Likewise.
68364         * manual/examples/strdupa.c: Likewise.
68365         * manual/examples/strftim.c: Likewise.
68366         * manual/examples/strncat.c: Likewise.
68367         * manual/examples/subopt.c: Likewise.
68368         * manual/examples/swapcontext.c: Likewise.
68369         * manual/examples/termios.c: Likewise.
68370         * manual/examples/testopt.c: Likewise.
68371         * manual/examples/testpass.c: Likewise.
68372         * manual/examples/timeval_subtract.c: Likewise.
68374         [BZ #13792]
68375         * manual/time.texi (Elapsed Time): Move timeval_subtract example
68376         function to ...
68377         * manual/timeval_subtract.c.texi: ... here, new file.
68379 2012-03-02  David S. Miller  <davem@davemloft.net>
68381         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
68383 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
68385         [BZ #3976]
68386         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
68387         (__sin): Save and restore rounding mode and use round-to-nearest
68388         for all computations.
68389         (__cos): Save and restore rounding mode and use round-to-nearest
68390         for all computations.
68391         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68392         <fenv.h>.
68393         (tan): Save and restore rounding mode and use round-to-nearest for
68394         all computations.
68395         * math/libm-test.inc (cos_test_tonearest): New function.
68396         (cos_test_towardzero): Likewise.
68397         (cos_test_downward): Likewise.
68398         (cos_test_upward): Likewise.
68399         (sin_test_tonearest): Likewise.
68400         (sin_test_towardzero): Likewise.
68401         (sin_test_downward): Likewise.
68402         (sin_test_upward): Likewise.
68403         (tan_test_tonearest): Likewise.
68404         (tan_test_towardzero): Likewise.
68405         (tan_test_downward): Likewise.
68406         (tan_test_upward): Likewise.
68407         (main): Call the new functions.
68408         * sysdeps/i386/fpu/libm-test-ulps: Update.
68409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68411         [BZ #10135]
68412         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
68413         small n, then large n, before computing and testing k+n.
68414         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
68415         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
68416         Likewise.
68417         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
68418         Likewise.
68419         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
68420         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
68421         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
68422         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
68423         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
68424         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
68425         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
68426         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
68427         * math/libm-test.inc (scalbn_test): Add more tests.
68428         (scalbln_test): Likewise.
68430         * manual/filesys.texi (mode_t): Describe constraints on size and
68431         signedness, not exact equivalence to a particular type.
68432         (ino_t): Likewise.
68433         (ino64_t): Likewise.
68434         (dev_t): Likewise.
68435         (nlink_t): Likewise.
68436         (blkcnt_t): Likewise.
68437         (blkcnt64_t): Likewise.
68438         * manual/llio.texi (off_t): Likewise.
68440         [BZ #3976]
68441         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
68442         (__ieee754_exp): Save and restore rounding mode and use
68443         round-to-nearest for all computations.
68444         * math/libm-test.inc (exp_test_tonearest): New function.
68445         (exp_test_towardzero): Likewise.
68446         (exp_test_downward): Likewise.
68447         (exp_test_upward): Likewise.
68448         (main): Call the new functions.
68449         * sysdeps/i386/fpu/libm-test-ulps: Update.
68450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68452 2012-03-01  Chris Demetriou  <cgd@google.com>
68454         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
68455         have predictable order.
68457 2012-03-01  David S. Miller  <davem@davemloft.net>
68459         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
68461         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
68462         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
68463         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
68464         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
68466         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
68467         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
68468         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
68469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
68470         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
68471         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
68472         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
68473         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
68474         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
68476         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68478         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
68479         * sysdeps/sparc/fpu/libm-test-ulps: to here.
68480         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
68482         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
68483         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68484         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68485         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
68486         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
68487         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
68488         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
68489         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68490         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68491         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
68492         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
68493         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68494         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68495         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68496         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68497         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68498         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
68499         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
68500         * sysdeps/sparc/elf/configure: Regenerated.
68502 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
68504         * configure.in (AS, LD): Require binutils 2.20 or later.
68505         * configure: Regenerated.
68506         * manual/install.texi (Tools for Compilation): Give binutils 2.20
68507         as required minimum version.
68508         * INSTALL: Regenerated.
68510         [BZ #2541]
68511         [BZ #4108]
68512         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
68513         before squaring exponent.
68514         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
68515         bottom long double and 27 bits of top long double before squaring
68516         exponent.
68517         * math/libm-test.inc (erfc_test): Add more tests.
68518         * sysdeps/i386/fpu/libm-test-ulps: Update.
68519         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68522 2012-03-01  Kai Tietz  <ktietz@redhat.com>
68524         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
68525         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
68526         containing bit-fields.
68527         * soft-fp/extended.h (_FP_UNION_E): Likewise.
68528         * soft-fp/single.h (_FP_UNION_S): Likewise.
68529         * soft-fp/double.h (_FP_UNION_D): Likewise.
68531 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68533         [BZ #13786]
68534         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
68535         not include ../strcmp.S.
68536         [USE_AS_STRNCASECMP_L]: Likewise.
68537         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
68538         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
68539         * sysdeps/i386/i686/multiarch/strncase_l-c.c
68540         (__strncasecmp_l_ia32): Define as alias to
68541         __strncasecmp_l_nonascii.
68543         [BZ #5794]
68544         * math/libm-test.inc (expm1_test): Add test for bug 5794.
68545         * sysdeps/i386/fpu/libm-test-ulps: Update.
68546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68548         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
68549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68551 2012-02-29  Jeff Law  <law@redhat.com>
68553         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
68554         out of bounds read.
68556 2012-02-29  Marek Polacek  <polacek@redhat.com>
68558         [BZ #13706]
68559         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
68560         * elf/Makefile: Add rules to run tst-unused-dep.out.
68562 2012-02-28  David S. Miller  <davem@davemloft.net>
68564         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
68565         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
68566         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
68567         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
68568         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
68569         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
68571 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68573         * math/libm-test.inc (llround_test): Move one test from
68574         lround_test.  Use TEST_f_L in moved test.
68575         (lround_test): Move misplaced test to llround_test.  Add testcase
68576         from bug 2561.
68578 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
68580         * sysdeps/x86_64/fpu/e_expf.S: New file.
68581         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
68583 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
68585         [BZ #13637]
68586         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
68587         of remain_len that may cause incomplete multi-byte character and
68588         false match.
68589         * posix/bug-regex33.c: New file.
68590         * posix/Makefile (tests): Add bug-regex33.
68592 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
68594         * manual/macros.texi: New file.
68595         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
68596         * manual/libc.texinfo: Include macros.texi.
68597         * manual/creatute.texi: Likewise.
68598         * manual/install.texi: Likewise.
68599         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
68600         @glibcadj{} in references to the GNU C Library.
68601         * manual/charset.texi: Likewise.
68602         * manual/conf.texi: Likewise.
68603         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
68604         when not using those macros.
68605         * manual/creature.texi: Likewise.
68606         * manual/crypt.texi: Likewise.
68607         * manual/errno.texi: Likewise.
68608         * manual/filesys.texi: Likewise.
68609         * manual/header.texi: Likewise.
68610         * manual/install.texi: Likewise.
68611         * manual/intro.texi: Likewise.
68612         * manual/io.texi: Likewise.
68613         * manual/job.texi: Likewise.
68614         * manual/lang.texi: Likewise.
68615         * manual/libc.texiinfo: Likewise.
68616         * manual/llio.texi: Likewise.
68617         * manual/locale.texi: Likewise.
68618         * manual/maint.texi: Likewise.
68619         * manual/math.texi: Likewise.
68620         * manual/memory.texi: Likewise.
68621         * manual/message.texi: Likewise.
68622         * manual/nss.texi: Likewise.
68623         * manual/pattern.texi: Likewise.
68624         * manual/process.texi: Likewise.
68625         * manual/resource.texi: Likewise.
68626         * manual/search.texi: Likewise.
68627         * manual/setjmp.texi: Likewise.
68628         * manual/signal.texi: Likewise.
68629         * manual/socket.texi: Likewise.
68630         * manual/startup.texi: Likewise.
68631         * manual/stdio.texi: Likewise.
68632         * manual/string.texi: Likewise.
68633         * manual/sysinfo.texi: Likewise.
68634         * manual/syslog.texi: Likewise.
68635         * manual/terminal.texi: Likewise.
68636         * manual/time.texi: Likewise.
68637         * manual/users.texi: Likewise.
68638         * INSTALL: Regenerated.
68639         * NOTES: Regenerated.
68640         * sysdeps/gnu/errlist.c: Regenerated.
68642 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
68644         * include/dirent.h: Include <dirstream.h> before
68645         <dirent/dirent.h>.
68647 2012-02-28  David S. Miller  <davem@davemloft.net>
68649         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
68650         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
68651         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
68652         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
68654 2012-02-27  David S. Miller  <davem@davemloft.net>
68656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
68657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
68658         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
68659         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
68661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
68662         frame pointer instead of stack pointer relative arg slot.
68663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68664         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68665         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68667 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
68669         [BZ #3992]
68670         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
68672 2012-02-27  David S. Miller  <davem@davemloft.net>
68674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
68675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
68678         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68679         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68680         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
68681         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
68683 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68685         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
68686         later.  Allow versions 5-9.
68687         * configure: Regenerated.
68688         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
68689         required minimum version and 4.6 as recommended version.  Do not
68690         mention bugs in GCC 2.7 and 2.8.
68691         * INSTALL: Regenerated.
68693 2012-02-27  David S. Miller  <davem@davemloft.net>
68695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
68696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
68697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
68698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
68699         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
68700         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
68701         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
68702         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
68704         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
68705         manipulate bits before adding and subtracting TWO112[sx].
68706         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68708 2012-02-27  Roland McGrath  <roland@hack.frob.com>
68710         [BZ #13775]
68711         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
68712         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
68713         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
68714         being in POSIX, because they are in 1003.1-2008.
68716         * rt/tst-aio.c: Include <fcntl.h>.
68717         * rt/tst-aio7.c: Likewise.
68718         * rt/tst-aio64.c: Likewise.
68720         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
68722 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68724         * manual/install.texi (--with-headers): Describe headers as
68725         interface headers, not private headers.
68726         (Specific advice for GNU/Linux systems): Describe use of headers
68727         from "make headers_install", not private headers from older
68728         kernels.
68729         * INSTALL: Regenerated.
68730         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
68731         Change to 2.6.19.
68732         * sysdeps/unix/sysv/linux/configure: Regenerated.
68734         * manual/llio.texi (fclean): Remove documentation.
68736         * manual/Makefile (libc-texi-generated): New variable.  Include
68737         version.texi.
68738         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
68739         $(libc-texi-generated), not duplicated list of files.
68740         (version.texi, stamp-version): New rules.
68741         (realclean): Remove $(libc-texi-generated), not individual files
68742         from that list.  Do not remove dir-add.texinfo.
68743         * manual/libc.texinfo: Comment out uses of edition numbers and
68744         references to printed manual.  Remove last-updated dates.
68745         (EDITION): Comment out.
68746         (ISBN): Likewise.
68747         (VERSION, UPDATED): Remove.
68748         (version.texi): Include.
68750 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
68752         * sysdeps/posix/spawni.c: Include <signal.h>.
68753         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
68754         * sysdeps/pthread/aio_fsync.c: Likewise.
68756 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
68758         * conform/Makefile (tests): Run only when not cross-compiling and
68759         when fast-check is not defined.
68761         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
68762         * conform/data/limits.h-data: Fixes for POSIX2008.
68763         * conform/run-conformtest.sh: Run all tests.
68764         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
68765         headers.
68766         * include/bits/dlfcn.h: Likewise.
68767         * include/langinfo.h: Likewise.
68768         * include/monetary.h: Likewise.
68769         * include/sys/poll.h: Likewise.
68771         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
68772         for __USE_GNU.
68773         * posix/spawn.h: Define __need_sigset_t.
68774         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
68775         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
68776         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
68777         to get sigevent_t only.
68778         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
68779         only for __USE_GNU.
68780         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68781         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68782         process_vm_writev only for __USE_GNU.
68783         * termios/termios.h: Declare tcgetsid also for POSIX2008.
68785         * conform/Makefile: For now ignore errors from run-conformtest.
68786         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
68787         POSIX to avoid namespace pollution.  Don't prepend headers.
68788         * conform/data/aio.h-data: Fixes for POSIX testing.
68789         * conform/data/fcntl.h-data: Likewise.
68790         * conform/data/glob.h-data: Likewise.
68791         * conform/data/grp.h-data: Likewise.
68792         * conform/data/pthread.h-data: Likewise.
68793         * conform/data/pwd.h-data: Likewise.
68794         * conform/data/signal.h-data: Likewise.
68795         * conform/data/spawn.h-data: Likewise.
68796         * conform/data/stdio.h-data: Likewise.
68797         * conform/data/stdlib.h-data: Likewise.
68798         * conform/data/stropts.h-data: Likewise.
68799         * conform/data/sys/mman.h-data: Likewise.
68800         * conform/data/sys/stat.h-data: Likewise.
68801         * conform/data/sys/types.h-data: Likewise.
68802         * conform/data/sys/wait.h-data: Likewise.
68803         * conform/data/time.h-data: Likewise.
68804         * conform/data/unistd.h-data: Likewise.
68805         * conform/data/utime.h-data: Likewise.
68807         * io/sys/stat.h: fchmod was always in POSIX.
68808         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
68809         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
68810         * rt/aio.h: Define __need_timespec before including <time.h>.
68811         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
68812         struct.  Add forward declaration of pthread_attr_t and use it in
68813         sigevent.
68814         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68815         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68816         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
68817         always remove CLK_TCK definition.
68819 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
68821         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
68823 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
68825         * conform/run-conformtest.sh: New file.
68826         * conform/Makefile: Run run-conformtest for tests.
68827         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
68828         support.
68830         * conform/data/uchar.h-data: New file.
68831         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
68832         * conform/data/arpa/inet.h-data: Likewise.
68833         * conform/data/assert.h-data: Likewise.
68834         * conform/data/complex.h-data: Likewise.
68835         * conform/data/cpio.h-data: Likewise.
68836         * conform/data/ctype.h-data: Likewise.
68837         * conform/data/dirent.h-data: Likewise.
68838         * conform/data/dlfcn.h-data: Likewise.
68839         * conform/data/errno.h-data: Likewise.
68840         * conform/data/fcntl.h-data: Likewise.
68841         * conform/data/float.h-data: Likewise.
68842         * conform/data/fmtmsg.h-data: Likewise.
68843         * conform/data/fnmatch.h-data: Likewise.
68844         * conform/data/ftw.h-data: Likewise.
68845         * conform/data/glob.h-data: Likewise.
68846         * conform/data/grp.h-data: Likewise.
68847         * conform/data/iconv.h-data: Likewise.
68848         * conform/data/inttypes.h-data: Likewise.
68849         * conform/data/langinfo.h-data: Likewise.
68850         * conform/data/libgen.h-data: Likewise.
68851         * conform/data/limits.h-data: Likewise.
68852         * conform/data/locale.h-data: Likewise.
68853         * conform/data/math.h-data: Likewise.
68854         * conform/data/monetary.h-data: Likewise.
68855         * conform/data/mqueue.h-data: Likewise.
68856         * conform/data/ndbm.h-data: Likewise.
68857         * conform/data/net/if.h-data: Likewise.
68858         * conform/data/netdb.h-data: Likewise.
68859         * conform/data/netinet/in.h-data: Likewise.
68860         * conform/data/nl_types.h-data: Likewise.
68861         * conform/data/poll.h-data: Likewise.
68862         * conform/data/pthread.h-data: Likewise.
68863         * conform/data/pwd.h-data: Likewise.
68864         * conform/data/regex.h-data: Likewise.
68865         * conform/data/sched.h-data: Likewise.
68866         * conform/data/search.h-data: Likewise.
68867         * conform/data/semaphore.h-data: Likewise.
68868         * conform/data/setjmp.h-data: Likewise.
68869         * conform/data/signal.h-data: Likewise.
68870         * conform/data/spawn.h-data: Likewise.
68871         * conform/data/stdarg.h-data: Likewise.
68872         * conform/data/stdio.h-data: Likewise.
68873         * conform/data/stdlib.h-data: Likewise.
68874         * conform/data/string.h-data: Likewise.
68875         * conform/data/strings.h-data: Likewise.
68876         * conform/data/stropts.h-data: Likewise.
68877         * conform/data/sys/ipc.h-data: Likewise.
68878         * conform/data/sys/mman.h-data: Likewise.
68879         * conform/data/sys/msg.h-data: Likewise.
68880         * conform/data/sys/resource.h-data: Likewise.
68881         * conform/data/sys/select.h-data: Likewise.
68882         * conform/data/sys/sem.h-data: Likewise.
68883         * conform/data/sys/shm.h-data: Likewise.
68884         * conform/data/sys/socket.h-data: Likewise.
68885         * conform/data/sys/stat.h-data: Likewise.
68886         * conform/data/sys/statvfs.h-data: Likewise.
68887         * conform/data/sys/time.h-data: Likewise.
68888         * conform/data/sys/timeb.h-data: Likewise.
68889         * conform/data/sys/times.h-data: Likewise.
68890         * conform/data/sys/types.h-data: Likewise.
68891         * conform/data/sys/uio.h-data: Likewise.
68892         * conform/data/sys/un.h-data: Likewise.
68893         * conform/data/sys/utsname.h-data: Likewise.
68894         * conform/data/sys/wait.h-data: Likewise.
68895         * conform/data/syslog.h-data: Likewise.
68896         * conform/data/tar.h-data: Likewise.
68897         * conform/data/termios.h-data: Likewise.
68898         * conform/data/utime.h-data: Likewise.
68899         * conform/data/utmpx.h-data: Likewise.
68900         * conform/data/varargs.h-data: Likewise.
68901         * conform/data/wchar.h-data: Likewise.
68902         * conform/data/wctype.h-data: Likewise.
68903         * conform/data/wordexp.h-data: Likewise.
68905         * include/stropts.h: New file.
68906         * include/uchar.h: New file.
68907         * include/aio.h: Changes to allow conformtest.pl to use the headers.
68908         * include/assert.h: Likewise.
68909         * include/ctype.h: Likewise.
68910         * include/dirent.h: Likewise.
68911         * include/dlfcn.h: Likewise.
68912         * include/fcntl.h: Likewise.
68913         * include/fnmatch.h: Likewise.
68914         * include/glob.h: Likewise.
68915         * include/grp.h: Likewise.
68916         * include/libio.h: Likewise.
68917         * include/locale.h: Likewise.
68918         * include/math.h: Likewise.
68919         * include/net/if.h: Likewise.
68920         * include/netdb.h: Likewise.
68921         * include/netinet/in.h: Likewise.
68922         * include/pthread.h: Likewise.
68923         * include/pwd.h: Likewise.
68924         * include/regex.h: Likewise.
68925         * include/sched.h: Likewise.
68926         * include/search.h: Likewise.
68927         * include/setjmp.h: Likewise.
68928         * include/signal.h: Likewise.
68929         * include/stdio.h: Likewise.
68930         * include/stdlib.h: Likewise.
68931         * include/string.h: Likewise.
68932         * include/sys/cdefs.h: Likewise.
68933         * include/sys/mman.h: Likewise.
68934         * include/sys/msg.h: Likewise.
68935         * include/sys/resource.h: Likewise.
68936         * include/sys/select.h: Likewise.
68937         * include/sys/socket.h: Likewise.
68938         * include/sys/stat.h: Likewise.
68939         * include/sys/statvfs.h: Likewise.
68940         * include/sys/time.h: Likewise.
68941         * include/sys/times.h: Likewise.
68942         * include/sys/uio.h: Likewise.
68943         * include/sys/utsname.h: Likewise.
68944         * include/sys/wait.h: Likewise.
68945         * include/termios.h: Likewise.
68946         * include/time.h: Likewise.
68947         * include/ulimit.h: Likewise.
68948         * include/unistd.h: Likewise.
68949         * include/utime.h: Likewise.
68950         * include/wchar.h: Likewise.
68951         * include/wctype.h: Likewise.
68952         * include/wordexp.h: Likewise.
68954         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
68956         * time/time.h: TIME_UTC must be a macro.
68957         Make timespec_get available for ISO C11 only as well.
68959 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
68961         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
68962         Reported by Peng Haitao <penght@cn.fujitsu.com>.
68964 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68966         * configure.in: Use -o not -a in test for unsupported multi-arch.
68968 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68970         * manual/texinfo.tex: Update to version 2012-01-19.16.
68972 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68974         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
68976 2012-02-24  Roland McGrath  <roland@hack.frob.com>
68978         [BZ #13738]
68979         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
68980         * manual/fdl-1.3.texi: New file.
68981         * manual/fdl-1.1.texi: File removed.
68983         [BZ #13738]
68984         * manual/libc.texinfo (FDL_VERSION): New @set.
68985         Use it for mention of FDL in cover text.
68986         (Documentation License): Use it in @include file name.
68988 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68989             Roland McGrath  <roland@hack.frob.com>
68991         [BZ #5461]
68992         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
68993         (not LONG_LONG_MAX and LONG_LONG_MIN.
68994         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
68995         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
68996         name.
68997         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
68999 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69001         [BZ #2547]
69002         [BZ #11365]
69003         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
69004         manipulate bits before adding and subtracting TWO23[sx].
69005         * math/libm-test.inc (nearbyint_test): Add more tests.
69007 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69009         [BZ #2548]
69010         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
69011         bits before adding and subtracting TWO23[sx].
69012         * math/libm-test.inc (rint_test): Add more tests.
69013         (rint_test_tonearest): Likewise.
69014         (rint_test_towardzero): Likewise.
69015         (rint_test_downward): Likewise.
69016         (rint_test_upward: Likewise.
69018 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69020         [BZ #10110]
69021         * include/stdc-predef.h: New file.  Extracted from features.h.
69022         * include/features.h: Include stdc-predef.h.
69023         * Makefile (headers): Add stdc-predef.h.
69024         * CONFORMANCE (Compiler limitations): Update.
69026 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69028         * manual/libc.texinfo (VERSION, UPDATED): Revert.
69030 2012-02-21  David S. Miller  <davem@davemloft.net>
69032         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
69033         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69035 2012-02-20  David S. Miller  <davem@davemloft.net>
69037         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
69038         using a normal save/restore sequence, rather than allocating a
69039         dummy stack frame just to store a frame pointer and restore.
69040         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69042 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69044         * manual/install.texi: Fix stray word in line-wrapped comment.
69046 2012-02-20  David S. Miller  <davem@davemloft.net>
69048         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
69049         both binutils and gcc support GOTDATA.
69051         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
69052         "rd %pc" in the PIC register setup sequences.
69054         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
69055         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
69056         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69057         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
69058         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69059         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69060         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69061         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69062         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
69063         (SYSCALL_ERROR_HANDLER): Likewise.
69064         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69065         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69066         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
69067         (SYSCALL_ERROR_HANDLER): Likewise.
69069         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
69070         (HAVE_GCC_GOTDATA): New.
69071         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
69072         relocation support in both binutils and gcc.
69073         * sysdeps/sparc/elf/configure: Regenerate.
69075         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
69076         * sysdeps/sparc/sparc32/elf/configure: Delete.
69077         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
69078         * sysdeps/sparc/sparc64/elf/configure: Delete.
69079         * sysdeps/sparc/elf/configure.in: New file.
69080         * sysdeps/sparc/elf/configure: Generate.
69082         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
69083         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
69084         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69085         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
69086         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
69088 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69090         * manual/install.texi: Do not mention specific glibc version
69091         numbers.
69092         * manual/libc.texinfo (VERSION, UPDATED): Update.
69093         (@copying): Use @copyright{} and range of years.
69095 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69097         [BZ #13695]
69098         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
69099         [crti.S not in sysdirs] (generated): Do not append.
69100         [crti.S not in sysdirs] (omit-deps): Likewise.
69101         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
69102         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
69103         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
69104         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
69105         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
69106         Likewise.
69107         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
69108         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
69109         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
69110         * csu/defs.awk: Remove file.
69111         * sysdeps/generic/initfini.c: Likewise.
69112         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
69113         variable.
69114         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
69115         Likewise.
69117 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69119         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
69120         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
69121         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
69122         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
69123         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69124         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
69125         <bits/epoll.h>.
69126         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
69127         (__EPOLL_PACKED): Define to empty if not defined by
69128         <bits/epoll.h>.
69129         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
69130         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69131         bits/epoll.h.
69133 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69135         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
69136         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
69137         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
69138         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
69139         <bits/timerfd.h>.
69140         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
69141         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69142         bits/timerfd.h.
69144 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69146         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69147         in C locale.
69148         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69149         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69150         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69153 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
69155         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69156         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69158 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
69160         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69161         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69162         defined.
69163         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69164         Likewise.
69165         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69166         entry for 2.16.
69168 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
69170         * math/w_acos.c: Use non-signaling floating-point comparisons.
69171         * math/w_acosf.c: Likewise.
69172         * math/w_acosh.c: Likewise.
69173         * math/w_acoshf.c: Likewise.
69174         * math/w_acoshl.c: Likewise.
69175         * math/w_acosl.c: Likewise.
69176         * math/w_asin.c: Likewise.
69177         * math/w_asinf.c: Likewise.
69178         * math/w_asinl.c: Likewise.
69179         * math/w_atanh.c: Likewise.
69180         * math/w_atanhf.c: Likewise.
69181         * math/w_atanhl.c: Likewise.
69182         * math/w_exp2.c: Likewise.
69183         * math/w_exp2f.c: Likewise.
69184         * math/w_exp2l.c: Likewise.
69185         * math/w_j0.c: Likewise.
69186         * math/w_j0f.c: Likewise.
69187         * math/w_j0l.c: Likewise.
69188         * math/w_j1.c: Likewise.
69189         * math/w_j1f.c: Likewise.
69190         * math/w_j1l.c: Likewise.
69191         * math/w_jn.c: Likewise.
69192         * math/w_jnf.c: Likewise.
69193         * math/w_log.c: Likewise.
69194         * math/w_log10.c: Likewise.
69195         * math/w_log10f.c: Likewise.
69196         * math/w_log10l.c: Likewise.
69197         * math/w_log2.c: Likewise.
69198         * math/w_log2f.c: Likewise.
69199         * math/w_log2l.c: Likewise.
69200         * math/w_logf.c: Likewise.
69201         * math/w_logl.c: Likewise.
69202         * math/w_sqrt.c: Likewise.
69203         * math/w_sqrtf.c: Likewise.
69204         * math/w_sqrtl.c: Likewise.
69205         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69206         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
69207         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69208         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69209         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69211 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69213         [BZ #9739]
69214         * manual/string.texi (strnlen): Use correct parameter name in
69215         equivalent expression.
69217 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69219         [BZ #11174]
69220         * manual/users.texi (seteuid): Consistently use neweuid for
69221         argument name.
69223 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69225         [BZ #13704]
69226         * manual/nss.texi (Services in the NSS configuration): Correct
69227         list of services in example configuration file.
69229 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
69231         [BZ #11322]
69232         * manual/arith.texi: Remove statements about negative zero
69233         behaving identically to zero.
69235 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69237         [BZ #5993]
69238         * manual/install.texi: Do not document upgrading from libc5.
69240 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69242         [BZ #4596]
69243         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
69245 2012-02-18  David S. Miller  <davem@davemloft.net>
69247         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
69248         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
69249         %o7 across the call.
69250         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
69251         instead.
69252         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
69253         SETUP_PIC_REG_LEAF.
69254         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69255         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
69256         * sysdeps/sparc/crtn.S: Likewise.
69258 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
69260         * aout/Makefile: Remove.
69262 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
69264         [BZ #13058]
69265         * manual/examples/argp-ex1.c (main): Format definition in GNU
69266         style.
69267         * manual/examples/argp-ex2.c (main): Likewise.
69268         * manual/examples/argp-ex3.c (main): Likewise.
69269         * manual/examples/argp-ex4.c (main): Likewise.
69270         * manual/examples/longopt.c (main): Use new-style prototype
69271         definition.
69272         * manual/examples/strncat.c (main): Specify return type and use
69273         (void) for arguments.
69274         * manual/examples/subopt.c (main): Use char **argv argument.
69276 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69278         [BZ #5077]
69279         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69280         rounding modes.
69282 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
69284         [BZ #6907]
69285         * manual/string.texi (strchr): Change when strchrnul is
69286         recommended.
69288 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
69290         [BZ #174]
69291         * manual/locale.texi (setlocale): Document LOCPATH.
69293 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69295         [BZ #10210]
69296         * manual/process.texi (execle): Move @dots{} before last argument.
69298 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
69300         [BZ #12047]
69301         * manual/charset.texi (Generic Charset Conversion): Fix typo
69302         (LC_TYPE -> LC_CTYPE).
69304 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
69306         [BZ #5805]
69307         * manual/arith.texi (scalbn): Use @var{} on parameter names.
69308         (scalbnf): Likewise.
69309         (scalbnl): Likewise.
69310         (scalbln): Likewise.
69311         (scalblnf): Likewise.
69312         (scalblnl): Likewise.
69313         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69314         (vwarnx): Likewise.
69315         (verr): Likewise.
69316         (verrx): Likewise.
69317         * manual/filesys.texi (telldir): Use braces around return type.
69318         * manual/llio.texi (mmap): Add space after comma.
69319         (mmap64): Likewise.
69320         * manual/math.texi (jn): Use @var{} on parameter names.
69321         (jnf): Likewise.
69322         (jnl): Likewise.
69323         (yn): Likewise.
69324         (ynf): Likewise.
69325         (ynl): Likewise.
69326         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69327         line.
69328         * manual/resource.texi (ulimit): Use @dots{} instead of literal
69329         "...".
69330         (sched_get_priority_min): Remove semicolon on @deftypefun line.
69331         (sched_get_priority_max): Likewise.
69332         * manual/signal.texi (sigvec): Add space after comma.
69333         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69334         names.
69335         (if_indextoname): Likewise.
69336         (if_freenameindex): Likewise.
69337         (sendto): Use ',' instead of '.' in prototype.
69338         * manual/startup.texi (syscall): Use @dots{} instead of literal
69339         "...".
69340         * manual/stdio.texi (__fpending): Separate initial words of
69341         paragraph from @deftypefun line.
69342         * manual/syslog.texi (syslog): Use @dots{} instead of literal
69343         "...".
69344         (vsyslog): Use @var{} on parameter names.
69345         * manual/terminal.texi (stty): Use @var{} on parameter names.
69346         * manual/users.texi (getutmp): Use @var{} on parameter names.
69347         (getutmpx): Likewise.
69349 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69351         [BZ #6884]
69352         * manual/stdio.texi (fopen): Fix typos in description of
69353         ",ccs=STRING".
69355 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
69357         [BZ #4026]
69358         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
69359         get clock_id definition.
69361 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
69363         [BZ #4822]
69364         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
69365         (madvise): Cast every argument to void on its own.
69367 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69369         [BZ #9902]
69370         * manual/startup.texi (Exit Status): Fix typo.
69372 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69374         [BZ #10140]
69375         * manual/examples/argp-ex1.c: Include <stdlib.h>.
69376         * manual/examples/argp-ex2.c: Likewise.
69377         * manual/examples/argp-ex3.c: Likewise.
69379 2012-02-16  Richard Henderson  <rth@redhat.com>
69381         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
69382         * sysdeps/s390/s390-32/initfini.c: Remove.
69383         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
69384         * sysdeps/s390/s390-64/initfini.c: Remove.
69386 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69388         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
69389         compiler output for sysdeps/generic/initfini.c.
69390         * sysdeps/sh/elf/initfini.c: Remove file.
69392 2012-02-16  David S. Miller  <davem@davemloft.net>
69394         [BZ #11494]
69395         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
69397         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
69398         * sysdeps/sparc/crti.S: New file.
69399         * sysdeps/sparc/crtn.S: New file.
69400         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
69401         * sysdeps/sparc/sparc64/Makefile: Likewise.
69403 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
69405         [BZ #3335]
69406         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
69408 2012-02-15  Roland McGrath  <roland@hack.frob.com>
69410         [BZ #4822]
69411         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
69413         * mach/devstream.c (cookie_io_functions_t): Macro removed.
69414         (write, read, close): Likewise.
69415         Patch by Aurelien Jarno <aurelien@aurel32.net>.
69417 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
69419         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
69420         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
69421         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
69422         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
69423         <bits/signalfd.h>.
69424         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
69425         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69426         bits/signalfd.h.
69428 2012-02-14  Marek Polacek  <polacek@redhat.com>
69430         * sysdeps/x86_64/crti.S: New file.
69431         * sysdeps/x86_64/crtn.S: New file.
69432         * sysdeps/x86_64/elf/initfini.c: Remove file.
69434 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69436         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
69437         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
69438         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
69439         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
69440         <bits/inotify.h>.
69441         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
69442         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69443         bits/inotify.h.
69445 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69447         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
69448         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
69449         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
69450         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
69451         <bits/eventfd.h>.
69452         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
69453         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69454         bits/eventfd.h.
69456 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
69458         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
69459         __feraiseexcept instead of feraiseexcept.
69461         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
69462         nanosleep invocations.
69463         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
69464         strings, and add error checking for a nanosleep invocations.
69466 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
69468         Replace FSF snail mail address with URLs, as per GNU coding standards.
69469         Most of the snail mail addresses were wrong anyway, and omitting
69470         them makes the source code easier to maintain.  Almost all of the
69471         changes are to license notices and to locale LC_IDENTIFICATION
69472         addresses, except for this one:
69473         * manual/libc.texinfo: In "Published by", give the FSF's URL,
69474         not its snail mail address.
69476 2012-02-09  Richard Henderson  <rth@twiddle.net>
69478         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
69479         of kernel-features.h.
69481         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
69483 2012-02-08  Marek Polacek  <polacek@redhat.com>
69485         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
69486         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
69487         * sysdeps/gnu/_G_config.h: Likewise.
69488         * sysdeps/generic/_G_config.h: Likewise.
69490 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
69492         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
69493         tests.
69494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69496         * sysdeps/powerpc/powerpc32/crti.S: New file.
69497         * sysdeps/powerpc/powerpc32/crtn.S: New file.
69498         * sysdeps/powerpc/powerpc64/crti.S: New file.
69499         * sysdeps/powerpc/powerpc64/crtn.S: New file.
69501         * Makeconfig (have-initfini): Don't set.
69502         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
69503         * configure.in (nopic_initfini): Don't substitute.
69504         * config.h.in (HAVE_INITFINI): Don't #undef.
69505         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
69506         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
69508 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
69510         Support crti.S and crtn.S provided directly by architectures.
69511         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
69512         [crti.S in sysdirs] (omit-deps): Likewise.
69513         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
69514         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
69515         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
69516         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
69517         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
69518         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
69519         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
69520         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
69521         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
69522         compiler output for sysdeps/generic/initfini.c.
69523         * sysdeps/i386/elf/Makefile: Remove file.
69524         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
69526 2012-02-07  Marek Polacek  <polacek@redhat.com>
69528         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
69529         * sysdeps/gnu/_G_config.h: Likewise.
69530         * sysdeps/mach/hurd/_G_config.h: Likewise.
69532 2012-02-07  Marek Polacek  <polacek@redhat.com>
69534         * math/Makefile (tests): Add tst-CMPLX2.
69535         * math/tst-CMPLX2.c: New file.
69537 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
69539         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69541         * math/libm-test.inc (jn_test): Add missing L suffix.
69543 2012-02-06  Marek Polacek  <polacek@redhat.com>
69545         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
69546         * sysdeps/i386/fpu/e_powf.S: Likewise.
69547         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69548         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69549         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69550         * sysdeps/i386/fpu/e_pow.S: Likewise.
69551         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69552         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69553         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69554         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69555         * sysdeps/i386/fpu/e_log2.S: Likewise.
69556         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69557         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69558         * sysdeps/i386/fpu/e_powl.S: Likewise.
69559         * sysdeps/i386/fpu/s_log1p.S: Likewise.
69560         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69561         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69562         * sysdeps/i386/fpu/e_logl.S: Likewise.
69563         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69564         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
69565         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69566         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69567         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69568         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69569         * sysdeps/i386/fpu/e_log.S: Likewise.
69570         * sysdeps/i386/fpu/s_cexp.S: Likewise.
69571         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69572         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
69573         * sysdeps/i386/fpu/e_logf.S: Likewise.
69574         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69575         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69576         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
69577         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69578         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69579         * sysdeps/i386/fpu/e_log10.S: Likewise.
69580         * sysdeps/i386/fpu/s_frexp.S: Likewise.
69581         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69582         * sysdeps/i386/fpu/s_asinh.S: Likewise.
69583         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69584         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69585         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69586         * sysdeps/i386/asm-syntax.h: Likewise.
69587         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69588         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69589         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69590         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
69591         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
69592         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69593         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69594         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69595         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69596         * sysdeps/powerpc/sysdep.h: Likewise.
69597         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
69598         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69600 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69602         [BZ #411]
69603         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
69605 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69607         * sysdeps/i386/sysdep.h: Include <features.h>.
69608         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
69609         version.
69611 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
69613         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
69614         Define.
69615         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
69616         LOAD_PIC_REG_STR.
69618 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69620         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
69621         (SETUP_PIC_REG): Use GET_PC_THUNK.
69622         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
69623         macro.
69625 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69627         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
69628         for non-PIC compilation.
69629         (SETUP_PIC_REG): Add .p2align directive.
69630         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
69631         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
69632         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69633         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69634         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
69635         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69636         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
69637         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69638         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69639         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69640         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69641         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69642         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69643         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69644         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69645         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
69646         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
69647         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69648         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69649         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69650         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69651         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
69652         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69653         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69654         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
69655         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
69656         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69657         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
69658         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69659         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69660         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69661         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69662         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69663         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69664         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69665         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69666         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69667         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69668         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69669         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69670         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69672 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69674         * math/tst-CMPLX.c: Include <stdio.h>.
69676 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
69678         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
69679         float.
69680         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69681         * sysdeps/sparc/bits/mathdef.h: Likewise.
69683 2012-01-31  Marek Polacek  <polacek@redhat.com>
69685         * libio/libio.h: Don't define _PARAMS.
69686         * locale/programs/config.h: Don't define PARAMS.
69687         * stdlib/strtol_l.c: Likewise.
69688         (__strtol_l): Remove PARAMS from the prototype.
69690 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
69692         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
69693         names.  Just use the correct names.  Remove unnecessary wrapper
69694         functions.
69695         * malloc/arena.c: Likewise.
69696         * malloc/hooks.c: Likewise.
69698         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
69699         ARENA_TEST says not to.  Simplify test for creation of a new arena.
69700         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
69702 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
69704         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
69705         into tail calls.
69706         (update_get_addr): New function.
69707         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
69708         GET_ADDR_MODULE parameter.
69710 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69712         * crypt/cert.c: Remove __STDC__ conditionals.
69713         * crypt/crypt-entry.c: Likewise.
69714         * crypt/crypt_util.c: Likewise.
69715         * libio/filedoalloc.c: Likewise.
69716         * libio/fileops.c: Likewise.
69717         * libio/genops.c: Likewise.
69718         * libio/iofclose.c: Likewise.
69719         * libio/iofdopen.c: Likewise.
69720         * libio/iofopen.c: Likewise.
69721         * libio/iofopen64.c: Likewise.
69722         * libio/iogetdelim.c: Likewise.
69723         * libio/iopopen.c: Likewise.
69724         * libio/obprintf.c: Likewise.
69725         * libio/oldfileops.c: Likewise.
69726         * libio/oldiofclose.c: Likewise.
69727         * libio/oldiofdopen.c: Likewise.
69728         * libio/oldiofopen.c: Likewise.
69729         * libio/oldiopopen.c: Likewise.
69730         * libio/wfiledoalloc.c: Likewise.
69731         * libio/wgenops.c: Likewise.
69732         * locale/programs/xmalloc.c: Likewise.
69733         * misc/syslog.c: Likewise.
69734         * stdio-common/xbug.c: Likewise.
69735         * string/memchr.c: Likewise.
69736         * string/memcmp.c: Likewise.
69737         * string/memrchr.c: Likewise.
69738         * string/rawmemchr.c: Likewise.
69739         * sysdeps/posix/getcwd.c: Likewise.
69740         * time/strftime_l.c: Likewise.
69742 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69744         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
69745         * config.make.in (config-cflags-sse2avx): Define.
69746         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
69747         Fix typo.
69749 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
69751         * scripts/config.guess: Update from upstream config git repository.
69752         * scripts/config.sub: Likewise.
69754 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
69756         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
69757         (EM_NUM): Update.
69758         (R_TILEPRO_*, R_TILEGX_*): New macros.
69760         * scripts/firstversions.awk: Fix bug in version range handling.
69762         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
69764         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
69766         * include/sys/epoll.h: New file.
69767         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
69768         libc_hidden_def.
69770 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
69772         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
69773         Avoid unnecessary __WORDSIZE == 64 test.
69774         (fmaxf): Use VEX format if possible.
69775         (fmax): Likewise.
69776         (fminf): Likewise.
69777         (fmin): Likewise.
69779         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
69780         * math/math_private.h: Remove libc_fegetround* and
69781         libc_fesetround*.
69782         * sysdeps/i386/configure.in: Check for -msse2avx.
69783         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
69784         also if SSE2AVX is defined.
69785         Remove libc_fegetround* and libc_fesetround*.
69786         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
69787         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
69788         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
69789         of HAS_YMM_USABLE.
69790         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69791         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69792         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69793         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69794         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69796         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
69798 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69800         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
69801         size is not set.
69802         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69804 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
69806         [BZ #13618]
69807         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
69808         relocation.
69809         * Makeconfig (libm): Define.
69810         * elf/Makefile: Add rules to build and run tst-relsort1.
69811         * elf/tst-relsort1.c: New file.
69812         * elf/tst-relsort1mod1.c: New file.
69813         * elf/tst-relsort1mod2.c: New file.
69815 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
69817         * math/s_ldexp.c: Remove __STDC__ conditionals.
69818         * math/s_ldexpf.c: Likewise.
69819         * math/s_ldexpl.c: Likewise.
69820         * math/s_nextafter.c: Likewise.
69821         * math/s_nexttowardf.c: Likewise.
69822         * math/s_significand.c: Likewise.
69823         * math/s_significandf.c: Likewise.
69824         * math/s_significandl.c: Likewise.
69825         * math/w_jnl.c: Likewise.
69826         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69827         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69828         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69829         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69830         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69831         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69832         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
69833         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69834         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69835         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69836         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69837         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69838         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69839         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69840         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69841         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69842         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69843         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69844         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69845         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69846         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69847         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69848         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69849         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69850         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69851         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69852         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69853         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69854         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69855         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69856         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69857         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69858         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69859         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69860         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69861         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69862         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69863         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69864         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69865         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69866         * sysdeps/ieee754/k_standard.c: Likewise.
69867         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69868         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69869         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69870         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69871         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69872         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69873         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69874         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69875         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69876         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69877         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69878         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69879         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69880         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69881         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69882         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69883         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69884         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69885         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69886         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69887         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69888         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69889         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69890         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69891         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69892         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69893         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69894         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69895         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69896         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69897         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69898         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
69899         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69900         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69901         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69902         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69903         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
69904         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69905         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69906         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
69907         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
69908         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69909         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
69910         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
69911         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69912         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
69913         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
69914         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69915         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69916         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
69917         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
69918         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69919         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69920         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69921         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69922         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69923         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
69924         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69925         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69926         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69927         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69928         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69929         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69930         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69931         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69932         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69933         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69934         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69935         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69936         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69937         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69938         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69939         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69940         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69941         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69942         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69943         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69944         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69945         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69946         * sysdeps/ieee754/s_matherr.c: Likewise.
69947         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69948         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69949         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69950         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69952 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69954         * crypt/md5.h: Remove __STDC__ conditionals.
69955         * libio/libioP.h: Likewise.
69956         * locale/programs/config.h: Likewise.
69957         * sysdeps/generic/sysdep.h: Likewise.
69958         * sysdeps/i386/asm-syntax.h: Likewise.
69959         * sysdeps/s390/asm-syntax.h: Likewise.
69960         * sysdeps/unix/sysdep.h: Likewise.
69961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
69962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69964 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69966         * libio/libio.h: Remove __STDC__ conditionals.
69967         * malloc/obstack.h: Likewise.
69968         * math/complex.h: Likewise.
69969         * math/math.h: Likewise.
69970         * sysdeps/generic/_G_config.h: Likewise.
69971         * sysdeps/gnu/_G_config.h: Likewise.
69972         * sysdeps/mach/hurd/_G_config.h: Likewise.
69973         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69974         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69975         * sysdeps/sparc/bits/mathdef.h: Likewise.
69977 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
69979         [BZ #13583]
69980         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
69981         Clean up HAS_* macros.
69982         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
69983         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
69984         possible.
69985         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
69986         HAS_AVX.
69987         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69988         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69989         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69990         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69991         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69993 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
69995         * elf/tst-unique3.cc (gets): Remove declaration.
69996         * elf/tst-unique3lib.cc (gets): Likewise.
69997         * elf/tst-unique3lib2.cc (gets): Likewise.
69998         * elf/tst-unique4.cc (gets): Likewise.
70000 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
70002         * include/stdio.h: Add C++ protection.  Add gets declarations and
70003         definitions.
70004         * debug/tst-chk1.c: Don't declare gets here.
70005         * stdio-common/tst-gets.c: Likewise.
70007 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70009         * posix/glob: Remove directory.
70011 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70013         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
70015 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
70017         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
70018         of the non-standard EPFNOSUPPORT.
70020 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70022         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
70023         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
70024         ANYWHERE set to 1 only on KERN_NO_SPACE error.
70026 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
70028         * wcsmbs/uchar.h: Test __STDC_VERSION__.
70030 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
70032         * nscd/aicache.c (addhstaiX): Do not cache negative results of
70033         transient errors.
70034         * nscd/grpcache.c (cache_addgr): Likewise.
70035         * nscd/hstcache.c (cache_addhst): Likewise.
70036         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70037         * nscd/pwdcache.c (cache_addpw): Likewise.
70038         * nscd/servicescache.c (cache_addserv): Likewise.
70040 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
70042         * malloc/malloc.c: Various cleanups.
70043         * malloc/hooks.c: Likewise.
70045         * stdlib/Makefile (tests): Add bug-fmtmsg1.
70046         * stdlib/bug-fmtmsg1.c: New file.
70048         * stdlib/fmtmsg.c (init): Add missing unlock.
70049         Patch by Peng Haitao <penght@cn.fujitsu.com>.
70051 2012-01-12  Marek Polacek  <polacek@redhat.com>
70053         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
70054         and _GNU_SOURCE.
70056 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70058         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
70059         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
70060         macro to ensure uniqueness of label name.
70061         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70062         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70064 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
70066         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
70068         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
70069         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70070         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70071         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
70073 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
70075         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
70077         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
70078         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70079         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70081         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
70083         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
70084         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70085         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70086         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
70088         * math/bits/math-finite.h: Add ldexp support.
70090 2012-01-10  Marek Polacek  <polacek@redhat.com>
70092         * locale/programs/localedef.h (show_archive_content): Add noreturn
70093         attribute.
70095 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
70097         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
70099 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70101         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
70103         * io/Makefile (headers): Add bits/poll2.h.
70105 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
70107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
70108         typo #include statement.
70110 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70112         * include/sys/cdefs.h: Define __attribute_alloc_size.
70113         * catgets/gencat.c: Add alloc_size attribute and apply consistently
70114         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
70115         * elf/pldd.c: Likewise.
70116         * iconv/iconv_charmap.c: Likewise.
70117         * iconv/iconvconfig.c: Likewise.
70118         * iconv/strtab.c: Likewise.
70119         * locale/programs/locale.c: Likewise.
70120         * locale/programs/localedef.h: Likewise.
70121         * locale/programs/simple-hash.c: Likewise.
70122         * nscd/nscd.h: Likewise.
70123         * nss/makedb.c: Likewise.
70124         * sysdeps/generic/ldconfig.h: Likewise.
70125         * locale/programs/localedef.c: Remove xmalloc prototype.
70126         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
70128 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70130         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
70131         appropriate.
70133 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70135         * math/Makefile (tests): Add tst-CMPLX.
70136         * math/tst-CMPLX.c: New file.
70138         * math/complex.h (CMPLXL): Fix typo.
70140         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
70141         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
70142         GLIBC_2.16.
70143         * debug/tst-chk1.c: Add poll and ppoll tests.
70144         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
70145         * include/sys/poll.h: Add hidden proto for ppoll.
70146         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70147         * sysdeps/mach/hurd/ppoll.c: Likewise.
70148         * io/ppoll.c: Likewise.
70149         * debug/poll_chk.c: New file.
70150         * debug/ppoll_chk.c: New file.
70151         * include/bits/poll2.h: New file.
70152         * io/bits/poll2.h: New file.
70154         [BZ #1350]
70155         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70157         * configure.in: static is always set to yes.  Remove.
70158         * config.make.in: Don't set build-static.
70159         * Makeconfig: Remove use of build-static.
70160         * dlfcn/Makefile: Likewise.
70161         * elf/Makefile: Likewise.
70162         * math/Makefile: Likewise.
70163         * misc/Makefile: Likewise.
70164         * nptl/Makefile: Likewise.
70165         * sysdeps/mach/hurd/Makefile: Likewise.
70167         * configure.in: PWD_P is not used anymore.
70168         * config.make.in: Remove PWD_P entry.
70170         * configure.in: Remove last remnants of RANLIB.
70171         No need to check for signed size_t anymore.
70172         Don't set libc_commonpagesize and libc_relro_required here for Alpha
70173         and IA-64.
70174         Remove __builtin_expect test because we require at least gcc 3.4.
70175         * aclocal.m4: Likewise.
70177         * wcsmbs/mbrtoc16.c: Implement using towc function.
70178         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70179         * wcsmbs/wcsmbsload.c: Likewise.
70180         * iconv/gconv_simple.c: Likewise.
70181         * iconv/gconv_int.h: Likewise.
70182         * iconv/gconv_builtin.h: Likewise.
70183         * iconv/iconv_prog.c: Remove CHAR16 handling.
70185         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
70187         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
70189         * configure.in: Remove --with-elf and --enable-bounded options.
70190         Dont set base_machine for ia64.  More non-ELF conditions removed.
70191         Remove testing and setting of leading underscore information.
70192         * config.make.in (build-bounded): Set to no.
70193         * config.h.in: Remove NO_UNDERSCORES entry.
70194         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
70195         them.
70196         * csu/start.c: Remove !NO_UNDERSCORE code.
70197         * locale/localeinfo.h: Likewise.
70198         * sysdeps/generic/machine-gmon.h: Likewise.
70199         * sysdeps/generic/sysdep.h: Likewise.
70200         * sysdeps/i386/sysdep.h: Likewise.
70201         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70202         * sysdeps/mach/sysdep.h: Likewise.
70203         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70204         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70205         * sysdeps/sh/sysdep.h: Likewise.
70206         * sysdeps/sparc/sparc32/alloca.S: Likewise.
70207         * sysdeps/unix/i386/sysdep.S: Likewise.
70208         * sysdeps/unix/sparc/start.c: Likewise.
70209         * sysdeps/unix/sparc/sysdep.S: Likewise.
70210         * sysdeps/unix/sparc/sysdep.h: Likewise.
70211         * sysdeps/unix/start.c: Likewise.
70212         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70213         * sysdeps/x86_64/sysdep.h: Likewise.
70215 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
70217         [BZ #13553]
70218         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
70219         for non-gcc.
70220         * argp/argp-fmtstream.h: Use const instead __const.
70221         * argp/argp.h: Likewise.
70222         * assert/assert.h: Likewise.
70223         * bits/fenv.h: Likewise.
70224         * bits/sched.h: Likewise.
70225         * bits/sigset.h: Likewise.
70226         * bits/sigthread.h: Likewise.
70227         * catgets/nl_types.h: Likewise.
70228         * conform/data/pthread.h-data: Likewise.
70229         * crypt/crypt-private.h: Likewise.
70230         * crypt/crypt.h: Likewise.
70231         * crypt/crypt_util.c: Likewise.
70232         * ctype/ctype.h: Likewise.
70233         * debug/execinfo.h: Likewise.
70234         * debug/mbsnrtowcs_chk.c: Likewise.
70235         * debug/mbsrtowcs_chk.c: Likewise.
70236         * debug/wcsnrtombs_chk.c: Likewise.
70237         * debug/wcsrtombs_chk.c: Likewise.
70238         * debug/wcstombs_chk.c: Likewise.
70239         * dirent/dirent.h: Likewise.
70240         * dlfcn/dlfcn.h: Likewise.
70241         * elf/neededtest4.c: Likewise.
70242         * grp/grp.h: Likewise.
70243         * gshadow/gshadow.h: Likewise.
70244         * iconv/gconv.h: Likewise.
70245         * iconv/gconv_int.h: Likewise.
70246         * iconv/gconv_simple.c: Likewise.
70247         * iconv/iconv.h: Likewise.
70248         * iconv/loop.c: Likewise.
70249         * iconv/skeleton.c: Likewise.
70250         * include/aio.h: Likewise.
70251         * include/aliases.h: Likewise.
70252         * include/argz.h: Likewise.
70253         * include/arpa/inet.h: Likewise.
70254         * include/assert.h: Likewise.
70255         * include/dirent.h: Likewise.
70256         * include/dlfcn.h: Likewise.
70257         * include/execinfo.h: Likewise.
70258         * include/fcntl.h: Likewise.
70259         * include/fenv.h: Likewise.
70260         * include/glob.h: Likewise.
70261         * include/grp.h: Likewise.
70262         * include/libintl.h: Likewise.
70263         * include/mntent.h: Likewise.
70264         * include/netdb.h: Likewise.
70265         * include/pwd.h: Likewise.
70266         * include/rpc/netdb.h: Likewise.
70267         * include/sched.h: Likewise.
70268         * include/search.h: Likewise.
70269         * include/shadow.h: Likewise.
70270         * include/signal.h: Likewise.
70271         * include/stdio.h: Likewise.
70272         * include/stdlib.h: Likewise.
70273         * include/string.h: Likewise.
70274         * include/sys/socket.h: Likewise.
70275         * include/sys/stat.h: Likewise.
70276         * include/sys/statfs.h: Likewise.
70277         * include/sys/statvfs.h: Likewise.
70278         * include/sys/syslog.h: Likewise.
70279         * include/sys/time.h: Likewise.
70280         * include/sys/uio.h: Likewise.
70281         * include/time.h: Likewise.
70282         * include/unistd.h: Likewise.
70283         * include/utmp.h: Likewise.
70284         * include/wchar.h: Likewise.
70285         * include/wctype.h: Likewise.
70286         * inet/aliases.h: Likewise.
70287         * inet/arpa/inet.h: Likewise.
70288         * inet/netinet/ether.h: Likewise.
70289         * inet/netinet/in.h: Likewise.
70290         * intl/libintl.h: Likewise.
70291         * io/bits/fcntl2.h: Likewise.
70292         * io/fcntl.h: Likewise.
70293         * io/ftw.h: Likewise.
70294         * io/sys/poll.h: Likewise.
70295         * io/sys/stat.h: Likewise.
70296         * io/sys/statfs.h: Likewise.
70297         * io/sys/statvfs.h: Likewise.
70298         * io/utime.h: Likewise.
70299         * libio/bits/stdio.h: Likewise.
70300         * libio/bits/stdio2.h: Likewise.
70301         * libio/libio.h: Likewise.
70302         * libio/libioP.h: Likewise.
70303         * libio/stdio.h: Likewise.
70304         * locale/lc-ctype.c: Likewise.
70305         * locale/locale.h: Likewise.
70306         * login/utmp.h: Likewise.
70307         * malloc/arena.c: Likewise.
70308         * malloc/malloc.c: Likewise.
70309         * malloc/malloc.h: Likewise.
70310         * malloc/mcheck.c: Likewise.
70311         * malloc/mtrace.c: Likewise.
70312         * math/bits/mathcalls.h: Likewise.
70313         * math/fenv.h: Likewise.
70314         * math/math_private.h: Likewise.
70315         * misc/bits/error.h: Likewise.
70316         * misc/bits/syslog.h: Likewise.
70317         * misc/err.h: Likewise.
70318         * misc/error.h: Likewise.
70319         * misc/fstab.h: Likewise.
70320         * misc/mntent.h: Likewise.
70321         * misc/regexp.h: Likewise.
70322         * misc/search.h: Likewise.
70323         * misc/sgtty.h: Likewise.
70324         * misc/sys/mman.h: Likewise.
70325         * misc/sys/syslog.h: Likewise.
70326         * misc/sys/uio.h: Likewise.
70327         * misc/sys/xattr.h: Likewise.
70328         * misc/ttyent.h: Likewise.
70329         * nis/rpcsvc/ypclnt.h: Likewise.
70330         * nss/nss.h: Likewise.
70331         * posix/bits/unistd.h: Likewise.
70332         * posix/fnmatch.h: Likewise.
70333         * posix/glob.h: Likewise.
70334         * posix/sched.h: Likewise.
70335         * posix/spawn.h: Likewise.
70336         * posix/sys/wait.h: Likewise.
70337         * posix/unistd.h: Likewise.
70338         * posix/wordexp.h: Likewise.
70339         * pwd/pwd.h: Likewise.
70340         * resolv/netdb.h: Likewise.
70341         * resource/sys/resource.h: Likewise.
70342         * rt/aio.h: Likewise.
70343         * rt/bits/mqueue2.h: Likewise.
70344         * rt/mqueue.h: Likewise.
70345         * shadow/shadow.h: Likewise.
70346         * signal/signal.h: Likewise.
70347         * socket/send.c: Likewise.
70348         * socket/sendto.c: Likewise.
70349         * socket/sys/socket.h: Likewise.
70350         * stdio-common/printf.h: Likewise.
70351         * stdlib/bits/stdlib.h: Likewise.
70352         * stdlib/fmtmsg.h: Likewise.
70353         * stdlib/monetary.h: Likewise.
70354         * stdlib/stdlib.h: Likewise.
70355         * stdlib/ucontext.h: Likewise.
70356         * streams/stropts.h: Likewise.
70357         * string/argz.h: Likewise.
70358         * string/bits/string2.h: Likewise.
70359         * string/string.h: Likewise.
70360         * string/strings.h: Likewise.
70361         * sunrpc/rpc/auth.h: Likewise.
70362         * sunrpc/rpc/auth_des.h: Likewise.
70363         * sunrpc/rpc/clnt.h: Likewise.
70364         * sunrpc/rpc/netdb.h: Likewise.
70365         * sunrpc/rpc/pmap_clnt.h: Likewise.
70366         * sunrpc/rpc/xdr.h: Likewise.
70367         * sysdeps/generic/inttypes.h: Likewise.
70368         * sysdeps/generic/net/if.h: Likewise.
70369         * sysdeps/generic/sys/swap.h: Likewise.
70370         * sysdeps/gnu/net/if.h: Likewise.
70371         * sysdeps/gnu/utmpx.h: Likewise.
70372         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
70373         * sysdeps/i386/i486/bits/string.h: Likewise.
70374         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
70375         * sysdeps/s390/bits/string.h: Likewise.
70376         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
70377         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
70378         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
70379         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
70380         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
70381         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
70382         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
70383         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
70384         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
70385         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
70386         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
70387         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
70388         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
70389         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
70390         * sysdeps/unix/sysv/linux/readv.c: Likewise.
70391         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
70392         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
70393         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70394         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
70395         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
70396         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70397         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
70398         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
70399         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
70400         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
70401         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
70402         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
70403         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70404         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
70405         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
70406         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
70407         * sysvipc/sys/ipc.h: Likewise.
70408         * sysvipc/sys/msg.h: Likewise.
70409         * sysvipc/sys/sem.h: Likewise.
70410         * sysvipc/sys/shm.h: Likewise.
70411         * termios/termios.h: Likewise.
70412         * time/sys/time.h: Likewise.
70413         * time/time.h: Likewise.
70414         * wcsmbs/bits/wchar2.h: Likewise.
70415         * wcsmbs/uchar.h: Likewise.
70416         * wcsmbs/wchar.h: Likewise.
70417         * wctype/wctype.h: Likewise.
70419         [BZ #13551]
70420         * Makeconfig: Remove all but ELF support including AIX support.
70421         * Makerules: Likewise.
70422         * config.h.in: Likewise.
70423         * config.make.in: Likewise.
70424         * configure: Likewise.
70425         * configure.in: Likewise.
70426         * csu/Makefile: Likewise.
70427         * csu/version.c: Likewise.
70428         * debug/Makefile: Likewise.
70429         * dlfcn/Makefile: Likewise.
70430         * elf/Makefile: Likewise.
70431         * extra-lib.mk: Likewise.
70432         * iconv/Makefile: Likewise.
70433         * include/libc-symbols.h: Likewise.
70434         * include/shlib-compat.h: Likewise.
70435         * resolv/Makefile: Likewise.
70436         * resolv/res_libc.c: Likewise.
70437         * rt/Makefile: Likewise.
70438         * sysdeps/i386/asm-syntax.h: Likewise.
70439         * sysdeps/i386/sysdep.h: Likewise.
70440         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70441         * sysdeps/mach/sysdep.h: Likewise.
70442         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
70443         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
70444         * sysdeps/s390/asm-syntax.h: Likewise.
70445         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70446         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70447         * sysdeps/sh/sysdep.h: Likewise.
70448         * sysdeps/unix/sparc/sysdep.h: Likewise.
70449         * sysdeps/wordsize-32/divdi3.c: Likewise.
70450         * sysdeps/x86_64/sysdep.h: Likewise.
70452         * argp/Versions: Remove _argp_unlock_xxx.
70454         [BZ #13559]
70455         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
70456         * abilist/libBrokenLocale.abilist: Likewise.
70457         * abilist/libanl.abilist: Likewise.
70458         * abilist/libc.abilist: Likewise.
70459         * abilist/libcrypt.abilist: Likewise.
70460         * abilist/libdl.abilist: Likewise.
70461         * abilist/libm.abilist: Likewise.
70462         * abilist/libnsl.abilist: Likewise.
70463         * abilist/libpthread.abilist: Likewise.
70464         * abilist/libresolv.abilist: Likewise.
70465         * abilist/librt.abilist: Likewise.
70466         * abilist/libthread_db.abilist: Likewise.
70467         * abilist/libutil.abilist: Likewise.
70468         * abilist/libnss_db.abilist: New file.
70470         * scripts/abilist.awk: Add support for indirect functions.
70472         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
70474         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
70476         * shlib-versions: Remove entries for ports architectures.
70478         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
70479         files in ports.
70480         * elf/stackguard-macros.h: Remove support for IA-64.
70481         * elf/tst-auditmod1.c: Likewise.
70482         * sysdeps/generic/ldsodefs.h: Likewise.
70484         * sysdeps/unix/sysv/linux/configure.in: Ports should define
70485         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
70486         configure files.
70488         [BZ #13552]
70489         * configure.in: Remove --enable-omitfp support.
70490         * FAQ.in: Adjust.
70491         * config.make.in: Likewise.
70492         * Makeconfig: Likewise.
70493         * manual/install.texi: Likewise.
70495         In case anyone cares, the IA-64 architecture could move to ports.
70496         * sysdeps/ia64/*: Removed.
70497         * sysdeps/unix/sysv/linux/ia64/*: Removed.
70498         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
70500         [BZ #13555]
70501         * configure.in: Remove entries for unsupported architectures.
70503         [BZ #13533]
70504         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
70505         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
70506         routines.
70507         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
70508         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
70509         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
70510         fall back to using wcrtomb.
70511         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
70512         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
70513         renaming.
70514         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
70515         * wcsmbs/tst-c16c32-1.c: New file.
70517         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
70518         local variable.
70520         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
70522         * elf/tst-unique3.cc: Add explicit declaration of gets.
70523         * elf/tst-unique3lib.cc: Likewise.
70524         * elf/tst-unique3lib2.cc: Likewise.
70525         * elf/tst-unique4.cc: Likewise.
70527         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
70529 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
70531         [BZ #13566]
70532         * assert/assert.h (static_assert): Don't define for C++.
70533         * libio/stdio.h (gets): Do declare for C++ <= C++11.
70534         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
70536 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
70538         * iconv/loop.c (single loop): Fix assertion in storing of
70539         remaining bytes.
70541         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
70543 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
70545         * posix/getconf.c: Update copyright year.
70546         * nss/getent.c: Likewise.
70547         * nss/makedb.c: Likewise.
70548         * iconv/iconvconfig.c: Likewise.
70549         * iconv/iconv_prog.c: Likewise.
70550         * elf/ldconfig.c: Likewise.
70551         * elf/pldd.c: Likewise.
70552         * elf/sotruss.ksh: Likewise.
70553         * catgets/gencat.c: Likewise.
70554         * csu/version.c: Likewise.
70555         * elf/ldd.bash.in: Likewise.
70556         * elf/sprof.c (print_version): Likewise.
70557         * locale/programs/locale.c: Likewise.
70558         * locale/programs/localedef.c: Likewise.
70559         * login/programs/pt_chown.c: Likewise.
70560         * nscd/nscd.c (print_version): Likewise.
70561         * debug/xtrace.sh: Likewise.
70562         * malloc/memusage.sh: Likewise.
70563         * malloc/mtrace.pl: Likewise.
70564         * debug/catchsegv.sh: Likewise.
70566 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
70568         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
70569         pure attribute.
70571 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
70573         [BZ #13533]
70574         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
70575         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
70576         transformations.
70577         * iconv/gconv_int.h: Likewise.
70578         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
70579         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
70580         from libc for GLIBC_2.16.
70581         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
70582         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
70583         * wcsmbs/uchar.h: Really define mbstate_t.
70584         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
70585         * wcsmbs/c16rtomb.c: New file.
70586         * wcsmbs/mbrtoc16.c: New file.
70587         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
70588         for C/POSIX locale.
70589         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
70590         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
70592         * wcsmbs/wchar.h: Add missing __restrict.
70594 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70596         [BZ #13532]
70597         * time/Makefile (routines): Add timespec_get.
70598         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
70599         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
70600         timespec for ISO C11.
70601         * time/timespec_get.c: New file.
70602         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
70603         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
70605         [BZ #13531]
70606         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
70607         * stdlib/stdlib.h: Declare aligned_alloc.
70608         * Versions.def: Add GLIBC_2.16 for libc.
70609         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
70611         [BZ 13527]
70612         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
70613         ISO C11.
70615         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
70616         code.
70618         [BZ #13528]
70619         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
70621         [BZ #13529]
70622         * assert/assert.h (static_assert): Define.
70624         * version.h: Update for 2.16 development version.
70626         [BZ #13526]
70627         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
70628         _ISOC11_SOURCE.
70630         * version.h (RELEASE): Bump for 2.15 release.
70631         * include/features.h (__GLIBC_MINOR__): Bump to 15.
70633         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
70634         Patch by Marek Polacek <mpolacek@redhat.com>.
70636         * bits/byteswap.h: Protect long long constants with __extension__.
70637         * sysdeps/i386/bits/byteswap.h: Likewise.
70638         * sysdeps/ia64/bits/byteswap.h: Likewise.
70639         * sysdeps/s390/bits/byteswap.h: Likewise.
70640         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70642 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70644         [BZ #13540]
70645         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
70646         destination buffer.
70647         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
70649 2011-12-23  Marek Polacek  <polacek@redhat.com>
70651         * elf/dl-addr.c (determine_info): Add inline keyword.
70652         * elf/tst-auditmod4b.c (check_avx): Likewise.
70653         * elf/tst-auditmod6b.c (check_avx): Likewise.
70654         * elf/tst-auditmod6c.c (check_avx): Likewise.
70655         * elf/tst-auditmod7b.c (check_avx): Likewise.
70657 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70659         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
70660         !__SSE_MATH__.
70662 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70664         [BZ #13540]
70665         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
70666         processing for last bytes.
70668 2011-08-06  Bruno Haible  <bruno@clisp.org>
70670         [BZ #13061]
70671         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
70672         U+0385, not to U+1FEE.
70674         [BZ #13062]
70675         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
70676         entry for U+00A5 U+0301.
70678 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70680         [BZ #13166]
70681         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
70682         buffer for the output is too small.
70684         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
70685         optimization.
70687         [BZ #13185]
70688         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
70689         SSE flags if possible.
70691 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70693         [BZ #13540]
70694         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
70695         processing for last bytes.
70697 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
70699         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
70700         (syscall-list-default-options, syscall-list-default-condition)
70701         (syscall-list-includes): Define.
70702         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
70703         list of ABIs and options and #if conditions for each ABI.  Do not
70704         handle common syscalls between ABIs specially.
70705         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
70706         Remove.
70707         (syscall-list-variants, syscall-list-32bit-options)
70708         (syscall-list-32bit-condition, syscall-list-64bit-options)
70709         (syscall-list-64bit-condition): Define.
70710         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
70711         (syscall-list-variants, syscall-list-32bit-options)
70712         (syscall-list-32bit-condition, syscall-list-64bit-options)
70713         (syscall-list-64bit-condition): Define.
70714         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
70715         Remove.
70716         (syscall-list-variants, syscall-list-32bit-options)
70717         (syscall-list-32bit-condition, syscall-list-64bit-options)
70718         (syscall-list-64bit-condition): Define.
70719         * sysdeps/unix/sysv/linux/x86_64/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.
70725 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70727         * locale/iso-639.def: Add brx entry.
70729         [BZ #13328]
70730         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
70731         Proposed by Mariusz_Cukr <marcukr@op.pl>.
70733         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
70734         __feraiseexcept_renamed.
70736 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70738         [BZ #13538]
70739         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
70740         EPOLLET with unsigned values.
70741         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70742         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70744         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
70745         to large cancellation.
70746         * math/s_cacoshf.c: Likewise.
70747         * math/s_cacoshl.c: Likewise.
70749 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
70751         [BZ #13305]
70752         [BZ #12786]
70753         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
70754         * math/s_cacoshf.c: Likewise.
70755         * math/s_cacoshl.c: Likewise.
70757 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70759         [BZ #13439]
70760         * iconv/gconv.h: Define __GCONV_SWAP.
70761         * iconvdata/unicode.c: The swap bit must be stored in __flags.
70762         * iconvdata/utf-16.c: Likewise.
70763         * iconvdata/utf-32.c: Likewise.
70765 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
70767         [BZ #13524]
70768         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
70769         numerator after shifting it by one limb.
70771 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
70773         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
70774         under [__USE_EXTERN_INLINES].
70776 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70778         [BZ #13446]
70779         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
70781 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70783         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
70784         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
70785         optimized code.
70786         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
70787         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
70788         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
70789         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
70790         for strncasecmp/strncasecmp_l compilation.
70791         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
70792         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
70794 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
70796         [BZ #13484]
70797         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
70798         of __asm__.
70800 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70802         [BZ #13506]
70803         * time/tzfile.c (__tzfile_read): Check values from file header.
70805 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70807         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
70808         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
70809         * powerpc/powerpc32/dl-start.S: Likewise.
70810         * powerpc/powerpc32/elf/start.S: Likewise.
70811         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
70812         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
70813         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
70814         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
70815         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
70816         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
70817         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
70818         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
70819         * powerpc/powerpc32/fpu/s_round.S: Likewise.
70820         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
70821         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
70822         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
70823         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
70824         * powerpc/powerpc32/memset.S: Likewise.
70825         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
70826         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70827         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70828         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70829         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70830         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
70831         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
70832         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
70833         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
70834         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
70835         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
70836         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70837         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70839 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70841         * math/libm-test.inc: Added more nearbyint tests.
70842         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
70843         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
70844         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
70845         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
70847 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
70849         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
70850         FD_CLOEXEC.
70852 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70854         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
70855         Add wcscpy-ssse3 wcscpy-c.
70856         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
70857         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
70858         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
70859         * sysdeps/x86_64/wcschr.S: New file.
70860         * sysdeps/x86_64/wcsrchr.S: New file.
70861         * string/test-strcmp.c: Remove checking of wcscmp function for
70862         wrong alignments.
70863         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
70864         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
70865         wcsrchr-sse2 wcsrchr-c.
70866         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
70867         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
70868         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
70869         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
70870         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
70871         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
70872         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
70873         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
70874         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
70875         * wcsmbc/wcschr.c (WCSCHR): New macro.
70877 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70879         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
70880         * wcsmbs/test-wcsrchr.c: New file.
70881         * string/test-strrchr.c: Add wcsrchr support.
70882         (WIDE): New macro.
70883         * wcsmbs/test-wcscpy.c: New file.
70884         * string/test-strcpy.c: Add wcscpy support.
70885         (WIDE): New macro.
70887 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
70889         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
70890         the inner loop.
70892 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
70894         [BZ #13472]
70895         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
70897 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
70899         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
70900         Minor optimizations.
70902         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
70903         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
70904         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
70906 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
70908         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
70909         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
70910         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
70911         for gcc to avoid warnings.
70912         * inet/Makefile (tests): Add tst-checks.
70913         * inet/tst-checks.c: New file.
70915         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
70916         warning.
70918         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
70919         __wmemcmp_sse2.
70921         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
70922         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
70924         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
70926 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
70928         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
70929         problem.
70931         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
70933 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
70935         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
70936         conditional on GCC version.
70937         (__arch_compare_and_exchange_val_8_acq)
70938         (__arch_compare_and_exchange_val_16_acq)
70939         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
70940         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
70941         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
70943 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
70945         * sysdeps/sh/backtrace.c: New file.
70947 2011-12-02  Andreas Schwab  <schwab@redhat.com>
70949         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
70950         parenthesis.
70952 2011-12-01  Andreas Schwab  <schwab@redhat.com>
70954         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
70955         falling back to utime.
70957 2011-11-30  Andreas Schwab  <schwab@redhat.com>
70959         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
70960         expectations for float.
70962 2011-11-29  Andreas Schwab  <schwab@redhat.com>
70964         * locale/weight.h (findidx): Add parameter len.
70965         * locale/weightwc.h (findidx): Likewise.
70966         * posix/fnmatch_loop.c (FCT): Adjust caller.
70967         * posix/regcomp.c (build_equiv_class): Likewise.
70968         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
70969         * posix/regexec.c (check_node_accept_bytes): Likewise.
70970         * string/strcoll_l.c (STRCOLL): Likewise.
70971         * string/strxfrm_l.c (STRXFRM): Likewise.
70973 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
70975         * Makefile.in: Remove CVSOPT handling.
70976         * configure.in: Remove use of AC_REVISION.
70977         * iconvdata/Makefile (distribute): No need to filter out CVS.
70978         * scripts/list-sources.sh: Remove CVS, subversion and monotone
70979         handling.
70981 2011-11-16  Andreas Schwab  <schwab@redhat.com>
70983         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
70984         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
70985         [USE_AS_STRNCASECMP_L]: Likewise.
70986         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
70987         NO_TLS_DIRECT_SEG_REFS.
70988         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
70989         Fix argument offsets for non-PIC.
70990         [USE_AS_STRNCASECMP_L]: Likewise.
70991         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
70992         NO_TLS_DIRECT_SEG_REFS.
70994 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70996         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
70997         O_CLOEXEC.
70998         * locale/loadlocale.c (_nl_load_locale): Likewise.
71000 2011-11-15  Andreas Schwab  <schwab@redhat.com>
71002         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
71003         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
71004         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
71005         (SYSCALL_GETTIME): Set errno on error.
71007         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
71008         count references to noai6ai_cached.
71010 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71012         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
71014         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
71015         FD_CLOEXEC for /proc/self/maps.
71017         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
71018         FD_CLOEXEC for /proc/meminfo.
71020         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
71021         gai.conf.
71023         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
71024         FD_CLOEXEC for given file.
71026         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
71028         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
71029         FD_CLOEXEC for /etc/hosts.
71030         (_gethtent): Likewise.
71032         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
71034         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
71035         cancellation and set FD_CLOEXEC for /etc/netgroup.
71037         * nss/nss_files/files-key.c (search): Don't allow cancellation when
71038         reading /etc/publickey.
71040         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
71041         allow cancellation when reading /etc/group.
71043         * nss/nss_files/files-alias.c (internal_setent): Don't allow
71044         cancellation.
71045         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
71047         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
71048         when using data file.
71050         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
71052         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
71053         (write_nis_obj): Use "c" and "e" in fopen.
71055         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
71057         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
71059         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
71061         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
71063         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
71064         locale.alias.
71066         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
71068         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
71070         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
71072         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
71073         file parsing and set FD_CLOEXEC.
71075 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71077         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
71079 2011-11-14  Andreas Schwab  <schwab@redhat.com>
71081         * malloc/arena.c (arena_get2): Don't call reused_arena when
71082         _int_new_arena failed.
71084 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71086         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
71087         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
71088         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
71089         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71090         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71091         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
71092         to compile strcasecmp and strncasecmp.
71093         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
71094         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
71096         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
71098 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
71100         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
71101         locale-defines.sym to gen-as-const-headers.
71102         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
71103         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
71104         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
71105         to compile strcasecmp and strncasecmp.
71106         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
71107         strcasecmp_l and strncasecmp_l.
71108         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
71109         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
71110         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
71111         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
71112         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
71113         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
71114         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
71115         * sysdeps/i386/i686/multiarch/strncase.S: New file.
71116         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
71117         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
71118         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
71120 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
71122         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
71123         result of SYSDEP_GETTIME_CPU to retval.
71124         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
71125         parameter list to macro.  Remove trailing semicolon.  Adjust users.
71127         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
71128         variable.
71130         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
71131         mantissa words.
71132         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
71134         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
71135         from unused variable.
71137         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
71138         DWARF definitions.
71139         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
71140         for assembling.
71142         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
71143         over namespaces.
71145         * sunrpc/rpc_prot.c (rejected): Fix case value.
71147         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71148         unsigned long long int to avoid warnings in shift.
71150         * posix/regex_internal.c (re_string_reconstruct): Actually use result
71151         of use of trans.
71152         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71153         variable tmp.
71155         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71156         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71157         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71159         * nis/nis_table.c (nis_list): Use variable of correct type for
71160         result of __follow_path call.
71162 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71164         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71165         of math functions ceil, trunc, floor, round, and sqrt, when
71166         avaliable on the platform.
71167         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71168         name clash.
71169         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71170         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71171         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71173 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
71175         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71176         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71178 2011-11-11  Roland McGrath  <roland@hack.frob.com>
71180         * include/unistd.h: Fix __readlink return type.
71181         Reported by Chris Metcalf <cmetcalf@tilera.com>.
71183 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
71185         * stdlib/ucontext.h: Undo last change for makecontext.
71187 2011-11-11  Andreas Schwab  <schwab@redhat.com>
71189         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
71191         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
71192         * setjmp/setjmp.h: Mark functions as non-leaf.
71193         * setjmp/bits/setjmp2.h: Likewise.
71194         * stdlib/ucontext.h: Likewise.
71196 2011-11-10  Andreas Schwab  <schwab@redhat.com>
71198         * malloc/arena.c (_int_new_arena): Don't increment narenas.
71199         (reused_arena): Don't check arena limit.
71200         (arena_get2): Atomically check arena limit.
71202 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
71204         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
71205         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
71207         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
71208         instructions.
71210 2011-11-07  Andreas Schwab  <schwab@redhat.com>
71212         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
71213         handler when locking.
71215         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71216         Fix size of allocated buffer.
71218 2011-11-04  Andreas Schwab  <schwab@redhat.com>
71220         [BZ #10103]
71221         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
71222         declarations for long double functions.
71223         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
71225         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
71227 2011-11-03  Andreas Schwab  <schwab@redhat.com>
71229         * nscd/nscd.c (main): Don't start AVC thread until credentials are
71230         installed.
71232         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
71233         is disabled.
71235 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71237         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
71239 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71241         * include/alloca.h (stackinfo_alloca_round): Define.
71242         (extend_alloca): Use it.
71243         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
71244         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
71245         here.
71247         * scripts/check-local-headers.sh: Ignore libaudit.h.
71249         * nscd/Makefile (extra-objs): Make recursively expanded.
71251 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
71253         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
71254         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
71256         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
71257         * posix/tst-rfc3484-2.c: Likewise.
71258         * posix/tst-rfc3484-3.c: Likewise.
71260         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71261         process_vm_writev.
71262         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71263         process_vm_writev.
71264         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71265         process_vm_writev from libc using GLIBC_2.15 version.
71267         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71269 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
71271         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71272         stack usage.
71274 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
71276         [BZ #13367]
71277         * nss/getent.c (initgroups_keys): Show error message in case no group
71278         names are given.
71280         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71281         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71282         __bump_nl_timestamp.
71283         * nscd/connections (nscd_init): When host database is served open
71284         netlink socket and request notification about configuration changes.
71285         (main_loop_poll): Track netlink file descriptor and bump timestamp
71286         in case data becomes available.
71287         (main_loop_epoll): Likewise.
71288         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71289         (database_pers_head): Add extra_data fileds.
71290         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71291         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71292         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71293         Adjust caller.
71294         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71295         in6ai data, call __free_in6ai.
71296         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71297         Add -DHAVE_NETLINK.
71298         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
71299         interface information.  Reuse previous data if netlink timestamp
71300         is not changed.
71301         (__bump_nl_timestamp): New function.
71302         (__free_in6ai): New function.
71304 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
71306         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71307         close_not_cancel_no_status here.
71308         (__check_pf): Reorganize code a bit to not call close twice if OOM.
71310 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71312         [BZ #13276]
71313         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71314         return value.
71316         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71317         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71318         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71320 2011-07-03  Andreas Jaeger  <aj@suse.de>
71322         [BZ #10709]
71323         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71324         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71325         * math/libm-test.inc (sin_test): Add test case.
71327 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71329         [BZ #13337]
71330         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71331         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71333         * elf/chroot_canon.c (chroot_canon): Cleanups.
71335         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71337         [BZ #13335]
71338         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
71339         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71341         * string/test-strchr.c: Make usable for strchrnul testing.
71342         * string/test-strchrnul.c: New file.
71343         * string/Makefile (strop-tests): Add strchrnul.
71345         * po/it.po: Update from translation team.
71346         * po/es.po: Likewise.
71348 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
71350         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
71351         the three constants needed as parameters.  Drop the others.
71352         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
71353         __m128i_strloadu_tolower.
71354         Create and initialize variable zero and use it in all the places
71355         where _mm_setzero_si128 was used.
71357         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
71358         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
71359         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
71360         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
71361         anymore.
71362         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
71363         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
71364         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
71365         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
71366         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
71367         __mpranred, __mptan.
71368         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
71369         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
71370         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
71371         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
71372         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
71373         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
71374         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
71375         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
71376         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
71378 2011-10-28  Andreas Schwab  <schwab@redhat.com>
71380         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
71381         redefine if SHARED.
71382         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
71384         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
71385         wide char related routines to wcsmbs subdir.
71387 2011-10-27  Andreas Schwab  <schwab@redhat.com>
71389         [BZ #13344]
71390         * misc/sys/cdefs.h (__THROWNL): Define.
71391         * posix/unistd.h: Use __THREADNL instead of __THREAD
71392         for memory synchronization functions.
71394 2011-10-26  Roland McGrath  <roland@hack.frob.com>
71396         [BZ #13349]
71397         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
71398         doesn't exist.
71399         * manual/stdio.texi (Obstack Streams): Node removed.
71401 2011-10-26  Andreas Schwab  <schwab@redhat.com>
71403         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
71404         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71405         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71407         * math/math_private.h (math_force_eval): Allow non-addressable
71408         arguments.
71409         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
71411 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71413         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
71414         file is not needed.
71416         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
71417         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
71418         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71419         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71420         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71421         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71422         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71423         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
71424         Add AVX variants.
71425         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
71426         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
71427         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
71428         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
71429         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
71430         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
71431         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
71432         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
71433         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
71434         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
71435         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
71436         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
71437         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
71438         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
71439         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
71440         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
71441         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
71442         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
71443         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
71445         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
71446         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
71448         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
71449         place.  Use VEX encoding when compiling for AVX.
71451 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71453         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
71454         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
71456         * string/test-strchr.c (do_test): Don't generate NUL bytes.
71458 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71460         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
71461         useless if() expression.
71462         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71463         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71464         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71465         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71466         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71467         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71468         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71469         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71470         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71471         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71472         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71473         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71474         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71475         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71476         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71477         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71478         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71479         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71480         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71482         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
71484 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71486         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
71487         condition.
71488         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71490 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71492         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
71493         .text section.  Avoid duplicate constants.
71494         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71495         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71496         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71497         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71498         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71499         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71500         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71501         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71502         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71503         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
71504         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71505         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71506         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71507         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71508         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71509         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71510         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71511         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71512         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71513         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71514         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71515         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71516         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71517         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
71518         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
71519         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
71520         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
71521         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
71522         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
71523         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
71524         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
71525         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
71526         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71527         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
71528         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
71529         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
71530         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
71531         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
71532         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
71533         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
71534         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
71535         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
71536         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
71537         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
71538         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
71540 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
71542         * sysdeps/x86_64/dla.h: Move to ...
71543         * sysdeps/x86_64/fpu/dla.h: ...here.
71544         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
71545         situations.  Use __builtin_fma only for gcc 4.6 and up.
71547         * config.make.in: Add have-mfma4 entry.
71548         * configure.in: Substitute libc_cv_cc_fma4.
71549         * math/Makefile (dbl-only-routines): Add sincostab.
71550         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
71551         Use __sincostab not sincos.
71552         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
71553         name is a macro.
71554         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71555         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71556         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71557         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
71558         using __copysign.
71559         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
71560         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
71561         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
71562         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
71563         and __inv.
71564         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
71565         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
71566         __copysign.
71567         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
71568         define aliases when function name is a macro.
71569         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
71570         sysdeps/ieee754/dbl-64/sincos.tbl.
71571         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
71572         fma4-enabled routines.
71573         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
71574         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
71575         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
71576         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
71577         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
71578         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
71579         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
71580         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
71581         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
71582         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
71583         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
71584         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
71585         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
71586         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
71587         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
71588         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
71589         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
71590         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
71591         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
71592         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
71593         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
71594         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
71595         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
71596         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
71597         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
71598         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
71599         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
71600         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
71601         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
71602         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
71604         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
71605         rename.
71606         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71607         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71608         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71609         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71610         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71611         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71612         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71613         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71615 2011-10-24  Andreas Schwab  <schwab@redhat.com>
71617         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
71619 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71621         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
71623         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
71624         prediction.
71625         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
71627         * string/strnlen.c: Don't define STRNLEN, reverse logic.
71628         Remove unused variable magic_bits.
71629         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
71631         * string/strnlen.c: Define and use STRNLEN macro.
71632         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
71633         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
71634         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
71635         * wcsmbs/wcslen.c: Define and use WCSLEN.
71636         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
71637         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
71638         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
71639         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
71640         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
71641         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
71642         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71644 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71646         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71647         strnlen-sse2-no-bsf.
71648         Rename strlen-no-bsf to strlen-sse2-no-bsf.
71649         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
71650         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
71651         Add strnlen support.
71652         (USE_AS_STRNLEN): New macro.
71653         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
71654         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
71655         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
71656         * sysdeps/x86_64/wcslen.S: New file.
71658 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
71660         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71661         XMM-moves are used for copying on small sizes.
71663 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71665         * wcsmbs/Makefile (strop-tests): Add wcschr.
71666         * wcsmbs/test-wcschr.c: New file.
71667         * string/test-strchr.c: Update.
71668         Add wcschr support.
71669         (WIDE): New macro.
71671 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71673         * wcsmbs/Makefile (strop-tests): Add wcslen.
71674         * wcsmbs/test-wcslen.c: New file.
71675         * string/test-strlen.c: Update.
71676         Add wcslen support.
71677         (WIDE): New macro.
71679 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71681         * po/it.po: Update from translation team.
71683 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71685         * sysdeps/x86_64/wcscmp.S: Update.
71686         Fix wrong comparison semantics.
71687         wcscmp shall use signed comparison not unsigned.
71688         Don't use substraction to avoid overflow bug.
71689         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
71690         * wcsmbc/wcscmp.c: Likewise.
71691         * string/test-strcmp.c: Likewise.
71692         Add new tests to check cases with negative values.
71694 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71696         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
71697         * sysdeps/x86_64/dla.h: ...here.  New file.
71698         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
71699         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71700         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71701         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71702         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71703         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71704         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71705         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71706         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71708 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
71710         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
71711         __ynl_finite aliases.
71713 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71715         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71717         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
71718         define DLA_FMA.
71719         [DLA_FMA] (EMULV): Use DLA_FMA.
71720         [DLA_FMA] (MUL12): Use EMULV.
71721         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
71722         that are not needed.
71723         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71724         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71725         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71726         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71727         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71728         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71729         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71731 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
71733         * math/s_nan.c: Undef __nan.
71734         * math/s_nanf.c: Undef __nanf.
71735         * math/s_nanl.c: Undef __nanl.
71736         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
71737         "math_private.h".
71739 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71741         * math/s_catan.c: Add branch predictions.
71742         * math/s_catanf.c: Likewise.
71743         * math/s_catanh.c: Likewise.
71744         * math/s_catanhf.c: Likewise.
71745         * math/s_catanhl.c: Likewise.
71746         * math/s_catanl.c: Likewise.
71747         * math/s_cexp.c: Likewise.
71748         * math/s_cexpf.c: Likewise.
71749         * math/s_cexpl.c: Likewise.
71750         * math/s_clog.c: Likewise.
71751         * math/s_clog10.c: Likewise.
71752         * math/s_clog10f.c: Likewise.
71753         * math/s_clog10l.c: Likewise.
71754         * math/s_clogf.c: Likewise.
71755         * math/s_clogl.c: Likewise.
71756         * math/s_csqrt.c: Likewise.
71757         * math/s_csqrtf.c: Likewise.
71758         * math/s_csqrtl.c: Likewise.
71759         * math/s_ctanf.c: Likewise.
71760         * math/s_ctanh.c: Likewise.
71761         * math/s_ctanhf.c: Likewise.
71762         * math/s_ctanhl.c: Likewise.
71763         * math/s_ctanl.c: Likewise.
71765         * math/math_private.h: Define __nan, __nanf, __nanl.
71766         * math/s_cacosh.c: Include <math_private.h>.
71767         * math/s_cacoshl.c: Likewise.
71768         * math/s_casinh.c: Likewise.
71769         * math/s_casinhf.c: Likewise.
71770         * math/s_casinhl.c: Likewise.
71771         * math/s_ccos.c: Rely entire on ccosh.
71772         * math/s_ccosf.c: Rely entire on ccoshf.
71773         * math/s_ccosl.c: Rely entirely on ccoshl.
71774         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
71775         Remove tests for FE_INVALID.
71776         * math/s_ccoshf.c: Likewise.
71777         * math/s_ccoshl.c: Likewise.
71778         * math/s_csin.c: Likewise.
71779         * math/s_csinf.c: Likewise.
71780         * math/s_csinh.c Likewise.
71781         * math/s_csinhf.c: Likewise.
71782         * math/s_csinhl.c: Likewise.
71783         * math/s_csinl.c: Likewise.
71784         * math/s_ctan.c: Likewise.
71785         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
71786         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
71787         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
71789 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
71791         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
71792         compilation problems.
71794         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
71795         __builtin_expect.
71797 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
71799         * sysdeps/i386/configure.in: Test for -mfma4 option.
71800         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
71801         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
71802         COMMON_CPUID_INDEX_80000001.
71803         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
71804         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
71805         use it if FMA3 is not supported.
71806         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
71808         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
71809         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71811 2011-10-20  Andreas Schwab  <schwab@redhat.com>
71813         [BZ #12892]
71814         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
71815         it would create a cycle with a link time dependency.
71817 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
71819         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
71820         instruction.
71821         * string/Makefile (strop-tests): Add rawmemchr.
71822         * string/test-rawmemchr.c: New file.
71824         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
71825         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
71826         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
71827         when compiling str{,n}casecmp and when AVX is available.  Hook up
71828         new optimized code in initializers.
71830 2011-10-19  Andreas Schwab  <schwab@redhat.com>
71832         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
71833         __feraiseexcept instead of feraiseexcept.
71835 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
71837         * math/math_private.h: Define defaults for libc_fetestexcept and
71838         libc_feupdateenv.
71839         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
71840         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
71841         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71842         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71843         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71844         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71845         libc_fetestexcept and libc_feupdateenv.
71847         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
71848         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
71849         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
71850         * sysdeps/x86_64/fpu/math_private.h: Define special version of
71851         libc_feholdexcept_setround.
71853         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
71854         Add s_nearbyint-c and s_nearbyintf-c.
71855         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
71856         nearbyintf inlines.
71857         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
71858         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
71859         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
71860         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
71862         * math/math_private.h: Define defaults for libc_fegetround,
71863         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
71864         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
71865         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
71866         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
71867         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
71868         standard functions.
71869         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71870         Remove comments and hacks for old compiler versions.
71871         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71872         libc_fegetround, libc_fesetround, libc_feholdexcept, and
71873         libc_feholdexceptl.
71875 2011-10-18  Andreas Schwab  <schwab@redhat.com>
71877         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
71878         (__feraiseexcept_renamed): Add __NTH.
71879         (feraiseexcept): Add __NTH.  Rename local variables to fix
71880         namespace violations.
71882 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
71884         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
71886         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
71888         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
71889         recently added interfaces.
71890         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
71892         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
71893         about macro parameter expansion.
71895         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
71896         __NO_MATH_INLINES is defined.  Cleanups.
71898         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
71899         and __floorf is target has SSE4.1.
71900         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
71901         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
71902         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
71903         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
71905         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
71906         name.
71907         (floorf): Likewise.
71909         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
71911 2011-10-17  Andreas Schwab  <schwab@redhat.com>
71913         * misc/sys/cdefs.h: Fix last change.
71915         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
71916         database lookup.
71918 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
71920         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
71922         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
71923         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71924         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71925         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71926         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71927         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71928         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71929         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71930         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71931         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
71932         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
71933         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
71934         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
71935         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
71936         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
71937         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
71938         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
71939         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
71940         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
71941         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
71942         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
71943         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
71945         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
71946         ceil, ceilf, floor, floorf.
71948         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
71949         Perform IRELATIVE relocations last.
71951         * elf/do-rel.h: Add another parameter nrelative, replacing the
71952         local variable with the same name.  Change name of the function
71953         to end in Rel or Rela (uppercase).
71954         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
71955         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
71956         elf_dynamic_do_##reloc function.
71958 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71960         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
71961         is sufficient, at least on modern CPUs.
71963         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
71965         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
71966         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
71968         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
71969         __expl_finite.
71970         * math/bits/math-finite.h: Add entries for exp.
71971         * math/e_expl.c: Add __*_finite alias.
71972         * sysdeps/i386/fpu/e_exp.S: Likewise.
71973         * sysdeps/i386/fpu/e_expf.S: Likewise.
71974         * sysdeps/i386/fpu/e_expl.c: Likewise.
71975         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71976         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71977         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
71978         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
71979         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
71980         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71981         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71983         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
71984         is sufficient, at least on modern CPUs.
71986         * ctype/ctype-info.c (__ctype_init): Define.
71987         * include/ctype.h (__ctype_init): Declare.
71988         (__ctype_b_loc): The variable is always initialized.
71989         (__ctype_toupper_loc): Likewise.
71990         (__ctype_tolower_loc): Likewise.
71991         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
71992         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
71994 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
71996         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
71998         * configure.in: Also look in $cxxmachine/include for C++ system
71999         headers.
72001 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72003         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
72004         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
72005         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
72006         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
72007         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
72008         (USE_AS_WMEMCMP): New macro.
72009         Fixing indents.
72010         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
72011         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
72012         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
72013         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
72014         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72015         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
72016         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
72017         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
72018         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
72019         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
72020         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
72021         (USE_AS_WMEMCMP): New macro.
72022         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
72023         * sysdeps/string/test-memcmp.c: Update.
72024         Fix simple_wmemcmp.
72025         Add new tests.
72026         * wcsmbs/wmemcmp.c: Update.
72027         (WMEMCMP): New macro.
72028         Fix overflow bug.
72030 2011-10-12  Andreas Jaeger  <aj@suse.de>
72032         [BZ #13268]
72033         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
72035 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72037         * libio/iofwide.c (do_length): Avoid warning.
72039         * ctype/ctype.h (__isctype_f): Add missing __THROW.
72041 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
72043         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
72045         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
72046         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
72047         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
72048         * sysdeps/i386/i686/fpu/e_log.S: New file.
72049         * sysdeps/i386/i686/fpu/e_logf.S: New file.
72050         * sysdeps/i386/i686/fpu/e_logl.S: New file.
72052         * ctype/ctype.h: Add support for inlined isXXX functions when
72053         compiling C++ code.
72055 2011-10-14  Andreas Schwab  <schwab@redhat.com>
72057         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72059         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
72061 2011-10-13  Roland McGrath  <roland@hack.frob.com>
72063         [BZ #13291]
72064         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
72066 2011-10-13  Andreas Schwab  <schwab@redhat.com>
72068         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
72069         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
72070         feraiseexcept.
72072         * sysdeps/x86_64/memrchr.S: Check for zero size.
72074         * string/stratcliff.c: Add memrchr tests.
72076 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72078         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72079         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
72080         rawmemchr-sse2 rawmemchr-sse2-bsf.
72081         * sysdeps/i386/i686/multiarch/memchr.S: New file.
72082         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
72083         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
72084         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
72085         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
72086         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
72087         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
72088         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
72089         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
72090         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
72091         * string/memrchr.c (MEMRCHR): New macro.
72093 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
72095         Add integration with gcc's -ffinite-math-only and optimize wrapper
72096         functions in libm.
72097         * Versions.def: Define GLIBC_2.15 version for libm.
72098         * math/Makefile (headers): Add bits/math-finite.h.
72099         * math/bits/math-finite.h: New file.
72100         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
72101         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
72102         * math/e_acoshl.c: Add __*_finite alias.
72103         * math/e_acosl.c: Likewise.
72104         * math/e_asinl.c: Likewise.
72105         * math/e_atan2l.c: Likewise.
72106         * math/e_atanhl.c: Likewise.
72107         * math/e_coshl.c: Likewise.
72108         * math/e_exp10.c: Likewise.
72109         * math/e_exp10f.c: Likewise.
72110         * math/e_exp10l.c: Likewise.
72111         * math/e_exp2l.c: Likewise.
72112         * math/e_fmodl.c: Likewise.
72113         * math/e_gammal_r.c: Likewise.
72114         * math/e_hypotl.c: Likewise.
72115         * math/e_j0l.c: Likewise.
72116         * math/e_j1l.c: Likewise.
72117         * math/e_jnl.c: Likewise.
72118         * math/e_lgammal_r.c: Likewise.
72119         * math/e_log10l.c: Likewise.
72120         * math/e_log2l.c: Likewise.
72121         * math/e_logl.c: Likewise.
72122         * math/e_powl.c: Likewise.
72123         * math/e_sinhl.c: Likewise.
72124         * math/e_sqrtl.c: Likewise.
72125         * math/e_scalb.c: Completely rewritten and optimized.
72126         * math/e_scalbf.c: Likewise.
72127         * math/e_scalbl.c: Likewise.
72128         * math/w_acos.c: Likewise.
72129         * math/w_acosf.c: Likewise.
72130         * math/w_acosl.c: Likewise.
72131         * math/w_acosh.c: Likewise.
72132         * math/w_acoshf.c: Likewise.
72133         * math/w_acoshl.c: Likewise.
72134         * math/w_asin.c: Likewise.
72135         * math/w_asinf.c: Likewise.
72136         * math/w_asinl.c: Likewise.
72137         * math/w_atan2.c: Likewise.
72138         * math/w_atan2f.c: Likewise.
72139         * math/w_atan2l.c: Likewise.
72140         * math/w_atanh.c: Likewise.
72141         * math/w_atanhf.c: Likewise.
72142         * math/w_atanhl.c: Likewise.
72143         * math/w_exp10.c: Likewise.
72144         * math/w_exp10f.c: Likewise.
72145         * math/w_exp10l.c: Likewise.
72146         * math/w_fmod.c: Likewise.
72147         * math/w_fmodf.c: Likewise.
72148         * math/w_fmodl.c: Likewise.
72149         * math/w_j0.c: Likewise.
72150         * math/w_j0f.c: Likewise.
72151         * math/w_j0l.c: Likewise.
72152         * math/w_j1.c: Likewise.
72153         * math/w_j1f.c: Likewise.
72154         * math/w_j1l.c: Likewise.
72155         * math/w_jn.c: Likewise.
72156         * math/w_jnf.c: Likewise.
72157         * math/w_log.c: Likewise.
72158         * math/w_logf.c: Likewise.
72159         * math/w_logl.c: Likewise.
72160         * math/w_log10.c: Likewise.
72161         * math/w_log10f.c: Likewise.
72162         * math/w_log10l.c: Likewise.
72163         * math/w_log2.c: Likewise.
72164         * math/w_log2f.c: Likewise.
72165         * math/w_log2l.c: Likewise.
72166         * math/w_pow.c: Likewise.
72167         * math/w_powf.c: Likewise.
72168         * math/w_powl.c: Likewise.
72169         * math/w_remainder.c: Likewise.
72170         * math/w_remainderf.c: Likewise.
72171         * math/w_remainderl.c: Likewise.
72172         * math/w_scalb.c: Likewise.
72173         * math/w_scalbf.c: Likewise.
72174         * math/w_scalbl.c: Likewise.
72175         * math/w_sqrt.c: Likewise.
72176         * math/w_sqrtf.c: Likewise.
72177         * math/w_sqrtl.c: Likewise.
72178         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72179         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
72180         used.
72181         * math/math_private.h: Declare __kernel_standard_f.
72182         * math/w_cosh.c: Remove cruft and optimize a bit.
72183         * math/w_coshf.c: Likewise.
72184         * math/w_coshl.c: Likewise.
72185         * math/w_exp2.c: Likewise.
72186         * math/w_exp2f.c: Likewise.
72187         * math/w_exp2l.c: Likewise.
72188         * math/w_hypot.c: Likewise.
72189         * math/w_hypotf.c: Likewise.
72190         * math/w_hypotl.c: Likewise.
72191         * math/w_lgamma.c: Likewise.
72192         * math/w_lgamma_r.c: Likewise.
72193         * math/w_lgammaf.c: Likewise.
72194         * math/w_lgammaf_r.c: Likewise.
72195         * math/w_lgammal.c: Likewise.
72196         * math/w_lgammal_r.c: Likewise.
72197         * math/w_sinh.c: Likewise.
72198         * math/w_sinhf.c: Likewise.
72199         * math/w_sinhl.c: Likewise.
72200         * math/w_tgamma.c: Likewise.
72201         * math/w_tgammaf.c: Likewise.
72202         * math/w_tgammal.c: Likewise.
72203         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72204         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72205         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
72206         Minor optimizations.  Pretty printing.  Remove cruft.
72207         * sysdeps/i386/fpu/e_acosf.S: Likewise.
72208         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72209         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72210         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72211         * sysdeps/i386/fpu/e_acosl.c: Likewise.
72212         * sysdeps/i386/fpu/e_asin.S: Likewise.
72213         * sysdeps/i386/fpu/e_asinf.S: Likewise.
72214         * sysdeps/i386/fpu/e_atan2.S: Likewise.
72215         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
72216         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
72217         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72218         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72219         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72220         * sysdeps/i386/fpu/e_exp10.S: Likewise.
72221         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
72222         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
72223         * sysdeps/i386/fpu/e_exp2.S: Likewise.
72224         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
72225         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
72226         * sysdeps/i386/fpu/e_fmod.S: Likewise.
72227         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
72228         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
72229         * sysdeps/i386/fpu/e_hypot.S: Likewise.
72230         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
72231         * sysdeps/i386/fpu/e_log.S: Likewise.
72232         * sysdeps/i386/fpu/e_log10.S: Likewise.
72233         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72234         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72235         * sysdeps/i386/fpu/e_log2.S: Likewise.
72236         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72237         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72238         * sysdeps/i386/fpu/e_logf.S: Likewise.
72239         * sysdeps/i386/fpu/e_logl.S: Likewise.
72240         * sysdeps/i386/fpu/e_pow.S: Likewise.
72241         * sysdeps/i386/fpu/e_powf.S: Likewise.
72242         * sysdeps/i386/fpu/e_powl.S: Likewise.
72243         * sysdeps/i386/fpu/e_remainder.S: Likewise.
72244         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
72245         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
72246         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72247         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72248         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72249         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
72250         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
72251         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
72252         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72253         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72254         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72255         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72256         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72257         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72258         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72259         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72260         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72261         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72262         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72263         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72264         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72265         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72266         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72267         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72268         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72269         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72270         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72271         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72272         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72273         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72274         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72275         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72276         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72277         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72278         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72279         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72280         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72281         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72282         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72283         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72284         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72285         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72286         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72287         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72288         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72289         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72290         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72291         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72292         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72293         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72294         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72295         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72296         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72297         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72298         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72299         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72300         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72301         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72302         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72303         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72304         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72305         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72306         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72307         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72308         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72309         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72310         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72311         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72312         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72313         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72314         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72315         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72316         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72317         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72318         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72319         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72320         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72321         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72322         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72323         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72324         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72325         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72326         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72327         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72328         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72329         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72330         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72331         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72332         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72333         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72334         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72335         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72336         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72337         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72338         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72339         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72340         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72341         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72342         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72343         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72344         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72345         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
72346         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72347         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72348         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72349         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
72350         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
72351         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
72352         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
72353         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
72354         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
72355         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
72356         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72357         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72358         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72359         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72360         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
72361         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72362         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
72363         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
72364         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
72365         (__isnanf): Likewise.
72366         (__isinf_ns): Likewise.
72367         (__isinf_nsf): Likewise.
72368         (__finite): Likewise.
72369         (__finitef): Likewise.
72370         (__ieee754_sqrt): Define as macro.
72371         (__ieee754_sqrtf): Define as macro.
72372         (__ieee754_sqrtl): Define as macro.
72373         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
72374         inlined copy.
72375         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
72376         __FINITE_MATH_ONLY__ consistent.
72377         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
72379 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
72381         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
72382         of rawmemchr.
72384         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
72386 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
72388         * po/ja.po: Update from translation team.
72390 2011-10-08  Roland McGrath  <roland@hack.frob.com>
72392         * locale/programs/locarchive.c (prepare_address_space): New function.
72393         (create_archive, enlarge_archive, open_archive): Use it.
72395         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
72396         inside [SHARED], where it is used.
72398         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
72400         * nss/getent.c (netgroup_keys): Remove unused variable.
72401         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72403 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
72405         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
72406         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
72407         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
72408         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
72409         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
72410         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
72411         * math/Makefile (libm-calls): Add s_isinf_ns.
72412         * math/divtc3.c: Use __isinf_nsl instead of isinf.
72413         * math/multc3.c: Likewise.
72414         * math/s_casin.c: Likewise.
72415         * math/s_casinf.c: Likewise.
72416         * math/s_casinl.c: Likewise.
72417         * math/s_ccos.c: Likewise.
72418         * math/s_ccosf.c: Likewise.
72419         * math/s_ccosl.c: Likewise.
72420         * math/s_ctan.c: Likewise.
72421         * math/s_ctanf.c: Likewise.
72422         * math/s_ctanh.c: Likewise.
72423         * math/s_ctanhf.c: Likewise.
72424         * math/s_ctanhl.c: Likewise.
72425         * math/s_ctanl.c: Likewise.
72426         * math/w_fmod.c: Likewise.
72427         * math/w_fmodf.c: Likewise.
72428         * math/w_fmodl.c: Likewise.
72429         * math/w_remainder.c: Likewise.
72430         * math/w_remainderf.c: Likewise.
72431         * math/w_remainderl.c: Likewise.
72432         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
72433         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
72434         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
72435         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
72436         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
72437         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
72438         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
72439         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
72441         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
72442         of the number.
72443         * stdio-common/printf_fphex.c: Likewise.
72444         * stdio-common/printf_size.c: Likewise.
72446         * math/e_exp10.c: Include math_private.h using <...> not "...".
72447         * math/e_exp10f.c: Likewise.
72448         * math/e_exp10l.c: Likewise.
72449         * math/e_exp2l.c: Likewise.
72450         * math/e_j0l.c: Likewise.
72451         * math/e_j1l.c: Likewise.
72452         * math/e_jnl.c: Likewise.
72453         * math/e_lgammal_r.c: Likewise.
72454         * math/e_rem_pio2l.c: Likewise.
72455         * math/e_scalb.c: Likewise.
72456         * math/e_scalbf.c: Likewise.
72457         * math/e_scalbl.c: Likewise.
72458         * math/k_cosl.c: Likewise.
72459         * math/k_sinl.c: Likewise.
72460         * math/k_tanl.c: Likewise.
72461         * math/s_cacoshf.c: Likewise.
72462         * math/s_catan.c: Likewise.
72463         * math/s_catanf.c: Likewise.
72464         * math/s_catanh.c: Likewise.
72465         * math/s_catanhf.c: Likewise.
72466         * math/s_catanhl.c: Likewise.
72467         * math/s_catanl.c: Likewise.
72468         * math/s_ccosh.c: Likewise.
72469         * math/s_ccoshf.c: Likewise.
72470         * math/s_ccoshl.c: Likewise.
72471         * math/s_cexp.c: Likewise.
72472         * math/s_cexpf.c: Likewise.
72473         * math/s_cexpl.c: Likewise.
72474         * math/s_clog.c: Likewise.
72475         * math/s_clog10.c: Likewise.
72476         * math/s_clog10f.c: Likewise.
72477         * math/s_clog10l.c: Likewise.
72478         * math/s_clogf.c: Likewise.
72479         * math/s_clogl.c: Likewise.
72480         * math/s_csin.c: Likewise.
72481         * math/s_csinf.c: Likewise.
72482         * math/s_csinh.c: Likewise.
72483         * math/s_csinhf.c: Likewise.
72484         * math/s_csinhl.c: Likewise.
72485         * math/s_csinl.c: Likewise.
72486         * math/s_csqrt.c: Likewise.
72487         * math/s_csqrtf.c: Likewise.
72488         * math/s_csqrtl.c: Likewise.
72489         * math/s_ctan.c: Likewise.
72490         * math/s_ctanf.c: Likewise.
72491         * math/s_ctanh.c: Likewise.
72492         * math/s_ctanhf.c: Likewise.
72493         * math/s_ctanhl.c: Likewise.
72494         * math/s_ctanl.c: Likewise.
72495         * math/s_ldexp.c: Likewise.
72496         * math/s_ldexpf.c: Likewise.
72497         * math/s_ldexpl.c: Likewise.
72498         * math/s_significand.c: Likewise.
72499         * math/s_significandf.c: Likewise.
72500         * math/s_significandl.c: Likewise.
72501         * math/w_acos.c: Likewise.
72502         * math/w_acosf.c: Likewise.
72503         * math/w_acosh.c: Likewise.
72504         * math/w_acoshf.c: Likewise.
72505         * math/w_acoshl.c: Likewise.
72506         * math/w_acosl.c: Likewise.
72507         * math/w_asin.c: Likewise.
72508         * math/w_asinf.c: Likewise.
72509         * math/w_asinl.c: Likewise.
72510         * math/w_atan2.c: Likewise.
72511         * math/w_atan2f.c: Likewise.
72512         * math/w_atan2l.c: Likewise.
72513         * math/w_atanh.c: Likewise.
72514         * math/w_atanhf.c: Likewise.
72515         * math/w_atanhl.c: Likewise.
72516         * math/w_cosh.c: Likewise.
72517         * math/w_coshf.c: Likewise.
72518         * math/w_coshl.c: Likewise.
72519         * math/w_dremf.c: Likewise.
72520         * math/w_exp10.c: Likewise.
72521         * math/w_exp10f.c: Likewise.
72522         * math/w_exp10l.c: Likewise.
72523         * math/w_exp2.c: Likewise.
72524         * math/w_exp2f.c: Likewise.
72525         * math/w_fmod.c: Likewise.
72526         * math/w_fmodf.c: Likewise.
72527         * math/w_fmodl.c: Likewise.
72528         * math/w_hypot.c: Likewise.
72529         * math/w_hypotf.c: Likewise.
72530         * math/w_hypotl.c: Likewise.
72531         * math/w_j0.c: Likewise.
72532         * math/w_j0f.c: Likewise.
72533         * math/w_j0l.c: Likewise.
72534         * math/w_j1.c: Likewise.
72535         * math/w_j1f.c: Likewise.
72536         * math/w_j1l.c: Likewise.
72537         * math/w_jn.c: Likewise.
72538         * math/w_jnf.c: Likewise.
72539         * math/w_jnl.c: Likewise.
72540         * math/w_lgamma.c: Likewise.
72541         * math/w_lgamma_r.c: Likewise.
72542         * math/w_lgammaf.c: Likewise.
72543         * math/w_lgammaf_r.c: Likewise.
72544         * math/w_lgammal.c: Likewise.
72545         * math/w_lgammal_r.c: Likewise.
72546         * math/w_log.c: Likewise.
72547         * math/w_log10.c: Likewise.
72548         * math/w_log10f.c: Likewise.
72549         * math/w_log10l.c: Likewise.
72550         * math/w_log2.c: Likewise.
72551         * math/w_log2f.c: Likewise.
72552         * math/w_log2l.c: Likewise.
72553         * math/w_logf.c: Likewise.
72554         * math/w_logl.c: Likewise.
72555         * math/w_pow.c: Likewise.
72556         * math/w_powf.c: Likewise.
72557         * math/w_powl.c: Likewise.
72558         * math/w_remainder.c: Likewise.
72559         * math/w_remainderf.c: Likewise.
72560         * math/w_remainderl.c: Likewise.
72561         * math/w_scalb.c: Likewise.
72562         * math/w_scalbf.c: Likewise.
72563         * math/w_scalbl.c: Likewise.
72564         * math/w_sinh.c: Likewise.
72565         * math/w_sinhf.c: Likewise.
72566         * math/w_sinhl.c: Likewise.
72567         * math/w_sqrt.c: Likewise.
72568         * math/w_sqrtf.c: Likewise.
72569         * math/w_sqrtl.c: Likewise.
72570         * math/w_tgamma.c: Likewise.
72571         * math/w_tgammaf.c: Likewise.
72572         * math/w_tgammal.c: Likewise.
72574         * po/ja.po: Update from translation team.
72576 2011-09-29  Andreas Jaeger  <aj@suse.de>
72578         [BZ #13179]
72579         * sunrpc/netname.c (netname2host): Fix logic.
72581         [BZ #6779]
72582         [BZ #6783]
72583         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
72584         correctly.
72585         * math/w_remainder.c (__remainder): Likewise.
72586         * math/w_remainderf.c (__remainderf): Likewise.
72587         * math/libm-test.inc (remainder_test): Add test cases.
72589 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72591         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
72592         sdiv_qrnnd.
72594 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72596         * string/test-memcmp.c: Avoid unncessary #defines.
72597         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72599 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72601         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
72602         Use new sse2 version for core i3 - i7 as it's faster
72603         than sse42 version.
72604         (bit_Prefer_PMINUB_for_stringop): New.
72605         * sysdeps/x86_64/rawmemchr.S: Update.
72606         Replace with faster SSE2 version.
72607         * sysdeps/x86_64/memrchr.S: New file.
72608         * sysdeps/x86_64/memchr.S: Update.
72609         Replace with faster SSE2 version.
72611 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
72613         * elf/dl-load.c (lose): Add cast to avoid warning.
72615 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72617         * po/ca.po: Update from translation team.
72619         * inet/getnetgrent_r.c: Hook up nscd.
72620         * nscd/Makefile (routines): Add nscd_netgroup.
72621         (nscd-modules): Add netgroupcache.
72622         (CFLAGS-netgroupcache.c): Define.
72623         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
72624         (cache_search): Add const to second parameter.
72625         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
72626         INNETGR.
72627         (dbs): Add netgrdb entry.
72628         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
72629         (verify_persistent_db): Handle netgrdb.
72630         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
72631         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
72632         GETFDNETGR.
72633         (netgroup_response_header): Define.
72634         (innetgroup_response_header): Define.
72635         (datahead): Add netgroup_response_header and innetgroup_response_header
72636         elements.
72637         * nscd/nscd.conf: Add entries for netgroup cache.
72638         * nscd/nscd.h (dbtype): Add netgrdb.
72639         (_PATH_NSCD_NETGROUP_DB): Define.
72640         (netgroup_iov_disabled): Declare.
72641         (xmalloc, xcalloc, xrealloc): Move declarations here.
72642         (cache_search): Adjust prototype.
72643         Add netgroup-related prototypes.
72644         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
72645         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
72646         (__nscd_innetgr): Declare.
72647         * nscd/selinux.c (perms): Use access_vector_t as element type and
72648         add netgroup-related initializers.
72649         * nscd/netgroupcache.c: New file.
72650         * nscd/nscd_netgroup.c: New file.
72651         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
72652         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
72653         For four parameters use innetgr.
72654         * nss/nss_files/files-init.c: Add definition and callback for netgr.
72655         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
72656         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
72657         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
72659         * nscd/connections.c (register_traced_file): Don't register file
72660         for disabled databases.
72662 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
72664         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
72666         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
72667         from tree and freeing node.
72669 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
72671         * nss/nsswitch.c (__nss_database_lookup): Handle
72672         nss_parse_service_list out of memory case.
72674 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
72676         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
72677         out of memory case.
72679 2011-10-04  Andreas Schwab  <schwab@redhat.com>
72681         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
72682         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
72683         pass it down.
72684         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
72685         elf_machine_rela, elf_machine_lazy_rel.
72686         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
72687         (ELF_DYNAMIC_DO_REL): Likewise.
72688         (ELF_DYNAMIC_DO_RELA): Likewise.
72689         (ELF_DYNAMIC_RELOCATE): Likewise.
72690         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
72691         to ELF_DYNAMIC_DO_REL.
72692         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
72693         (dl_main): In trace mode always set __RTLD_NOIFUNC.
72694         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
72695         elf_machine_rela.
72696         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
72697         skip_ifunc, don't call ifunc function if non-zero.
72698         (elf_machine_rela): Likewise.
72699         (elf_machine_lazy_rel): Likewise.
72700         (elf_machine_lazy_rela): Likewise.
72701         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
72702         (elf_machine_lazy_rel): Likewise.
72703         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
72704         Likewise.
72705         (elf_machine_lazy_rel): Likewise.
72706         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72707         Likewise.
72708         (elf_machine_lazy_rel): Likewise.
72709         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
72710         (elf_machine_lazy_rel): Likewise.
72711         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
72712         (elf_machine_lazy_rel): Likewise.
72713         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
72714         (elf_machine_lazy_rel): Likewise.
72715         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
72716         (elf_machine_lazy_rel): Likewise.
72717         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
72718         (elf_machine_lazy_rel): Likewise.
72719         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
72720         (elf_machine_lazy_rel): Likewise.
72722 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
72724         * nss/nss_files/files-init.c (_nss_files_init): Use static
72725         initialization for all the *_traced_file variables.
72727 2011-09-28  Andreas Schwab  <schwab@redhat.com>
72729         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72731 2011-09-27  Roland McGrath  <roland@hack.frob.com>
72733         [BZ #13226]
72734         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
72736 2011-09-27  Andreas Schwab  <schwab@redhat.com>
72738         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72739         Reread the line before reparsing it.
72741 2011-09-26  Andreas Schwab  <schwab@redhat.com>
72743         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
72745 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
72746             Maxim Kuvyrkov  <maxim@codesourcery.com>
72747             Joseph Myers  <joseph@codesourcery.com>
72749         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
72750         if needed for __stack_chk_guard.
72752 2011-09-19  Roland McGrath  <roland@hack.frob.com>
72754         * sysdeps/posix/spawni.c (script_execute): Always define it.
72755         It will be optimized away if unused.
72756         (maybe_script_execute): New function.
72757         (__spawni): Call it.
72759         * Makerules: Don't include tls.make.
72760         (config-tls): Always set to thread.
72761         * tls.make.c: File removed.
72763 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
72765         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
72766         * config.make.in (CPPFLAGS-config): New substituted variable.
72768 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72770         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
72772         [BZ #13192]
72773         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
72774         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
72776 2011-09-15  Roland McGrath  <roland@hack.frob.com>
72778         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
72779         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
72780         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72781         (CALL_FAIL): Likewise.
72782         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
72783         (CALL_FAIL): Macro removed.
72784         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
72786 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72788         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
72789         for __FINITE_MATH_ONLY__ == 1.
72791 2011-09-15  Andreas Schwab  <schwab@redhat.com>
72793         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
72794         __ieee754_sqrt instead of sqrt.
72795         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
72796         __ieee754_sqrtf instead of sqrtf.
72797         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
72798         __floorf instead of floorf.
72799         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
72800         __floorf, __truncf instead of floorf, truncf.
72802 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
72804         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
72806         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
72807         __extern_always_inline.
72808         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
72809         32-bit.
72811 2011-09-14  Andreas Schwab  <schwab@redhat.com>
72813         * elf/rtld.c (dl_main): Also relocate in dependency order when
72814         doing symbol dependency testing.
72816 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
72818         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72819         Always define `refsym'.
72821 2011-09-13  Andreas Schwab  <schwab@redhat.com>
72823         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
72824         (__FD_ELT): Renamed from __FDELT.
72825         * misc/bits/select2.h (__FD_ELT): Likewise.
72826         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
72827         __FD_MASK instead of __FDELT, __FDMASK.
72828         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72829         Likewise.
72830         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72831         Likewise.
72833         * elf/Makefile (gen-ldd): Fix pattern.
72835         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
72836         (init_tls): Likewise.
72838 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
72840         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
72842 2011-09-12  Andreas Schwab  <schwab@redhat.com>
72844         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
72845         `struct cmsghdr *' instead of `void *'.
72846         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
72847         Likewise.
72849 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
72851         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
72852         if non-absolute.
72853         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
72854         ldd_rewrite_script.
72856 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
72858         * configure.in: Remove --with-tls option.
72859         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
72860         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
72861         out in case it is missing.
72862         * sysdeps/ia64/elf/configure.in: Likewise.
72863         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
72864         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
72865         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
72866         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
72867         * sysdeps/sh/elf/configure.in: Likewise.
72868         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
72869         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72870         * sysdeps/x86_64/elf/configure.in: Likewise.
72871         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
72872         * sysdeps/mach/hurd/tls.h: Likewise.
72874         [BZ #13067]
72875         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
72877         [BZ #13090]
72878         * configure.in: Fix use of AC_INIT.
72880         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
72882 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
72884         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
72885         __set_errno.
72886         * malloc/hooks.c: Likewise.
72888         [BZ #11929]
72889         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
72890         variables statically.
72891         (narenas): Initialize.
72892         (list_lock): Initialize.
72893         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
72894         initializtion of main_arena and list_lock.  Small cleanups.
72895         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
72896         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
72897         Add initializers to main_arena and mp_.
72898         (malloc_state): Remove pagesize member.  Change all users to use
72899         GLRO(dl_pagesize).
72901         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
72902         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
72903         is always initialized.
72905         * malloc/malloc.c: Removed unused configurations and dead code.
72906         * malloc/arena.c: Likewise.
72907         * malloc/hooks.c: Likewise.
72908         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
72910         * include/tls.h: Removed.  USE___THREAD must always be defined.
72911         * bits/libc-tsd.h: Don't handle !USE___THREAD.
72912         * elf/dl-libc.c: Likewise.
72913         * elf/dl-tsd.c: Likewise.
72914         * include/errno.h: Likewise.
72915         * include/netdb.h: Likewise.
72916         * include/resolv.h: Likewise.
72917         * inet/herrno-loc.c: Likewise.
72918         * inet/herrno.c: Likewise.
72919         * malloc/arena.c: Likewise.
72920         * malloc/hooks.c: Likewise.
72921         * malloc/malloc.c: Likewise.
72922         * resolv/res-state.c: Likewise.
72923         * resolv/res_libc.c: Likewise.
72924         * sysdeps/i386/dl-machine.h: Likewise.
72925         * sysdeps/ia64/dl-machine.h: Likewise.
72926         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
72927         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72928         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
72929         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
72930         * sysdeps/sh/dl-machine.h: Likewise.
72931         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72932         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72933         * sysdeps/unix/i386/sysdep.S: Likewise.
72934         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
72935         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
72936         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
72937         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
72938         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
72939         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
72940         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
72941         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72942         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72943         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
72944         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72945         * sysdeps/x86_64/dl-machine.h: Likewise.
72946         * tls.make.c: Likewise.
72948         * configure.in: Remove --with-__thread option.  Make tests for
72949         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
72950         tls_model attribute fail if no support is available.  Remove
72951         USE_IN_LIBIO.
72952         * Makeconfig: Adjust for dropped configure option.  All features are
72953         now mandatory.
72954         * Makerules: Likewise.
72955         * Versions.def: Likewise.
72956         * argp/argp-fmtstream.c: Likewise.
72957         * argp/argp-fmtstream.h: Likewise.
72958         * argp/argp-help.c: Likewise.
72959         * assert/assert.c: Likewise.
72960         * config.h.in: Likewise.
72961         * config.make.in: Likewise.
72962         * configure: Likewise.
72963         * configure.in: Likewise.
72964         * csu/Versions: Likewise.
72965         * csu/init.c: Likewise.
72966         * elf/tst-audit2.c: Likewise.
72967         * elf/tst-tls10.c: Likewise.
72968         * elf/tst-tls10.h: Likewise.
72969         * elf/tst-tls11.c: Likewise.
72970         * elf/tst-tls12.c: Likewise.
72971         * elf/tst-tls14.c: Likewise.
72972         * elf/tst-tlsmod11.c: Likewise.
72973         * elf/tst-tlsmod12.c: Likewise.
72974         * elf/tst-tlsmod13.c: Likewise.
72975         * elf/tst-tlsmod13a.c: Likewise.
72976         * elf/tst-tlsmod14a.c: Likewise.
72977         * elf/tst-tlsmod15b.c: Likewise.
72978         * elf/tst-tlsmod16a.c: Likewise.
72979         * elf/tst-tlsmod16b.c: Likewise.
72980         * elf/tst-tlsmod7.c: Likewise.
72981         * elf/tst-tlsmod8.c: Likewise.
72982         * elf/tst-tlsmod9.c: Likewise.
72983         * gmon/gmon.c: Likewise.
72984         * grp/fgetgrent_r.c: Likewise.
72985         * grp/putgrent.c: Likewise.
72986         * hurd/fopenport.c: Likewise.
72987         * include/libc-symbols.h: Likewise.
72988         * include/tls.h: Likewise.
72989         * intl/gettextP.h: Likewise.
72990         * intl/loadinfo.h: Likewise.
72991         * locale/global-locale.c: Likewise.
72992         * locale/localeinfo.h: Likewise.
72993         * mach/devstream.c: Likewise.
72994         * malloc/arena.c: Likewise.
72995         * malloc/set-freeres.c: Likewise.
72996         * misc/err.c: Likewise.
72997         * misc/getttyent.c: Likewise.
72998         * misc/mntent_r.c: Likewise.
72999         * posix/getopt.c: Likewise.
73000         * posix/wordexp.c: Likewise.
73001         * pwd/fgetpwent_r.c: Likewise.
73002         * resolv/Versions: Likewise.
73003         * resolv/res_hconf.c: Likewise.
73004         * shadow/fgetspent_r.c: Likewise.
73005         * shadow/putspent.c: Likewise.
73006         * stdio-common/printf_fphex.c: Likewise.
73007         * stdio-common/tmpfile.c: Likewise.
73008         * stdlib/abort.c: Likewise.
73009         * stdlib/fmtmsg.c: Likewise.
73010         * sunrpc/auth_unix.c: Likewise.
73011         * sunrpc/clnt_perr.c: Likewise.
73012         * sunrpc/clnt_tcp.c: Likewise.
73013         * sunrpc/clnt_udp.c: Likewise.
73014         * sunrpc/clnt_unix.c: Likewise.
73015         * sunrpc/openchild.c: Likewise.
73016         * sunrpc/svc_simple.c: Likewise.
73017         * sunrpc/svc_tcp.c: Likewise.
73018         * sunrpc/svc_udp.c: Likewise.
73019         * sunrpc/svc_unix.c: Likewise.
73020         * sunrpc/xdr.c: Likewise.
73021         * sunrpc/xdr_array.c: Likewise.
73022         * sunrpc/xdr_rec.c: Likewise.
73023         * sunrpc/xdr_ref.c: Likewise.
73024         * sunrpc/xdr_stdio.c: Likewise.
73026 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73028         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73030 2011-07-03  Andreas Jaeger  <aj@suse.de>
73032         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
73033         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
73034         regenerate with gen-libm-tests.pl.
73036 2010-05-12  Petr Baudis  <pasky@suse.cz>
73038         [BZ #11589]
73039         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
73040         around j0() zero points by switching to j1().
73041         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73042         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73043         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73044         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73046 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73048         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
73049         instead of 0.
73050         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
73051         instead of 0.
73052         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73053         Patch in part by Pavel Roskin <proski@gnu.org>.
73055         [BZ #13138]
73056         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
73057         realloc.
73058         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
73059         Free memory block if necessary.
73061         [BZ #12847]
73062         * libio/genops.c (INTDEF): For string streams the _lock pointer can
73063         be NULL.  Don't lock in this case.
73065 2011-09-09  Roland McGrath  <roland@hack.frob.com>
73067         * elf/elf.h (ELFOSABI_GNU): New macro.
73068         (ELFOSABI_LINUX): Define to that.
73070 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
73072         * string/strncat.c (strncat): Undef the symbol in case it has been
73073         defined in bits/string.h.
73075 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73077         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
73079         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
73080         link map.
73082 2011-08-17  Andreas Jaeger  <aj@suse.de>
73084         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
73086 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
73087             Ian Lance Taylor  <iant@google.com>
73089         * math/libm-test.inc (lround_test): New testcase.
73090         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
73092 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
73094         * Makefile: Remove support for automatic cvs check-ins.
73095         * Makerules: Likewise.
73096         * config.make.in: Likewise.
73097         * configure.in: Likewise.
73098         * intl/Makefile: Likewise.
73099         * locale/Makefile: Likewise.
73100         * po/Makefile: Likewise.
73101         * posix/Makefile: Likewise.
73102         * sysdeps/gnu/Makefile: Likewise.
73103         * sysdeps/mach/hurd/Makefile: Likewise.
73104         * sysdeps/sparc/sparc32/Makefile: Likewise.
73106         [BZ #13118]
73107         * posix/Makefile (bug-regex32-ENV): Define.
73108         Patch by John Stanley <jpsinthemix@verizon.net>.
73110         * misc/Makefile (headers): Add bits/select2.h.
73111         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
73112         * misc/bits/select2.h: New file.
73113         * include/bits/select2.h: New file.
73114         * debug/Makefile (routines): Add fdelt_chk.
73115         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
73116         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
73117         FD_ISSET.
73118         * debug/fdelt_chk.c: New file.
73120         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
73121         * wcsmbs/test-wmemcmp.c: Likewise.
73122         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
73123         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
73125 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73127         * string/Makefile (strop-tests): Add memcmp.
73128         * string/test-wmemcmp.c: New file.
73129         * string/test-memcmp.c: Add wmemcmp support.
73131 2011-09-08  Roland McGrath  <roland@hack.frob.com>
73133         [BZ #13153]
73134         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
73135         2011-07-19 change.
73137         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
73138         garbage value in a __mach_port_mod_refs call in the cases of the
73139         task-self and thread-self ports.
73141 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73143         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
73145 2011-09-08  Andreas Schwab  <schwab@redhat.com>
73147         * elf/dl-load.c (lose): Check for non-null L.
73149 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73151         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73153         * elf/dl-libc.c (dlerror_run): Pass back error code from
73154         dl_catch_error.
73156         [BZ #13123]
73157         * elf/dl-load.c (lose): Free l_origin if it is valid.
73159         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73160         names.
73161         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73162         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73163         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73164         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73165         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73166         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73168 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73170         * sysdeps/powerpc/fpu/e_hypot.c: New file.
73171         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73172         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73173         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73174         * sysdeps/powerpc/fpu/k_cosf.c: New file.
73175         * sysdeps/powerpc/fpu/k_sinf.c: New file.
73176         * sysdeps/powerpc/fpu/s_cosf.c: New file.
73177         * sysdeps/powerpc/fpu/s_sinf.c: New file.
73178         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73179         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73181 2011-08-15  Alan Modra  <amodra@gmail.com>
73183         [BZ #13092]
73184         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
73185         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
73186         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
73187         ppc_mcount to static-only-routines.
73188         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
73189         __mcount_internal.
73190         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
73191         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
73193 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
73195         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
73196         for finite and infinity parameters.
73198 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73200         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
73201         and add nop instructions for throughput optimization.
73202         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73204 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
73206         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73207         aligned copy for power7 with vector-scalar instructions.
73208         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
73210 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
73212         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
73213         AVX check.
73215 2011-09-07  Andreas Schwab  <schwab@redhat.com>
73217         [BZ #13144]
73218         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
73219         last change.
73221 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73223         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73224         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
73225         syscall wrapper around clock_gettime in __vdso_clock_gettime.
73226         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
73227         clock_gettime.
73229 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73231         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
73232         Forgot to demangle the pointer.
73234         * sysdeps/i386/sysdep.h: Define atom_text_section.
73235         * sysdeps/x86_64/sysdep.h: Likewise.
73236         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
73237         section with atom_text_section.
73238         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73239         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73240         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
73241         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73242         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
73244         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
73245         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
73246         already be defined.  Change to take two parameters and don't assign
73247         result to variable.  Adjust all users.
73248         Define INTERNAL_GETTIME if not already defined.
73249         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
73250         call.
73251         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
73252         HAVE_CLOCK_GETTIME_VSYSCALL.
73253         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
73255         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
73256         gettimeofday vsyscall, just use time.
73258 2011-09-06  Andreas Schwab  <schwab@redhat.com>
73260         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73261         <errno.h>.
73263 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73265         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73266         syscall on x86-64.
73267         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73268         syscall.
73269         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73270         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73271         syscall if possible.
73273 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73275         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73276         e_ident.  Don't pass to find_mapsXX.
73277         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73279 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73281         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73282         strchr-sse2-no-bsf strrchr-sse2-no-bsf
73283         * sysdeps/x86_64/multiarch/strchr.S: Update.
73284         Check bit_slow_BSF bit.
73285         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73286         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73287         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73289 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73291         [BZ #13134]
73292         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73293         before glibc 2.15.
73294         (tryshell): Define.
73295         (__spawni): Change last parameter to be flag.  Test
73296         SPAWN_XFLAGS_USE_PATH flag to use path or not.
73297         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73298         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73299         * posix/spawni.c: Likewise.
73300         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73301         * posix/spawnp.c: Likewise.  Change normal version to use
73302         SPAWN_XFLAGS_USE_PATH.
73303         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73304         SPAWN_XFLAGS_TRY_SHELL.
73306         [BZ #13150]
73307         * posix/glob.h: Remove gcc 1.x support.
73309         [BZ #13068]
73310         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73312 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73314         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73315         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73316         strrchr-sse2-bsf
73317         * sysdeps/i386/i686/multiarch/strchr.S: New file.
73318         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73319         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73320         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73321         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73322         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73324 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73326         * sysdeps/x86_64/wcscmp.S: New file.
73328         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73329         wcscmp-c wcscmp-sse2
73330         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73331         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73332         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73333         * wcsmbs/wcscmp.c: Allow renaming.
73335 2011-09-05  David S. Miller  <davem@davemloft.net>
73337         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
73338         stack slot, rather than the struct return pointer slot.
73339         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
73340         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
73341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
73342         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
73344 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73346         * po/ja.po: Update from translation team.
73348         [BZ #13144]
73349         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
73350         kernel in 64-bit binaries.
73352 2011-09-01  David S. Miller  <davem@davemloft.net>
73354         * elf/elf.h (HWCAP_SPARC_*): Move to..
73355         * sysdeps/sparc/sysdep.h: this new file and add new values.
73356         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
73357         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
73358         _DL_HWCAP_COUNT to 24.
73359         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73360         entries.
73361         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
73362         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
73363         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
73364         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
73365         instead of magic constants.
73366         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73368 2011-08-31  David S. Miller  <davem@davemloft.net>
73370         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
73371         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
73372         Reimplement to do errno handling inline.
73373         (SYSCALL_ERROR_HANDLER): New macro.
73374         (__SYSCALL_STRING): Do not do errno handling in asm.
73375         (__CLONE_SYSCALL_STRING): Delete.
73376         (__INTERNAL_SYSCALL_STRING): Delete.
73377         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
73378         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
73379         (PSEUDO): Reimplement to do errno handling inline.
73380         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
73381         (SYSCALL_ERROR_HANDLER): New macro.
73382         (__SYSCALL_STRING): Do not do errno handling in asm.
73383         (__CLONE_SYSCALL_STRING): Delete.
73384         (__INTERNAL_SYSCALL_STRING): Delete.
73385         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
73386         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
73387         i386.
73388         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
73389         (inline_syscall*): Add 'err' argument.
73390         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
73391         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
73392         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
73393         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
73395         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
73396         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73398 2011-08-30  Andreas Schwab  <schwab@redhat.com>
73400         * elf/rtld.c (dl_main): Relocate objects in dependency order.
73402 2011-08-29  Jiri Olsa <jolsa@redhat.com>
73404         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
73405         directive.
73407 2011-08-24  David S. Miller  <davem@davemloft.net>
73409         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
73411 2011-08-24  Andreas Schwab  <schwab@redhat.com>
73413         * elf/Makefile: Add rules to build and run unload8 test.
73414         * elf/unload8.c: New file.
73415         * elf/unload8mod1.c: New file.
73416         * elf/unload8mod1x.c: New file.
73417         * elf/unload8mod2.c: New file.
73418         * elf/unload8mod3.c: New file.
73420         * elf/dl-close.c (_dl_close_worker): Reset private search list if
73421         it wasn't used.
73423 2011-08-23  David S. Miller  <davem@davemloft.net>
73425         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
73426         subtract stack bias.
73427         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
73428         %sp not %fp in calculations.
73429         (_JMPBUF_UNWINDS_ADJ): Likewise.
73431         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
73432         (aio_suspend): Call it to force an exception region around the
73433         AIO_MISC_WAIT() invocation.
73435 2011-08-23  Andreas Schwab  <schwab@redhat.com>
73437         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
73438         backslash.
73440 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
73442         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
73443         protection macro.
73444         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
73445         and <dl-machine.h>.
73446         (Elf64_FuncDesc): Remove.
73448 2011-08-22  David S. Miller  <davem@davemloft.net>
73450         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
73451         sigaltstack check, add missing cfi directives.
73452         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
73453         missing cfi directives, and sigaltstack handling.
73455 2011-08-16  Andreas Schwab  <schwab@redhat.com>
73457         [BZ #11724]
73458         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
73459         object is seen twice.
73460         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73462         * elf/Makefile (distribute): Add tst-initorder2.c.
73463         (tests): Add tst-initorder2.
73464         (modules-names): Add tst-initorder2a tst-initorder2b
73465         tst-initorder2c tst-initorder2d.  Add rules to build them.
73466         ($(objpfx)tst-initorder2.out): New rule.
73467         * elf/tst-initorder2.c: New file.
73468         * elf/tst-initorder2.exp: New file.
73470 2011-08-22  Andreas Schwab  <schwab@redhat.com>
73472         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
73474         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
73475         dependencies back to end of function.
73477         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73478         $(elfobjdir)/ld.so.
73480 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
73482         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
73483         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
73484         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
73485         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
73486         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
73487         of __vdso_gettimeofday.
73488         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
73489         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
73490         attribute_hidden.
73491         (_libc_vdso_platform_setup): Remove initialization of
73492         __vdso_gettimeofday and __vdso_time.
73494 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73496         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
73497         and fgetc_unlocked.
73498         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
73499         getc_unlocked.
73501         * elf/dl-open.c (add_to_global): Report additions to the global scope
73502         for LD_DEBUG=scopes.
73503         (dl_open_worker): Also print scope of newly loaded dependencies.
73504         (_dl_show_scope): Indicate if there is no scope.
73506         [BZ #13114]
73507         * stdio-common/Makefile (tests): Add bug24.
73508         * stdio-common/bug24.c: New file.
73510 2011-08-19  Andreas Jaeger  <aj@suse.de>
73512         [BZ #13114]
73513         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
73514         non-existant file when using close-on-exec mode.
73516 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73518         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
73519         the very first instruction.
73521         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
73522         the CFI state in the end.
73523         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
73524         inclusion of dl-trampoline.h.
73525         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
73527 2011-08-19  Andreas Schwab  <schwab@redhat.com>
73529         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
73530         expectations for long double.
73532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
73533         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
73535 2011-08-14  David S. Miller  <davem@davemloft.net>
73537         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
73538         artificual limit depends upon the system page size.
73540 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73542         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
73543         * resolv/Makefile: Define CFLAGS-libresolv.
73545 2011-08-17  Andreas Schwab  <schwab@redhat.com>
73547         * nss/makedb.c (compute_tables): Make variables used in nested
73548         function static.
73550 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73552         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
73553         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
73554         if buffer was too small.
73556         * elf/pldd.c (main): Attach to all threads in the process.
73557         Rewrite /proc handling to use *at functions.
73559 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
73561         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
73562         specifies first scope to show.
73563         (dl_open_worker): Update callers.  Move printing scope of new
73564         object to before the relocation.
73565         * elf/rtld.c (dl_main): Update _dl_show_scope call.
73566         * sysdeps/generic/ldsodefs.h: Update declaration.
73568         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
73569         string for the scope number.
73571 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
73573         * nscd/servicescache.c (cache_addserv): Make sure written is always
73574         initialized.
73576 2011-08-14  Roland McGrath  <roland@hack.frob.com>
73578         * sysdeps/i386/i486/bits/atomic.h
73579         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
73580         statement expression, so as to suppress "set but not used" warning.
73581         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
73583         * string/strncat.c (STRNCAT): Use prototype definition.
73585         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
73586         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
73587         -Iprograms here.
73588         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
73589         (localedef-modules): Add localedef.
73590         (locale-modules): Add locale.
73592         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
73593         * elf/rtld.c (dl_main): Invert order of assignment in last change,
73594         to avoid a warning.
73596 2011-08-14  David S. Miller  <davem@davemloft.net>
73598         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
73599         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
73601 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
73603         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73604         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
73605         * elf/rtld.c (dl_main): Set l_name of vDSO.
73606         Call _dl_show_scope when DL_DEBUG_SCOPES.
73607         (process_dl_debug): Recognize scopes flag and also set it for all.
73608         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
73609         Declare _dl_show_scope.
73611         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
73612         (do_dlopen): Pass caller_dlopen to dl_open.
73613         (__libc_dlopen_mode): Initialize caller_dlopen.
73615         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
73616         of libc.  Make tolower call locale-independent.  Optimize a bit by
73617         using isdigit instead of isalnum.
73618         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
73620 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
73622         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
73623         was a dependency or dynamically loaded.
73625 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
73627         * intl/l10nflist.c: Allow architecture-specific pop function.
73628         * sysdeps/x86_64/l10nflist.c: New file.
73630         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
73631         classification.
73633 2011-08-10  Andreas Schwab  <schwab@redhat.com>
73635         * include/dirent.h: Add libc_hidden_proto for scandirat and
73636         scandirat64.  Don't declare __scandirat64.
73637         * dirent/scandirat.c: Add libc_hidden_def.
73638         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
73639         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
73641 2011-08-10  David S. Miller  <davem@davemloft.net>
73643         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
73644         enum.
73645         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73646         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73647         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73649 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
73651         * Versions.def [libc]: Add GLIBC_2.15.
73652         * dirent/Makefile (routines): Add scandirat and scandirat64.
73653         * dirent/Versions [libc]: Export scandirat and scandirat64 for
73654         GLIBC_2.15.
73655         * dirent/dirent.h: Declare scandirat and scandirat64.
73656         * dirent/scandirat.c: New file.
73657         * dirent/scandirat64.c: New file.
73658         * sysdeps/wordsize-64/scandirat.c: New file.
73659         * sysdeps/wordsize-64/scandirat64.c: New file.
73660         * dirent/opendir.c: Define opendirat.
73661         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
73662         using scandirat.
73663         * dirent/scandir64.c: Adjust for scandir.c change.
73664         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
73665         __scandirat64, and __scandir_cancel_handler.
73666         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
73667         additional parameter and use openat instead of open (outside of ld.so).
73668         Add new __opendir as wrapper around __opendirat.
73669         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
73670         here without requiring old scandirat implementation.
73672 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
73674         * dirent/scandir.c (cancel_handler): Renamed to
73675         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
73676         defined.  Adjust users.
73677         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
73678         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
73680 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
73682         * string/test-string.h (IMPL): Use __STRING to expand name and then
73683         stringify it.
73685         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
73686         of cleanups.
73688 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73690         * string/Makefile: Update.
73691         (strop-tests): Append strncat.
73692         * string/test-wcscmp.c: New file.
73693         New comprehensive test for wcscmp.
73694         * string/test-strcmp.c: Update.
73695         (WIDE): New define.
73697 2011-07-22  Andreas Schwab  <schwab@redhat.com>
73699         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
73700         line.
73702 2011-07-26  Andreas Schwab  <schwab@redhat.com>
73704         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73705         encoding to ACE if AI_IDN.
73707 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
73709         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
73710         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
73712 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73714         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
73715         Fix overflow bug in strncat.
73716         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
73718         * string/test-strncat.c: Update.
73719         Add new tests for checking overflow bugs.
73721 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73723         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73724         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
73725         * sysdeps/i386/i686/multiarch/strcat.S: New file.
73726         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
73727         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
73728         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
73729         * sysdeps/i386/i686/multiarch/strncat.S: New file.
73730         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
73731         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
73733         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
73734         (USE_AS_STRCAT): Define.
73735         Add strcat and strncat support.
73736         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73738 2011-07-25  Andreas Schwab  <schwab@redhat.com>
73740         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
73741         __n bigger than INT_MAX+1.
73742         (__strncmp_g): Likewise.
73744 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
73746         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
73747         * libio/stido.h: Likewise.
73749         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
73750         (AF_NFC): Define.
73751         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
73752         (AF_NFC): Define.
73754         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
73755         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73756         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73757         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
73758         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73760         [BZ #13021]
73761         * scripts/test-installation.pl: Don't expect libnss_test1 to be
73762         installed.
73764         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
73765         typo.
73766         (_dl_x86_64_save_sse): Likewise.
73768 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
73770         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
73771         OSXSAVE.
73772         (_dl_x86_64_save_sse): Likewise.
73774         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
73776         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
73778 2011-07-21  Andreas Schwab  <schwab@redhat.com>
73780         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
73781         change.
73782         (_dl_x86_64_save_sse): Use correct AVX check.
73784 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73786         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
73787         bug in strncpy/strncat.
73788         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
73790 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
73792         * string/tester.c (test_strcat): Add tests for different alignments
73793         of source and destination.
73794         (test_strncat): Likewise.
73796 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73798         [BZ #12852]
73799         * posix/glob.c (glob): Check passed in values before using them in
73800         expressions to avoid some overflows.
73801         (glob_in_dir): Likewise.
73803         [BZ #13007]
73804         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
73805         check for AVX enablement so that we don't crash with old kernels and
73806         new hardware.
73807         * elf/tst-audit4.c: Add same checks here.
73808         * elf/tst-audit6.c: Likewise.
73810         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
73812 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
73814         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
73816 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73818         * po/cs.po: Update from translation team.
73819         * po/bg.po: Likewise.
73821 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
73823         * misc/sys/cdefs.h: Add support for const attribute.
73824         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
73825         to gnu_dev_{major,minor,makedev} functions.
73827 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
73829         * intl/dcigettext.c (get_output_charset): Add missing bracket.
73831 2011-07-20  Andreas Schwab  <schwab@redhat.com>
73833         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
73834         strlen results.
73836 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73838         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
73839         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
73840         register in order to avoid conflicts with the soft frame pointer
73841         being held in r11 when necessary.
73842         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
73843         (INTERNAL_VSYSCALL_NCS): Likewise.
73845 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
73847         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
73848         * elf/dl-fini.c (_dl_fini): Adjust caller.
73849         * elf/dl-close.c (_dl_close_worker): Likewise.
73850         * sysdeps/generic/ldsodefs.h: Adjust declaration.
73852 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73854         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
73855         "aux_cache->nlibs < 0".
73857         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
73858         in the reload-count case.
73860 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73862         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73863         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
73864         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
73865         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
73866         * sysdeps/x86_64/multiarch/strcat.S: New file.
73867         * sysdeps/x86_64/multiarch/strncat.S: New file.
73868         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
73869         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
73870         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
73871         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
73872         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
73873         (USE_AS_STRCAT): Define.
73874         Add strcat and strncat support.
73875         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73876         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
73877         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
73878         * string/strncat.c: Update.
73879         (USE_AS_STRNCAT): Define.
73880         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73881         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
73882         and i7.
73883         * sysdeps/x86_64/multiarch/init-arch.h
73884         (bit_Prefer_PMINUB_for_stringop): New.
73885         (index_Prefer_PMINUB_for_stringop): Likewise.
73886         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
73887         bit_Prefer_PMINUB_for_stringop.
73889 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73891         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
73892         buffer64.
73893         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
73894         of casting of buffer.
73895         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
73896         buffer32 and buffer64.
73897         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
73898         writes instead of casting of buffer.
73899         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
73900         buffer32.
73901         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
73902         casting of buffer.
73904 2011-07-19  Andreas Schwab  <schwab@redhat.com>
73906         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
73908 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73910         * nscd/nscd.c (termination_handler): Don't do anything for a database
73911         if it has not yet been initialized.
73913 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73915         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73917 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73919         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73921 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73923         * po/nl.po: Update from translation team.
73924         * po/sv.po: Likewise.
73926 2011-07-16  Roland McGrath  <roland@hack.frob.com>
73928         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
73929         now disallowed by GCC.
73931         * configure.in (use-default-link): Default to yes if a test -shared
73932         link meets our qualifications.
73933         * configure: Regenerated.
73935         * config.make.in (output-format): New variable.
73936         * configure.in: Check for ld --print-output-format support.
73937         * configure: Regenerated.
73938         * Makerules ($(common-objpfx)format.lds)
73939         [$(output-format) != unknown]: Just use $(output-format),
73940         instead of the linker-script munging.
73942 2011-07-14  Roland McGrath  <roland@hack.frob.com>
73944         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
73945         of $(common-objpfx)shlib.lds.
73946         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
73948         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
73949         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
73951         * configure.in (-z relro check): Adjust test code to add a large
73952         writable data section after it.
73953         * configure: Regenerated.
73955 2011-07-11  Roland McGrath  <roland@hack.frob.com>
73957         * configure.in (-z relro check): Fix test code to make the variable
73958         truly const.
73959         * configure: Regenerated.
73961 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
73963         * nscd/nscd.h (struct traced_file): Define.
73964         (struct database_dyn): Remove inotify_descr, reset_res, and filename
73965         elements.  Add traced_files.
73966         (inotify_fd): Declare.
73967         (register_traced_file): Declare.
73968         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
73969         (inotify_fd): Export.
73970         (resolv_conf_descr): Remove.
73971         (nscd_init): Move inotify descriptor creation to main.
73972         Don't register files for notification here.
73973         (register_traced_file): New function.
73974         (invalidate_cache): Don't use reset_res to determine whether to call
73975         res_init, go through the list of registered files.
73976         (main_loop_poll): The inotify descriptors are now stored in the
73977         structures for the traced files.
73978         (main_loop_epoll): Likewise.
73979         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
73980         to __nss_disable_nscd.
73981         * nscd/cache.c (prune_cache): There is no single inotify descriptor
73982         for a database anymore.  Check the records for all the registered
73983         files instead.
73984         * nss/Makefile (libnss_files-routines): Add files-init.
73985         (libnss_db-routines): Add db-init.
73986         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
73987         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
73988         * nss/nss_db/db-init.c: New file.
73989         * nss/nss_files/files-init.c: New file.
73990         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
73991         __nss_lookup_function.
73992         (__nss_lookup_function): Call nss_load_library.
73993         (nss_load_all_libraries): New function.
73994         (__nss_disable_nscd): Take parameter with callback function for files
73995         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
73996         used for the cached services.
73997         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
73998         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
73999         options for features to all the files in nscd.
74001         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
74003 2011-07-10  Roland McGrath  <roland@hack.frob.com>
74005         * csu/elf-init.c (__libc_csu_init): Comment typo.
74007 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
74009         * po/pl.po: Update from translation team.
74010         * po/ja.po: Likewise.
74011         * po/ru.po: Likewise.
74012         * po/ko.po: Likewise.
74013         * po/fr.po: Likewise.
74015 2011-07-09  Roland McGrath  <roland@hack.frob.com>
74017         * configure.in (.ctors/.dtors header and trailer check):
74018         Use an empirical test on a built program.
74019         * configure: Regenerated.
74021         * configure.in (-z relro check): Use an empirical test on a built DSO.
74022         Detect, but do not require, on ia64.
74023         * configure: Regenerated.
74025         * configure.in (READELF): Find it with AC_CHECK_TOOL.
74026         Update tests that use readelf to use $READELF instead.
74027         * configure: Regenerated.
74029 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
74031         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
74032         if the result is not used.
74034 2011-07-05  Andreas Jaeger  <aj@suse.de>
74036         [BZ#9696]
74037         * stdlib/tst-strtod.c: Add testcase.
74039 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
74041         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
74042         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
74043         The latter has a higher limit.  Take additional parameter to pass to
74044         the new function.
74045         (__pathconf): Pass file to __statfs_link_max.
74046         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
74047         __statfs_link_max.
74048         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
74049         __statfs_link_max.
74051         [BZ #12868]
74052         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
74053         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74054         Handle Lustre.
74055         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
74056         (__statfs_filesize_max): Likewise.
74057         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
74059 2011-07-05  Andreas Jaeger  <aj@suse.de>
74061         * resolv/res_comp.c (dn_skipname): Remove unused variable.
74063 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
74065         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
74066         `status' variable.
74067         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
74068         Likewise.
74070 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
74072         * Makefile (strop-tests): Add strncat.
74073         * string/test-strncat.c: New file.
74075 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
74077         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
74079 2011-06-21  Andreas Jaeger  <aj@suse.de>
74081         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
74082         Copy rule from iconvdata/Makefile.
74084 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74086         [BZ #12922]
74087         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
74088         but no long options are defined, just return 'W'.
74090 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
74092         [BZ #9696]
74093         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
74095 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74097         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
74098         netgroups to read.
74099         (innetgr): Likewise.
74101 2011-07-05  Roland McGrath  <roland@hack.frob.com>
74103         * config.make.in (install_root): Default to $(DESTDIR).
74105 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
74107         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
74109 2011-07-02  Roland McGrath  <roland@hack.frob.com>
74111         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
74113         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
74114         containing directory rather than embedding absolute directory names.
74116         * scripts/check-local-headers.sh: Rewritten using awk.
74117         Match by word, not by line.  Print error messages for matches.
74118         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
74120         * Makerules [shlib-lds-flags empty]:
74121         ($(common-objpfx)libc_pic.opts): New target.
74122         ($(common-objpfx)libc_pic.os.clean): New target.
74123         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
74125         * config.make.in (OBJCOPY): New variable.
74126         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
74127         * configure: Regenerated.
74129         * config.make.in (use-default-link): New variable.
74130         * configure.in (use_default_link): Grok --with-default-link to set it.
74131         * configure: Regenerated.
74132         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
74133         (shlib-lds, shlib-lds-flags): Define to empty.
74135         * Makerules (shlib-lds): New variable.
74136         (shlib-lds-flags): New variable.
74137         (build-shlib, build-moduile, build-module-asneeded): Use it.
74138         ($(common-objpfx)libc.so): Use $(shlib-lds).
74139         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
74140         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
74142         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
74143         DT_FLAGS/DT_FLAGS_1 with zero flags.
74145         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74146         linker script munging.
74148 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
74150         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74151         as 128-bit value.
74152         * crypt/sha512.c (sha512_process_block): Perform total addition using
74153         128-bit if possible.
74154         (__sha512_finish_ctx): Likewise.
74155         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74156         as 64-bit value.
74157         * crypt/sha256.c (SWAP64): Define.
74158         (sha256_process_block): Perform total addition using 64-bit if
74159         possible.
74160         (__sha256_finish_ctx): Likewise.
74162 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
74164         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
74165         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74166         * nscd/hstcache.c (cache_addhst): Likewise.
74167         * nscd/grpcache.c (cache_addgr): Likewise.
74168         * nscd/aicache.c (addhstaiX): Likewise.
74169         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74171 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
74173         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74174         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74175         * nscd/hstcache.c (cache_addhst): Likewise.
74176         * nscd/grpcache.c (cache_addgr): Likewise.
74177         * nscd/aicache.c (addhstaiX): Likewise.
74179 2011-07-01  Andreas Schwab  <schwab@redhat.com>
74181         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
74182         domain only when needed.
74184 2011-06-30  Andreas Schwab  <schwab@redhat.com>
74186         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
74187         is always restored.
74189 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
74191         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
74192         are re-adding the entry.
74193         * nscd/servicescache.c (cache_addserv): Likewise.
74195 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
74197         * sysdeps/generic/dl-irel.h: fix protection against multiple
74198         inclusions.
74199         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
74201 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
74203         [BZ #12935]
74204         * malloc/memusage.sh: Fix quoting in message.
74205         * debug/xtrace.sh: Likewise.
74207         * configure.in: Remove support for --experimental-malloc option, make
74208         it the default.
74209         * config.make.in: Likewise.
74210         * malloc/Makefile: Likewise.
74212 2011-06-27  Andreas Schwab  <schwab@redhat.com>
74214         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
74215         two-byte characters.
74217 2011-06-27  Roland McGrath  <roland@hack.frob.com>
74219         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
74220         AC_CACHE_CHECK invocation.
74221         * configure: Regenerated.
74223         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
74225 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
74227         [BZ #12350]
74228         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
74229         bit from old_res_options.
74231         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
74233         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
74234         value type for setfct.
74236 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
74238         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74239         __gettimeofday instead of gettimeofday.
74241 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
74243         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
74245 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
74247         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
74249         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
74250         info.
74252 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74254         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74255         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74256         strcpy-sse2-unaligned strncpy-sse2-unaligned
74257         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
74258         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74259         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74260         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74261         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74262         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74263         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74264         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74265         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74266         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74267         (STRCPY): Support SSE2 and SSSE3 versions.
74269 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
74271         [BZ #12874]
74272         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74273         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74274         kernels which artificially limit size of requests.
74276 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74278         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74279         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74280         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74281         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74282         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74283         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74284         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74285         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74286         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74287         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74288         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74289         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74290         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74291         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74292         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74293         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74294         Enable unaligned load optimization for Intel Core i3, i5 and i7
74295         processors.
74296         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74297         Define.
74298         (index_Fast_Unaligned_Load): Define.
74299         (HAS_FAST_UNALIGNED_LOAD): Define.
74301 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
74303         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74305 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74307         [BZ #12907]
74308         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74309         until it is clear that the information is realy needed.
74310         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74312 2011-06-22  Andreas Schwab  <schwab@redhat.com>
74314         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74316 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74318         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74319         /sys/devices/system/cpu/online if it is usable.
74321         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74322         reading the information from the /proc filesystem to once a second.
74324 2011-06-21  Andreas Jaeger  <aj@suse.de>
74326         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74327         NULL after inclusion of kernel headers.
74329 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
74331         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74332         calls to internal_setent.
74334         [BZ #12885]
74335         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74336         addresses using gethostbyname4_r ignore IPv4 addresses.
74338         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
74339         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
74341         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
74343 2011-06-20  David S. Miller  <davem@davemloft.net>
74345         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
74346         inclusions.
74347         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
74349         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
74350         (elf_irel): Use it.
74351         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
74352         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
74353         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
74354         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
74355         * sysdeps/x86_64/dl-irel.h: Likewise.
74357         * elf/dl-runtime.c: Use elf_ifunc_invoke.
74358         * elf/dl-sym.c: Likewise.
74360 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74362         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
74363         need to dereference resplen2.
74365 2011-06-14  Andreas Schwab  <schwab@redhat.com>
74367         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
74369 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74371         * Makeconfig: Define vardbdir and inst_vardbdir.
74372         * nss/Makefile: Add rules to install db-Makefile.
74374         * nss/nss_db/db-XXX.c: Cleanup.
74376         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
74377         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
74378         GLIBC_PRIVATE.
74379         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
74380         * nss/makedb.c: Implement -g option to specify that value strings
74381         are generated and should not be added to table iterated over for
74382         get*ent calls.
74383         * nss/nss_db/db-initgroups.c: New file.
74385         * nss/getent.c: Add support for initgroups lookups through getgrouplist
74386         interface.
74388         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
74389         (internal_getgrouplist): Adjust to name change.
74390         Update use_initgroups_entry if this is not the first call.
74391         * nss/databases.def: Add initgroups entry.
74393         * nss/makedb.c (compute_tables): Check result of multiple hash table
74394         sizes to minimize maximum chain length.
74396 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
74398         * Versions.def: Add entry for libnss_db.
74399         * shlib-versions: Likewise.
74400         * nss/Makefile: Add rules to build libnss_db.
74401         * nss/Versions: Add libnss_db information.  Organize libnss_files
74402         entries better.
74403         * nss/db-Makefile: Add gshadow support.  Change rules for the new
74404         makedb progra.  Some minor improvements to generate smaller files.
74405         * nss/nss_db/nss_db.h: Move NSS database header data structures to
74406         here from...
74407         * nss/makedb.c: ...here.
74408         Improve database format to be smaller and require less memory at
74409         runtime.
74410         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
74411         db anymore.
74412         * nss/nss_db/db-netgrp.c: Likewise.
74413         * nss/nss_db/db-open.c: Likewise.
74414         * nss/nss_files/flies-XXX.x: Adjust comments.
74415         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
74416         * nss/nss_files/files-grp.c: Likewise.
74417         * nss/nss_files/files-hosts.c: Likewise.
74418         * nss/nss_files/files-network.c: Likewise.
74419         * nss/nss_files/files-proto.c: Likewise.
74420         * nss/nss_files/files-pwd.c: Likewise.
74421         * nss/nss_files/files-rpc.c: Likewise.
74422         * nss/nss_files/files-service.c: Likewise.
74423         * nss/nss_files/files-sgrp.c: Likewise.
74424         * nss/nss_files/files-spwd.c: Likewise.
74425         * nss/nss_db/db-alias.c: Removed.
74426         * nss/nss_db/dummy-db.h: Removed.
74428 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
74430         * nss/makedb.c: Rewritten to not use database library.
74431         * nss/Makefile: Update to build new makedb program.
74433 2011-06-14  Andreas Jaeger  <aj@suse.de>
74435         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
74436         memset declaration.
74438 2011-06-10  Andreas Schwab  <schwab@redhat.com>
74440         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
74441         tmpbuf.
74443 2011-06-10  Roland McGrath  <roland@hack.frob.com>
74445         * Makerules (shlib.lds): Fail if the linker script comes out empty.
74446         * elf/Makefile ($(objpfx)ld.so): Likewise.
74448         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
74449         Don't list ld.so twice in dependencies.
74451         * posix/bug-regex31.c: Include <stdlib.h>.
74453         * nscd/hstcache.c (cache_addhst): Remove unused variable.
74455         * nis/nss_compat/compat-spwd.c
74456         (getspent_next_nss_netgr): Remove unused variable.
74457         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
74459         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
74460         nonmembers" output to use the right array.
74462         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
74464         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
74466         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
74467         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
74468         * catgets/gencat.c (read_input_file): Likewise.
74469         * locale/programs/locarchive.c (enlarge_archive): Likewise.
74471         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
74472         variable definition inside #if's controlling its use.
74474         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
74476         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
74478         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
74480         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
74481         unreachable code.
74483         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
74485         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
74486         * configure: Regenerated.
74488         * Makerules: Revert last change.
74489         * elf/Makefile: Likewise.
74491 2011-06-09  Roland McGrath  <roland@hack.frob.com>
74493         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
74494         * elf/Makefile ($(objpfx)librtld.os): Likewise.
74495         (reloc-link): Likewise.
74497 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
74499         * elf/Makefile: Add rules to build pldd.
74500         * elf/pldd.c: New file.
74501         * elf/pldd-xx.c: New file.
74503 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
74505         * version.h: Update for 2.15 development version.
74507 2011-06-07  David S. Miller  <davem@davemloft.net>
74509         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
74510         ifuncs.
74511         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
74512         elf_machine_lazy_rel): Likewise.
74513         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
74514         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
74515         elf_machine_lazy_rel): Likewise.
74516         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
74517         dl_hwcap via passed in argument.
74518         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
74519         Likewise.
74521 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74523         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
74525 2011-06-06  Roland McGrath  <roland@hack.frob.com>
74527         [BZ #12849]
74528         * manual/fdl-1.1.texi: New file, verbatim from:
74529         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
74530         * manual/lgpl-2.1.texi: New file, verbatim from:
74531         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
74532         * manual/Makefile (licenses): New variable, list those new file names.
74533         (texis): Use it.
74534         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
74536         * manual/fdl.texi: File removed.
74537         * manual/lesser.texi: File removed.
74538         * manual/libc.texinfo (Copying, Documentation License):
74539         Use new @include file names, put @appendix directive before @include.
74541 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
74543         [BZ #12841]
74544         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
74545         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
74546         (mq_open): Add __NTH.
74548 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
74550         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74551         Assume Intel Core i3/i5/i7 processor if AVX is available.
74553 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74555         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74556         typo.
74558 2011-05-31  Andreas Schwab  <schwab@redhat.com>
74560         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
74561         memory.  Use alloca_account.  Fix memory leak when retrying.
74563 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74565         * version.h (RELEASE): Bump for 2.14 release.
74566         * include/features.h (__GLIBC_MINOR__): Bump to 14.
74568         * config.make.in (RANLIB): Remove entry.
74570 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
74572         * po/Makefile (po-sed-cmd): Add ksh to extensions.
74573         (libc.pot): Work around missing support for .ksh extension in xgettext.
74575         [BZ #12684]
74576         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
74577         if both request failed.
74578         (send_dg): In case of server errors clear resplen or *resplen2.
74580         [BZ #12454]
74581         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
74582         when there are multiple maps.
74583         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
74584         (_dl_fini): Remove test here.
74586         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
74588 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
74590         [BZ #12350]
74591         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
74592         bit from old_res_options.
74593         (gaih_inet): Likewise.
74595         [BZ #11099]
74596         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
74597         as signed.
74599         * resolv/res_init.c (res_setoptions): Make the code more compact.
74601         [BZ #11558]
74602         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
74603         set RES_USEVC.
74605         [BZ #11634]
74606         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
74608         * malloc/malloc.h: Mark malloc hook variables as deprecated.
74610         [BZ #11781]
74611         * malloc/malloc.h: Declare malloc hook variables as volatile.
74613         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
74614         in last patch.
74616         [BZ #11799]
74617         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
74618         raise in the comment.
74619         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74620         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74621         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
74623 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
74625         [BZ #12811]
74626         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
74627         grow the buffers more if it already has to be sufficient.
74628         (build_wcs_upper_buffer): Likewise.
74629         * posix/regexec.c (check_matching): Likewise.
74630         (clean_state_log_if_needed): Likewise.
74631         (extend_buffers): Don't enlarge buffers beyond size of the input
74632         buffer.
74633         Patches mostly by Emil Wojak <emil@wojak.eu>.
74634         * posix/bug-regex32.c: New file.
74635         * posix/Makefile (tests): Add bug-regex32.
74637         * locale/findlocale.c (_nl_find_locale): Return right away if
74638         _nl_explode_name failed.
74639         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
74641         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
74643         * debug/xtrace.sh: Unify messages.
74644         * malloc/memusage.sh: Likewise.
74646         [BZ #12813]
74647         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
74648         time symbol from vDSO.  Substitute with vsyscall if not available.
74649         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
74650         __vdso_time.
74652         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
74653         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
74654         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
74655         Add sendmmsg and internal_sendmmsg.
74656         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
74657         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
74658         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
74660         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
74661         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
74662         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
74664 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
74666         [BZ #12813]
74667         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
74668         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
74669         available.
74670         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
74671         __vdso_getcpu.
74673         [BZ #12814]
74674         * iconvdata/Makefile (tests): Add bug-iconv9.
74675         * iconvdata/bug-iconv9.c: New file.
74677 2011-05-27  Andreas Schwab  <schwab@redhat.com>
74679         [BZ #12814]
74680         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
74682 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
74684         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74685         (struct user_regs_struct): Change intcs field back to cs.
74687 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
74689         * po/ja.po: Update from translation team.
74691 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
74693         [BZ #12795]
74694         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
74695         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
74697 2011-05-20  Andreas Schwab  <schwab@redhat.com>
74699         * stdlib/longlong.h: Update from GCC.
74701 2011-05-23  Andreas Schwab  <schwab@redhat.com>
74703         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
74704         parameter name.
74705         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
74706         Add parameter name.
74707         (__sysconf): Pass it down.
74709 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
74711         [BZ #12671]
74712         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
74713         some situations.
74714         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
74715         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
74716         add in in __libc_use_alloca calls.  Adjust callers.
74717         (glob): Use malloc in some situations.
74719         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
74720         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
74721         pltexit.
74723 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
74725         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
74726         and CLOCK_BOOTTIME_ALARM.
74728         [BZ #12782]
74729         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
74730         is returned.
74732         * string/_strerror.c (__strerror_r): Print negative errors as signed
74733         numbers.
74735         [BZ #12777]
74736         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
74737         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
74738         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
74740         * configure.in: Fix typo in redirection and correct removal of test
74741         files in two cases.
74743         [BZ #12788]
74744         * locale/setlocale.c (new_composite_name): Fix test to check for
74745         identical name of all categories.
74747         [BZ #12792]
74748         * libio/filedoalloc.c (local_isatty): New function.
74749         (_IO_file_doallocate): Use local_isatty.
74750         * stdio-common/perror.c (perror): In case a new stream is used
74751         forward the stream error.
74752         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
74753         error flag.
74755 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
74757         [BZ #11884]
74758         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
74759         alloca.
74760         * include/alloca.h (extend_alloca_account): Define.
74762         [BZ #11857]
74763         * posix/regex.h: Fix comments with documentation of user-accessible
74764         fields after compilation and describe correct free'ing of pattern
74765         after re_compile_pattern.
74766         Patch by Reuben Thomas <rrt@sc3d.org>.
74768 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
74770         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
74771         and -mno-altivec to prevent the compiler from using Altivec and/or
74772         VSX instructions when the corresponding registers are not available.
74774 2011-05-19  Andreas Schwab  <schwab@redhat.com>
74776         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
74778 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
74780         * libio/freopen.c (freopen): Use __dup2, not dup2.
74781         * libio/freopen64.c (freopen64): Likewise.
74783 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74785         [BZ #12775]
74786         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
74787         * math/Makefile (tests): Add test-powl.
74788         (CFLAGS-test-powl.c): Define.
74789         * math/test-powl.c: New file.
74791 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74793         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
74795 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
74797         [BZ #11837]
74798         * iconvdata/gb18030.c: Update to GB18020-2005.
74800 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
74802         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
74803         RE_SYNTAX_POSIX_AWK): Update to match recent development.
74804         Patch by Aharon Robbins <arnold@skeeve.com>.
74806         [BZ #11892]
74807         * stdlib/putenv.c (putenv): Don't always create copy of the variable
74808         on the stack.
74810         [BZ #11895]
74811         * misc/pselect.c (__pselect): Handle timeout value errors hidden
74812         through underflows.
74814         [BZ #12766]
74815         * misc/error.c (error_at_line): Ensure file_name and old_file_name
74816         point to strings before performing equality test for error_one_per_line
74817         mode.
74819         [BZ #11697]
74820         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
74822         [BZ #11820]
74823         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74824         (struct user_fpregs_struct): Avoid __uint*_t types.
74826         [BZ #6420]
74827         * malloc/mtrace.c (tr_where): Add additional parameter to point to
74828         symbol info.  Use it instead of calling _dl_addr locally.
74829         (lock_and_info): New function.
74830         (tr_freehook): Call lock_and_info and pass symbol info as additional
74831         parameter to tr_where.
74832         (tr_mallochook): Likewise.
74833         (tr_reallochook): Likewise.
74834         (tr_memalignhook): Likewise.
74836         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
74837         used and couldn't be at all thread-safe.
74839 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
74841         * libio/freopen.c (freopen): Don't close old file descriptor
74842         before the new one is opened.  Instead dup the new file descriptor
74843         to the old one after the new stream is created.
74844         * libio/freopen64.c (freopen64): Likewise.
74845         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
74846         * libio/fileops.c (_IO_new_file_close_it): Handle new
74847         _IO_FLAGS2_NOCLOSE flag.
74848         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
74849         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
74850         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
74851         _IO_FLAGS2_NOCLOSE flag.
74852         * include/unistd.h: Add hidden_proto for dup3.
74853         Define __have_dup3.
74854         * io/dup3.c: Define hidden symbol.
74855         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
74857         [BZ #7101]
74858         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
74859         when an incomplete long option is used.
74860         * posix/tst-getopt_long1.c: New file.
74861         * posix/Makefile (tests): Add tst-getopt_long1.
74863         [BZ #10138]
74864         * scripts/config.guess: Update from autoconf-2.68.
74865         * scripts/config.sub: Likewise.
74867         [BZ #10157]
74868         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
74869         tests into ...
74870         (has_cpuclock): ...this.  New function.
74871         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
74872         macro here based on has_cpuclock code.
74874         [BZ #10149]
74875         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74876         First byte (not low byte) is now always NUL.
74877         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
74879         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74880         Use non-cancelable interfaces.
74882         [BZ #9809]
74883         * locale/iso-639.def: Add entry for Sorani.
74885         [BZ #11901]
74886         * include/stdlib.h: Move include protection to the right place.
74887         Define abort_msg_s.  Declare __abort_msg with it.
74888         * stdlib/abort.c (__abort_msg): Adjust type.
74889         * assert/assert.c (__assert_fail_base): New function.  Majority
74890         of code from __assert_fail.  Allocate memory for __abort_msg with
74891         mmap.
74892         (__assert_fail): Now call __assert_fail_base.
74893         * assert/assert-perr.c: Remove bulk of implementation.  Use
74894         __assert_fail_base.
74895         * include/assert.hL Declare __assert_fail_base.
74896         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
74897         mmap.
74898         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
74900 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
74902         [BZ #11952]
74903         [BZ #12453]
74904         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
74905         until all modules are registered in the DTV.
74906         * elf/Makefile: Add rules to build and run tst-tls19.
74907         * elf/tst-tls19.c: New file.
74908         * elf/tst-tls19mod1.c: New file.
74909         * elf/tst-tls19mod2.c: New file.
74910         * elf/tst-tls19mod3.c: New file.
74911         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
74913         [BZ #12083]
74914         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
74915         correctly.
74917         [BZ #12601]
74918         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
74919         two-byte sequence errors.
74920         * iconvdata/Makefile (tests): Add bug-iconv8.
74921         * iconvdata/bug-iconv8.c: New file.
74923         [BZ #12626]
74924         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
74925         buf2 definition.
74927         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
74929         [BZ #12432]
74930         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
74931         (dummy_getcfa): New function.
74932         (init): Get _Unwind_GetCFA address, use dummy if not found.
74933         (backtrace_helper): In recursion check, also check whether CFA changes.
74934         (__backtrace): Completely initialize arg.
74936         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
74937         storing incomplete byte sequence in state object.  Avoid testing for
74938         guaranteed too small input if we know there is enough data available.
74940 2011-05-11  Andreas Schwab  <schwab@redhat.com>
74942         * Makeconfig (+link-pie): Indent.
74943         * Rules (binaries-pie): Define if $(have-fpie) and
74944         $(build-shared).
74945         (binaries-shared): Also filter out $(binaries-pie).
74946         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
74947         * nscd/Makefile (others-pie): Add nscd.
74948         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
74949         ($(objpfx)nscd): Remove command override.
74950         * login/Makefile (others-pie): Add pt_chown.
74951         ($(objpfx)pt_chown): Remove command override.
74952         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
74953         remove command overrides.
74955 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
74957         * libio/tst_putwc.c: Fix error messages.
74959         [BZ #12724]
74960         * libio/fileops.c (_IO_new_file_close_it): Always flush when
74961         currently writing and seek to current position when not.
74962         * libio/Makefile (tests): Add bug-fclose1.
74963         * libio/bug-fclose1.c: New file.
74965 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
74967         [BZ #12511]
74968         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
74969         don't set DF_1_NODELETE here.
74970         (do_lookup_x): When entering new entry test for copy relocation
74971         and if necessary set DF_1_NODELETE flag.
74972         * elf/tst-unique4.cc: New file.
74973         * elf/tst-unique4.h: New file.
74974         * elf/tst-unique4lib.cc: New file.
74975         * elf/Makefile: Add rules to build and run tst-unique4.
74976         Patch by Piotr Bury <pbury@goahead.com>.
74978 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
74980         [BZ #12052]
74981         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
74983         [BZ #12625]
74984         * misc/mntent_r.c (addmntent): Flush the stream after the output
74986         [BZ #12393]
74987         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
74988         (is_trusted_path_normalize): Skip initial colon.  Append slash
74989         to empty buffer.  Duplicate is_trusted_path code but allow
74990         constructed patch to be prefix.
74991         (is_dst): Allow $ORIGIN followed by /.
74992         (_dl_dst_substitute): Correct clearing of check_for_trusted.
74993         Correct testing of result of is_trusted_path_normalize
74994         (decompose_rpath): Fix warning.
74996 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
74998         [BZ #11257]
74999         * grp/initgroups.c (internal_getgrouplist): When we found the service
75000         list through the initgroups entry in nsswitch.conf do not always
75001         continue on a successful lookup.  Don't always use the
75002         __nss_group_database value if it is set.
75003         * nss/nsswitch.conf (initgroups): Change action for successful db
75004         lookup to continue for compatibility.
75006 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
75008         [BZ #11532]
75009         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
75010         and CP774 modules.
75011         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
75012         and CP774 modules.
75013         * iconvdata/tst-tables.sh: Likewise.
75014         * iconvdata/cp770.c: New file.
75015         * iconvdata/cp771.c: New file.
75016         * iconvdata/cp772.c: New file.
75017         * iconvdata/cp773.c: New file.
75018         * iconvdata/cp774.c: New file.
75019         * iconvdata/testdata/CP770: New file.
75020         * iconvdata/testdata/CP770..UTF8: New file.
75021         * iconvdata/testdata/CP771: New file.
75022         * iconvdata/testdata/CP771..UTF8: New file.
75023         * iconvdata/testdata/CP772: New file.
75024         * iconvdata/testdata/CP772..UTF8: New file.
75025         * iconvdata/testdata/CP773: New file.
75026         * iconvdata/testdata/CP773..UTF8: New file.
75027         * iconvdata/testdata/CP774: New file.
75028         * iconvdata/testdata/CP774..UTF8: New file.
75030         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
75031         END CHARMAP line.
75032         * iconvdata/gen-8bit-gap.sh: Likewise.
75033         * iconvdata/gen-8bit.sh: Likewise.
75035         * locale/iso-639.def: Add ary entry.
75037         [BZ #11258]
75038         * locale/C-translit.h.in: Add U20A1 transliteration.
75040         [BZ #12178]
75041         * locale/iso-639.def: Add wae entry.
75042         Patch by Kevin Bortis <bortis@translate-wae.ch>.
75044         [BZ #12545]
75045         * locale/programs/localedef.c (construct_output_path): Use ssize_t
75046         for n.
75048         [BZ #12711]
75049         * locale/C-translit.h.in: Add entry for U20B9.
75050         Patch by pravin.d.s@gmail.com.
75052 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
75054         [BZ #12713]
75055         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
75056         ENAMETOOLONG use generic getcwd.
75057         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
75058         in rtld.  Use *stat64.
75059         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
75060         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
75061         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
75062         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
75063         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
75064         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
75065         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
75066         __fstatat64 macros.
75067         * include/dirent.h: Add libc_hidden_proto for rewinddir.
75068         * dirent/rewinddir.c: Add libc_hidden_def.
75069         * sysdeps/mach/hurd/rewinddir.c: Likewise.
75070         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
75072         * include/dirent.h (__alloc_dir): Add flags parameter.
75073         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
75074         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
75075         __alloc_dir.
75076         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
75077         from fdopendir if O_CLOEXEC is already set.
75079 2011-03-15  Alan Modra  <amodra@gmail.com>
75081         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
75082         l_tls_firstbyte_offset non-zero.  Save padding offset in
75083         l_tls_firstbyte_offset for later use.
75084         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
75085         freeing static tls block.
75087 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
75089         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
75090         where #ifdef was intended.  The intent is to prevent ARG_MAX from
75091         being defined by the kernel headers.
75093 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
75095         [BZ #12734]
75096         * resolv/resolv.h: Define RES_NOTLDQUERY.
75097         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
75098         no-tld-query and set RES_NOTLDQUERY.
75099         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
75100         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
75101         modern BIND to search name as TLD unless forbidden.
75103 2011-05-07  Petr Baudis  <pasky@suse.cz>
75104             Ulrich Drepper  <drepper@gmail.com>
75106         [BZ #12393]
75107         * elf/dl-load.c (fillin_rpath): Move trusted path check...
75108         (is_trusted_path): ...to here.
75109         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
75110         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
75111         using is_trusted_path_normalize() in setuid scripts.
75113 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
75115         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
75116         __BEGIN/__END_DECLS.
75118 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
75120         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
75121         NSS_STATUS_NOTFOUND if no record was found.
75123 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75125         * sunrpc/Makefile (headers): Add rpc/netdb.h.
75126         (headers-not-in-tirpc): Remove rpc/netdb.h
75127         * resolv/netdb.h: Revert last change.
75129 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75131         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
75132         circular dependency between libgcc.a and libc.a.
75134 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75136         * resolv/netdb.h: Don't include <rpc/netdb.h>.
75137         * nis/Makefile: Don't install rpcsvc/*.
75138         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
75139         instead of <rpc/types.h>.
75140         (MAXHOSTNAMELEN): Define.
75142 2011-05-03  Andreas Schwab  <schwab@redhat.com>
75144         * elf/ldconfig.c (add_dir): Don't crash on empty path.
75146 2011-04-28  Maciej Babinski  <mbabinski@google.com>
75148         [BZ #12714]
75149         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75150         gethostbyname4_r when IPv6 results are possible.
75152 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
75154         [BZ #12723]
75155         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75156         _PC_PIPE_BUF handling.
75158 2011-04-30  Bruno Haible  <bruno@clisp.org>
75160         [BZ #12717]
75161         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75162         * resolv/netdb.h (getnameinfo): Change type of flags parameter
75163         to 'int'.
75164         * inet/getnameinfo.c (getnameinfo): Likewise.
75166 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
75168         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75169         to groups setting in database lookup.
75170         * nss/nsswitch.conf: Add initgroups entry.
75172 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
75174         [BZ #12685]
75175         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75176         mode string.
75177         Patch by Eric Blake <eblake@redhat.com>.
75179 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
75181         * sunrpc/Makefile (need-export-routines): Add svc_run.
75182         (routines): Remove svc_run.
75183         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
75184         * sunrpc/clnt_perr.c (clnt_perrno): Export.
75185         * sunrpc/svc_run.c (svc_run): Likewise.
75186         * sunrpc/svc_udp.c (svcudp_create): Likewise.
75188 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
75190         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
75191         problem in reallocation in last patch.
75193 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
75195         * sunrpc/Makefile: Move inclusion of Rules.
75197 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75199         * nss/nss_files/files-initgroups.c: New file.
75200         * nss/Makefile (libnss_files-routines): Add files-initgroups.
75201         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
75202         _nss_files_initgroups_dyn.
75204 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
75206         * elf/elf.h (R_ARM_IRELATIVE): Define.
75208 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75210         * po/ru.po: Update from translation team.
75212 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75214         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
75215         dependencies.
75217 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
75219         [BZ #12653]
75220         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
75221         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
75222         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75223         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
75224         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
75226 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
75228         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
75229         differing bytes.
75230         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
75231         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
75232         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75234 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75236         [BZ #12420]
75237         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
75238         storing it.
75239         * stdlib/bug-getcontext.c: New file.
75240         * stdlib/Makefile: Add rules to build and run bug-getcontext.
75242 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75244         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
75245         instructions into .machine "z9-109".
75246         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
75247         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
75249 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75251         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
75252         between environment variables and auxiliary vector.
75254 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
75256         * Makefile: Add rules to build linkobj/libc.so.
75257         * include/libc-symbols.h: Define libc_hidden_nolink.
75258         * include/rpc/auth.h: Mark functions which are to be hidden.
75259         * include/rpc/auth_des.h: Likewise.
75260         * include/rpc/auth_unix.h: Likewise.
75261         * include/rpc/clnt.h: Likewise.
75262         * include/rpc/des_crypt.h: Likewise.
75263         * include/rpc/key_prot.h: Likewise.
75264         * include/rpc/pmap_clnt.h: Likewise.
75265         * include/rpc/pmap_prot.h: Likewise.
75266         * include/rpc/pmap_rmt.h: Likewise.
75267         * include/rpc/rpc_msg.h: Likewise.
75268         * include/rpc/svc.h: Likewise.
75269         * include/rpc/svc_auth.h: Likewise.
75270         * include/rpc/xdr.h: Likewise.
75271         * nis/Makefile: Link all DSOs against linkobj/libc.so.
75272         * nss/Makefile: Likewise.
75273         * sunrpc/Makefile: Don't install headers.  Build library with normal
75274         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
75275         * sunrpc/auth_des.c: Hide exported symbols by default, export some
75276         for the compat linking library.  Remove use of INTDEF/INTUSE.
75277         * sunrpc/auth_none.c: Likewise.
75278         * sunrpc/auth_unix.c: Likewise.
75279         * sunrpc/authdes_prot.c: Likewise.
75280         * sunrpc/authuxprot.c: Likewise.
75281         * sunrpc/clnt_gen.c: Likewise.
75282         * sunrpc/clnt_perr.c: Likewise.
75283         * sunrpc/clnt_raw.c: Likewise.
75284         * sunrpc/clnt_simp.c: Likewise.
75285         * sunrpc/clnt_tcp.c: Likewise.
75286         * sunrpc/clnt_udp.c: Likewise.
75287         * sunrpc/clnt_unix.c: Likewise.
75288         * sunrpc/des_crypt.c: Likewise.
75289         * sunrpc/des_soft.c: Likewise.
75290         * sunrpc/get_myaddr.c: Likewise.
75291         * sunrpc/key_call.c: Likewise.
75292         * sunrpc/key_prot.c: Likewise.
75293         * sunrpc/netname.c: Likewise.
75294         * sunrpc/pm_getmaps.c: Likewise.
75295         * sunrpc/pm_getport.c: Likewise.
75296         * sunrpc/pmap_clnt.c: Likewise.
75297         * sunrpc/pmap_prot.c: Likewise.
75298         * sunrpc/pmap_prot2.c: Likewise.
75299         * sunrpc/pmap_rmt.c: Likewise.
75300         * sunrpc/publickey.c: Likewise.
75301         * sunrpc/rpc_cmsg.c: Likewise.
75302         * sunrpc/rpc_common.c: Likewise.
75303         * sunrpc/rpc_dtable.c: Likewise.
75304         * sunrpc/rpc_prot.c: Likewise.
75305         * sunrpc/rpc_thread.c: Likewise.
75306         * sunrpc/rtime.c: Likewise.
75307         * sunrpc/svc.c: Likewise.
75308         * sunrpc/svc_auth.c: Likewise.
75309         * sunrpc/svc_authux.c: Likewise.
75310         * sunrpc/svc_raw.c: Likewise.
75311         * sunrpc/svc_run.c: Likewise.
75312         * sunrpc/svc_simple.c: Likewise.
75313         * sunrpc/svc_tcp.c: Likewise.
75314         * sunrpc/svc_udp.c: Likewise.
75315         * sunrpc/svc_unix.c: Likewise.
75316         * sunrpc/svcauth_des.c: Likewise.
75317         * sunrpc/xcrypt.c: Likewise.
75318         * sunrpc/xdr.c: Likewise.
75319         * sunrpc/xdr_array.c: Likewise.
75320         * sunrpc/xdr_float.c: Likewise.
75321         * sunrpc/xdr_intXX_t.c: Likewise.
75322         * sunrpc/xdr_mem.c: Likewise.
75323         * sunrpc/xdr_rec.c: Likewise.
75324         * sunrpc/xdr_ref.c: Likewise.
75325         * sunrpc/xdr_sizeof.c: Likewise.
75326         * sunrpc/xdr_stdio.c: Likewise.
75328 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
75330         [BZ #12650]
75331         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75332         * sysdeps/ia64/dl-tls.h: Likewise.
75333         * sysdeps/powerpc/dl-tls.h: Likewise.
75334         * sysdeps/s390/dl-tls.h: Likewise.
75335         * sysdeps/sh/dl-tls.h: Likewise.
75336         * sysdeps/sparc/dl-tls.h: Likewise.
75337         * sysdeps/x86_64/dl-tls.h: Likewise.
75338         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
75340 2011-03-14  Andreas Schwab  <schwab@redhat.com>
75342         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
75343         rpath element also skip the following colon.
75344         (expand_dynamic_string_token): Add is_path parameter and pass
75345         down to DL_DST_REQUIRED and _dl_dst_substitute.
75346         (decompose_rpath): Call expand_dynamic_string_token with
75347         non-zero is_path.  Ignore empty rpaths.
75348         (_dl_map_object_from_fd): Call expand_dynamic_string_token
75349         with zero is_path.
75351 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
75353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75354         Make cancelable.
75356 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
75358         [BZ #12655]
75359         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
75360         Patch by Filipe David Manana <fdmanana@apache.org>.
75362 2011-04-07  Andreas Schwab  <schwab@redhat.com>
75364         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
75365         Maintain aligned stack.
75366         (CHECK_RSP): Remove unused macro.
75368 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
75370         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
75371         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
75373 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
75375         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
75377         * include/features.h: Mention __USE_XOPEN2K8 in comment.
75379 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
75381         [BZ #12518]
75382         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
75383         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
75384         * sysdeps/x86_64/memmove.c: New file.
75385         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
75386         (memcpy): Renamed to ...
75387         (__new_memcpy): This.
75388         (memcpy): Provide GLIBC_2_14 memcpy.
75389         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
75390         (memcpy): Provide GLIBC_2_2_5 memcpy.
75392 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75394         [BZ #12631]
75395         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
75397 2011-03-30  Andreas Schwab  <schwab@redhat.com>
75399         * misc/syncfs.c: New file.
75400         * misc/Makefile (routines): Add syncfs.
75401         * posix/unistd.h: Declare syncfs.
75402         * sysdeps/unix/syscalls.list: Add syncfs.
75404 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75406         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
75407         open_by_handle_at.
75408         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75409         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75410         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75411         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75412         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75413         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
75414         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75416 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75418         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
75419         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75420         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
75421         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75422         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75423         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75424         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75426         * io/Makefile: Compile fallocate.c, fallocate64.c, and
75427         sync_file_range.c with -fexceptions.
75428         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
75429         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
75430         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
75431         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
75432         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
75433         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75434         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
75435         sync_file_range as cancellation point
75436         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
75437         now a wrapper around __call_sync_file_range with cancellation handling.
75438         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
75439         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
75440         function name to __call_sync_file_range.
75441         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
75442         Add call_sync_file_range.
75444 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75446         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75447         bits/timex.h.
75449 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75451         * iconv/iconv.h: Fix typo in comment.
75452         * io/fcntl.h: Likewise.
75453         * libio/stdio.h: Likewise.
75454         * posix/spawn.h: Likewise.
75455         * posix/unistd.h: Likewise.
75456         * stdlib/stdlib.h: Likewise.
75457         * time/time.h: Likewise.
75458         * wcsmbs/wchar.h: Likewise.
75460         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
75461         open_by_handle): Add.
75462         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
75463         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
75464         Augment a few comments.
75465         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75466         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75467         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75468         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75469         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75470         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
75471         open_by_handle.
75473         * io/fcntl.h (AT_EMPTY_PATH): Define.
75475 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
75477         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
75478         * sysdeps/unix/sysv/linux/bits/time.h: New file.
75479         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
75480         to...
75481         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
75482         * Versions.def: Add GLIBC_2.14.
75483         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
75484         Export.
75486 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
75488         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
75489         round counter.
75490         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75492 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75494         [BZ #12597]
75495         * string/test-strncmp.c (do_page_test): New function.
75496         (check2): Likewise.
75497         (test_main): Call check2.
75498         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
75500 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
75502         [BZ #12587]
75503         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
75504         Handle cache information in CPU leaf 4.
75505         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75507 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
75509         [BZ #12583]
75510         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
75511         character representation.
75512         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
75514 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
75516         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
75517         END(__isnan) to END(__isnanf) to match function entry point/label
75518         EALIGN(__isnanf,...).
75520 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
75522         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
75524 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
75526         [BZ #12510]
75527         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
75528         copy from the symbol referenced in the relocation to initialize the
75529         used variable.
75530         Patch by Piotr Bury <pbury@goahead.com>.
75531         * elf/Makefile: Add rules to build and tst-unique3.
75532         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
75533         * elf/tst-unique3.cc: New file.
75534         * elf/tst-unique3.h: New file.
75535         * elf/tst-unique3lib.cc: New file.
75536         * elf/tst-unique3lib2.cc: New file.
75538         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
75540 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
75542         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
75543         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
75544         to _start.
75546 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
75548         * elf/dl-load.c (_dl_map_object): If we are looking for the first
75549         to-be-loaded object along a path to loader is ld.so.
75551 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75552             Ulrich Drepper  <drepper@gmail.com>
75554         * sysdeps/x86_64/memset.S: After aligning destination, code
75555         branches to different locations depending on the value of
75556         misalignment, when multiarch is enabled. Fix this.
75558 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75560         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
75561         Set _x86_64_preferred_memory_instruction for AMD processsors.
75562         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75563         Set bit_Prefer_SSE_for_memop for AMD processors.
75565 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
75567         * libio/fmemopen.c (fmemopen): Optimize a bit.
75569 2011-03-03  Andreas Schwab  <schwab@redhat.com>
75571         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
75573 2011-03-03  Roland McGrath  <roland@redhat.com>
75575         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
75577 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
75579         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
75580         __bzero_ultra1 instead of __memset_ultra1.
75582 2011-02-23  Andreas Schwab  <schwab@redhat.com>
75583             Ulrich Drepper  <drepper@gmail.com>
75585         [BZ #12509]
75586         * include/link.h (struct link_map): Add l_orig_initfini.
75587         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
75588         returning unsuccessfully.
75589         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
75590         close of a file loaded at startup, restore the original l_initfini
75591         list.
75592         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
75593         list, store the pointer.
75594         * elf/Makefile ($(objpfx)noload-mem): New rule.
75595         (noload-ENV): Define.
75596         (tests): Add $(objpfx)noload-mem.
75597         * elf/noload.c: Include <memcheck.h>.
75598         (main): Call mtrace.  Close all opened handles.
75600 2011-02-17  Andreas Schwab  <schwab@redhat.com>
75602         [BZ #12454]
75603         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
75604         dependencies are missing.
75606 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75608         Fix __if_freereq crash: Unlike the generic version which uses free,
75609         Hurd needs munmap.
75610         * sysdeps/mach/hurd/ifreq.h: New file.
75612 2011-01-27  Petr Baudis  <pasky@suse.cz>
75613             Ulrich Drepper  <drepper@gmail.com>
75615         [BZ 12445]#
75616         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
75617         to extend_alloca().
75618         * stdio-common/bug23.c: New file.
75619         * stdio-common/Makefile (tests): Add bug23.
75621 2010-09-28  Andreas Schwab  <schwab@redhat.com>
75622             Ulrich Drepper  <drepper@gmail.com>
75624         [BZ #12489]
75625         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
75626         before performing relro protection.  At old place add assertion
75627         to make sure nothing changed.
75629 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
75630             Glauber de Oliveira Costa  <glommer@gmail.com>
75632         * elf/elf.h: Add new ARM TLS relocs.
75634 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
75636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75637         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
75638         cast from r3.
75639         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
75640         'tests' variable.
75641         * sysdeps/wordsize-64/tst-writev.c: New file.
75643 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
75645         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
75646         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
75647         insns in _dl_start to prevent a TOC reference before relocs are
75648         resolved.
75650 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
75652         [BZ #12469]
75653         * Makeconfig: Remove RANLIB definition.
75654         * Makerules: Don't use RANLIB.
75655         * aclocal.m4: Remove ranlib test.
75656         * configure.in: No need to check for ranlib.
75657         * elf/rtld-Rules: Don't use RANLIB.
75659 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75661         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
75662         protection macro.
75663         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
75664         inclusion protection macro.
75666         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
75667         SIGRTMIN and SIGRTMAX and print information in that case only when
75668         SIGRTMIN is defined.
75670 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
75672         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
75673         arginfo fn returning -1.
75675         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
75676         and thousands string is zero terminated.
75678 2011-02-03  Andreas Schwab  <schwab@redhat.com>
75680         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
75681         sysdeps/unix/sysv/linux/bits/socket.h.
75683 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75685         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
75686         (__CPU_COUNT): Remove old macros.
75687         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
75688         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
75689         (__CPU_ALLOC, __CPU_FREE): Add macros.
75690         (__sched_cpualloc, __sched_cpufree): Add declarations.
75692 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
75694         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
75695         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
75696         * nscd/aicache.c (addhstaiX): Return timeout of added value.
75697         (readdhstai): Return value of addhstaiX call.
75698         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
75699         (addgrbyX): Return value returned by cache_addgr.
75700         (readdgrbyname): Return value returned by addgrbyX.
75701         (readdgrbygid): Likewise.
75702         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
75703         (addpwbyX): Return value returned by cache_addpw.
75704         (readdpwbyname): Return value returned by addhstbyX.
75705         (readdpwbyuid): Likewise.
75706         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
75707         (addservbyX): Return value returned by cache_addserv.
75708         (readdservbyname): Return value returned by addservbyX:
75709         (readdservbyport): Likewise.
75710         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
75711         (addhstbyX): Return value returned by cache_addhst.
75712         (readdhstbyname): Return value returned by addhstbyX.
75713         (readdhstbyaddr): Likewise.
75714         (readdhstbynamev6): Likewise.
75715         (readdhstbyaddrv6): Likewise.
75716         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
75717         (readdinitgroups): Return value returned by addinitgroupsX.
75718         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
75719         (prune_cache): Keep track of timeout value of re-added entries.
75720         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
75721         * nscd/nscd.h: Adjust prototypes of readd* functions.
75723 2011-02-04  Roland McGrath  <roland@redhat.com>
75725         * nis/nis_server.c (nis_servstate): Use the right name for 0.
75726         (nis_stats): Likewise.
75727         * nis/nis_modify.c (nis_modify): Likewise.
75728         * nis/nis_remove.c (nis_remove): Likewise.
75729         * nis/nis_add.c (nis_add): Likewise.
75731         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
75733         * posix/fnmatch_loop.c: Add some consts.
75735         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
75737 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
75739         [BZ #12460]
75740         * config.make.in (config-cflags-novzeroupper): Define.
75741         * configure.in: Substitute libc_cv_cc_novzeroupper.
75742         * elf/Makefile (AVX-CFLAGS): Define.
75743         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
75744         (CFLAGS-tst-auditmod4a.c): Likewise.
75745         (CFLAGS-tst-auditmod4b.c): Likewise.
75746         (CFLAGS-tst-auditmod6b.c): Likewise.
75747         (CFLAGS-tst-auditmod6c.c): Likewise.
75748         (CFLAGS-tst-auditmod7b.c): Likewise.
75749         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
75751 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
75753         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
75754         function to the callback.
75755         Patch partly by Jiri Olsa <jolsa@redhat.com>.
75757 2011-02-02  Andreas Schwab  <schwab@redhat.com>
75759         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
75760         of errno.
75762 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
75764         [BZ #11724]
75765         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
75766         of constructors.
75767         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
75768         of destructors.
75769         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
75771         [BZ #11724]
75772         * elf/Makefile: Add rules to build and run new test.
75773         * elf/tst-initorder.c: New file.
75774         * elf/tst-initorder.exp: New file.
75775         * elf/tst-initordera1.c: New file.
75776         * elf/tst-initordera2.c: New file.
75777         * elf/tst-initordera3.c: New file.
75778         * elf/tst-initordera4.c: New file.
75779         * elf/tst-initorderb1.c: New file.
75780         * elf/tst-initorderb2.c: New file.
75781         * elf/tst-order-a1.c: New file.
75782         * elf/tst-order-a2.c: New file.
75783         * elf/tst-order-a3.c: New file.
75784         * elf/tst-order-a4.c: New file.
75785         * elf/tst-order-b1.c: New file.
75786         * elf/tst-order-b2.c: New file.
75787         * elf/tst-order-main.c: New file.
75788         New test case by George Gensure <werkt0@gmail.com>.
75790 2010-10-01  Andreas Schwab  <schwab@redhat.com>
75792         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75793         decoding ACE if AI_CANONIDN.
75795 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
75797         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
75799 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
75801         * version.h (RELEASE): Bump for 2.13 release.
75802         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
75804         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
75806         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
75807         MADV_NOHUGEPAGE.
75808         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
75809         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
75810         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75811         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75812         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75813         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75815         * posix/getconf.c: Update copyright year.
75816         * catgets/gencat.c: Likewise.
75817         * csu/version.c: Likewise.
75818         * debug/catchsegv.sh: Likewise.
75819         * debug/xtrace.sh: Likewise.
75820         * elf/ldconfig.c: Likewise.
75821         * elf/ldd.bash.in: Likewise.
75822         * elf/sprof.c (print_version): Likewise.
75823         * iconv/iconv_prog.c: Likewise.
75824         * iconv/iconvconfig.c: Likewise.
75825         * locale/programs/locale.c: Likewise.
75826         * locale/programs/localedef.c: Likewise.
75827         * malloc/memusage.sh: Likewise.
75828         * malloc/mtrace.pl: Likewise.
75829         * nscd/nscd.c (print_version): Likewise.
75830         * nss/getent.c: Likewise.
75832         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
75833         PF_CAIF, and PF_ALG.
75834         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75836 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
75838         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
75839         (modules-names): Use them.
75840         (ifunc-test-modules, ifunc-pie-tests): Define.
75841         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
75842         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
75843         (test-extras): Likewise.
75844         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
75845         $(compile-command.c).
75846         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
75847         (all-built-dso): Define.
75848         (check-textrel.out, check-execstack.out): Depend on it.
75850         * configure.in: Don't override --enable-multi-arch.
75852 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
75854         [BZ #6812]
75855         * nscd/hstcache.c (tryagain): Define.
75856         (cache_addhst): Return tryagain not notfound for temporary errors.
75857         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
75858         failed.
75860 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
75862         [BZ #10563]
75863         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
75864         to make the syscall.
75865         * sysdeps/unix/sysv/linux/setgroups.c: New file.
75867         [BZ #12378]
75868         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
75869         and fall back to matching as normal character if the string ends before
75870         the matching ']' is found.  This is what POSIX requires.
75871         * posix/testfnm.c: Adjust test result.
75872         * posix/globtest.sh: Adjust test result.  Add new test.
75873         * posix/tst-fnmatch.input: Likewise.
75874         * posix/tst-fnmatch2.c: Add new test.
75876 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
75878         * elf/Makefile (check-execstack): Revert last change.  Depend on
75879         check-execstack.h.
75880         (check-execstack.h): New target.
75881         (generated): Add check-execstack.h.
75882         * elf/check-execstack.c: Include "check-execstack.h".
75883         (main): Revert last change.
75884         (handle_file): Return zero if GNU_STACK is absent and
75885         DEFAULT_STACK_PERMS doesn't include PF_X.
75887 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
75889         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
75890         in child fails because the descriptor is already closed.
75891         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
75892         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
75893         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
75895         [BZ #12397]
75896         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
75897         syscall.
75899         [BZ #10484]
75900         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
75901         temporary buffer used to handle multi lookups locally.
75902         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
75904 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75906         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
75907         loader is ld.so.
75909 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
75911         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
75912         alignment for SSE2.
75914 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75916         [BZ #12394]
75917         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
75918         characters.  When rounding increased number of integer digits recompute
75919         number of groups.
75920         * stdio-common/tst-grouping.c: New file.
75921         * stdio-common/Makefile: Add rules to build and run tst-grouping.
75923 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
75925         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
75926         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
75928         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
75929         void.
75930         * bits/select.h: Likewise.
75932 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
75934         * po/ja.po: Update from translation team.
75936 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
75938         [BZ #11155]
75939         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
75940         implementation just like for lxstat, fxstatat, et al.
75942 2010-12-27  Jim Meyering  <meyering@redhat.com>
75944         [BZ #12348]
75945         * posix/regexec.c (build_trtable): Return failure indication upon
75946         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
75948 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
75950         [BZ #12201]
75951         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
75952         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
75953         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
75954         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
75956         [BZ #12207]
75957         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
75959         [BZ #12204]
75960         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
75961         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
75963 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
75965         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
75966         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
75967         script has SORT_BY_INIT_PRIORITY.
75968         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
75969         NO_CTORS_DTORS_SECTIONS is defined.
75970         * elf/soinit.c: Likewise.
75971         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
75972         NO_CTORS_DTORS_SECTIONS is defined.
75973         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
75974         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
75975         * sysdeps/sh/init-first.c: Likewise.
75976         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
75978 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
75980         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
75981         always use the slow path.
75983 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
75985         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
75986         similar rule which adds the sysdep directories to the header search in
75987         order to pick up the correct platform stackinfo.h.
75988         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
75989         perform test if it is, otherwise return successfully without testing.
75990         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
75991         DEFAULT_STACK_PERMS define in stackinfo.h.
75992         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
75993         defined in stackinfo.h.
75994         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
75995         DEFAULT_STACK_PERMS defined in stackinfo.h.
75996         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
75997         * sysdeps/ia64/stackinfo.h: Likewise.
75998         * sysdeps/s390/stackinfo.h: Likewise.
75999         * sysdeps/sh/stackinfo.h: Likewise.
76000         * sysdeps/sparc/stackinfo.h: Likewise.
76001         * sysdeps/x86_64/stackinfo.h: Likewise.
76002         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
76003         PF_X for powerpc64.  Retain PF_X for powerpc32.
76005 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
76007         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
76008         accurately.
76009         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
76010         GETDENTS_64BIT_ALIGNED.
76012 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
76014         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
76016 2010-12-10  Andreas Schwab  <schwab@redhat.com>
76018         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
76019         _GNU_SOURCE.
76021         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
76022         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
76023         Remove __restrict.
76024         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
76025         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
76027 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
76029         [BZ #11655]
76030         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
76031         are initialized.
76033 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
76035         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
76037 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
76039         * po/it.po: Update from translation team.
76041 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
76043         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
76044         unused codes.
76046 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
76048         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
76050 2010-11-24  Andreas Schwab  <schwab@redhat.com>
76052         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
76053         specially.
76054         (gaih_getanswer_slice): Likewise.
76056 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
76058         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
76060 2010-05-31  Petr Baudis  <pasky@suse.cz>
76062         [BZ #11149]
76063         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
76064         silently even in the chroot mode.
76066 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
76068         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
76069         last patch a bit.  Pretty printing
76071 2010-05-31  Petr Baudis <pasky@suse.cz>
76073         [BZ #10085]
76074         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
76075         initialization of skip_initgroups_dyn.
76077 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
76079         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
76080         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76082 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
76084         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
76086 2010-11-11  Andreas Schwab  <schwab@redhat.com>
76088         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
76089         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
76090         (tst-fnmatch-ENV): Set MALLOC_TRACE.
76091         ($(objpfx)tst-fnmatch-mem): New rule.
76092         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
76093         * posix/tst-fnmatch.c (main): Call mtrace.
76095 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
76097         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76098         Support Intel processor model 6 and model 0x2c.
76100 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
76102         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
76103           signed comparison.
76105 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
76107         [BZ #12205]
76108         * string/test-strncasecmp.c (check_result): New function.
76109         (do_one_test): Use it.
76110         (check1): New function.
76111         (test_main): Use it.
76112         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
76113         Support strcasecmp and strncasecmp.
76115 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
76117         [BZ #12194]
76118         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
76119         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76121 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
76123         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
76124         IFUNC support.
76125         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76126         memset-x86-64.
76127         * sysdeps/x86_64/multiarch/bzero.S: New file.
76128         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
76129         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
76130         * sysdeps/x86_64/multiarch/memset.S: New file.
76131         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
76132         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76133         Set bit_Prefer_SSE_for_memop for Intel processors.
76134         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
76135         Define.
76136         (index_Prefer_SSE_for_memop): Define.
76137         (HAS_PREFER_SSE_FOR_MEMOP): Define.
76139 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
76141         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
76142         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
76144 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
76146         [BZ #12191]
76147         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76148         (__x86_64_raw_data_cache_size_half): Likewise.
76149         (__x86_64_raw_shared_cache_size): Likewise.
76150         (__x86_64_raw_shared_cache_size_half): Likewise.
76152         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76153         (__x86_64_raw_data_cache_size_half): Likewise.
76154         (__x86_64_raw_shared_cache_size): Likewise.
76155         (__x86_64_raw_shared_cache_size_half): Likewise.
76156         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76157         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76158         and __x86_64_raw_shared_cache_size_half.  Round
76159         __x86_64_data_cache_size_half, __x86_64_data_cache_size
76160         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76161         to multiple of 256 bytes.
76163 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
76165         [BZ #12167]
76166         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76167         of inacessible symlinks.  Verify result of symlink before returning it.
76168         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76169         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76171 2010-10-28  Erich Ritz  <erichritz@gmail.com>
76173         * math/math.h (isinf): Fix typo in comment.
76175 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
76177         * po/da.po: Update from translation team.
76179 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
76181         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
76182         is added to the list.
76184 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76185             Ulrich Drepper  <drepper@gmail.com>
76187         * elf/dl-object.c (_dl_new_object): Don't append the new object to
76188         the global list here.  Move code to...
76189         (_dl_add_to_namespace_list): ...here.  New function.
76190         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
76191         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
76192         * elf/dl-load.c (lose): Don't remove the element from the list.
76193         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
76194         (_dl_map_object): Likewise.
76196 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
76198         [BZ #12159]
76199         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
76200         into all bytes of SSE register.
76201         Patch by Richard Li <richardpku@gmail.com>.
76203 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
76205         [BZ #12140]
76206         * malloc/malloc.c (_int_free): Fill correct number of bytes when
76207         perturbing.
76209 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
76211         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
76212         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
76213         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
76214         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
76216         submachine.
76217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
76219 2010-10-22  Andreas Schwab  <schwab@redhat.com>
76221         * include/dlfcn.h (__RTLD_SECURE): Define.
76222         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
76223         mode & __RTLD_SECURE instead.
76224         (open_path): Rename preloaded parameter to secure.
76225         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
76226         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
76227         * elf/dl-deps.c (openaux): Likewise.
76228         * elf/rtld.c (struct map_args): Remove is_preloaded.
76229         (map_doit): Don't use it.
76230         (dl_main): Likewise.
76231         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
76232         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
76234 2010-09-09  Andreas Schwab  <schwab@redhat.com>
76236         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
76237         (sysd-rules-targets): Remove duplicates.
76238         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
76239         rtld-%.$o dependency.
76241 2010-10-18  Andreas Schwab  <schwab@redhat.com>
76243         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
76244         _dl_map_object do it.
76246 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
76248         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
76249         fast fma builtins, define the macros in the C99 standard.
76250         (FP_FAST_FMAF): Likewise.
76251         (FP_FAST_FMAL): Likewise.
76252         * sysdeps/x86_64/bits/mathdef.h: Likewise.
76254         * bits/mathdef.h: Update copyright year.
76255         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76257 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
76259         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76260         builtins, define the macros in the C99 standard.
76261         (FP_FAST_FMAF): Likewise.
76262         (FP_FAST_FMAL): Likewise.
76263         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76264         multiply/add.
76265         (FP_FAST_FMAF): Likewise.
76267 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
76269         [BZ #3268]
76270         * math/libm-test.inc (fma_test): Some new testcases.
76271         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76272         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76273         y and infinite z.  Do multiplication by C already in long double.
76274         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76275         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76276         y and infinite z.  Do bitwise or of inexact bit into u.d.
76277         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76278         * sysdeps/i386/fpu/s_fmaf.S: Removed.
76279         * sysdeps/i386/fpu/s_fma.S: Removed.
76280         * sysdeps/i386/fpu/s_fmal.S: Removed.
76282 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
76284         [BZ #3268]
76285         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76286         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76287         computation is not scheduled after fetestexcept.  Fix value
76288         of minimum denormal long double.
76290 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
76292         [BZ #3268]
76293         * math/libm-test.inc (fma_test): Add some more tests.
76294         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76295         correctly.
76297 2010-10-15  Andreas Schwab  <schwab@redhat.com>
76299         * scripts/data/localplt-s390-linux-gnu.data: New file.
76300         * scripts/data/localplt-s390x-linux-gnu.data: New file.
76302 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
76304         [BZ #3268]
76305         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76306         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76307         instead of dbl-64.
76308         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76309         inlines.
76310         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76311         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76312         if one of x and y is very large and the other is subnormal.
76313         * sysdeps/s390/fpu/s_fmaf.c: New file.
76314         * sysdeps/s390/fpu/s_fma.c: New file.
76315         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76316         * sysdeps/powerpc/fpu/s_fma.S: New file.
76317         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76318         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76319         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76321 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
76323         [BZ #3268]
76324         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76325         fma tests.
76326         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76327         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76328         * sysdeps/i386/i686/multiarch/s_fma.c: Include
76329         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76330         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76331         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76332         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76334 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
76336         [BZ #12078]
76337         * posix/regcomp.c (parse_branch): One more memory leak plugged.
76338         * posix/bug-regex31.input: Add test case.
76340 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76342         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
76343         * posix/bug-regex31.input: New file.
76345         [BZ #12078]
76346         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
76347         (parse_sub_exp): Fix last change, use postorder.
76349         * posix/bug-regex31.c: New file.
76350         * posix/Makefile: Add rules to build and run bug-regex31.
76352         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
76354         [BZ #12078]
76355         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
76357         [BZ #12108]
76358         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
76359         to have entries in sys_siglist.
76361         [BZ #12093]
76362         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
76363         be NULL.
76365 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
76367         [BZ #3268]
76368         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
76369         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
76370         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
76371         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
76372         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76373         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
76374         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
76375         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
76376         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
76377         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
76378         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
76379         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
76380         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
76381         * math/ftestexcept.c (fetestexcept): Likewise.
76382         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
76383         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
76384         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
76385         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
76386         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
76387         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
76388         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76390 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76392         [BZ #12107]
76393         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
76394         newline.
76396 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
76398         * string/bug-strstr1.c: New file.
76399         * string/Makefile: Add rules to build and run bug-strstr1.
76401 2010-10-05  Eric Blake  <eblake@redhat.com>
76403         [BZ #12092]
76404         * string/str-two-way.h (two_way_long_needle): Always clear memory
76405         when skipping input due to the shift table.
76407 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
76409         [BZ #12005]
76410         * malloc/mcheck.c: Handle large requests.
76412         [BZ #12077]
76413         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
76414         for strncmp and strncasecmp.
76415         * string/stratcliff.c: Add tests for strcmp and strncmp.
76416         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
76418 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76420         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
76421         __set_fpscr.
76423 2010-09-30  Andreas Jaeger  <aj@suse.de>
76425         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
76426         (CGROUP_SUPER_MAGIC): Define.
76427         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76428         Handle btrfs and cgroup file systems.
76429         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
76430         Likewise.
76432 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
76434         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
76435         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
76437 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76439         [BZ #12067]
76440         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
76441         trying to locate the ELF header.
76443 2010-09-27  Andreas Schwab  <schwab@redhat.com>
76445         [BZ #11611]
76446         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
76447         Mask out sign-bit copies when constructing f_fsid.
76449 2010-09-24  Petr Baudis <pasky@suse.cz>
76451         * debug/stack_chk_fail_local.c: Add missing licence exception.
76452         * debug/warning-nop.c: Likewise.
76454 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
76456         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
76457         implementing getdents64 using getdents syscall, set d_type if
76458         __ASSUME_GETDENTS32_D_TYPE.
76460 2010-09-16  Andreas Schwab  <schwab@redhat.com>
76462         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
76463         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
76465 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
76467         [BZ #12037]
76468         * posix/unistd.h: Undo change of feature selection for ftruncate from
76469         2010-01-11.
76471 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
76473         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
76474         detection.
76476 2010-09-20  Andreas Schwab  <schwab@redhat.com>
76478         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
76479         fanotify_mark.
76480         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76482 2010-09-14  Andreas Schwab  <schwab@redhat.com>
76484         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
76485         variables after CHECK_SP call.
76486         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
76488 2010-09-13  Andreas Schwab  <schwab@redhat.com>
76489             Ulrich Drepper  <drepper@redhat.com>
76491         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
76492         re-relocationg ld.so.
76493         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
76494         _dl_init_paths call.
76495         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
76496         here anymore.
76498 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
76500         * resolv/res_init.c (__res_vinit): Count the default server we added.
76502 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
76503             Ulrich Drepper  <drepper@redhat.com>
76505         [BZ #11968]
76506         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76507         (____longjmp_chk): Use %ebx for saving value across system call.
76508         Add unwind info.
76510 2010-09-06  Andreas Schwab  <schwab@redhat.com>
76512         * manual/Makefile: Don't mix pattern rules with normal rules.
76514 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76516         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
76517         operation.
76518         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
76519         * libio/iofopncook.c (_IO_cookie_init): Likewise.
76520         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
76521         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
76522         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76523         Likewise.
76525 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
76527         [BZ #11979]
76528         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
76529         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
76531 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
76533         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
76534         * sysdeps/x86_64/addmul_1.S: Likewise.
76535         * sysdeps/x86_64/lshift.S: Likewise.
76536         * sysdeps/x86_64/mul_1.S: Likewise.
76537         * sysdeps/x86_64/rshift.S: Likewise.
76538         * sysdeps/x86_64/sub_n.S: Likewise.
76539         * sysdeps/x86_64/submul_1.S: Likewise.
76541 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76543         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
76544         Define __sched_param instead of SCHED_* and sched_param when
76545         <bits/sched.h> is included with __need_schedparam defined.
76546         * bits/sched.h [__need_schedparam]
76547         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
76548         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
76549         (__defined_schedparam): Define to 1.
76550         (__sched_param): New structure, identical to sched_param.
76551         (__need_schedparam): Undefine.
76553 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
76555         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
76556         (epoll_create1): Declare.
76558         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
76560 2010-08-31  Andreas Schwab  <schwab@redhat.com>
76562         [BZ #7066]
76563         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
76564         shifting retval into place.
76566 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
76568         * nis/rpcsvc/nis.h: Update copyright notice.
76569         * nis/rpcsvc/nis.x: Likewise.
76570         * nis/rpcsvc/nis_callback.h: Likewise.
76571         * nis/rpcsvc/nis_callback.x: Likewise.
76572         * nis/rpcsvc/nis_object.x: Likewise.
76573         * nis/rpcsvc/nis_tags.h: Likewise.
76574         * nis/rpcsvc/yp.h: Likewise.
76575         * nis/rpcsvc/yp.x: Likewise.
76576         * nis/rpcsvc/ypupd.h: Likewise.
76577         * nis/yp_xdr.c: Likewise.
76578         * nis/ypupdate_xdr.c: Likewise.
76580         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
76581         mainly the body of pmap_getport.  Add parameters to specify timeouts.
76582         (pmap_getport): Use __libc_rpc_getport.
76583         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
76584         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
76585         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
76587 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
76589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
76590         fanotify_mark.
76592 2010-08-27  Roland McGrath  <roland@redhat.com>
76594         * sysdeps/i386/i686/multiarch/Makefile
76595         (CFLAGS-varshift.c): New variable.
76597 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
76599         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
76600         * sysdeps/i386/i686/multiarch/varshift.c: New file.
76602         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
76604         * sysdeps/x86_64/strlen.S: Minimal code improvement.
76606 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
76608         * sysdeps/x86_64/strlen.S: Unroll the loop.
76609         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76610         strlen-sse2 strlen-sse2-bsf.
76611         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
76612         __strlen_no_bsf if bit_Slow_BSF is set.
76613         (__strlen_sse42): Removed.
76614         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
76615         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
76617 2010-08-25  Roland McGrath  <roland@redhat.com>
76619         * sysdeps/x86_64/multiarch/varshift.S: File removed.
76620         * sysdeps/x86_64/multiarch/varshift.c: New file.
76621         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
76622         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
76623         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
76624         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76626 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
76628         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76629         strlen-sse2 strlen-sse2-bsf.
76630         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
76631         __strlen_sse2_bsf if bit_Slow_BSF is unset.
76632         (__strlen_sse2): Removed.
76633         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
76634         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
76635         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
76636         bit_Slow_BSF for Atom.
76637         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
76638         (index_Slow_BSF): Define.
76639         (HAS_SLOW_BSF): Define.
76641 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
76643         [BZ #10851]
76644         * resolv/res_init.c (__res_vinit): When no server address at all
76645         is given default to loopback.
76647 2010-08-24  Roland McGrath  <roland@redhat.com>
76649         * configure.in: Remove config-name.h generation.
76650         * configure: Regenerated.
76651         * config-name.in: File removed.
76652         * scripts/config-uname.sh: New file.
76653         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
76654         ($(objdir)config-name.h): New target.
76656         * sunrpc/rpc_parse.h: Avoid nested comment.
76658 2010-08-24  Richard Henderson  <rth@redhat.com>
76659             Ulrich Drepper  <drepper@redhat.com>
76660             H.J. Lu  <hongjiu.lu@intel.com>
76662         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
76663         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
76664         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
76665         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
76666         _mm_alignr_epi8 with _mm_loadu_si128.
76667         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
76668         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
76669         (__m128i_shift_right): Removed.
76670         * sysdeps/i386/i686/multiarch/varshift.h: New file.
76671         * sysdeps/i386/i686/multiarch/varshift.S: New file.
76672         * sysdeps/x86_64/multiarch/varshift.h: New file.
76673         * sysdeps/x86_64/multiarch/varshift.S: New file.
76675 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
76677         * configure.in: Move assembler checks to before sysdep dir checking.
76679 2010-08-20  Petr Baudis  <pasky@suse.cz>
76681         * LICENSES: Sync the sunrpc license.
76683 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
76685         * sunrpc/auth_des.c: Update copyright notice once again.
76686         * sunrpc/auth_none.c: Likewise.
76687         * sunrpc/auth_unix.c: Likewise.
76688         * sunrpc/authdes_prot.c: Likewise.
76689         * sunrpc/authuxprot.c: Likewise.
76690         * sunrpc/bindrsvprt.c: Likewise.
76691         * sunrpc/clnt_gen.c: Likewise.
76692         * sunrpc/clnt_perr.c: Likewise.
76693         * sunrpc/clnt_raw.c: Likewise.
76694         * sunrpc/clnt_simp.c: Likewise.
76695         * sunrpc/clnt_tcp.c: Likewise.
76696         * sunrpc/clnt_udp.c: Likewise.
76697         * sunrpc/clnt_unix.c: Likewise.
76698         * sunrpc/des_crypt.c: Likewise.
76699         * sunrpc/des_soft.c: Likewise.
76700         * sunrpc/get_myaddr.c: Likewise.
76701         * sunrpc/getrpcport.c: Likewise.
76702         * sunrpc/key_call.c: Likewise.
76703         * sunrpc/key_prot.c: Likewise.
76704         * sunrpc/openchild.c: Likewise.
76705         * sunrpc/pm_getmaps.c: Likewise.
76706         * sunrpc/pm_getport.c: Likewise.
76707         * sunrpc/pmap_clnt.c: Likewise.
76708         * sunrpc/pmap_prot.c: Likewise.
76709         * sunrpc/pmap_prot2.c: Likewise.
76710         * sunrpc/pmap_rmt.c: Likewise.
76711         * sunrpc/rpc/auth.h: Likewise.
76712         * sunrpc/rpc/auth_unix.h: Likewise.
76713         * sunrpc/rpc/clnt.h: Likewise.
76714         * sunrpc/rpc/des_crypt.h: Likewise.
76715         * sunrpc/rpc/key_prot.h: Likewise.
76716         * sunrpc/rpc/netdb.h: Likewise.
76717         * sunrpc/rpc/pmap_clnt.h: Likewise.
76718         * sunrpc/rpc/pmap_prot.h: Likewise.
76719         * sunrpc/rpc/pmap_rmt.h: Likewise.
76720         * sunrpc/rpc/rpc.h: Likewise.
76721         * sunrpc/rpc/rpc_des.h: Likewise.
76722         * sunrpc/rpc/rpc_msg.h: Likewise.
76723         * sunrpc/rpc/svc.h: Likewise.
76724         * sunrpc/rpc/svc_auth.h: Likewise.
76725         * sunrpc/rpc/types.h: Likewise.
76726         * sunrpc/rpc/xdr.h: Likewise.
76727         * sunrpc/rpc_clntout.c: Likewise.
76728         * sunrpc/rpc_cmsg.c: Likewise.
76729         * sunrpc/rpc_common.c: Likewise.
76730         * sunrpc/rpc_cout.c: Likewise.
76731         * sunrpc/rpc_dtable.c: Likewise.
76732         * sunrpc/rpc_hout.c: Likewise.
76733         * sunrpc/rpc_main.c: Likewise.
76734         * sunrpc/rpc_parse.c: Likewise.
76735         * sunrpc/rpc_parse.h: Likewise.
76736         * sunrpc/rpc_prot.c: Likewise.
76737         * sunrpc/rpc_sample.c: Likewise.
76738         * sunrpc/rpc_scan.c: Likewise.
76739         * sunrpc/rpc_scan.h: Likewise.
76740         * sunrpc/rpc_svcout.c: Likewise.
76741         * sunrpc/rpc_tblout.c: Likewise.
76742         * sunrpc/rpc_util.c: Likewise.
76743         * sunrpc/rpc_util.h: Likewise.
76744         * sunrpc/rpcinfo.c: Likewise.
76745         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
76746         * sunrpc/rpcsvc/key_prot.x: Likewise.
76747         * sunrpc/rpcsvc/klm_prot.x: Likewise.
76748         * sunrpc/rpcsvc/mount.x: Likewise.
76749         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
76750         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
76751         * sunrpc/rpcsvc/rex.x: Likewise.
76752         * sunrpc/rpcsvc/rstat.x: Likewise.
76753         * sunrpc/rpcsvc/rusers.x: Likewise.
76754         * sunrpc/rpcsvc/sm_inter.x: Likewise.
76755         * sunrpc/rpcsvc/spray.x: Likewise.
76756         * sunrpc/rpcsvc/yppasswd.x: Likewise.
76757         * sunrpc/rtime.c: Likewise.
76758         * sunrpc/svc.c: Likewise.
76759         * sunrpc/svc_auth.c: Likewise.
76760         * sunrpc/svc_authux.c: Likewise.
76761         * sunrpc/svc_raw.c: Likewise.
76762         * sunrpc/svc_run.c: Likewise.
76763         * sunrpc/svc_simple.c: Likewise.
76764         * sunrpc/svc_tcp.c: Likewise.
76765         * sunrpc/svc_udp.c: Likewise.
76766         * sunrpc/svc_unix.c: Likewise.
76767         * sunrpc/svcauth_des.c: Likewise.
76768         * sunrpc/xcrypt.c: Likewise.
76769         * sunrpc/xdr.c: Likewise.
76770         * sunrpc/xdr_array.c: Likewise.
76771         * sunrpc/xdr_float.c: Likewise.
76772         * sunrpc/xdr_mem.c: Likewise.
76773         * sunrpc/xdr_rec.c: Likewise.
76774         * sunrpc/xdr_ref.c: Likewise.
76775         * sunrpc/xdr_sizeof.c: Likewise.
76776         * sunrpc/xdr_stdio.c: Likewise.
76778         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
76779         handling.
76781 2010-08-19  Andreas Schwab  <schwab@redhat.com>
76783         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
76785 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
76787         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
76788         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
76789         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
76790         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
76791         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
76792         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
76793         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
76794         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
76795         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
76796         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
76797         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
76798         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
76799         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
76800         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
76802 2010-07-26  Anton Blanchard  <anton@samba.org>
76804         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
76805         * malloc/arena.c (heap_trim): Likewise.
76807 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
76809         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
76810         here.  Not...
76811         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
76812         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
76814 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
76816         * sysdeps/i386/elf/Makefile: New file.
76818 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76820         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
76821         from fanotify_init.
76822         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
76823         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76825 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
76827         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
76828         of strncasecmp_l.
76829         * sysdeps/multiarch/strcmp.S: Likewise.
76831 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
76833         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76834         strncase_l-nonascii.
76835         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76836         Add strncase_l-ssse3.
76837         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
76838         * sysdeps/x86_64/strcmp.S: Likewise.
76839         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
76840         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
76841         * sysdeps/x86_64/strncase.S: New file.
76842         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
76843         * sysdeps/x86_64/strncase_l.S: New file.
76844         * string/Makefile (strop-tests): Add strncasecmp.
76845         * string/test-strncasecmp.c: New file.
76847         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
76848         warning.
76850         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
76851         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
76853 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76855         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
76857 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
76859         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
76860         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
76861         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
76863 2010-05-01  Alan Modra  <amodra@gmail.com>
76865         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
76866         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
76867         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
76868         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
76869         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
76870         tidying.  Don't tail-call __sigjmp_save for static lib.
76871         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
76872         save location.
76873         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
76874         (CALL_MCOUNT): Add eh info, and nop after bl.
76875         (TAIL_CALL_SYSCALL_ERROR): New macro.
76876         (PSEUDO_RET): Use it.
76877         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
76878         Correct save location of integer regs and cr.
76879         (_dl_profile_resolve): Correct cr save location.  Delete nops
76880         after bl when SHARED.  Reduce cfi size a little by better
76881         placement of cfi directives.
76882         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
76883         make a stack frame.  Instead use parm save area as a temp.
76884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
76885         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
76886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
76887         Don't make a stack frame for parent, use parm save area.
76888         Increase child stack frame to 112 bytes.  Don't save unused reg,
76889         and adjust reg usage.  Set up cfi on error recovery and
76890         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
76891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76892         (__makecontext): Add dummy nop after jump to exit.
76893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
76894         Use correct parm save area and cr save, reduce stack frame.
76895         Correct cfi for possible PSEUDO_RET frame setup.
76896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
76897         Branch to local label emitted by PSEUDO_RET rather than
76898         __syscall_error.
76900 2010-08-12  Andreas Schwab  <schwab@redhat.com>
76902         [BZ #11904]
76903         * locale/programs/locale.c (print_assignment): New function.
76904         (show_locale_vars): Use it.
76906 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
76908         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
76909         field.
76910         (struct statfs64): Likewise.
76911         (_STATFS_F_FLAGS): Define.
76912         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
76913         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76914         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
76915         (ST_VALID): Define locally.
76916         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
76917         __statvfs_getflags, use the provided value.
76918         * sysdeps/unix/sysv/linux/kernel-features.h: Define
76919         __ASSUME_STATFS_F_FLAGS.
76921         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
76923         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
76924         Add sys/fanotify.h.
76925         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
76926         fanotify_mask for GLIBC_2.13.
76927         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
76928         fanotify_init and fanotify_mark.
76929         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76930         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
76932         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
76933         Add prlimit.
76934         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
76935         prlimit64 for GLIBC_2.13.
76936         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
76937         prlimit64.
76938         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
76939         syscall.
76940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
76941         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76942         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
76943         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
76944         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
76945         add prlimit alias.
76946         * sysdeps/unix/sysv/linux/prlimit.c: New file.
76948         [BZ #11903]
76949         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
76950         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
76952         * nss/Makefile: Add rules to build and run tst-nss-test1.
76953         * shlib-versions: Add entry for libnss_test1.
76954         * nss/nss_test1.c: New file.
76955         * nss/tst-nss-test1.c: New file.
76957         * nss/nsswitch.c (__nss_database_custom): Define new variable.
76958         (__nss_configure_lookup): Set appropriate entry in
76959         __nss_configure_lookup to true.
76960         * nss/nsswitch.h: Define enum with indeces of databases in
76961         databases and __nss_database_custom arrays.  Declare
76962         __nss_database_custom.
76963         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
76964         to avoid using nscd when custom rules are installed.
76965         * nss/getXXbyYY_r.c: Likewise.
76966         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
76968         * nss/nss_files/files-parse.c: Whitespace fixes.
76970 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
76972         [BZ #11883]
76973         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
76974         * posix/fnmatch_loop.c: Likewise.
76976 2010-07-17  Andi Kleen  <ak@linux.intel.com>
76978         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
76979         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
76980         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
76981         * Versions.def [GLIBC_2.13]: Add.
76983 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
76985         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76986         Also fail if tpwd after pwuid call is NULL.
76988 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76990         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
76991         when converting to ms.
76993 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76995         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
76996         EOPNOTSUPP errors with ENOTTY.
76997         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
76998         EOPNOTSUPP errors with ENOTTY.
77000 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
77002         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77003         Add strcasecmp_l-ssse3.
77004         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
77005         strcasecmp.
77006         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
77007         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
77008         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
77010 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
77012         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
77014         * string/Makefile (strop-tests): Add strcasecmp.
77015         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77016         strcasecmp_l-nonascii.
77017         (gen-as-const-headers): Add locale-defines.sym.
77018         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
77019         * sysdeps/x86_64/strcasecmp.S: New file.
77020         * sysdeps/x86_64/strcasecmp_l.S: New file.
77021         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
77022         * sysdeps/x86_64/locale-defines.sym: New file.
77023         * string/test-strcasecmp.c: New file.
77025         * string/test-strcasestr.c: Test both ends of the range of characters.
77026         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
77028 2010-07-29  Roland McGrath  <roland@redhat.com>
77030         [BZ #11856]
77031         * manual/locale.texi (Yes-or-No Questions): Fix example code.
77033 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
77035         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
77036         for ld.so.
77038 2010-07-27  Andreas Schwab  <schwab@redhat.com>
77040         * manual/memory.texi (Malloc Tunable Parameters): Document
77041         M_PERTURB.
77043 2010-07-26  Roland McGrath  <roland@redhat.com>
77045         [BZ #11840]
77046         * configure.in (-fgnu89-inline check): Set and substitute
77047         gnu89_inline, not libc_cv_gnu89_inline.
77048         * configure: Regenerated.
77049         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
77051 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
77053         * string/test-strnlen.c: New file.
77054         * string/Makefile (strop-tests): Add strnlen.
77055         * string/tester.c (test_strnlen): Add a few more test cases.
77056         * string/tst-strlen.c: Better error reporting.
77058         * sysdeps/x86_64/strnlen.S: New file.
77060 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
77062         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
77063         lower-latency instructions.
77065 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
77067         * string/test-strcasestr.c: New file.
77068         * string/test-strstr.c: New file.
77069         * string/Makefile (strop-tests): Add strstr and strcasestr.
77070         * string/str-two-way.h: Don't undefine MAX.
77071         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
77073 2010-07-21  Andreas Schwab  <schwab@redhat.com>
77075         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77076         strcasestr-nonascii.
77077         (CFLAGS-strcasestr-nonascii.c): Define.
77078         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
77079         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
77080         Remove unused attribute.
77082 2010-07-20  Roland McGrath  <roland@redhat.com>
77084         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
77085         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
77086         ld.so.cache was broken.  With it, there is no way to disable dsocaps
77087         like LD_HWCAP_MASK can disable hwcaps.
77089 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77091         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
77093 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
77095         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
77096         call in strcasestr.
77097         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
77098         __strcasestr_sse42_nonascii.
77099         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
77100         strcasestr-nonascii.c.
77101         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
77103 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
77105         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
77106         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
77107         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
77108         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
77110 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
77112         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
77113         fcntl.
77115 2010-07-06  Andreas Schwab  <schwab@redhat.com>
77117         [BZ #11577]
77118         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
77119         dl_signal_cerror.
77121 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
77123         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
77124         _PC_PIPE_BUF using F_GETPIPE_SZ.
77126 2010-07-05  Roland McGrath  <roland@redhat.com>
77128         * manual/arith.texi (Rounding Functions): Fix rint description
77129         implicit in round description.
77131 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
77133         * elf/Makefile: Fix linking for a few tests to make recent linker
77134         happy.
77136 2010-06-30  Andreas Schwab  <schwab@redhat.com>
77138         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77139         $(common-objpfx)libc_nonshared.a.
77141 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
77143         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
77144         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
77145         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77146         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77147         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77148         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77149         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77150         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77165         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77166         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77167         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77168         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77169         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77170         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77171         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77172         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77173         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77174         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77175         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77176         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
77182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
77183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
77184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
77185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
77186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
77187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
77188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
77189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
77190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
77192 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
77194         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
77195         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
77196         * string/memmove.c (memmove): Renamed to ...
77197         (MEMMOVE): ...this.  Default to memmove.
77198         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
77199         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
77200         (END_CHK): Define.
77201         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77202         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
77203         mempcpy-ssse3-back memmove-ssse3-back.
77204         * sysdeps/x86_64/multiarch/bcopy.S: New file .
77205         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
77206         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
77207         * sysdeps/x86_64/multiarch/memcpy.S: New file.
77208         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
77209         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
77210         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
77211         * sysdeps/x86_64/multiarch/memmove.c: New file.
77212         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
77213         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
77214         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
77215         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
77216         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
77217         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
77218         Define.
77219         (index_Fast_Copy_Backward): Define.
77220         (HAS_ARCH_FEATURE): Define.
77221         (HAS_FAST_REP_STRING): Define.
77222         (HAS_FAST_COPY_BACKWARD): Define.
77224 2010-06-21  Andreas Schwab  <schwab@redhat.com>
77226         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77227         Restore proper fallback handling.
77229 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
77231         [BZ #11701]
77232         * posix/group_member.c (__group_member): Correct checking loop.
77234         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
77235         OOM in getpwuid_r correctly.  Return error number when the caller
77236         should return, otherwise -1.
77237         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
77238         call returning > 0 value.
77239         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
77241 2010-06-07  Andreas Schwab  <schwab@redhat.com>
77243         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
77244         libc_nonshared.a from targets in modules-names.
77246 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
77248         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
77249         requires it.
77251 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
77253         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
77254         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
77255         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
77256         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
77258 2010-06-02  Andreas Schwab  <schwab@redhat.com>
77260         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77262 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
77264         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77265         and F_GETPIPE_SZ.
77266         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77267         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77268         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77269         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77270         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77271         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77273 2010-06-14  Roland McGrath  <roland@redhat.com>
77275         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77277 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
77279         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77280         __REDIRECT followed by __THROW.
77281         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77282         * posix/getopt.h (getopt): Likewise.
77284 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77286         * hurd/lookup-at.c (__file_name_lookup_at): Accept
77287         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
77288         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77289         in AT_FLAGS.
77290         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77291         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77293 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
77295         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77297 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
77299         [BZ #11640]
77300         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77301         Properly check family and model.
77303 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
77305         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77307 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
77309         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77311 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
77313         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77314         symbol reference.
77316 2010-05-19  Andreas Schwab  <schwab@redhat.com>
77318         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77319         symbol reference.
77321 2010-05-21  Andreas Schwab  <schwab@redhat.com>
77323         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77324         and internal_recvmmsg.
77325         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77326         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77327         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77328         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77330         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77331         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77332         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77334 2010-05-20  Andreas Schwab  <schwab@redhat.com>
77336         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
77338 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
77340         POWER7 optimizations.
77341         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
77342         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
77344 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
77346         * version.h: Update for 2.13 development version.
77348 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
77350         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
77351         exceptions.  Return 0.
77353 2010-05-07  Roland McGrath  <roland@redhat.com>
77355         * elf/ldconfig.c (main): Add a const.
77357 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
77359         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
77360         (args_options): Add no-idn option.
77361         (ahosts_keys_int): Add idn_flags to ai_flags.
77362         (parse_option): Handle 'i' option to clear idn_flags.
77364         * malloc/malloc.c (_int_free): Possible race in the most recently
77365         added check.  Only act on the data if no current modification
77366         happened.
77368 See ChangeLog.17 for earlier changes.