Test p{read,write}64 with offset > 4GB
[glibc.git] / ChangeLog
bloba93884a18eeddb159c70a3706931191e97eca723
1 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3         [BZ #20350]
4         * posix/tst-preadwrite.c: Renamed to ...
5         * posix/tst-preadwrite-common.c: This.
6         (PREAD): Removed.
7         (PWRITE): Likewise.
8         (STRINGIFY): Likewise.
9         (STRINGIFY2): Likewise.
10         (do_prepare): Make it static and remove function arguments.
11         (do_test): Likewise.
12         (PREPARE): Updated.
13         (TEST_FUNCTION): New.
14         (name): Make it static.
15         (fd): Likewise.
16         (do_prepare): Use create_temp_file.
17         (do_test): Renamed to ...
18         (do_test_with_offset): This.  Make it static and accept offset.
19         Properly check return value of PWRITE and PREAD.  Return bytes
20         read.  Don't close fd nor unlink name.
21         * posix/tst-preadwrite.c: Rewrite.
22         * posix/tst-preadwrite64.c: Likewise.
24 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
26         [BZ #20309]
27         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
28         -mtls-dialect=gnu2 works.
29         * configure: Regenerated.
30         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
31         (tests): Add tst-gnu2-tls1.
32         (modules-names): Add tst-gnu2-tls1mod.
33         ($(objpfx)tst-gnu2-tls1): New.
34         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
35         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
36         * elf/tst-gnu2-tls1.c: New file.
37         * elf/tst-gnu2-tls1mod.c: Likewise.
38         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
39         bytes for push in the PLT entry to align the stack.
41 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
43         [BZ #20349]
44         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
46 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
48         [BZ #18707]
49         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
50         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
52 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
54         * sysdeps/unix/sysv/linux/sysdep.h
55         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
56         guards.
57         * misc/tst-preadvwritev-common.c: New file.
58         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
59         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
60         a check for files larger than 2GB.
62         * sysdeps/unix/sysv/linux/mips/kernel-features.h
63         (__ASSUME_OFF_DIFF_OFF64): Remove define.
64         * sysdeps/unix/sysv/linux/pread.c
65         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
66         __OFF_T_MATCHES_OFF64_T.
67         * sysdeps/unix/sysv/linux/pread64.c
68         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
69         * sysdeps/unix/sysv/linux/preadv.c
70         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
71         * sysdeps/unix/sysv/linux/preadv64.c
72         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
73         * sysdeps/unix/sysv/linux/pwrite.c
74         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
75         * sysdeps/unix/sysv/linux/pwrite64.c
76         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
77         * sysdeps/unix/sysv/linux/pwritev.c
78         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
79         * sysdeps/unix/sysv/linux/pwritev64.c
80         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
82 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
84         * sysdeps/unix/sysv/linux/tile/kernel-features.h
85         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
87 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
89         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
91 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
93         [BZ #20240]
94         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
95         (CFLAGS-s_modf-ppc32.c): New variable.
96         (CFLAGS-s_modff-ppc32.c): Likewise.
97         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
98         (CFLAGS-s_modf-ppc64.c): Likewise.
99         (CFLAGS-s_modff-ppc64.c): Likewise.
101 2016-07-07  Andreas Schwab  <schwab@suse.de>
103         [BZ #20263]
104         * nptl/tst-robust10.c: New test.
105         * nptl/Makefile (tests): Add tst-robust10.
107 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
109         [BZ #20263]
110         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
112 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
114         * sysdeps/s390/linkmap.h (struct link_map_machine):
115         Remove member gotplt and add member jmprel.
116         * sysdeps/s390/s390-32/dl-machine.h
117         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
118         instead of gotplt with &got[3].
119         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
120         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
122 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
124         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
126 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
128         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
129         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
130         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
131         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
132         * libio/vtables.c (_IO_vtable_check)
133         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
134         * libio/libioP.h (IO_set_accept_foreign_vtables)
135         [!PTR_MANGLE]: Do not call PTR_MANGLE.
137 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
139         [BZ #20314]
140         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
141         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
142         $(common-objpfx)cmath.
143         ($(common-objpfx)cstdlib): New target.
144         ($(common-objpfx)cmath): Likewise.
146 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
148         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
150 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
152         [BZ #20327]
153         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
154         are not part of the string.
156 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
158         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
159         * nptl/tst-cancel4-common.h (fifoname): New variable.
160         (fifofd): Likewise.
161         (cl_fifo): New function.
162         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
163         SIGINT.
164         (tf_open): Add early cancel test.
166 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
168         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
170 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
172         * sysdeps/generic/ldsodefs.h
173         (dl_symbol_visibility_binds_local_p): New inline function.
174         * elf/dl-addr.c (determine_info): Treat hidden and internal
175         symbols as local.
176         * elf/dl-lookup.c (do_lookup_x): Likewise.
177         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
179 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
181         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
182         invalid exception for a sNaN input.
183         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
184         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
185         (__nearbyint_vis3): Likewise
186         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
187         (__nearbyintf_vis3): Likewise
188         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
189         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
190         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
191         Likewise.
192         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
193         Likewise.
195 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
197         [BZ #20139]
198         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
199         (HAVE_AVX512DQ_ASM_SUPPORT): This.
200         * sysdeps/x86_64/configure.ac: Require assembler from binutils
201         2.24 or above.
202         (HAVE_AVX512_ASM_SUPPORT): Removed.
203         (HAVE_AVX512DQ_ASM_SUPPORT): New.
204         * sysdeps/x86_64/configure: Regenerated.
205         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
206         check unconditional.
207         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
208         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
209         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
210         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
211         Likewise.
212         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
213         Likewise.
214         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
215         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
216         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
217         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
218         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
219         Likewise.
220         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
221         Likewise.
222         * sysdeps/x86_64/multiarch/memset.S: Likewise.
223         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
224         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
225         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
226         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
227         Likewise.
228         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
229         Likewise.
230         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
231         Likewise.
232         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
233         Likewise.
234         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
235         Likewise.
236         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
237         Likewise.
238         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
239         Likewise.
240         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
241         Likewise.
242         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
243         Likewise.
244         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
245         Likewise.
246         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
247         Likewise.
249 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
251         [BZ #20024]
252         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
253         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
254         of this implementation of vector function.
255         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
256         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
257         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
258         Likewise.
259         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
260         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
261         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
262         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
263         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
264         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
265         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
266         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
267         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
268         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
269         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
270         for testing vector sincos with fixed ABI.
271         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
272         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
273         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
274         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
275         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
276         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
277         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
278         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
279         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
280         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
281         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
282         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
283         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
284         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
285         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
286         * sysdeps/x86_64/fpu/Makefile: Added new tests.
288 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
290         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
292 2016-06-30  Anton Blanchard  <anton@samba.org>
294         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
295         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
296         s_sinf-ppc64.
297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
300         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
302 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
305         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
306         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
307         e_expf-ppc64.
308         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
309         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
310         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
311         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
313 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
315         [BZ #20277]
316         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
317         when SHARED is defined.
319 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
321         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
322         (index_arch_Prefer_ERMS): Likewise.
323         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
324         __memcpy_erms for Prefer_ERMS.
325         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
326         (__memmove_erms): Enabled for libc.a.
327         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
328         __memmove_erms or Prefer_ERMS.
329         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
330         __mempcpy_erms for Prefer_ERMS.
331         * sysdeps/x86_64/multiarch/memset.S (memset): Return
332         __memset_erms for Prefer_ERMS.
334 2016-06-30  Andreas Schwab  <schwab@suse.de>
336         [BZ #20262]
337         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
338         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
339         of memory.
341 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
343         [BZ #18645]
344         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
345         (test-extras): Add tst-cleanupx4aux.
346         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
347         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
348         tst-cleanupx4aux.o.
349         * nptl/tst-cleanupx4aux.c: New file.
351 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
353         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
355 2016-06-29  Andreas Schwab  <schwab@suse.de>
357         [BZ #20260]
358         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
359         address before the beginning of the string as an integer to avoid
360         array-bounds warning.
362 2016-06-28  Richard Henderson  <rth@redhat.com>
364         * elf/elf.h (EM_BPF): New.
365         (EM_NUM): Update.
366         (R_BPF_NONE, R_BPF_MAP_FD): New.
368         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
369         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
370         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
371         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
372         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
373         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
374         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
375         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
376         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
377         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
378         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
379         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
380         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
381         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
382         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
383         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
384         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
385         (EM_NUM): Update.
387 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
389         [BZ #18960]
390         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
391         Set _nl_current_LC_CATEGORY_used to two instead of one.
393 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
395         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
396         (do_test): ... this.
397         (TEST_FUNCTION): New macro.
398          Include test-skeleton.c.
399         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
400         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
402 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
404         [BZ #15479]
405         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
406         floating-point environment rather than just control word.
407         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
408         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
409         floating-point environment, with "invalid" exceptions merged in,
410         rather than just control word.
411         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
412         * math/libm-test.inc (trunc_test_data): Do not allow spurious
413         "inexact" exceptions.
415         [BZ #15479]
416         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
417         floating-point environment rather than just control word.
418         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
419         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
420         floating-point environment, with "invalid" exceptions merged in,
421         rather than just control word.
422         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
423         * math/libm-test.inc (floor_test_data): Do not allow spurious
424         "inexact" exceptions.
426         [BZ #15479]
427         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
428         floating-point environment rather than just control word.
429         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
430         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
431         floating-point environment, with "invalid" exceptions merged in,
432         rather than just control word.
433         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
434         * math/libm-test.inc (ceil_test_data): Do not allow spurious
435         "inexact" exceptions.
437 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
439         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
440         __libc_vfork.
441         (__vfork) [IS_IN (libc)]: Remove alias.
442         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
443         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
444         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
446 2016-06-24  Torvald Riegel  <triegel@redhat.com>
448         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
449         of atomic_compare_and_exchange_bool_rel.
450         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
451         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
452         catomic_compare_and_exchange_bool_rel): Remove.
453         * sysdeps/aarch64/atomic-machine.h
454         (atomic_compare_and_exchange_bool_rel): Likewise.
455         * sysdeps/alpha/atomic-machine.h
456         (atomic_compare_and_exchange_bool_rel): Likewise.
457         * sysdeps/arm/atomic-machine.h
458         (atomic_compare_and_exchange_bool_rel): Likewise.
459         * sysdeps/mips/atomic-machine.h
460         (atomic_compare_and_exchange_bool_rel): Likewise.
461         * sysdeps/microblaze/atomic-machine.h
462         ( __arch_compare_and_exchange_bool_8_rel,
463         __arch_compare_and_exchange_bool_16_rel): Likewise.
464         * sysdeps/powerpc/atomic-machine.h
465         ( __arch_compare_and_exchange_bool_8_rel,
466         __arch_compare_and_exchange_bool_16_rel): Likewise.
467         * sysdeps/powerpc/powerpc32/atomic-machine.h
468         ( __arch_compare_and_exchange_bool_32_rel,
469         __arch_compare_and_exchange_bool_64_rel): Likewise.
470         * sysdeps/powerpc/powerpc64/atomic-machine.h
471         ( __arch_compare_and_exchange_bool_32_rel,
472         __arch_compare_and_exchange_bool_64_rel): Likewise.
473         * sysdeps/tile/atomic-machine.h
474         (atomic_compare_and_exchange_bool_rel): Likewise.
476 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
478         [BZ #20296]
479         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
480         when either argument is a NaN.
481         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
482         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
484         * math/libm-test.inc (snan_value_ld): New macro.
485         (isgreater_test_data): Add sNaN tests.
486         (isgreaterequal_test_data): Likewise.
487         (isless_test_data): Likewise.
488         (islessequal_test_data): Likewise.
489         (islessgreater_test_data): Likewise.
490         (isunordered_test_data): Likewise.
491         (nextafter_test_data): Likewise.
492         (nexttoward_test_data): Likewise.
493         (remainder_test_data): Likewise.
494         (remquo_test_data): Likewise.
495         (significand_test_data): Likewise.
496         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
498 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
500         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
501         environment macros are defined.
502         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
504 2016-06-23  Florian Weimer  <fweimer@redhat.com>
506         [BZ #20191]
507         Implement vtable verification in libio.
508         * Makerules (shlib.lds): Place __libc_IO_vtables section.
509         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
510         * debug/vdprintf_chk.c (__vdprintf_chk): Call
511         _IO_new_file_init_internal instead of _IO_file_init.
512         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
513         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
514         * libio/Makefile (routines): Add vtables.
515         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
516         (_IO_init): Remove, not for internal use.
517         (_IO_init_internal): Declare, internal replacement for _IO_init.
518         (_IO_file_init): Remove, not for internal use.
519         (_IO_new_file_init): Remove, not for internal use.
520         (_IO_new_file_init_internal): Declare, internal replacement for
521         _IO_new_file_init.
522         (_IO_old_file_init): Remove, not for internal use.
523         (_IO_old_file_init_internal): Declare, internal replacement for
524         _IO_old_file_init.
525         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
526         internal use.
527         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
528         Declare.
529         (libio_vtable): New macro.
530         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
531         functions.
532         * libio/fileops.c (_IO_new_file_init_internal): Rename from
533         _IO_new_file_init.
534         (_IO_new_file_init): New externally visible wrapper which disables
535         vtable verification.
536         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
537         Define as vtables.
538         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
539         (_IO_init): New externally visible wrapper which disables
540         vtable verification.
541         * libio/iofdopen.c (_IO_new_fdopen): Call
542         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
543         comment.
544         * libio/iofopen.c (__fopen_internal): Call
545         _IO_new_file_init_internal instead of _IO_file_init.
546         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
547         Define as vtables.
548         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
549         _IO_new_file_init_internal instead of _IO_file_init.
550         * libio/iopopen.c (_IO_new_popen): Likewise.
551         (_IO_proc_jumps): Define as vtable.
552         * libio/iovdprintf.c (_IO_vdprintf): Call
553         _IO_new_file_init_internal instead of _IO_file_init.
554         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
555         (__open_memstream): Call _IO_init_internal instead of _IO_init.
556         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
557         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
558         _IO_old_file_init.
559         (_IO_old_file_init): New externally visible wrapper which disables
560         vtable verification.
561         (_IO_old_file_jumps): Define as vtable.
562         * libio/oldiofdopen.c (_IO_old_fdopen): Call
563         _IO_old_file_init_internal instead of _IO_old_file_init.
564         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
565         * libio/oldiopopen.c (_IO_old_popen): Likewise.
566         (_IO_old_proc_jumps): Define as vtable.
567         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
568         Define as vtables.
569         * libio/vtables.c: New file.
570         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
571         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
572         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
573         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
574         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
575         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
576         instead of _IO_init.
578 2016-06-23  Florian Weimer  <fweimer@redhat.com>
580         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
582 2016-06-23  Florian Weimer  <fweimer@redhat.com>
584         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
585         potentially unused.
587 2016-06-22  Florian Weimer  <fweimer@redhat.com>
589         * test-skeleton.c (write_message): New function.
590         * malloc/tst-mallocfork2.c (write_message): Remove.
591         * debug/tst-longjmp_chk2.c (write_indented): New function.
592         (write_message): Remove.
593         (stackoverflow_handler): Call write_indented.
595 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
597         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
598         "inexact" exceptions after fnstenv.
599         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
600         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
601         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
603 2015-06-22  Zack Weinberg  <zackw@panix.com>
605         * sysdeps/generic/bits/hwcap.h: Moved to ...
606         * bits/hwcap.h: Here.
608 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
610         * sysdeps/aarch64/memcpy.S (memcpy):
611         Further tuning for performance.
613 2016-06-21  Florian Weimer  <fweimer@redhat.com>
615         [BZ #20284]
616         * malloc/arena.c (reused_arena): Do not return NULL if we start
617         out with a non-corrupted arena.
619 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
621         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
622         * misc/tst-preadvwritev.c: New file.
623         * misc/tst-preadvwritev64.c: Likewise.
624         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
625         usage.
626         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
627         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
628         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
629         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
631 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
633         [BZ #19654]
634         * sysdeps/x86_64/fpu/Makefile: Added new tests.
635         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
636         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
637         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
638         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
639         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
640         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
641         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
642         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
643         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
644         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
645         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
646         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
647         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
648         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
649         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
650         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
651         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
652         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
653         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
654         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
655         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
656         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
657         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
658         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
659         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
661 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
663         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
664         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
666 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
668         * sysdeps/aarch64/memcpy.S (memcpy):
669         Rewrite of optimized memcpy and memmove.
670         * sysdeps/aarch64/memmove.S (memmove): Remove
671         memmove code (merged into memcpy.S).
673 2016-06-20  Florian Weimer  <fweimer@redhat.com>
675         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
676         * sysdeps/generic/dl-dtv.h: New file.
677         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
678         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
679         (dtv_t): Remove.
680         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
681         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
682         (dtv_t): Remove.
683         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
684         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
685         (dtv_t): Remove.
686         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
687         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
688         (dtv_t): Remove.
689         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
690         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
691         (dtv_t): Remove.
692         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
693         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
694         (dtv_t): Remove.
695         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
696         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
697         (dtv_t): Remove.
698         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
699         (dtv_t): Remove.
700         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
701         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
702         (dtv_t): Remove.
703         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
704         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
705         (dtv_t): Remove.
706         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
707         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
708         (dtv_t): Remove.
709         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
710         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
711         (dtv_t): Remove.
712         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
713         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
714         (dtv_t): Remove.
715         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
716         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
717         (dtv_t): Remove.
718         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
719         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
720         (dtv_t): Remove.
721         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
722         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
723         (dtv_t): Remove.
725 2016-06-20  Florian Weimer  <fweimer@redhat.com>
727         Revert symbol poisoning of  __malloc_initialize_hook.
728         * include/stdc-predef.h (__malloc_initialize_hook): Remove
729         poisoning.
730         * malloc/Makefile: Remove un-poisoning.
731         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
732         instead of old__malloc_initialize_hook.
733         * malloc/malloc-hooks.h: Likewise.
734         * malloc/malloc.c: Likewise.
735         * malloc/mcheck-init.c: Likewise.
737 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
739         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
741 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
743         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
744         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
745         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
746         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
748 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
750         * NEWS: Mention addition of nextup and nextdown.
751         * manual/arith.texi: Document nextup and nextdown.
752         * manual/libm-err-tab.pl: Add nextup and nextdown.
753         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
754         * math/Versions (libm): Add GLIBC_2.24.
755         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
756         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
757         Add new test.
758         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
759         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
760         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
761         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
762         (nextup_test_data): Likewise.
763         (nextdown_test_data): Likewise.
764         * math/s_nextdown.c: New file.
765         * math/s_nextdownf.c: Likewise.
766         * math/s_nextdownl.c: Likewise.
767         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
768         F(nextup): New function.
769         F(nextdown): Likewise.
770         * math/tgmath.h: Add nextup and nextdown.
771         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
772         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
773         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
774         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
775         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
776         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
777         Add nextup and nextdown.
778         (CFLAGS-nldbl-nextup.c): New variable.
779         (CFLAGS-nldbl-nextdown.c): Likewise.
780         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
781         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
782         * sysdeps/nacl/libm.abilist: Update.
783         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
784         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
785         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
786         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
787         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
788         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
789         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
790         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
791         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
792         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
793         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
794         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
797         Likewise.
798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
800         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
801         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
802         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
803         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
804         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
807         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
808         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
809         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
810         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
812 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
814         * manual/pattern.texi: Fix typos & grammar errors.
816 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
818         * manual/search.texi: Fix typos & grammar errors.
820 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
822         * manual/message.texi: Fix typos & grammar errors.
824 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
826         * manual/contrib.texi: Fix spelling typos.
827         * manual/crypt.texi: Likewise.
828         * manual/filesys.texi: Likewise.
829         * manual/locale.texi: Likewise.
830         * manual/message.texi: Likewise.
831         * manual/nss.texi: Likewise.
832         * manual/string.texi: Likewise.
834 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
836         * manual/locale.texi: Fix typos & grammar errors.
838 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
840         * manual/charset.texi: Fix typos & grammar errors.
842 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
844         * manual/string.texi: Fix typos.
846 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
848         * manual/ctype.texi: Fix typos.
850 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
852         * manual/memory.texi: Fix various typos & grammar errors.
854 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
856         [BZ #20255]
857         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
858         * math/libm-test.inc (fdim_test_data): Add another test.
860         [BZ #6796]
861         [BZ #20255]
862         [BZ #20256]
863         * math/s_fdim.c: Include <math_private.h>.
864         (__fdim): Use math_narrow_eval on result.
865         * math/s_fdimf.c: Include <math_private.h>.
866         (__fdimf): Use math_narrow_eval on result.
867         * sysdeps/i386/fpu/s_fdim.S: Remove file.
868         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
869         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
870         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
871         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
872         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
873         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
874         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
875         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
876         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
877         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
878         * math/libm-test.inc (fdim_test_data): Expect errno setting on
879         overflow.  Add sNaN tests.
881         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
882         fpclassify.
883         * math/s_fdimf.c (__fdimf): Likewise.
884         * math/s_fdiml.c (__fdiml): Likewise.
886 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
888         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
889         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
891         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
892         ifunc'ed strcasecmp/strncasecmp.
893         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
894         [EALIGN]: Removed.
895         [END]: Likewise.
896         [__strcasecmp]: Define instead of the above to control symbol name.
897         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
898         for __strcasecmp_power8.
899         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
900         for __strncasecmp_power8.
901         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
902         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
903         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
904         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
905         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
906         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
908 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
910         [BZ #20252]
911         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
912         arguments when second argument is a NaN.
913         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
914         qNaN tests.
916         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
917         (conj_test_data): Likewise.
918         (copysign_test_data): Likewise.
919         (creal_test_data): Likewise.
920         (fma_test_data): Likewise.
921         (fmod_test_data): Likewise.
923         [BZ #20250]
924         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
925         itself.
926         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
927         zero input to itself.
928         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
929         Likewise.
930         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
931         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
932         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
933         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
934         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
936 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
938         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
939         * nptl/tst-cancel4-common.c: New file.
940         * nptl/tst-cancel4-common.h: Likewise.
941         * nptl/tst-cancel4.c: Move common definitions to
942         tst-cancel4-common.{c,h} file.
943         * nptl/tst-cancel4_1.c: New test.
944         * nptl/tst-cancel4_2.c: New test.
946 2016-06-13  Florian Weimer  <fweimer@redhat.com>
948         [BZ #20248]
949         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
950         (write_message): New function.
951         (stackoverflow_handler): Call it instead of printf, to avoid
952         excessive stack usage by printf.
953         (do_test): Restore SIGSEGV, SIGBUS default handlers.
955 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
957         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
958         (prio_inherit_missing): Remove define.
959         * sysdeps/unix/sysv/linux/arm/kernel-features.h
960         (__ASSUME_FUTEX_LOCK_PI): Likewise.
961         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
962         Likewise.
963         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
964         (__ASSUME_FUTEX_LOCK_PI): Likewise.
965         * sysdeps/unix/sysv/linux/mips/kernel-features.h
966         (__ASSUME_FUTEX_LOCK_PI): Likewise.
967         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
968         (__ASSUME_FUTEX_LOCK_PI): Likewise.
970 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
972         [BZ #19670]
973         [BZ #19672]
975         * io/test-lfs.c (do_prepare): Use xmalloc.
976         * io/tst-fcntl.c (do_prepare): Likewise.
977         * libio/tst-fopenloc.c (do_bz17916): Likewise.
978         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
979         * login/tst-utmp.c (do_prepare): Likewise.
980         * posix/tst-exec.c (do_prepare): Likewise.
981         * posix/tst-pathconf.c (prepare): Likewise.
982         * posix/tst-spawn.c (do_prepare): Likewise.
983         * posix/tst-truncate.c (do_prepare): Likewise.
984         * rt/tst-aio.c (do_prepare): Likewise.
985         * rt/tst-aio64.c (do_prepare): Likewise.
987 2016-06-11  Florian Weimer  <fweimer@redhat.com>
989         [BZ #20237]
990         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
991         (get*ent): Set entidx to NULL during initialization.  If entidx is
992         NULL, start iteration from the beginning.
994 2016-06-11  Florian Weimer  <fweimer@redhat.com>
996         * malloc/malloc.c (musable): Return correct size for dumped fake
997         mmapped chunk.
999 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1001         [BZ #20222]
1002         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
1003         (_IO_cookie_write): Likewise.
1004         (_IO_cookie_seek): Likewise.
1005         (_IO_cookie_close): Likewise.
1006         (_IO_old_cookie_seek): Likewise.
1007         (set_callbacks): New function.
1008         (_IO_cookie_init): Call set_callbacks to copy callbacks.
1010 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
1012         * locale/programs/localedef.c (oldstyle_tables): Remove.
1013         * locale/programs/localedef.h (oldstyle_tables): Likewise.
1015 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
1017         [BZ #20240]
1018         * math/Makefile (CFLAGS-s_modf.c): New variable.
1019         (CFLAGS-s_modff.c): Likewise.
1020         (CFLAGS-s_modfl.c): Likewise.
1021         * math/libm-test.inc (modf_test_data): Add sNaN tests.
1023 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
1025         [BZ #20215]
1026         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
1027         [!__GNUC_PREREQ (3,2)]: Likewise.
1029 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
1031         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
1032         (msghdr.msg_controllen): Likewise.
1033         (cmsghdr.cmsg_len): Likewise.
1034         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
1035         ptw-oldsendmsg.
1036         (CFLAGS-oldrecvmsg.c): Remove rule.
1037         (CFLAGS-oldsendmsg.c): Likewise.
1038         (CFLAGS-recvmsg.c): Add rule.
1039         (CFLAGS-sendmsg.c): Likewise.
1040         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1041         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
1042         (CFLAGS-recvmsg.c): Remove rule.
1043         (CFLAGS-sendmsg.c): Likewise.
1044         (CFLAGS-oldrecvmsg.c): Likewise.
1045         (CFLAGS-oldsendmsg.c): Likewise.
1046         (CFLAGS-recvmmsg.c): Likewise.
1047         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
1048         to kernel defined interfaces.
1049         (msghdr.msg_controllen): Likewise.
1050         (cmsghdr.cmsg_len): Likewise.
1051         (msghdr.__glibc_reserved1): Remove member.
1052         (msghdr.__glibc_reserved2): Likewise.
1053         (cmsghdr.__glibc_reserved1): Likewise.
1054         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
1055         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
1056         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1057         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1058         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
1059         version.
1060         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1061         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
1062         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1063         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
1064         Remove recvmsg and sendmsg.
1065         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
1066         Likewise.
1067         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1068         Likewise.
1069         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1070         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1071         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1072         Likewise.
1073         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1074         Likewise.
1075         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
1076         [libc] (GLIBC_2.24): Likewise.
1077         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1078         Likewise.
1079         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1080         Likewise.
1081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1082         [libc] (GLIBC_2.24): Likewise.
1083         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1084         Likewise.
1085         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1086         Likewise.
1087         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1088         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1089         Likewise.
1090         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1091         Likewise.
1092         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1093         Likewise.
1094         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
1095         Likewise.
1096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
1097         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
1098         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
1099         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
1100         version for {recv,send,recm,sendm}msg.
1101         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1102         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1103         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1104         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1105         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1106         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1107         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1108         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1109         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1110         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1111         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1112         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1114         Likewise.
1115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1116         Likewise.
1117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1119         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1120         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1121         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1122         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1123         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1124         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1127         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1128         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1129         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1131 2016-06-10  Florian Weimer  <fweimer@redhat.com>
1133         [BZ #19564]
1134         Remove __malloc_initialize_hook from the API.
1135         * malloc/malloc.h (__malloc_initialize_hook): Remove.
1136         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
1137         #pragma GCC poison.
1138         * malloc/malloc-hooks.h: New file.
1139         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
1140         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
1141         (old__malloc_initialize_hook): Rename from
1142         __malloc_initialize_hook to evade poisoning.  Turn into compat
1143         symbol.
1144         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
1145         __malloc_initialize_hook.
1146         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
1147         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
1148         * manual/memory.texi (Hooks for Malloc): Remove
1149         __malloc_initialize_hook.  Adjust hook example.
1151 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
1153         [BZ #20235]
1154         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
1155         itself.
1156         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1157         * math/libm-test.inc (log2_test_data): Add sNaN tests.
1159         [BZ #20234]
1160         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
1161         infinity or NaN input to itself.
1163         [BZ #20233]
1164         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
1165         to itself.
1167         [BZ #20232]
1168         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
1169         itself.
1171 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1173         * sysdeps/x86_64/start.S (_start): Always indirect branch to
1174         __libc_start_main via GOT.
1176 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1178         * sysdeps/x86_64/memcopy.h: New file.
1179         * sysdeps/x86_64/wordcopy.c: Likewise.
1181 2016-06-09  Florian Weimer  <fweimer@redhat.com>
1183         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1184         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1185         <cstdlib>.
1186         (optimization_barrier): New.
1187         (do_test): Use it.  Call quick_exit in the global namespace.
1188         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1189         instead of <cstdlib>, <thread>.
1190         (optimization_barrier): New.
1191         (non_main_thread): Adjust declaration.  Call optimization_barrier.
1192         Call quick_exit in the global namespace.
1193         (do_test): Call optimization_barrier.  Use pthread_create,
1194         pthread_join instead of std::thread.
1196 2016-06-09  Andreas Schwab  <schwab@suse.de>
1198         [BZ #19755]
1199         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1200         new entries in auto-propagate mode.
1201         * nscd/grpcache.c (cache_addgr): Likewise.
1203 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1205         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1206         New functions.
1207         (add_temp_file): Use them.
1209 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
1211         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1213 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
1215         [BZ #20229]
1216         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
1217         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1218         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
1220         [BZ #20228]
1221         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
1222         itself.
1223         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1224         * math/libm-test.inc (log10_test_data): Add sNaN tests.
1226         [BZ #20227]
1227         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
1228         itself.
1229         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1230         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1231         * math/libm-test.inc (log_test_data): Add sNaN tests.
1233         [BZ #20226]
1234         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
1235         itself.
1236         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1237         * math/libm-test.inc (exp_test_data): Add sNaN tests.
1238         (exp10_test_data): Likewise.
1239         (expm1_test_data): Likewise.
1241         [BZ #20225]
1242         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
1243         itself.
1244         * math/s_ldexpf.c (__ldexpf): Likewise.
1245         * math/s_ldexpl.c (__ldexpl): Likewise.
1246         * math/w_scalbln.c (__w_scalbln): Likewise.
1247         * math/w_scalblnf.c (__w_scalblnf): Likewise.
1248         * math/w_scalblnl.c (__w_scalblnl): Likewise.
1249         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
1250         (scalbln_test_data): Likewise.
1252         [BZ #20224]
1253         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
1254         argument to itself.
1255         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
1257 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1259         [BZ #19776]
1260         * sysdeps/x86_64/memcpy.S: Make it dummy.
1261         * sysdeps/x86_64/mempcpy.S: Likewise.
1262         * sysdeps/x86_64/memmove.S: New file.
1263         * sysdeps/x86_64/memmove_chk.S: Likewise.
1264         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1265         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1266         * sysdeps/x86_64/memmove.c: Removed.
1267         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1268         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1269         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
1270         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1271         Likewise.
1272         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1273         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1274         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1275         memcpy-sse2-unaligned, memmove-avx-unaligned,
1276         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
1277         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1278         (__libc_ifunc_impl_list): Replace
1279         __memmove_chk_avx512_unaligned_2 with
1280         __memmove_chk_avx512_unaligned.  Remove
1281         __memmove_chk_avx_unaligned_2.  Replace
1282         __memmove_chk_sse2_unaligned_2 with
1283         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
1284         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
1285         with __memmove_avx512_unaligned.  Replace
1286         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
1287         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
1288         with __memcpy_chk_avx512_unaligned.  Remove
1289         __memcpy_chk_avx_unaligned_2.  Replace
1290         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1291         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
1292         Replace __memcpy_avx512_unaligned_2 with
1293         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
1294         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
1295         with __mempcpy_chk_avx512_unaligned.  Remove
1296         __mempcpy_chk_avx_unaligned_2.  Replace
1297         __mempcpy_chk_sse2_unaligned_2 with
1298         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
1299         Replace __mempcpy_avx512_unaligned_2 with
1300         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
1301         Replace __mempcpy_sse2_unaligned_2 with
1302         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
1303         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1304         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1305         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1306         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
1307         (ENTRY): Removed.
1308         (END): Likewise.
1309         (ENTRY_CHK): Likewise.
1310         (libc_hidden_builtin_def): Likewise.
1311         Don't include ../memcpy.S.
1312         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1313         __memcpy_chk_avx512_unaligned_erms and
1314         __memcpy_chk_avx512_unaligned.  Use
1315         __memcpy_chk_avx_unaligned_erms and
1316         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1317         Default to __memcpy_chk_sse2_unaligned.
1318         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1319         Change function suffix from unaligned_2 to unaligned.
1320         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1321         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1322         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1323         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
1324         (ENTRY): Removed.
1325         (END): Likewise.
1326         (ENTRY_CHK): Likewise.
1327         (libc_hidden_builtin_def): Likewise.
1328         Don't include ../mempcpy.S.
1329         (mempcpy): New.  Add a weak alias.
1330         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1331         __mempcpy_chk_avx512_unaligned_erms and
1332         __mempcpy_chk_avx512_unaligned.  Use
1333         __mempcpy_chk_avx_unaligned_erms and
1334         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1335         Default to __mempcpy_chk_sse2_unaligned.
1337 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1339         [BZ #19881]
1340         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1341         into ...
1342         * sysdeps/x86_64/memset.S: This.
1343         (__bzero): Removed.
1344         (__memset_tail): Likewise.
1345         (__memset_chk): Likewise.
1346         (memset): Likewise.
1347         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1348         defined.
1349         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1350         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1351         (__memset_zero_constant_len_parameter): Check SHARED instead of
1352         PIC.
1353         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1354         memset-avx2 and memset-sse2-unaligned-erms.
1355         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1356         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1357         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1358         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1359         (__bzero): Enabled.
1360         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1361         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1362         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
1363         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
1364         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1365         (memset): Removed.
1366         (__memset_chk): Likewise.
1367         (MEMSET_SYMBOL): New.
1368         (libc_hidden_builtin_def): Replace __memset_sse2 with
1369         __memset_sse2_unaligned.
1370         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
1371         __memset_chk_sse2 and __memset_chk_avx2 with
1372         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
1373         Use __memset_chk_sse2_unaligned_erms or
1374         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
1375         __memset_chk_avx512_unaligned_erms and
1376         __memset_chk_avx512_unaligned.
1378 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1380         * math/gen-auto-libm-test.c (fp_format_desc): remove
1381         suffix member.
1382         (output_generic_value): Remove usage of suffix member,
1383         and the resulting unuse of the fp_format argument.
1384         (output_for_one_input_case): Remove unused fp_format
1385         parameter.
1387         * math/auto-libm-test-out: Regenerate.
1389         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
1390         usage with TEST_COND_ibm128.
1391         (TEST_COND_flt_32): Remove.
1392         (TEST_COND_dbl_64): Remove.
1393         (TEST_COND_ldbl_96_intel): Remove.
1394         (TEST_COND_ldbl_96_m68k): Remove.
1395         (TEST_COND_ldbl_128): Remove.
1397 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1399         * auto-libm-test-in:
1400         Replace flt-32 usage with binary32.
1401         Replace dbl-64 usage with binary64.
1402         Replace ldbl-intel-96 usage with intel96.
1403         Replace ldbl-m68k-96 usage with m68k96.
1404         Replace ldbl-128ibm usage with ibm128.
1405         Replace ldbl-128 usage with binary128.
1407         * auto-libm-test-out: Regenerate.
1409 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1411         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
1412         (parse_ulps): Dynamically generate type name matching
1413         string from all_floats.
1414         (get_ulps): Generate the ulps as an array instead.
1415         (output_ulps): Dynamically compose the type based
1416         on the number of supported formats, and print
1417         the indices as type specific helper macros.
1419         * math/libm-test.inc: Remove comment about CHOOSE.
1420         (ulp_data): Generate the type in libm-test-ulps.h.
1421         (ULP_IDX): New macro.
1422         (find_ulps): Update usage of max_ulp.
1424         * math/test-double-vlen2.h (CHOOSE): Remove.
1425         * math/test-double-vlen4.h (CHOOSE): Likewise.
1426         * math/test-double-vlen8.h (CHOOSE): Likewise.
1427         * math/test-float.c (CHOOSE): Likewise.
1428         * math/test-float-finite.c (CHOOSE): Likewise.
1429         * math/test-double.c (CHOOSE): Likewise.
1430         * math/test-double-finite.c (CHOOSE): Likewise.
1431         * math/test-idouble.c (CHOOSE): Likewise.
1432         * math/test-ifloat.c (CHOOSE): Likewise.
1433         * math/test-ildoubl.c (CHOOSE): Likewise.
1434         * math/test-ldouble-finite.c (CHOOSE): Likewise.
1435         * math/test-ldouble.c (CHOOSE): Likewise.
1437         * math/test-float.h (TEST_FLOAT): Remove.
1438         * math/test-double.h (TEST_DOUBLE): Likewise.
1439         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
1441 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1443         * math/gen-libm-test.pl: (apply_lit): New subroutine.
1444         (parse_args): Strip C suffix from floating point literals
1445         typed with 'f' and wrap them with LIT().
1447         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
1448         (test_ff_f_data_nexttoward): Rename to
1449         (test_fj_f_data): New struct.
1450         (nexttoward_test_data): Relabel tests as
1451         TEST_fj_f instead of TEST_ff_f.
1453 2016-06-08  Florian Weimer  <fweimer@redhat.com>
1455         Emacs bug 23726.
1456         * malloc/malloc.c (dumped_main_arena_start): Update comment.
1457         (__libc_realloc): Correct size computation for dumped fake mmapped
1458         chunks.
1460 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
1462         [BZ #20219]
1463         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
1464         to itself.
1465         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
1467         [BZ #20218]
1468         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
1469         to itself.
1470         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
1472 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1474         [BZ #20195]
1475         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
1476         check to ...
1477         (init_cpu_features): Here.
1479 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
1481         [BZ #20214]
1482         * sysdeps/unix/sysv/linux/bits/in.h
1483         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1484          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
1485         Define to 1.
1486         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1487          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
1488         Define to 0.
1489         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
1490         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
1492 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
1494         [BZ #20198]
1495         * stdlib/Makefile (tests): Add tst-quick_exit, and
1496         tst-thread-quick_exit.
1497         [ifeq ($(have-cxx-thread_local),yes)]
1498         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
1499         (CFLAGS-tst-thread-quick_exit.o): Likewise.
1500         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
1501         (LDLIBS-tst-thread-quick_exit): Likewise.
1502         [ifneq ($(have-cxx-thread_local),yes)]
1503         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
1504         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
1505         If run_dtors is true call __call_tls_dtors.
1506         (exit): Call __run_exit_handlers with run_dtors set to true.
1507         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
1508         definition.
1509         * stdlib/quick_exit.c (quick_exit): Remove function.
1510         (__new_quick_exit): New function.
1511         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
1512         function.
1513         * stdlib/tst-quick_exit.cc: New file.
1514         * stdlib/tst-thread-quick_exit.cc: New file.
1515         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
1516         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
1517         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
1518         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
1519         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
1520         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
1521         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
1522         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
1523         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
1524         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
1525         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
1526         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
1527         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
1528         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
1529         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
1530         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
1532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
1533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
1534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
1535         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
1536         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
1537         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
1538         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
1539         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
1540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
1541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
1542         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
1543         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
1544         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
1546 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1548         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
1549         a typo in comments.
1551 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1553         [BZ #20213]
1554         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
1555         argument to itself.
1556         * math/libm-test.inc (asin_test_data): Add sNaN tests.
1558 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1560         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
1561         required flags.
1562         (CFLAGS-pwritev64.c): Likewise.
1563         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
1564         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1565         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
1566         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1567         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
1568         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
1569         syscall from auto-generation.
1570         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
1571         [WORDSIZE == 64] (pwritev64): Remove macro.
1572         [!PWRITEV] (PWRITEV): Likewise.
1573         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1574         [!PWRITEV] (PWRITE): Likewise.
1575         [!PWRITEV] (OFF_T): Likewise.
1576         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1577         (LO_HI_LONG): Remove macro.
1578         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
1579         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
1580         (PWRITEV): Remove macro.
1581         (PWRITEV_REPLACEMENTE): Likewise.
1582         (PWRITE): Likewise.
1583         (OFF_T): Likewise.
1584         (pwritev64): New function.
1585         * nptl/tst-cancel4.c (tf_writev): Add test.
1587         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
1588         required flags.
1589         (CFLAGS-preadv64.c): Likewise.
1590         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
1591         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1592         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
1593         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
1594         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
1595         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
1596         syscall from auto-generation.
1597         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
1598         [WORDSIZE == 64] (preadv64): Remove macro.
1599         [!PREADV] (PREADV): Likewise.
1600         [!PREADV] (PREADV_REPLACEMENT): Likewise.
1601         [!PREADV] (PREAD): Likewise.
1602         [!PREADV] (OFF_T): Likewise.
1603         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
1604         (LO_HI_LONG): Remove macro.
1605         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
1606         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
1607         (PREADV): Remove macro.
1608         (PREADV_REPLACEMENTE): Likewise.
1609         (PREAD): Likewise.
1610         (OFF_T): Likewise.
1611         (preadv64): New function.
1612         * nptl/tst-cancel4.c (tf_preadv): Add test.
1614 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1616         [BZ #20212]
1617         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
1618         argument to itself.
1619         * math/libm-test.inc (acos_test_data): Add sNaN tests.
1621 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1623         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
1624         New symbol defined as libc_hidden_def.
1625         (strcasestr): Became a weak alias to __strcasestr.
1626         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
1627         according to multi-arch support.  Move __stpncpy hidden
1628         definition from here to...
1629         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
1630         symbol stpncpy.
1631         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
1632         libc_hidden_builtin_def.
1633         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
1634         memset symbol to use when multi-arch support is available.
1636 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1638         * dlfcn/tst-rec-dlopen.c: Include string.h.
1640 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1642         * manual/install.texi: Remove mention of --without-tls
1643         * INSTALL: Regenerate.
1645 2016-06-05  Florian Weimer  <fweimer@redhat.com>
1647         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
1648         Remove.
1649         (call_function, interposed_malloc_called): New variables.
1650         (malloc): New function.
1651         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
1652         and clear call_function as needed.
1654 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
1656         * include/wchar.h (__wmemset): Use __typeof.
1658 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
1660         * include/wchar.h (__wmemset): Declare function without typeof.
1662 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
1664         [BZ #20205]
1665         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
1666         exponent when incrementing negative subnormal with low mantissa
1667         word zero.
1668         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1669         Add another test.
1671 2016-06-03  Florian Weimer  <fweimer@redhat.com>
1673         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
1674         __wmemset instead of wmemset.
1676 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
1678         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
1679         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
1680         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
1681         __USE_KERNEL_IPV6_DEFS to 0.
1682         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
1683         Update comment.
1685 2016-06-01  Florian Weimer  <fweimer@redhat.com>
1687         [BZ #19861]
1688         Do not use IFUNC resolver with potentially unrelocated symbol.
1689         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
1690         (DEFINE_FORK): Remove macro and inline definition.
1691         (fork_alias): Renamed from fork_ifunc.
1692         (__fork_alias): Renamed from __fork_ifunc.
1694 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
1696         [BZ 19653]
1697         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
1698         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
1700 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1702         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
1703         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
1704         i386-linux-gnu).
1705         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
1706         Set to no.
1707         * sysdeps/mach/hurd/configure: Refresh.
1709 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1711         [BZ #20178]
1712         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
1713         on failure instead of exit.
1715 2016-05-30  Roland McGrath  <roland@hack.frob.com>
1717         [BZ #3629]
1718         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
1719         of POSIX.1-2008.
1721 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1723         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
1724           Use PLT entry for calling _hurd_self_sigstate.
1726 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1728         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
1729         available logical processors with SMT level type sharing L2
1730         cache for Intel processors.
1732 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1734         [BZ #20160]
1735         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
1736         argument to itself before returning the result.
1737         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1738         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1739         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1740         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1741         Likewise.
1742         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1743         Likewise.
1744         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
1745         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
1746         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1747         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1748         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1749         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1751         [BZ #20160]
1752         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
1753         argument to itself before returning the result.
1754         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1755         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1756         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1757         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
1758         Likewise.
1759         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1760         Likewise.
1761         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
1762         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
1763         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
1764         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1765         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1766         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1768 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1770         * libm-test.inc: Replace usage of M_El with
1771         (lit_e): New macro.
1773 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1775         * libm-test.inc: Replace usage of M_PI_4l with
1776         (lit_pi_4_d): New macro.
1778 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1780         * libm-test.inc: Replace usage of M_PIl with
1781         (lit_pi): New macro.
1783 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1785         * libm-test.inc: Replace usage of M_PI2l with
1786         (lit_pi_2_d): New macro.
1788         * math/test-double.h (LITM): New macro.
1789         * math/test-float.h (LITM): Likewise.
1790         * math/test-ldouble.h (LITM): Likewise.
1792 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1794         * libm-test.inc (M_PI_34l): Rename to
1795         (lit_pi_3_m_4_d): New Macro.
1796         (M_PI_34_LOG10El): Rename to
1797         (lit_pi_3_m_4_ln10_m_d): New Macro.
1798         (M_PI2_LOG10El): Rename to
1799         (lit_pi_2_ln10_m_d):  New Macro.
1800         (M_PI4_LOG10El): Rename to
1801         (lit_pi_4_ln10_m_d):  New Macro.
1802         (M_PI_LOG10El): Rename to
1803         (lit_pi_ln10_d):  New Macro.
1805 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1807         [BZ #20157]
1808         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
1809         determine whether to negate low half if [_ARCH_PPCGR], and integer
1810         comparison otherwise.
1811         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
1812         determine whether to negate low half.
1814         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
1815         (NO_TEST_INLINE_DOUBLE): Likewise.
1816         (TEST_COND_x86_64): Likewise.
1817         (TEST_COND_x86): Likewise.
1818         (M_PI_6l): Likewise.
1820 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1822         * math/libm-test.inc:
1823         (TEST_FLOAT): Change usage to TEST_COND_binary32.
1824         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
1825         (TEST_LDOUBLE): Update usage to evaluate as true if
1826         the guarded tests match the property being tested.
1827         (LDBL_MAX_EXP): Change to MAX_EXP.
1828         (LDBL_MIN_EXP): Change to MIN_EXP.
1829         (LDBL_MANT_DIG): Change to MANT_DIG, except for
1830         nexttoward tests.
1832 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1834         * math/libm-test.inc:
1835         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
1836         (TYPE_MIN): Likewise.
1837         (TYPE_TRUE_MIN): Likewise.
1838         (TYPE_MAX): Likewise.
1839         (MIN_EXP): Likewise.
1840         (MAX_EXP): Likewise.
1841         (MANT_DIG): Likewise.
1843         (FSTR_MAX): New macro.
1844         (__CONCATX): Likewise.
1845         (QTYPE_STR): Likewise.
1846         (TEST_COND_binary32): Likewise.
1847         (TEST_COND_binary64): Likewise.
1848         (TEST_COND_binary128): Likewise.
1849         (TEST_COND_ibm128): Likewise.
1850         (TEST_COND_intel96): Likewise.
1851         (TEST_COND_m68k96): Likewise.
1853         (TEST_COND_flt_32): Redefine as equivalent format test macro.
1854         (TEST_COND_dbl_64): Likewise.
1855         (TEST_COND_ldbl_96_intel): Likewise.
1856         (TEST_COND_ldbl_96_m68k): Likewise.
1857         (TEST_COND_ldbl_128): Likewise.
1858         (TEST_COND_ldbl_128ibm): Likewise.
1860         (plus_zero): Redefine using LIT macro.
1861         (minus_zero): Likewise.
1862         (plus_infty): Redefine as (INF).
1863         (minux_infty): Redefine as (-INF).
1864         (max_value): Redefine as TYPE_MAX.
1865         (min_value): Redefine as TYPE_MIN.
1866         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
1868         (print_float): Refactor to use snprintf to convert FLOAT values
1869         to string. This brings it closer to dropin replacement of strtof
1870         for the TS 18661 defined types.
1871         (update_stats): Likewise.
1872         (print_complex_function_ulps): Likewise.
1873         (print_max_error): Likewise.
1874         (print_complex_max_error): Likewise.
1875         (check_float_internal): Likewise.
1877         * math/test-float.h (PREFIX): New macro.
1878         (LIT): Likewise.
1879         (TYPE_STR): Likewise.
1880         (FTOSTR): Likewise.
1882         * math/test-double.h (PREFIX): New macro.
1883         (LIT): Likewise.
1884         (TYPE_STR): Likewise.
1885         (FTOSTR): Likewise.
1887         * math/test-ldouble.h (PREFIX): New macro.
1888         (LIT): Likewise.
1889         (TYPE_STR): Likewise.
1890         (FTOSTR): Likewise.
1892 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1894         [BZ #20156]
1895         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
1896         to itself when zero or not finite.
1897         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
1898         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1899         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
1900         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
1902 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
1904         [BZ #20153]
1905         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
1906         x * x + x for infinities and NaNs.
1908         [BZ #20151]
1909         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
1910         argument to itself before returning result.
1911         (__ieee754_y0l): Likewise.
1912         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1913         (__ieee754_y1l).
1915         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
1916         (atan_test_data): Likewise.
1917         (ceil_test_data): Likewise.
1918         (cos_test_data): Likewise.
1919         (cosh_test_data): Likewise.
1920         (erf_test_data): Likewise.
1921         (exp2_test_data): Likewise.
1922         (fabs_test_data): Likewise.
1923         (floor_test_data): Likewise.
1924         (ilogb_test_data): Likewise.
1925         (j0_test_data): Likewise.
1926         (j1_test_data): Likewise.
1927         (jn_test_data): Likewise.
1928         (lgamma_test_data): Likewise.
1929         (lrint_test_data): Likewise.
1930         (llrint_test_data): Likewise.
1931         (logb_test_data): Likewise.
1932         (lround_test_data): Likewise.
1933         (llround_test_data): Likewise.
1934         (nearbyint_test_data): Likewise.
1935         (rint_test_data): Likewise.
1936         (round_test_data): Likewise.
1937         (sin_test_data): Likewise.
1938         (sincos_test_data): Likewise.
1939         (sinh_test_data): Likewise.
1940         (sqrt_test_data): Likewise.
1941         (tan_test_data): Likewise.
1942         (tanh_test_data): Likewise.
1943         (tgamma_test_data): Likewise.
1944         (trunc_test_data): Likewise.
1945         (y0_test_data): Likewise.
1946         (y1_test_data): Likewise.
1947         (yn_test_data): Likewise.
1949         * math/libm-test.inc: Update comment about NaN testing.
1950         (TEST_SNAN): New macro.
1951         (snan_value): Likewise.
1952         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
1953         (fpclassify_test_data): Add sNaN tests.
1954         (isfinite_test_data): Likewise.
1955         (isinf_test_data): Likewise.
1956         (isnan_test_data): Likewise.
1957         (isnormal_test_data): Likewise.
1958         (issignaling_test_data): Likewise.
1959         (signbit_test_data): Likewise.
1960         * math/gen-libm-test.pl (%beautify): Add snan_value.
1961         (show_exceptions): Add argument $test_snan.
1962         (parse_args): Handle snan_value as non-finite.  Update call to
1963         show_exceptions.
1964         * math/Makefile (libm-test-no-inline-cflags): Add
1965         -fsignaling-nans.
1967 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1969         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
1970         (CFLAGS-oldsendmsg.c): Add rule.
1971         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1972         Correct recvmsg symbol name.
1973         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
1974         Likewise.
1976 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1978         * sysdeps/unix/sysv/linux/Makefile
1979         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
1980         oldsendmmsg.
1981         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
1982         sendmmsg.
1983         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1984         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1985         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1986         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1988         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1989         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1991         Likewise.
1992         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1993         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
1994         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1995         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
1996         iovlen and controllen fields to adjust to POSIX specification.
1997         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1999         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
2000         and change to correct expected type.
2001         (msghdr.msg_controllen): Likewise.
2002         (cmsghdr.cmsg_len): Likewise.
2003         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
2004         expected POSIX assumption about the size.
2005         (msghdr.msg_controllen): Likewise.
2006         (msghdr.__glibc_reserved1): Likewise.
2007         (msghdr.__glibc_reserved2): Likewise.
2008         (cmsghdr.cmsg_len): Likewise.
2009         (cmsghdr.__glibc_reserved1): Likewise.
2010         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
2011         Add ptw-oldrecvmsg and ptw-oldsendmsg.
2012         (CFLAGS-sendmsg.c): Remove rule.
2013         (CFLAGS-recvmsg.c): Likewise.
2014         (CFLAGS-oldsendmsg.c): Add rule.
2015         (CFLAGS-oldrecvmsg.c): Likewise.
2016         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
2017         recvmsg and sendmsg.
2018         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
2019         Likewise.
2020         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
2021         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
2022         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2023         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
2024         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2025         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2026         Likewise.
2027         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2028         Likewise.
2029         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
2030         Likewise.
2031         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
2032         Likewise.
2033         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2034         Likewise.
2035         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2036         Likewise.
2037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
2038         (GLIBC_2.24): Likewise.
2039         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2040         Likewise.
2041         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2042         Likewise.
2043         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2044         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2045         Likewise.
2046         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2047         Likewise.
2048         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2049         Likewise.
2050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
2051         (GLIBC_2.24): Likewise.
2052         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
2053         Likewise.
2054         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
2055         Likewise.
2056         * sysdeps/unix/sysv/linux/Makefile
2057         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
2058         (CFLAGS-sendmsg.c): Add rule.
2059         (CFLAGS-recvmsg.c): Likewise.
2060         (CFLAGS-oldsendmsg.c): Likewise.
2061         (CFLAGS-oldrecvmsg.c): Likewise.
2062         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
2063         initialization.
2064         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2065         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2066         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
2067         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2068         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
2069         iovlen and controllen fields to adjust to POSIX specification.
2070         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
2071         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
2072         added recvmsg and sendmsg.
2073         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2074         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2075         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2076         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2077         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2078         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2079         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2080         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2081         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2082         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2083         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2084         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2086         Likewise.
2087         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2089         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2090         Likewise.
2091         Likewise.
2092         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2093         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2094         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2095         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2096         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2097         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2099         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2101         Likewise.
2102         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2103         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2105         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
2106         from auto-generation.
2107         (sendmsg): Likewise.
2108         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
2109         (sendmsg): Likewise.
2110         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
2111         (sendmsg): Likewise.
2112         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
2113         (sendmsg): Likewise.
2114         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
2115         (sendmsg): Likewise.
2116         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
2117         (sendmsg): Likewise.
2118         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
2119         Likewise.
2120         (sendmsg): Likewise.
2121         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
2122         (sendmsg): Likewise.
2123         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2124         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2125         Remove.
2126         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2127         Likewise.
2128         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2129         Undefine.
2130         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2131         Likewise.
2132         * sysdeps/unix/sysv/linux/kernel-features.h
2133         (__ASSUME_SENDMSG_SYSCALL): Define.
2134         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2135         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2136         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2137         Remove.
2138         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2139         Likewise.
2140         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2141         Undefine.
2142         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2143         Likewise.
2144         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2145         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2146         Remove.
2147         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2148         Likewise.
2149         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2150         Undefine.
2151         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2152         Likewise.
2153         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2154         (__ASSUME_SENDMSG_SYSCALL): Undefine.
2155         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2156         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2157         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2158         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2159         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2160         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2161         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2163 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2165         * stdlib/gen-tst-strtod-round.c: Add backslash to
2166         compile command in comment.
2167         (printfp): Remove the literal suffix, and define an infinite
2168         value as INF to avoid expansion clash with INFINITY.
2169         (round_str): Remove the literal suffix.
2170         (round_for_all): Likewise, remove the now duplicate ldbl-64
2171         entry, and remove some magic constants.
2173         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
2174         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
2175         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
2176         (_CONCAT): New macro.
2177         (CONCAT): Likewise.
2178         (CHOOSE_ld): Likewise.
2179         (CHOOSE_f): Likewise.
2180         (CHOOSE_d): Likewise.
2181         (FTYPE_MEMBER): Likewise.
2182         (BOOL_MEMBER): Likewise.
2183         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2184         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2185         (_XNTRY): Likewise.
2186         (XNTRY): Likewise.
2187         (_ENTRY): Likewise.
2188         (ENTRY): Likewise.
2189         (test_exactness): Generate members via macro.
2190         (test_results): Likewise.
2191         (test): Update members.
2192         (TEST): Redefine using new macros.
2193         (INF): New macro.
2194         (fetestmodes): New structure.
2195         (do_test): Refactor to be type generic.
2196         (test_in_one_mode): Refactor duplicate code into
2197         (GEN_ONE_TEST): New macro.
2199         * stdlib/tst-strtod-round-data.h: Regenerate.
2201         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2202         Extend to pass additional arbitrary parameters to
2203         generators.
2205 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
2207         [BZ #15479]
2208         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2209         floating-point state after first floating-point operation on
2210         input.  Restore full floating-point state instead of just rounding
2211         mode.
2212         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2213         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2214         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2215         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2216         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2218         [BZ #15479]
2219         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
2220         floating-point state after first floating-point operation on
2221         input.  Restore full floating-point state instead of just rounding
2222         mode.
2223         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2224         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2225         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2226         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2227         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2229 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2231         [BZ #19727]
2232         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
2233         valid high surrogate.
2234         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
2235         of an utf16 surrogate.
2236         * iconv/gconv_simple.c (BODY): Likewise.
2237         * iconvdata/bug-iconv12.c: New file.
2238         * iconvdata/Makefile (tests): Add bug-iconv12.
2240 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2242         [BZ #19726]
2243         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
2244         outptrp in case of an illegal input.
2245         * iconv/tst-iconv6.c: New file.
2246         * iconv/Makefile (tests): Add tst-iconv6.
2248 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2250         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
2251         an error in case of a value in range of an utf16 low surrogate.
2253 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2255         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
2256         an error in case of a value in range of an utf16 low surrogate.
2258 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2260         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
2261         Move to ...
2262         * sysdeps/s390/Makefile: ... here.
2263         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
2264         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
2265         (BRANCH_ON_COUNT): New define.
2266         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
2267         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
2268         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
2269         run on s390-32, too.
2270         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
2271         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
2272         run on s390-32, too.
2273         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
2274         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
2275         run on s390-32, too.
2277 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2279         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
2280         etf3eh or new vector loop-variant.
2282 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2284         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
2285         etf3eh or new vector loop-variant.
2287 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2289         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
2290         or new vector loop-variant.
2292 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2294         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2295         Rename to TR_LOOP and usage of tr instead of troo instruction.
2297 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2299         * sysdeps/s390/multiarch/gconv_simple.c: New File.
2300         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2302 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2304         * sysdeps/s390/multiarch/8bit-generic.c: New File.
2305         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2306         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2307         New override define.
2308         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2310 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2312         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2313         * sysdeps/s390/configure.ac: Add test for S390 vector register
2314         support in gcc.
2315         * sysdeps/s390/configure: Regenerated.
2317 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2319         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2320         Install file from $(objpfx)gconv-modules.
2321         ($(objpfx)gconv-modules): Concatenate architecture specific file
2322         in variable sysdeps-gconv-modules and gconv-modules in src dir.
2323         * sysdeps/s390/gconv-modules: New file.
2324         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2325         Deleted.
2326         ($(objpfx)gconv-modules-s390): Deleted.
2327         (sysdeps-gconv-modules): New variable.
2329 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2331         [BZ #15479]
2332         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2333         of immediate operand to rounding instruction.
2334         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2335         Likewise.
2336         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2337         Likewise.
2338         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2339         Likewise.
2341 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2343         * math/libm-test.inc (MIN_EXP): Directly define as
2344         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2346 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2348         * math/libm-test.inc (MANT_DIG): Directly define as
2349         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2351 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2353         * stdlib/gen-tst-strtod-round.c (main):
2354           Change usage to more closely match the generated
2355           output.  Add usage and compilation instructions.
2356           (string_to_fp): Add and use FILE* parameter as
2357           output target.
2358           (print_fp): Likewise.
2359           (round_str): Likewise.
2360           (round_for_all): Likewise.
2361         * stdlib/tst-strtod-round.c (tests): Move into
2362         * stdlib/tst-strtod-round-data.h: New file.
2364 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2366         [BZ #15479]
2367         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2368         (__round): Do not force "inexact" exception.
2369         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
2370         variable.
2371         (__round): Do not force "inexact" exception.
2372         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
2373         (__roundf): Do not force "inexact" exception.
2374         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
2375         (__roundl): Do not force "inexact" exception.
2376         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
2377         (__roundl): Do not force "inexact" exception.
2378         * math/libm-test.inc (round_test_data): Do not allow spurious
2379         "inexact" exceptions.
2381         [BZ #15479]
2382         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
2383         exception in comment.
2384         (huge): Remove variable.
2385         (__floor): Do not force "inexact" exception.
2386         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
2387         "inexact" exception in comment.
2388         (huge): Remove variable.
2389         (__floor): Do not force "inexact" exception.
2390         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
2391         exception in comment.
2392         (huge): Remove variable.
2393         (__floorf): Do not force "inexact" exception.
2394         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
2395         exception in comment.
2396         (huge): Remove variable.
2397         (__floorl): Do not force "inexact" exception.
2399         [BZ #15479]
2400         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
2401         exception in comment.
2402         (huge): Remove variable.
2403         (__ceil): Do not force "inexact" exception.
2404         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
2405         "inexact" exception in comment.
2406         (huge): Remove variable.
2407         (__ceil): Do not force "inexact" exception.
2408         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
2409         (__ceilf): Do not force "inexact" exception.
2410         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
2411         exception in comment.
2412         (huge): Remove variable.
2413         (__ceill): Do not force "inexact" exception.
2415 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2417         * config.h.in (BIND_NOW): New.
2418         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
2419         * configure: Regenerated.
2420         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2421         indirect branch via the GOT slot.
2423 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2425         [BZ #19765]
2426         * sysdeps/s390/mempcpy.S: New File.
2427         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2428         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
2429         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2430         Add mempcpy variants.
2431         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
2432         (memcpy): Adjust to be usable from mempcpy entry point.
2433         (__memcpy_mvcle): Likewise.
2434         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2435         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
2436         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
2437         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
2438         (__memcpy_z10): Likewise.
2439         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2441 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2443         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
2444         Remove __GI_ symbol.
2445         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
2446         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
2447         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
2448         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2449         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
2450         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
2452 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2454         * sysdeps/s390/s390-64/memcpy.S (memcpy):
2455         Use cghi instead of chi to compare 64bit value.
2457 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2459         * sysdeps/s390/s390-32/memcpy.S (memcpy):
2460         Jump to 1MB check before executing mvc-loop.
2462 2016-05-24  Florian Weimer  <fweimer@redhat.com>
2464         [BZ #6527]
2465         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
2466         unconditionally.
2467         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
2469 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2471         * stdlib/tst-strtod6.c (do_test): Use new type generic
2472         invocation of the test function.
2473         (test): Refactor into ...
2474         (TEST_STRTOD): New macro base function.
2476 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2478         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
2479         (TEST_STRTOD): New macro.
2480         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
2482 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2484         * stdlib/tst-strtod6.c (do_test): Use new type generic
2485         invocation of the test function.
2486         (test): Refactor into ...
2487         (TEST_STRTOD): New macro base function.
2489 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2491         CVE-2016-4429
2492         [BZ #20112]
2493         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
2494         payload.
2496 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2498         [BZ #20111]
2499         * bits/sockaddr.h (_SS_SIZE): Define.
2500         * bits/socket.h (_SS_SIZE): Remove.
2501         (_SS_PADSIZE): Adjust to account for all padding.
2502         (struct sockaddr_storage): Update comment.  Avoid implicit
2503         padding.
2504         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
2505         (_SS_PADSIZE): Adjust to account for all padding.
2506         (struct sockaddr_storage): Update comment.  Avoid implicit
2507         padding.
2508         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
2509         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
2510         (_SS_PADSIZE): Adjust to account for all padding.
2511         (struct sockaddr_storage): Update comment.  Avoid implicit
2512         padding.
2513         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
2514         __SS_SIZE is 126 in this version.
2515         * inet/tst-sockaddr.c: New file.
2516         * inet/Makefile (tests): Add tst-sockaddr.c
2517         (tst-sockaddr.c): Compile with non-strict aliasing.
2519 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
2521         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
2522         [XPG3 || XPG4].
2523         (NL_ARGMAX): Also expect for [XPG3].
2524         (NL_LANGMAX): Likewise.
2525         (NL_MSGMAX): Likewise.
2526         (NL_NMAX): Likewise.
2527         (NL_SETMAX): Likewise.
2528         (NL_TEXTMAX): Likewise.
2529         (NZERO): Likewise.
2530         (TMP_MAX): Likewise.
2531         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
2532         variable.
2534         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
2535         (PF_MAX): Update value.
2536         (AF_KCM): New macro.
2537         (SOL_NETBEUI): Likewise.
2538         (SOL_LLC): Likewise.
2539         (SOL_DCCP): Likewise.
2540         (SOL_NETLINK): Likewise.
2541         (SOL_TIPC): Likewise.
2542         (SOL_RXRPC): Likewise.
2543         (SOL_PPPOL2TP): Likewise.
2544         (SOL_BLUETOOTH): Likewise.
2545         (SOL_PNPIPE): Likewise.
2546         (SOL_RDS): Likewise.
2547         (SOL_IUCV): Likewise.
2548         (SOL_CAIF): Likewise.
2549         (SOL_ALG): Likewise.
2550         (SOL_NFC): Likewise.
2551         (SOL_KCM): Likewise.
2552         (MSG_BATCH): New enum value and macro.
2554 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2556         [BZ #18185]
2557         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
2558         sharing L2 cache to 2 for Knights Landing.
2560 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
2562         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
2563         (FTW_DP): Do not expect for [XPG3 || XPG4].
2564         (FTW_SL): Do not expect for [XPG3].
2565         (FTW_SLN): Likewise.
2566         (FTW_PHYS): Likewise.
2567         (FTW_MOUNT): Likewise.
2568         (FTW_DEPTH): Likewise.
2569         (FTW_CHDIR): Likewise.
2570         (nftw): Likewise.
2571         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
2572         variable.
2574 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2576         * manual/errno.texi: Fix various typos & grammar errors.
2578 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2580         * manual/intro.texi: Fix duplicated typo.
2582 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2584         [BZ #13304]
2585         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
2586         <float.h>, <math_private.h> and <stdlib.h>.
2587         (add_split): New function.
2588         (mul_split): Likewise.
2589         (ext_val): New typedef.
2590         (store_ext_val): New function.
2591         (mul_ext_val): New function.
2592         (compare): New function.
2593         (add_split_ext): New function.
2594         (__fmal): After checking for Inf, NaN and zero, compute result as
2595         an exact sum of scaled double values in round-to-nearest before
2596         adding those up and adjusting for other rounding modes.
2597         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
2598         tests of fma.
2599         * math/auto-libm-test-out: Regenerated.
2601 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2603         [BZ #20119]
2604         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
2605         processor level type mask for CPUID with EAX == 11.
2607 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2609         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
2610         logical threads if the HTT bit is 0.
2611         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
2612         (index_cpu_HTT): Likewise.
2613         (reg_HTT): Likewise.
2615 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2617         [BZ #20115]
2618         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
2619         Remove alignments on jump targets.
2621 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2623         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
2624         (getpwent): Likewise.
2625         (setpwent): Likewise.
2626         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
2627         variable.
2629         * conform/data/search.h-data (insque): Do not expect for [XPG3].
2630         (remque): Likewise.
2631         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
2632         variable.
2634 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2636         * math/libm-test.inc: Update comment not to refer to signs of NaNs
2637         not being tested.
2639 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2641         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2642         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
2643         call.
2644         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2645         (__condvar_cleanup1): Likewise.
2647 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2649         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
2650         New
2651         (__pthread_unwind): Renamed to ...
2652         (PTHREAD_UNWIND): This.
2653         (__pthread_enable_asynccancel): Replace
2654         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
2656 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2658         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
2659         (CLONE_NEWCGROUP): New macro.
2661         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
2662         (Q_GETNEXTQUOTA): New macro.
2664 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2666         [BZ #19907]
2667         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
2668         buffer updated by the previous run.
2669         * string/test-memcpy.c (do_one_test): Likewise.
2670         * benchtests/bench-memmove.c (do_one_test): Add a comment.
2671         * string/test-memmove.c (do_one_test): Likewise.
2673 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
2675         [BZ #20094]
2676         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
2677         not [__USE_XOPEN].
2678         (unlockpt): Likewise.
2679         (ptsname): Likewise.
2680         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
2681         variable.
2683         [BZ #20076]
2684         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
2685         instead of [__USE_UNIX98].
2686         (S_ISSOCK): Likewise.
2687         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
2688         variable.
2690         [BZ #20074]
2691         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
2692         [__USE_POSIX].
2693         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
2694         variable.
2696         [BZ #20051]
2697         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
2698         (ttyslot): Do not declare.
2699         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
2700         (ttyslot): New prototype.
2701         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
2702         variable.
2703         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2705 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2707         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
2709 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2711         Fix race condition in tst-mallocfork2, use fewer resources.
2712         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
2713         to current process group.
2714         (signal_sender): Yield in the non-sleeping case.
2716 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
2718         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
2719         (ecvt): Likewise.
2720         (fcvt): Likewise.
2721         (gcvt): Likewise.
2722         (getsubopt): Likewise.
2723         (grantpt): Likewise.
2724         (initstate): Likewise.
2725         (l64a): Likewise.
2726         (mktemp): Likewise.
2727         (mkstemp): Likewise.
2728         (ptsname): Likewise.
2729         (random): Likewise.
2730         (realpath): Likewise.
2731         (setstate): Likewise.
2732         (srandom): Likewise.
2733         (ttyslot): Likewise.
2734         (unlockpt): Likewise.
2735         (valloc): Likewise.
2737         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
2738         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
2739         variable.
2741 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2743         [BZ #20072]
2744         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
2745         init_cpu_features only if SHARED is defined.
2746         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2748 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2750         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
2751         non-inclusive caches on Intel processors.
2753 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2755         * malloc/malloc.c (dumped_main_arena_start)
2756         (dumped_main_arena_end): New variables.
2757         (DUMPED_MAIN_ARENA_CHUNK): New macro.
2758         (do_check_chunk): Skip dumped fake mmapped chunks.
2759         (munmap_chunk): Likewise.
2760         (__libc_free): Do not adjust statistics for fake mmapped chunks.
2761         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
2762         mmapped chunks.
2763         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
2764         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
2765         and dumped_main_arena_end to cover the dumped heap.
2767 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
2769         * conform/data/time.h-data (getdate_err): Do not expect for
2770         [XPG3].
2771         (getdate): Likewise.
2772         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
2773         variable.
2775         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
2776         (F_ULOCK): Likewise.
2777         (F_TEST): Likewise.
2778         (F_TLOCK): Likewise.
2779         (useconds_t): Likewise.
2780         (intptr_t): Do not expect for [XPG3] or [XPG4].
2781         (brk): Do not expect for [XPG3]
2782         (fchown): Likewise.
2783         (fchdir): Likewise.
2784         (ftruncate): Likewise.
2785         (getdtablesize): Likewise.
2786         (gethostid): Likewise.
2787         (getpagesize): Likewise.
2788         (getpgid): Likewise.
2789         (getsid): Likewise.
2790         (getwd): Likewise.
2791         (lchown): Likewise.
2792         (lockf): Likewise.
2793         (readlink): Likewise.
2794         (sbrk): Likewise.
2795         (setpgrp): Likewise.
2796         (setregid): Likewise.
2797         (setreuid): Likewise.
2798         (symlink): Likewise.
2799         (sync): Likewise.
2800         (truncate): Likewise.
2801         (ualarm): Likewise.
2802         (usleep): Likewise.
2803         (vfork): Likewise.
2804         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
2805         variable.
2807         [BZ #20054]
2808         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
2809         not [__USE_UNIX98].
2810         * conform/data/unistd.h-data (gethostname): Do not expect for
2811         [XPG3].
2813         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
2814         [!POSIX] (S_IFBLK): Likewise.
2815         [!POSIX] (S_IFCHR): Likewise.
2816         [!POSIX] (S_IFIFO): Likewise.
2817         [!POSIX] (S_IFREG): Likewise.
2818         [!POSIX] (S_IFDIR): Likewise.
2819         [!POSIX] (S_IFLNK): Likewise.
2820         [!POSIX] (S_IFSOCK): Likewise.
2821         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
2822         variable.
2823         (test-xfail-XPG4/fcntl.h/conform): Likewise.
2825 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
2827         * sysdeps/aarch64/memset.S (__memset):
2828         Rewrite of optimized memset.
2830 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2832         [BZ #19703]
2833         Partially async-signal-safe fork for single-threaded processes.
2834         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
2835         variable.  Do not acquire and reset/release malloc and libio locks
2836         in single-threaded processes.
2837         * malloc/tst-mallocfork2.c: New file.
2838         * malloc/Makefile (tests): Add it.
2840 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2842         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
2843         argument.  Use scratch buffer instead of extend_alloca.
2844         (gethosts): Use scratch buffer instead of extend_alloca.
2845         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
2846         extend_alloca.
2847         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
2849 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
2851         [BZ #20055]
2852         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
2853         instead of [__USE_UNIX98].
2854         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
2855         [__USE_UNIX98].
2856         * conform/data/termios.h-data (tcgetsid): Do not expect for
2857         [XPG3].
2858         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
2859         variable.
2860         (test-xfail-XPG4/termios.h/conform): Likewise.
2862 2016-05-11  Florian Weimer  <fweimer@redhat.com>
2864         Do not use mcheck in localedef.
2865         * locale/programs/localedef.c (turn_on_mcheck)
2866         (__malloc_initialize_hook): Remove.
2868 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2870         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
2871         * sysdeps/s390/s390-64/Makefile: Likewise.
2873 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2875         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
2876         Remove ifunc-defines.sym.
2877         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
2878         Likewise.
2879         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
2880         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2881         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
2882         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
2883         rtld-global-offsets.sym.
2884         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
2885         * sysdeps/x86/cpu-features-offsets.sym: This.
2886         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
2887         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
2889 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
2891         [BZ #20073]
2892         * io/sys/stat.h (fchmod): Declare for
2893         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
2894         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
2895         variable.
2897         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
2898         [XPG3] (S_IFSOCK): Likewise.
2899         [XPG3] (S_ISVTX): Likewise.
2900         [XPG3] (S_ISLNK): Likewise.
2901         [XPG3] (S_ISSOCK): Likewise.
2902         [XPG3] (fchmod): Likewise.
2903         [XPG3] (lstat): Likewise.
2904         [XPG3] (mknod): Likewise.
2906         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
2907         [XPG3].  Expect type long and XFAIL for [XPG4].
2908         (st_blocks): Likewise.
2910         [BZ #20044]
2911         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
2912         (pthread_atfork): New prototype.
2913         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
2914         variable.
2916         [BZ #20043]
2917         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
2918         prototype.
2920 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2922         [BZ #20017]
2923         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
2924         gmtime.
2926 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2928         [BZ #19994]
2929         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
2930         flag in _res.options.
2932 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
2934         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
2935         [XPG3 || XPG4].
2936         (blksize_t): Likewise.
2937         (clockid_t): Likewise.
2938         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
2939         variable.
2940         (test-xfail-XPG4/sys/types.h/conform): Likewise.
2942 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2944         * sysdeps/unix/sysv/linux/s390/init-first.c:
2945         Add VDSO_SYMBOL(getcpu).
2946         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
2947         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
2948         Add VDSO_SYMBOL(getcpu).
2949         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
2950         New define HAVE_GETCPU_VSYSCALL.
2951         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2953 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
2955         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
2956         instead of <sysdeps/x86_64/cacheinfo.c>.
2957         * sysdeps/x86_64/cacheinfo.c: Moved to ...
2958         * sysdeps/x86/cacheinfo.c: Here.
2960 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2962         * malloc/malloc-internal.h: Adjust header file guard.
2964 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2966         [BZ #19787]
2967         * inet/getnameinfo.c (check_sprintf_result): New function.
2968         (CHECKED_SNPRINTF): New macro.
2969         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
2970         to the host buffer.
2971         (gni_host_local): Use checked_copy to copy the host name.
2972         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
2973         (gni_serv_local): Use checked_copy to copy the service name.
2974         (getnameinfo): Remove unnecessary truncation of result buffers.
2976 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2978         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
2979         in case of inet_ntop failure.
2981 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2983         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
2984         avoid long lines.
2985         (gni_host_inet_numeric): Likewise.  Reduce scope of local
2986         variables.
2987         (gni_host_inet, gni_host_local): Add comment.
2988         (gni_host): Add comment.  Use temporary to avoid long lines.
2990 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2992         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
2993         registers specifiers where general purpose registers specifiers should
2994         have been used.
2996 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2998         [BZ #19779]
2999         CVE-2016-1234
3000         Avoid copying names of directory entries.
3001         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
3002         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
3003         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
3004         (struct readdir_result): New type.
3005         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
3006         (GL_READDIR): New macros.
3007         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
3008         (convert_dirent, convert_dirent64): New functions.
3009         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
3010         convert_dirent64.  Adjust references to the readdir result.
3011         * sysdeps/unix/sysv/linux/i386/glob64.c:
3012         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
3013         * posix/bug-glob2.c (LONG_NAME): Define.
3014         (filesystem): Add LONG_NAME.
3015         (my_DIR): Increase the size of room_for_dirent.
3017 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
3019         [BZ #20041]
3020         * misc/sys/select.h (__need_timespec): Only define if
3021         [__USE_XOPEN2K].
3022         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
3023         variable.
3024         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3025         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3026         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3028 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3029             Segher Boessenkool  <segher@gcc.gnu.org>
3031         [BZ #20004]
3032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
3033         (__novec_swapcontext): Add missing load.
3035 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
3037         [BZ #20023]
3038         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
3039         <time.h>.
3040         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
3041         variable.
3042         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3044 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
3047         flags CLONE_VM compare.
3049 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3051         [BZ #20031]
3052         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
3053         completely empty.
3055 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3057         [BZ #19573]
3058         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
3059         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
3060         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
3061         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
3062         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
3063         (hesiod_free_list): Mark as hidden.
3064         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
3065         res_set, res_get.
3066         * hesiod/hesiod.c: Remove unnecessary forward declarations.
3067         (init, __hesiod_res_get, __hesiod_res_set): Remove.
3068         (hesiod_init): Remove obsolete res_ninit call.
3069         (hesiod_end): Do not free resolver state.  Do not invoke callback.
3070         (hesiod_bind): Do not call init.
3071         (get_txt_records): Use res_mkquery, res_send instead of
3072         res_nmkquery, res_nsend.
3073         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
3074         instead of _nss_hesiod_init.
3075         (_nss_hesiod_initgroups_dyn): Likewise.
3076         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
3077         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
3078         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
3080 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3082         * hesiod/hesiod_p.h (DEF_RHS): Remove.
3083         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
3085 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3087         * hesiod/hesiod.h: Remove RCS keyword.
3088         * hesiod/hesiod_p.h: Likewise.
3090         * hesiod/hesiod.c: Likewise.
3092 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
3094         [BZ #12450]
3095         * locale/iso-639.def: Add Samogitian/sgs.
3097 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
3099         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
3101         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
3103 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
3104             Carlos O'Donell  <carlos@redhat.com>
3106         [BZ #19072]
3107         * grp/Makefile (headers): Add grp-merge.h
3108         (routines): Add grp-merge.
3109         * grp/getgrgid_r.c: Include grp-merge.h.
3110         (DEEPCOPY_FN): Define.
3111         (MERGE_FN): Define.
3112         * grp/getgrname_r.c: Include grp-merge.h.
3113         (DEEPCOPY_FN): Define.
3114         (MERGE_FN): Define.
3115         * grp/grp-merge.c: New file.
3116         * grp/grp-merge.h: New file.
3117         * include/grp-merge.h: New file.
3118         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
3119         __copy_grp@GLIBC_PRIVATE.
3120         * manual/nss.texi (Actions in the NSS configuration): Describe
3121         return, continue, and merge.
3122         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
3123         (DEEPCOPY_FN): Define.
3124         (MERGE_FN): Define.
3125         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
3126         (DEEPCOPY_FN): Define.
3127         (MERGE_FN): Define.
3128         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
3129         [!MERGE_FN]: Define __merge_einval.
3130         (CHECK_MERGE): Define.
3131         (REENTRANT_NAME): Process merge if do_merge is true.
3132         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
3133         (__nss_getent_r): Likewise.
3134         * nss/nsswitch.c (nss_parse_service_list): Likewise.
3135         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
3137 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3139         [BZ #20012]
3140         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
3141         length to calculate the buffer to read.
3142         (fmemopen_write): Set the buffer position based on bytes written.
3143         (fmemopen_seek): Return EINVAL for invalid whence modes.
3145         [BZ #19957]
3146         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
3147         tst-getpid2.
3148         (test): Add tst-clone2.
3149         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
3150         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
3151         pid/tid fields for CLONE_VM.
3152         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3153         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3154         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3155         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
3156         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3157         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3158         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3159         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3161         Likewise.
3162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3163         Likewise.
3164         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3165         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3166         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3167         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3168         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3169         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3170         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3171         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
3173 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3175         [BZ #19642]
3176         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
3177         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3178         (gni_serv_local, gni_serv): New functions extracted from
3179         getnameinfo.
3180         (getnameinfo): Call gni_host and gni_serv to perform the
3181         processing.  Always free scratch buffer.
3183 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3185         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3186         remaining bytes in the dest string, with zeros.
3188 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3190         [BZ #20010]
3191         CVE-2016-3706
3192         * sysdeps/posix/getaddrinfo.c
3193         (convert_hostent_to_gaih_addrtuple): New function.
3194         (gethosts): Call convert_hostent_to_gaih_addrtuple.
3195         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3196         AF_INET data.
3198 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3200         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3201         callback function gl_readdir.
3202         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3203         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3204         (glob_in_dir): Remove len.  Use strdup instead of malloc and
3205         memcpy to copy the name.
3206         * manual/pattern.texi (Calling Glob): Document requirements for
3207         implementations of the gl_readdir callback function.
3208         * manual/examples/mkdirent.c: New example.
3209         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3210         per the manual guidance.
3211         * posix/tst-gnuglob.c (my_readdir): Likewise.
3213 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
3215         [BZ #20014]
3216         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
3217         not [__USE_POSIX].
3218         (getchar_unlocked): Likewise.
3219         (putc_unlocked): Likewise.
3220         (putchar_unlocked): Likewise.
3221         (flockfile): Likewise.
3222         (ftrylockfile): Likewise.
3223         (funlockfile): Likewise.
3224         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
3225         variable.
3226         (test-xfail-XPG4/stdio.h/conform): Likewise.
3228         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
3229         Expect constant.
3230         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
3231         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
3232         variable.
3233         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3234         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3236         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
3237         [__USE_LARGEFILE64] (off64_t): Likewise.
3238         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
3239         variable.
3241 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3243         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
3245 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3247         * resolv/inet_addr.c: Reindent preprocessor conditionals.
3248         * resolv/res_init.c: Likewise.
3249         * resolv/res_mkquery.c: Likewise.
3251 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3253         * resolv/res_init.c (isascii): Do not define.  Use definition in
3254         <ctype.h>.
3255         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
3256         (LOG_AUTH): Remove.
3257         (SPRINTF): Remove, adjust caller.
3258         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
3260 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3262         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
3263         SUNSECURITY conditional.
3264         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3266 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3268         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
3269         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
3270         Remove BSD-related preprocessor conditionals.
3271         * conf/portability.h: Remove.
3273 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3275         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
3276         * resolv/res_data.c: Likewise.
3278 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3280         * resolv/res_comp.c: Remove code conditional on __ultrix__.
3281         * resolv/res_data.c: Remove code conditional on ultrix.
3283 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3285         * resolv/res_init.c (RFC1535): Do not define.  Remove
3286         RFC1535 preprocessor conditionals.
3287         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
3288         because there configuration options which make the resolver
3289         behavior different.
3291 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3293         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
3294         RESOLVSORT preprocessor conditionals.
3295         * resolv/nss_dns/dns-host.c: Likewise.
3296         * resolv/res_init.c: Likewise.
3298 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3300         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
3301         is never defined.
3303 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3305         * inet/inet_lnaof.c: Remove SCSS keyword.
3306         * inet/inet_mkadr.c: Likewise.
3307         * inet/inet_net.c: Likewise.
3308         * inet/inet_netof.c: Likewise.
3309         * inet/rcmd.c: Likewise.
3310         * inet/rexec.c: Likewise.
3311         * inet/ruserpass.c: Likewise.
3313 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3315         * resolv/inet_addr.c: Remove _LIBC conditionals.
3316         * resolv/res_data.c: Likewise.
3317         * resolv/res_init.c: Likewise.
3318         * resolv/res_mkquery.c: Likewise.
3319         * resolv/res_libc.c: Update comment.
3320         * resolv/README: Update.
3322 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3324         * resolv/gethnamaddr.c: Remove SCSS keyword.
3325         * resolv/herror.c: Likewise.
3326         * resolv/inet_addr.c: Likewise.
3327         * resolv/inet_net_ntop.c: Likewise.
3328         * resolv/inet_net_pton.c: Likewise.
3329         * resolv/inet_neta.c: Likewise.
3330         * resolv/inet_ntop.c: Likewise.
3331         * resolv/inet_pton.c: Likewise.
3332         * resolv/ns_date.c: Remove RCS keyword.
3333         * resolv/ns_name.c: Likewise.
3334         * resolv/ns_netint.c: Likewise.
3335         * resolv/ns_parse.c: Likewise.
3336         * resolv/ns_print.c: Likewise.
3337         * resolv/ns_samedomain.c: Likewise.
3338         * resolv/ns_ttl.c: Likewise.
3339         * resolv/nsap_addr.c: Likewise.
3340         * resolv/res_comp.c: Remove SCSS and RCS keyword.
3341         * resolv/res_data.c: Remove RCS keyword.
3342         * resolv/res_debug.c: Remove SCSS and RCS keyword.
3343         * resolv/res_init.c: Likewise.
3344         * resolv/res_mkquery.c: Likewise.
3345         * resolv/res_query.c: Likewise.
3346         * resolv/res_send.c: Likewise.
3348 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3350         * conform/data/stdio.h-data (fdopen): Expect also for
3351         [XPG3 || XPG4].
3353         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3354         (fseeko): Likewise.
3355         (ftello): Likewise.
3356         (ftrylockfile): Likewise.
3357         (funlockfile): Likewise.
3358         (getc_unlocked): Likewise.
3359         (getchar_unlocked): Likewise.
3360         (putc_unlocked): Likewise.
3361         (putchar_unlocked): Likewise.
3363 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3365         [BZ #19868]
3366         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3367         DNS packet syntax checks (which were not needed before).  Skip
3368         over non-PTR records.
3370 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3372         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
3373         definition.  Include <stddef.h> instead.
3375 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3377         [BZ #19831]
3378         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
3379         function.
3380         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
3381         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
3383 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3385         [BZ #19862]
3386         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
3387         (getanswer_r): Do not call syslog.
3388         (gaih_getanswer_slice): Likewise.
3389         * resolv/gethnamaddr.c (AskedForGot): Remove.
3390         (getanswer): Do not call syslog.
3391         (gethostbyaddr): Likewise.
3393 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3395         * conform/data/signal.h-data (union sigval): Expect also if
3396         [XOPEN2K].
3397         (struct sigevent): Likewise.
3398         (SIGEV_NONE): Likewise.
3399         (SIGEV_SIGNAL): Likewise.
3400         (SIGEV_THREAD): Likewise.
3401         (SIGRTMIN): Likewise.
3402         (SIGRTMAX): Likewise.
3403         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
3404         variable.
3405         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3407 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3409         [BZ #19830]
3410         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
3411         (gaih_getanswer_slice): Likewise.
3412         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
3413         Also check for availability of RR metadata.
3415 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3417         [BZ #19825]
3418         * resolv/res_send.c (send_vc): Remove early *resplen2
3419         initialization.  Set *resplen2 on socket error.  Call
3420         close_and_return_error for other errors.
3422 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3424         * sysdeps/unix/sysv/linux/netiucv/iucv.h
3425         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
3426         (SCM_IUCV_TRGCLS): New define.
3428 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3430         [BZ #20005]
3431         * libio/fmemopen.c (fmemopen_write): Update internal position after
3432         write.
3433         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
3434         * stdio-common/tst-fmemopen4.c: New file..
3436 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
3438         [BZ #19996]
3439         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
3440         not [__USE_XOPEN2K].
3441         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
3442         variable.
3444         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
3445         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
3446         variable.
3448         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
3449         [__USE_XOPEN2K8].
3450         [__USE_LARGEFILE64] (off64_t): Likewise.
3451         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
3452         variable.
3454 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
3456         [BZ #19989]
3457         * libio/stdio.h (cuserid): Do not declare if
3458         [__USE_XOPEN2K && !__USE_GNU].
3459         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
3460         variable.
3462 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3464         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3465         (sysdep_routines): Add P8 and PPC64 strcspn targets.
3466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3467         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3468         ifunc'ed strcspn.
3469         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3470         [EALIGN]: Removed.
3471         [END]: Likewise
3472         [STRSPN]: Define instead of the above to control symbol name.
3473         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
3474         New file.
3475         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
3476         Likewise.
3477         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
3478         Likewise.
3479         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
3480         Likewise.
3481         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3482         [INITIAL_MASK]: New macro.
3483         [STRCSPN]: Likewise.
3484         [UPDATE_MASK]: Likewise.
3485         [USE_AS_STRCSPN]: Lisewise.
3487 2016-04-25  Florian Weimer  <fweimer@redhat.com>
3489         [BZ #19931]
3490         * stdio-common/tst-vfprintf-width-prec.c: New file.
3491         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
3492         (tests-special): Add tst-vfprintf-width-prec-mem.out.
3493         (generated): Add mtrace-related files.
3494         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
3495         (tst-%-mem.out): New pattern rule, replaces
3496         tst-printf-bz18872-mem.out.
3497         * stdio-common/vfprintf.c (vfprintf): When handling a precision
3498         specifier, deallocate any previously allocated work buffer.
3500 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
3502         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
3503         Add nop before __startcontext, add explaining comments.
3505 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
3507         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
3508         any more. Notably since IPV6_PKTINFO has been reintroduced with a
3509         completely different API.
3511         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
3512         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
3513         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
3514         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
3515         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
3516         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
3517         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
3518         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
3519         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
3520         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
3522 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
3524         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
3526 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
3528         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
3529         when it is the default of 0.
3531 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3533         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
3534         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3535         (sysdep_routines): Add new strcasestr targets.
3536         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3537         (__libc_ifunc_impl_list): Likewise.
3538         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
3539         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
3540         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
3541         * sysdeps/powerpc/powerpc64/power8/Makefile:
3542         New file to add strcasestr-ppc64 to sysdep_routines.
3543         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
3544         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
3546 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
3548         * benchtests/Makefile (wcsmbs-benchset): Include only for
3549         native builds and runs.
3550         (LOCALES): Likewise.
3551         (bench-build): Build timing-type here instead of the bench
3552         target.  Generate locale only for native builds.
3553         * benchtests/README: Add note for cross-building.
3555         * benchtests/Makefile (bench-clean): Clean up extra-objs.
3557         * benchtests/README: Update README to include instructions on
3558         using bench-build.
3560         * Makefile.in (bench-build): New target.
3561         * Rules (PHONY): Add bench-build target.
3562         * benchtests/Makefile (bench): Depend on bench-build.
3563         (bench-build): New target.
3565 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3567         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
3568         profil_reply_port.
3569         (profile_waiter): Do not initialize profil_reply_port.
3570         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
3571         frequency instead of tick length in us.
3573 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
3575         [BZ #18712]
3576         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
3577         (__old_mempcpy_small): Likewise.
3578         (__old_strcpy_small): Likewise.
3579         (__old_stpcpy_small): Likewise.
3580         (__old_strpbrk_c2): Fix compat symbol name.
3581         (__old_strpbrk_c3): Likewise.
3582         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
3583         (__mempcpy_small): Remove.
3584         (__strcpy_small): Remove.
3585         (__stpcpy_small): Remove.
3587 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
3589         [BZ #19400]
3590         * locale/iso-639.def: Add the Talossan/tzl language.
3592 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3594         [BZ #16983]
3595         * locale/programs/ld-address.c (address_finish): Update postal_fmt
3596         comment.  Add "ln" to strchr check on postal_fmt.
3598 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3600         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
3601         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
3602         tel_dom_fmt.
3604 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3606         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3607         (sysdep_routines): Added __strlen_power8.
3608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
3609         __strlen_power8 entry.
3610         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
3611         Implementation for POWER8.
3612         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
3613         for __strlen_power8.
3614         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
3615         Implementation for POWER8.
3617 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
3619         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
3621 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
3623         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
3624         Goldmont and Airmont processors.
3626 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
3628         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
3629         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
3630         (__STRING2_SMALL_GET32): Remove.
3631         (memset): Remove.
3632         (__memset_1): Remove.
3633         (__memset_gc): Remove.
3634         (__mempcpy): Remove.
3635         (mempcpy): Remove.
3636         (__mempcpy_args): Remove.
3637         (strchr): Remove.
3638         (strcpy): Remove.
3639         (strcpy_args): Remove.
3640         (__stpcpy_args): Remove.
3641         (__strcmp_cc): Remove.
3642         (__strcmp_gc): Remove.
3643         (strstr): Remove.
3645 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
3647         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
3648         * nis/nis_call.c (nis_server_cache_add): Likewise.
3650 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3652         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
3654 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3656         * malloc/arena.c (__malloc_fork_lock_parent)
3657         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
3658         internal_function attribute.
3660 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
3662         * stdio-common/printf_fp.c (__printf_fp_l):
3663         Rename ___printf_fp_l to __printf_fp_l and
3664         remove strong alias. Use libc_hidden_def instead
3665         of ldbl_hidden_def macro.
3667 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3669         Remove malloc hooks from fork handler.  They are no longer needed
3670         because malloc runs right before fork, and no malloc calls from
3671         other fork handlers are not possible anymore.
3672         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
3673         declarations.
3674         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
3675         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
3676         (atfork_recursive_cntr): Remove.
3677         (__malloc_fork_lock_parent): Do not override malloc hooks and
3678         thread_arena.
3679         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
3680         thread_arena.
3681         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
3682         thread_arena instead of save_arena.
3684 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3686         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
3687         (thread_atfork, thread_atfork_static): Remove.
3688         * sysdeps/mach/hurd/malloc-machine.h:
3689         (thread_atfork, thread_atfork_static): Remove.
3691 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3693         [BZ #19431]
3694         Run the malloc fork handler as late as possible to avoid deadlocks.
3695         * malloc/malloc-internal.h: New file.
3696         * malloc/malloc.c: Include it.
3697         * malloc/arena.c (ATFORK_MEM): Remove.
3698         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
3699         Update comment.
3700         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
3701         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
3702         Remove outdated comment.
3703         (ptmalloc_init): Do not call thread_atfork.  Remove
3704         thread_atfork_static.
3705         * malloc/tst-malloc-fork-deadlock.c: New file.
3706         * Makefile (tests): Add tst-malloc-fork-deadlock.
3707         (tst-malloc-fork-deadlock): Link against libpthread.
3708         * manual/memory.texi (Aligned Memory Blocks): Update safety
3709         annotation comments.
3710         * sysdeps/nptl/fork.c (__libc_fork): Call
3711         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3712         __malloc_fork_unlock_child.
3713         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3715 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3717         [BZ #19613]
3718         Remove union wait.
3719         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
3720         (w_stopsig, w_stopval): Remove.
3721         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
3722         stat_loc argument.
3723         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
3724         (__WAIT_STATUS_DEFN): Remove.
3725         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3726         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
3727         (wait, wait3, wait4): Use int * for the stat_loc argument.
3728         * posix/wait.c (__wait): Likewise.
3729         * posix/wait3.c (__wait3): Likewise.
3730         * posix/wait4.c (__wait4): Likewise.
3731         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
3732         (__WAIT_STATUS_DEFN): Remove.
3733         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3734         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
3735         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
3736         argument.
3737         * sysdeps/posix/wait.c (__libc_wait): Likewise.
3738         * sysdeps/posix/wait3.c (__wait3): Likewise.
3739         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
3740         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3741         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
3742         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
3743         stat_loc argument.
3744         * manual/process.texi (BSD Wait Functions): Remove union wait.
3746 2016-04-13  Andreas Schwab  <schwab@suse.de>
3748         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
3749         (test-extras): Add tst-tlsalign-vars.
3750         * math/Makefile: Wrap long lines.
3751         (libm-vec-test-wrappers): Define.
3752         (test-extras): Add $(libm-vec-test-wrappers).
3753         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
3754         * nss/Makefile (extra-test-objs): Add nss_test1.os.
3755         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
3756         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
3757         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
3758         (extra-test-objs): Add corresponding objects.
3760 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
3762         [BZ #19928]
3763         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
3764         New.
3765         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
3766         times of shared cache size.
3767         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
3768         (VMOVNT): New.
3769         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
3770         (VMOVNT): Likewise.
3771         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
3772         (VMOVNT): Likewise.
3773         (VMOVU): Changed to movups for smaller code sizes.
3774         (VMOVA): Changed to movaps for smaller code sizes.
3775         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
3776         comments.
3777         (PREFETCH): New.
3778         (PREFETCH_SIZE): Likewise.
3779         (PREFETCHED_LOAD_SIZE): Likewise.
3780         (PREFETCH_ONE_SET): Likewise.
3781         Rewrite to use forward and backward loops, which move 4 vector
3782         registers at a time, to support overlapping addresses and use
3783         non temporal store if size is above the threshold and there is
3784         no overlap between destination and source.
3786 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
3788         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
3789         Include dl-vdso.
3790         * sysdeps/unix/sysv/linux/mips/Versions: Add
3791         __vdso_clock_gettime.
3792         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
3793         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
3794         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
3795         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
3796         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
3797         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
3798         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3799         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3800         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3802 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3804         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
3805         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3806         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3807         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3808         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3809         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3812         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
3813         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
3814         syscalls generation.
3815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3816         [__NR_pwrite64] (__NR_write): Remove define.
3817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3818         [__NR_pwrite64] (__NR_write): Remove define.
3819         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
3820         Remove define.
3821         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
3822         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
3823         Remove define.
3824         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
3825         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
3826         Linux implementation as base.
3827         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3829         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
3830         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3831         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3832         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
3834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3835         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
3836         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
3837         syscall generation.
3838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3839         [__NR_pread64] (__NR_pread): Remove define.
3840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3841         [__NR_pread64] (__NR_pread): Likewise.
3842         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
3843         define.
3844         (__libc_pread): Use SYSCALL_LL macro on offset argument.
3845         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
3846         Remove define.
3847         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
3848         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
3849         Linux implementation as base.
3850         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3851         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3852         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3854         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
3855         definition.
3856         (__ALIGNMENT_COUNT): Likewise.
3857         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
3858         (__ALIGNMENT_COUNT): Likewise.
3859         (SYSCALL_LL): New define.
3860         (SYSCALL_LL64): Likewise.
3861         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
3862         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
3863         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
3864         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
3866         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3867         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
3868         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3869         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3870         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3871         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3873 2016-04-11  Florian Weimer  <fweimer@redhat.com>
3875         [BZ #19865]
3876         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
3877         original buffer before retry.
3879 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3881         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
3882         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
3883         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
3884         GLRO(dl_auxv) list.
3885         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
3886         including <ldsodefs.h>.
3887         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
3889 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
3891         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
3892         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
3893         $(CPPFLAGS).
3895 2016-04-09  Khem Raj  <raj.khem@gmail.com>
3897         [BZ #17950]
3898         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
3899         Add -mfpmath=387.
3901 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
3903         * sysdeps/i386/configure.ac: Change == to = when calling test.
3904         * sysdeps/x86_64/configure.ac: Likewise.
3905         * sysdeps/i386/configure: Regenerated.
3906         * sysdeps/x86_64/configure: Likewise.
3908 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
3910         [BZ #16137]
3911         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
3912         * benchtests/bench-strcoll.c (input_files): Likewise.
3913         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3914         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
3915         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
3917 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
3919         [BZ #19929]
3920         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
3921         [__USE_XOPEN2K8 && !__USE_GNU].
3922         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
3923         variable.
3925         [BZ #19925]
3926         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
3927         define if [!__USE_MISC && __USE_XOPEN2K].
3928         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
3929         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
3930         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
3931         Likewise.
3932         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
3933         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
3934         variable.
3935         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3937 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3939         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3940         (sysdep_routines): Add new strspn targets.
3941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3942         (__libc_ifunc_impl_list): Add strspn.
3943         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3944         New file.
3945         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
3946         Likewise.
3947         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
3948         Likewise.
3949         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3950         Likewise.
3952 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3954         * misc/hsearch_r.c: Include <limits.h>.
3956 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3958         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
3960 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3962         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3963         (MEMCPY_SYMBOL): New.
3964         (MEMPCPY_SYMBOL): Likewise.
3965         (MEMMOVE_CHK_SYMBOL): Likewise.
3966         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
3967         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
3968         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
3969         Provide alias for memcpy in libc.a and ld.so.
3971 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3973         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3974         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
3975         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
3976         Disabled fro now.
3977         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
3978         symbols.  Properly check USE_MULTIARCH on __memset symbols.
3980 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3982         * benchtests/Makefile (string-benchset): Add memcpy-large,
3983         memmove-large and memset-large.
3984         * benchtests/bench-memcpy-large.c: New file.
3985         * benchtests/bench-memmove-large.c: Likewise.
3986         * benchtests/bench-memmove-large.c: Likewise.
3987         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
3989 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3991         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
3992         32-bit displacement to avoid long nop between instructions.
3994 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3996         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
3997         a comment on VMOVU and VMOVA.
3999 2016-04-04  Florian Weimer  <fweimer@redhat.com>
4001         [BZ #19633]
4002         Use specified locale for number formatting in strfmon_l.
4003         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
4004         (__nl_lookup_word): New inline functions.
4005         * include/printf.h (__print_fp_l): Declare.
4006         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
4007         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
4008         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
4009         (___printf_fp): New function.
4010         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
4011         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
4012         * stdlib/tst-strfmon_l.c (do_test): New test.
4013         * stdlib/Makefile (tests): Add kt.
4014         (LOCALES): Build additional locales.
4015         (tst-strfmon_l.out): Require locales.
4017 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4019         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
4020         if not in libc.
4021         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4022         Likewise.
4023         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
4024         Likewise.
4025         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4026         Likewise.
4028 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4030         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4031         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
4032         with unaligned_erms.
4033         (__memmove_erms): Skip if source == destination.
4034         (__memmove_unaligned_erms): Don't check source == destination
4035         first.
4037 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4039         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
4040         bit_arch_Fast_Copy_Backward for Intel Core proessors.
4042 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4044         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
4045         * string/strspn.c (strspn): Likewise.
4047 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4049         * benchtests/bench-memset.c (do_test): Support 64-byte
4050         alignment.
4051         (test_main): Test 64-byte alignment.
4053 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4055         * benchtests/bench-memmove.c (test_main): Test 64-byte
4056         alignment.
4058 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4060         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
4062 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4064         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
4065         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
4066         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
4068         * string/strpbrk.c (strpbrk): Rewrite function.
4069         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
4070         (__strpbrk_c2): Likewise.
4071         (__strpbrk_c3): Likewise.
4072         * string/string-inlines.c
4073         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
4074         Likewise.
4075         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
4076         Likewise.
4078         * string/strspn.c (strcspn): Rewrite function.
4079         * string/bits/string2.h (strspn): Use __builtin_strcspn.
4080         (__strspn_c1): Remove inline function.
4081         (__strspn_c2): Likewise.
4082         (__strspn_c3): Likewise.
4083         * string/string-inlines.c
4084         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
4085         compatibility symbol.
4086         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
4087         Likewise.
4088         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
4089         Likewise.
4090         * string/string-inlines.c: Include generic version.
4092 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
4093             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4095         * string/Version (libc): Add GLIBC_2.24.
4096         * string/strcspn.c (strcspn): Rewrite function.
4097         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
4098         (__strcspn_c1): Remove inline function.
4099         (__strcspn_c2): Likewise.
4100         (__strcspn_c3): Likewise.
4101         * string/string-inline.c
4102         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
4103         compatibility symbol.
4104         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
4105         Likewise.
4106         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
4107         Likewise.
4108         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
4110 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4112         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4113         Use ahi instead of aghi to adjust stack pointer.
4115 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4117         [BZ #19853]
4118         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
4119         TEST to take significant digits as second parameter.
4120         [TEST]: Redefine in terms of TEST_N taking 30
4121         significant digits.
4122         (do_test): Add test case to demonstrate precision
4123         failure in the ldbl-128ibm printf.
4124         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
4125         (__mpn_extract_long_double): Carry 7 extra intermediate
4126         bits of precision to aide computing difference when
4127         signs differ.
4129 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4131         [BZ #19881]
4132         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4133         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
4134         memset-avx512-unaligned-erms.
4135         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4136         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
4137         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
4138         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
4139         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
4140         __memset_sse2_unaligned_erms, __memset_erms,
4141         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
4142         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4143         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
4144         file.
4145         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4146         Likewise.
4147         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
4148         Likewise.
4149         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
4150         Likewise.
4152 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4154         [BZ #19776]
4155         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4156         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
4157         memmove-avx512-unaligned-erms.
4158         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4159         (__libc_ifunc_impl_list): Test
4160         __memmove_chk_avx512_unaligned_2,
4161         __memmove_chk_avx512_unaligned_erms,
4162         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
4163         __memmove_chk_sse2_unaligned_2,
4164         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
4165         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
4166         __memmove_avx512_unaligned_erms, __memmove_erms,
4167         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
4168         __memcpy_chk_avx512_unaligned_2,
4169         __memcpy_chk_avx512_unaligned_erms,
4170         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
4171         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
4172         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
4173         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
4174         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
4175         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
4176         __mempcpy_chk_avx512_unaligned_erms,
4177         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4178         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4179         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4180         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4181         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4182         __mempcpy_erms.
4183         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4184         file.
4185         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4186         Likwise.
4187         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4188         Likwise.
4189         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4190         Likwise.
4192 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4194         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4195         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4196         (La_s390_64_regs): Likewise.
4197         (La_s390_32_retval): Append vector register lrv_v24.
4198         (La_s390_64_retval): Likeweise.
4199         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4200         Handle extended structs La_s390_32_regs and La_s390_32_retval.
4201         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4202         Handle extended structs La_s390_64_regs and La_s390_64_retval.
4204 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4206         [BZ #19916]
4207         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4208         to create a non-vector/vector version for _dl_runtime_resolve and
4209         _dl_runtime_profile. Move implementation to ...
4210         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4211         (_dl_runtime_resolve) Save and restore fpr/vrs.
4212         (_dl_runtime_profile) Save and restore vrs and fix some issues
4213         if _dl_call_pltexit is called.
4214         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
4215         Choose the correct resolver function if running on a machine with vx.
4216         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
4217         to create a non-vector/vector version for _dl_runtime_resolve and
4218         _dl_runtime_profile. Move implementation to ...
4219         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
4220         (_dl_runtime_resolve) Save and restore fpr/vrs.
4221         (_dl_runtime_profile) Save and restore vrs and fix some issues
4222         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
4223         Choose the correct resolver function if running on a machine with vx.
4225 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4227         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
4229 2016-03-31  Florian Weimer  <fweimer@redhat.com>
4231         [BZ #19509]
4232         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
4233         skip_map != NULL.
4234         * elf/tst-dlsym-error.c: New file.
4235         * elf/Makefile (tests): Add tst-dlsym-error.
4236         (tst-dlsym-error): Link against libdl.
4238 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
4240         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4241         (__ASSUME_FUTIMESAT): Remove macro.
4242         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
4244 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4246         [BZ #19879]
4247         CVE-2016-3075
4248         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
4249         copy name.
4251 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4253         [BZ #19837]
4254         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
4255         error if parse_line fails.
4257 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4259         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
4260         (index_cpu_ERMS): Likewise.
4261         (reg_ERMS): Likewise.
4263 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
4265         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
4266         PER_LINUX_FDPIC): Add.
4268 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4270         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4271         memcpy-avx512-no-vzeroupper.
4272         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
4273         to ...
4274         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
4275         (MEMCPY): Don't define.
4276         (MEMCPY_CHK): Likewise.
4277         (MEMPCPY): Likewise.
4278         (MEMPCPY_CHK): Likewise.
4279         (MEMPCPY_CHK): Renamed to ...
4280         (__mempcpy_chk_avx512_no_vzeroupper): This.
4281         (MEMPCPY_CHK): Renamed to ...
4282         (__mempcpy_chk_avx512_no_vzeroupper): This.
4283         (MEMCPY_CHK): Renamed to ...
4284         (__memmove_chk_avx512_no_vzeroupper): This.
4285         (MEMCPY): Renamed to ...
4286         (__memmove_avx512_no_vzeroupper): This.
4287         (__memcpy_avx512_no_vzeroupper): New alias.
4288         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
4290 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4292         [BZ #18858]
4293         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4294         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4295         and mempcpy-avx512-no-vzeroupper.
4296         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4297         New.
4298         (MEMPCPY): Likewise.
4299         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4300         (MEMPCPY_CHK): New.
4301         (MEMPCPY): Likewise.
4302         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4303         (MEMPCPY): Likewise.
4304         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4305         (MEMPCPY): Likewise.
4306         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4307         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4308         Likewise.
4309         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4310         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4312 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4313              Amit Pawar  <Amit.Pawar@amd.com>
4315         [BZ #19583]
4316         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4317         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4318         processors.  Set Fast_Copy_Backward for AMD Excavator
4319         processors.
4320         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4321         New.
4322         (index_arch_Fast_Unaligned_Copy): Likewise.
4323         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4324         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4326 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4328         [BZ #19791]
4329         * resolv/res_send.c (close_and_return_error): New function.
4330         (send_dg): Initialize *resplen2 after reopen failure.  Call
4331         close_and_return_error for error returns.  On error paths without
4332         __res_iclose, initialze *resplen2 explicitly.  Update comment for
4333         successful return.
4335 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4337         [BZ# 19860]
4338         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4339         zero if the compiler does not provide the AVX512F bit.
4341 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
4343         [BZ #19848]
4344         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4345         from 8 to 4.
4346         (__ieee754_powl): Compare integer exponent against 4 not 8.
4347         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4348         from 8 to 4.
4349         (__ieee754_powl): Compare integer exponent against 4 not 8.
4350         * math/auto-libm-test-in: Add more tests of pow.
4351         * math/auto-libm-test-out: Regenerated.
4352         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4355 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4357         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4358         Make code unconditional.
4359         [!__NR_utimensat]: Remove conditional code.
4360         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4361         Make code unconditional.
4362         [!__NR_utimensat]: Remove conditional code.
4363         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4364         Make code unconditional.
4365         [!__NR_utimensat]: Remove conditional code.
4367 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4369         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
4370         Make code unconditional.
4372 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
4374         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
4375         call-clobbered %eax on retry path.
4376         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4378 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4380         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
4381         Don't set %rcx twice before "rep movsb".
4383 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4385         [BZ #19583]
4386         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
4387         inline.  Check family before setting family, model and
4388         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
4389         bits here.
4390         (init_cpu_features): Replace HAS_CPU_FEATURE and
4391         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
4392         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
4393         for Intel processors with usable AVX2.  Call get_common_indeces
4394         for other processors with family == NULL.
4395         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
4396         (CPU_FEATURES_ARCH_P): Likewise.
4397         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
4398         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
4400 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4402         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4403         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
4404         $(shared-thread-library) instead of hardcoding the path to libpthread.
4406 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
4408         * sysdeps/unix/sysv/linux/kernel-features.h
4409         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
4410         * sysdeps/unix/sysv/linux/getdents.c
4411         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
4412         [!have_no_getdents64_defined]: Likewise.
4413         (__GETDENTS): Remove __have_no_getdents64 conditional.
4415 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
4417         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
4418         Remove macro.
4419         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
4420         <kernel-features.h>.
4421         (signalfd) [__NR_signalfd4]: Make code unconditional.
4422         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
4424 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4426         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
4427         style.
4429 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4431         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
4432         (__pthread_enable_asynccancel): Use JUMPTARGET to call
4433         __pthread_unwind.
4434         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4435         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
4436         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4437         (__condvar_cleanup1): Likewise.
4439 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
4441         [BZ #19822]
4442         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
4443         move it to the final $@ location.
4445 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4447         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
4448         access where posix_spawn success and pid argument is null.
4449         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
4450         success case.
4452 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
4454         * sysdeps/mach/hurd/i386/c++-types.data: New file.
4456         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
4458         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
4459         and __fcntl.
4460         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
4461         __fcntl only.
4462         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
4463         adding attribute_hidden to __open and __fcntl.
4465         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
4466         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
4467         depend on libc-modules.h,
4468         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
4470 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
4472         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
4473         Remove macro.
4474         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
4475         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
4476         entry.
4478         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
4479         Remove macro.
4480         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
4481         include <kernel-features.h>.
4482         [!__ASSUME_FALLOCATE]: Remove conditional code.
4483         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
4485 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4487         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
4488         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
4489         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
4490         (_ZGVdN4v_cos_avx2): Likewise.
4491         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
4492         (_ZGVdN4v_cos): Likewise.
4493         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
4494         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
4495         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
4496         (_ZGVdN4v_exp_avx2): Likewise.
4497         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
4498         (_ZGVdN4v_exp): Likewise.
4499         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
4500         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
4501         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
4502         (_ZGVdN4v_log_avx2): Likewise.
4503         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
4504         (_ZGVdN4v_log): Likewise.
4505         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
4506         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
4507         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
4508         (_ZGVdN4vv_pow_avx2): Likewise.
4509         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
4510         (_ZGVdN4vv_pow): Likewise.
4511         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
4512         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
4513         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
4514         (_ZGVdN4v_sin_avx2): Likewise.
4515         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
4516         (_ZGVdN4v_sin): Likewise.
4517         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
4518         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
4519         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
4520         (_ZGVdN4vvv_sincos_avx2): Likewise.
4521         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
4522         (_ZGVdN4vvv_sincos): Likewise.
4523         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
4524         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
4525         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
4526         (_ZGVbN4v_cosf_sse4): Likewise.
4527         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
4528         (_ZGVdN8v_cosf_avx2): Likewise.
4529         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
4530         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
4531         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
4532         (_ZGVbN4v_expf_sse4): Likewise.
4533         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
4534         (_ZGVdN8v_expf_avx2): Likewise.
4535         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
4536         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
4537         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
4538         (_ZGVbN4v_logf_sse4): Likewise.
4539         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
4540         (_ZGVdN8v_logf_avx2): Likewise.
4541         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
4542         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
4543         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
4544         (_ZGVbN4vv_powf_sse4): Likewise.
4545         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
4546         (_ZGVdN8vv_powf_avx2): Likewise.
4547         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4548         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
4549         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4550         (_ZGVbN4vvv_sincosf_sse4): Likewise.
4551         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4552         (_ZGVdN8vvv_sincosf_avx2): Likewise.
4553         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
4554         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
4555         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
4556         (_ZGVbN4v_sinf_sse4): Likewise.
4557         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
4558         (_ZGVdN8v_sinf_avx2): Likewise.
4559         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4560         Use JUMPTARGET to call callee.
4561         (WRAPPER_IMPL_SSE2_ff): Likewise.
4562         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4563         (WRAPPER_IMPL_AVX): Likewise.
4564         (WRAPPER_IMPL_AVX_ff): Likewise.
4565         (WRAPPER_IMPL_AVX_fFF): Likewise.
4566         (WRAPPER_IMPL_AVX512): Likewise.
4567         (WRAPPER_IMPL_AVX512_ff): Likewise.
4568         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4569         Likewise.
4570         (WRAPPER_IMPL_SSE2_ff): Likewise.
4571         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4572         (WRAPPER_IMPL_AVX): Likewise.
4573         (WRAPPER_IMPL_AVX_ff): Likewise.
4574         (WRAPPER_IMPL_AVX_fFF): Likewise.
4575         (WRAPPER_IMPL_AVX512): Likewise.
4576         (WRAPPER_IMPL_AVX512_ff): Likewise.
4577         (WRAPPER_IMPL_AVX512_fFF): Likewise.
4579 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4581         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
4582         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
4583         qualifier.
4584         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
4585         internal_function qualifiers.
4587 2016-03-15  Carlos O'Donell <carlos@redhat.com>
4589         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
4590         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
4591         * math/atest-exp.c (exp_mpn): Mark chk unused.
4592         * math/atest-exp2.c (exp_mpn): Likwise.
4593         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
4594         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
4596 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
4598         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
4599         Remove macro.
4600         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
4601         <kernel-features.h>.
4602         [__NR_ppoll]: Make code unconditional.
4603         [!__ASSUME_PPOLL]: Remove conditional code.
4605         * sysdeps/unix/sysv/linux/kernel-features.h
4606         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
4607         (__ASSUME_ACCEPT4): Likewise.
4608         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4609         Define.
4610         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
4611         Likewise.
4612         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4613         Likewise.
4614         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
4615         Likewise.
4616         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
4617         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
4618         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4619         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4620         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4621         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4622         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4623         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4624         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4625         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4626         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4627         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4628         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4629         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4630         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4631         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4632         Likewise.
4633         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4634         Likewise.
4635         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4636         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4637         0x040300].
4638         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4639         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4640         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4641         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4642         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4643         0x030300].
4644         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
4645         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4646         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4647         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4648         0x040300].
4649         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4650         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4651         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4652         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4653         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4654         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4655         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4656         0x030300].
4657         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4658         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4659         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4660         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4661         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4662         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4663         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4664         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4665         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4666         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4667         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4668         0x040300].
4669         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4670         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4671         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4672         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4673         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4674         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4675         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4676         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4677         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4678         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4679         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4680         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4681         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4682         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4683         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4684         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4685         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4686         Likewise.
4687         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4688         Likewise.
4690 2016-03-15  Andreas Schwab  <schwab@suse.de>
4692         [BZ #19257]
4693         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
4694         statp->_u._ext.nscount as loop count.
4696 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4698         * math/test-signgam-finite-c99.c: Also #undef
4699         __LIBC_INTERNAL_MATH_INLINES.
4700         * math/test-signgam-main.c: Likewise.
4702 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
4704         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
4705         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
4706         (MADV_FREE): Likewise.
4707         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
4708         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
4709         EPOLLEXCLUSIVE.
4711 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
4713         * timezone/README: Remove mention of checktab.awk. Mention wiki
4714         SharedSourceFiles.
4716 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
4718         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
4719         WUNTRACED.
4721 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4723         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
4724         order to match the type of p when calling atomic_exchange_acq().
4726 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4728         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
4729         cfi_offset calls.
4730         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4731         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
4732         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
4733         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
4734         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
4736 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
4738         * timezone/checktab.awk: Removed.
4740 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
4742         * manual/math.texi (Errors in Math Functions): Document relaxed
4743         accuracy goals for IBM long double.
4744         * math/libm-test.inc (test_exceptions): Always allow spurious
4745         "underflow" and "inexact" exceptions for IBM long double.
4747 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
4749         [BZ #19762]
4750         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4751         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
4752         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4753         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
4754         (bit_arch_*): This for feature array.
4755         (bit_*): Renamed to ...
4756         (bit_cpu_*): This for cpu array.
4757         (index_*): Renamed to ...
4758         (index_arch_*): This for feature array.
4759         (index_*): Renamed to ...
4760         (index_cpu_*): This for cpu array.
4761         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
4762         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
4763         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
4764         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
4765         bit_##name with index_cpu_##name and bit_cpu_##name.
4766         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
4767         bit_##name with index_arch_##name and bit_arch_##name.
4769 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
4771         [BZ #19792]
4772         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4773         Terminate FDE before return label.
4775 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
4777         [BZ #19790]
4778         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
4779         (rintl): Define as macro.
4780         [USE_AS_NEARBYINTL] (__rintl): Likewise.
4781         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
4782         of fesetround.  Ensure results are evaluated before end of scope.
4783         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
4784         USE_AS_NEARBYINTL and include s_rintl.c.
4785         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
4786         Disable exception traps in new environment.
4787         (libc_feholdsetround_ppc_ctx): Likewise.
4789 2016-03-08  Roland McGrath  <roland@hack.frob.com>
4791         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
4792         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
4793         (tst_audit10_aux) [__AVX512F__]: ... here.
4795 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
4797         * include/sys/auxv.h: New file.
4799 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4801         [BZ #19759]
4802         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
4804 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4806         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
4807         operand modifier.
4808         (feclearexcept): Likewise.
4810 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4812         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
4813         to reflect the entire 32-bit HWCAP.
4814         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
4815         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
4817 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4819         [BZ #19783]
4820         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
4821         $(test-via-rtld-prefix).
4822         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
4824 2016-03-08  Florian Weimer  <fweimer@redhat.com>
4826         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
4827         union wait.  Report any non-zero exit status as error.
4829 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4831         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
4832         configured with --enable-hardcoded-path-in-tests.
4834 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
4836         [BZ #19677]
4837         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4838         (__ieee754_remainderl): Put zero low parts in canonical form.
4839         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
4840         file.  Based on
4841         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
4842         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
4843         with wrapper round test-fmodrem-ldbl-128ibm.c.
4844         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
4845         file.
4846         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
4847         Likewise.
4848         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
4849         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
4851 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4853         [BZ #19610]
4854         * elf/ldconfig.c (opt_link): Update comment.
4855         (options): Update help string for option -X.
4856         (search_dir): Unlink stale symbolic link only if updating symbolic
4857         links.
4858         * elf/tst-ldconfig-X.sh: New file.
4859         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
4860         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
4862 2016-03-07  Andreas Schwab  <schwab@suse.de>
4864         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
4865         needed arguments.
4867 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
4869         [BZ #15333]
4870         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
4871         to lstat64.
4873 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4875         * libio/filedoalloc.c (isatty): Remove.
4876         (local_isatty): Add comment.  Call __isatty directly.
4877         (_IO_file_doallocate): Update comment.  Assume _LIBC.
4878         * libio/wfiledoalloc.c (isatty): Remove.
4879         (_IO_wfile_doallocate): Update comment.
4881 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4883         [BZ #19269]
4884         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
4885         tst-audit4-aux.o.
4886         (tst-audit10): Depend on tst-audit10-aux.o.
4887         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
4888         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
4889         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
4890         instead of inline AVX code.
4891         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
4892         instead of inline AVX512 code.
4893         * sysdeps/x86_64/tst-audit4-aux.c: New file
4894         * sysdeps/x86_64/tst-audit10-aux.c: New file
4896         [BZ #19648]
4897         * test-skeleton.c (main): Do not set RLIMIT_DATA.
4899 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4901         [BZ #14750]
4902         [BZ #10354]
4903         [BZ #18433]
4904         * include/sched.h (__clone): Add hidden prototype.
4905         (__clone2): Likewise.
4906         * include/unistd.h (__dup): Likewise.
4907         * posix/Makefile (tests): Add tst-spawn2.
4908         * posix/tst-spawn2.c: New file.
4909         * sysdeps/posix/dup.c (__dup): Add hidden definition.
4910         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
4911         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4912         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4913         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4914         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4915         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
4916         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4917         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
4918         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4919         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4921         Likewise.
4922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4923         Likewise.
4924         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4925         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4926         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4927         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4928         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4929         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4930         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4931         * sysdeps/unix/sysv/linux/nptl-signals.h
4932         (____nptl_is_internal_signal): New function.
4933         * sysdeps/unix/sysv/linux/spawni.c: New file.
4935         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
4936         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
4937         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
4938         * posix/tst-execvp2.c (do_test): Likewise.
4939         * posix/tst-execvp3.c (do_test): Likewise.
4940         * posix/tst-execvp4.c (do_test): Likewise.
4941         * posix/tst-execvpe1.c: New file.
4942         * posix/tst-execvpe2.c: Likewise.
4943         * posix/tst-execvpe3.c: Likewise.
4944         * posix/tst-execvpe4.c: Likewise.
4945         * posix/tst-execvpe5.c: Likewise.
4946         * posix/tst-execvpe6.c: Likewise.
4948         [BZ #19534]
4949         * posix/execl.c (execl): Remove dynamic memory allocation.
4950         * posix/execle.c (execle): Likewise.
4951         * posix/execlp.c (execlp): Likewise.
4953 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4955         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
4956         Replace .text with .text.avx512.
4957         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4958         Likewise.
4960 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
4962         * sysdeps/generic/libnsl.abilist: New file.
4963         * sysdeps/generic/libutil.abilist: New file.
4965 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4967         [BZ #19762]
4968         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
4969         HAS_ARCH_FEATURE with Fast_Rep_String.
4970         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
4971         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
4972         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
4973         Likewise.
4974         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
4975         Likewise.
4976         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
4977         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
4978         Likewise.
4979         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
4980         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
4981         Likewise.
4983 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4985         [BZ #19745]
4986         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
4987         with *%rax in call.
4989 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4991         [BZ #19745]
4992         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
4993         with *__libc_start_main@GOTPCREL(%rip) in call.
4995 2016-03-04  Roland McGrath  <roland@hack.frob.com>
4997         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
4998         inside conditional for nonempty $(CXX).
5000         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
5001         nonempty.
5003         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
5004         to test for empty $(CXX) rather than $(CXX) of "no".
5006 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5008         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
5010 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
5011             H.J. Lu  <hongjiu.lu@intel.com>
5013         [BZ #18880]
5014         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
5015         instead of Slow_BSF, and also check for Fast_Copy_Backward to
5016         enable __memcpy_ssse3_back.
5018 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5020         [BZ #19758]
5021         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5022         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
5024 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5026         [BZ #19490]
5027         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
5028         (__fentry__): Likewise.
5030 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5032         * gmon/Makefile (noprof): Add $(sysdep_noprof).
5033         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
5035 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5037         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
5038         __mcount_internal directly.
5039         (C_LABEL(__fentry__)): Likewise.
5040         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
5041         directly.
5043 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5045         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5046         (__start_context): Call __setcontext directly.
5048 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
5050         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5051         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5052         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
5053         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5054         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5055         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5056         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
5057         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5058         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5059         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
5060         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5061         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5062         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5063         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5064         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5065         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5066         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
5067         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5068         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5069         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5070         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
5071         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5072         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5073         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5074         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
5075         Remove conditional code.
5076         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5077         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
5078         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5079         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5080         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
5081         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5082         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5083         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5084         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5085         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5086         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5087         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5089 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
5091         * NEWS (2.23): Fix typo in bug 19048 text.
5093 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
5095         [BZ #14259]
5096         * Makeconfig: Rename msgcatdir to localedir.
5097         Rename inst_msgcatdir to inst_localedir.
5098         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
5099         * config.make.in: Add localedir.
5100         * elf/Makefile ($(objpfx)sotruss): Use localedir.
5101         (ldd-rewrite): Likewise.
5102         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
5103         (install-others): Use inst_localedir.
5104         (CPPFLAGS): Use localedir.
5105         * locale/Makefile (locale-CPPFLAGS): Likewise.
5106         * po/Makefile (mo-installed): Use inst_localedir.
5108         [BZ #19575]
5109         * localedata/charmaps/GB18030: Update comments regarding PAU to
5110         non-PUA mappings.
5112 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
5114         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
5115         test for header.
5116         * sysdeps/unix/sysv/linux/configure: Regenerated.
5117         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
5118         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
5119         Remove conditional code.
5120         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
5122         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5123         Define to 3.2.0.
5124         (arch_minimum_kernel): Likewise.
5125         * sysdeps/unix/sysv/linux/configure: Regenerated.
5126         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5127         Define to 2.6.32.
5128         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5129         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5130         (arch_minimum_kernel): Define to 2.6.32.
5131         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5132         * README: Document Linux 3.2 requirement.
5133         * manual/install.texi (Linux): Document Linux 3.2 headers
5134         requirement.
5135         * INSTALL: Regenerated.
5137 2016-02-24  Andreas Schwab  <schwab@suse.de>
5139         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
5140         if !NO_LONG_DOUBLE.
5142 2016-02-22  Roland McGrath  <roland@hack.frob.com>
5144         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
5145         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
5147 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
5149         [BZ #19512]
5150         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
5152 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5154         * posix/tst-dir.c: Include libc-internal.h.
5156 2016-02-20  Florian Weimer  <fweimer@redhat.com>
5158         [BZ #19056]
5159         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
5160         * manual/filesys.texi (Reading/Closing Directory): Mention
5161         deprecaion.
5162         * posix/tst-dir.c (main): Disable deprecation warning in test.
5164 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
5166         [BZ #19679]
5167         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
5168         Renamed to ...
5169         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
5170         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5171         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
5172         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5173         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5174         * sysdeps/x86_64/dl-trampoline.h
5175         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5176         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5178 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5180         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5182 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5184         * elf/elf.h (R_386_GOT32X): New.
5185         (R_386_NUM): Update.
5186         (R_X86_64_GOTPCRELX: New.
5187         (R_X86_64_REX_GOTPCRELX): New.
5188         (R_X86_64_NUM): Update.
5190 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
5192         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5194 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
5196         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5197         assign attr->stackaddr to it, and adjust it down when
5198         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
5199         [_STACK_GROWS_UP]: Delete assert.
5200         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5201         Implement stack grows up logic.
5202         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5203         stack grows up logic.
5205 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5207         * NEWS: Update with 2.24 template.
5209 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5211         [BZ #19678]
5212         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5213         Ensure +0.0 is returned when taking the next value below the least
5214         positive value.
5216 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5218         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
5219         available.  Do not define NO_THREADS.
5220         * malloc/malloc.c: Do not check NO_THREADS.
5221         * malloc/arena.c: Likewise.
5223 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5225         * malloc/malloc.c (__libc_mallinfo): Update comment.
5226         (struct malloc_par): Remove max_total_mem member, it was always 0.
5227         (int_mallinfo): Store 0 into usmblks (no functional change).
5228         * malloc/hooks.c (struct malloc_state): Document that
5229         max_total_mem is always 0.
5230         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
5231         always 0.
5232         * manual/memory.texi (Statistics of Malloc): Likewise.
5234 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5236         * malloc/malloc.c (sysmalloc): Do not update arena_max.
5237         * malloc/arena.c (arena_max): Remove.
5238         (heap_trim, _int_new_arena): Do not update arena_max.
5240 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5242         * resolv/res_init.c (res_ninit): Update comment.
5244 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5246         [BZ #19505]
5247         * posix/spawn_int.h: Add headers and include guard.
5248         (__spawn_valid_fd): New function.
5249         * posix/spawn_faction_addopen.c
5250         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
5251         * posix/spawn_faction_addclose.c
5252         (posix_spawn_file_actions_addclose): Likewise.
5253         * posix/spawn_faction_adddup2.c
5254         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
5255         second file descriptor.
5256         * posix/spawn_valid_fd.c: New file.
5257         * posix/tst-posix_spawn-fd.c: New file.
5258         * posix/Makefile (routines): Add spawn_valid_fd.
5259         (tests): Add tst-posix_spawn-fd.
5261 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5263         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
5264         (do_test): Limit the number of arenas, so that we can use fewer
5265         outer threads.  Limit timeout to 3 seconds, in preparation for a
5266         larger TIMEOUT value.
5268 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5270         [BZ #19674]
5271         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
5272         sign in overflowing and underflowing results when overflow or
5273         underflow is detected early.  Include sign in result before rather
5274         than after scaling.
5276         [BZ #19603]
5277         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5278         (__ieee754_remainderl): Adjust sign of integer version of low part
5279         when taking absolute value of high part.
5280         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5281         * math/libm-test.inc (remainder_test_data): Add another test.
5282         (remquo_test_data): Likewise.
5284 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
5286         [BZ #19602]
5287         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5288         equal high parts and both low parts zero specially.
5289         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
5290         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5291         Add test-fmodl-ldbl-128ibm.
5293         [BZ #19595]
5294         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5295         common logic for all cases of shifting subnormal results.  Do not
5296         insert sign bit in shifted mantissa.  Always pass -1023 as biased
5297         exponent to ldbl_insert_mantissa in subnormal case.
5299         [BZ #19594]
5300         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5301         on high and low parts then adjust result and use
5302         ldbl_canonicalize_int if needed.
5304         [BZ #19593]
5305         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5306         on high part and __floor or __ceil on low part then use
5307         ldbl_canonicalize_int if needed.
5309         [BZ #19592]
5310         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5311         high and low parts then use ldbl_canonicalize_int if needed.
5313         [BZ #17899]
5314         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5315         New function.
5316         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5317         on high and low parts then use ldbl_canonicalize_int if needed.
5319 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5321         * configure: Regenerated.
5323         * po/libc.pot: Regenerated.
5325         * po/be.po: Updated translation.
5326         * po/bg.po: Likewise.
5327         * po/ca.po: Likewise.
5328         * po/cs.po: Likewise.
5329         * po/da.po: Likewise.
5330         * po/el.po: Likewise.
5331         * po/eo.po: Likewise.
5332         * po/es.po: Likewise.
5333         * po/fi.po: Likewise.
5334         * po/fr.po: Likewise.
5335         * po/gl.po: Likewise.
5336         * po/hr.po: Likewise.
5337         * po/hu.po: Likewise.
5338         * po/ia.po: Likewise.
5339         * po/id.po: Likewise.
5340         * po/it.po: Likewise.
5341         * po/ja.po: Likewise.
5342         * po/lt.po: Likewise.
5343         * po/nb.po: Likewise.
5344         * po/nl.po: Likewise.
5345         * po/pt_BR.po: Likewise.
5346         * po/rw.po: Likewise.
5347         * po/sk.po: Likewise.
5348         * po/sl.po: Likewise.
5349         * po/sv.po: Likewise.
5350         * po/tr.po: Likewise.
5351         * po/zh_CN.po: Likewise.
5352         * po/zh_TW.po: Likewise.
5354         * version.h (RELEAES): Set to "development".
5355         (VERSION): Set to 2.23.90.
5357         * version.h (RELEASE): Set to "stable".
5358         (VERSION): Set to 2.23.
5359         * include/feature.h (__GLIBC_MINOR__): Set to 23.
5361         * NEWS: Updated fixed bugs.
5363 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
5364             Wilco Dijkstra  <wdijkstr@arm.com>
5366         [BZ #19462]
5367         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5368         (_STRING_INLINE_unaligned): This.
5369         * include/string.h: Include <string_private.h>.
5370         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
5371         _STRING_INLINE_unaligned.
5372         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
5373         (_STRING_INLINE_unaligned): New.
5374         * sysdeps/aarch64/string_private.h: New file.
5375         * sysdeps/generic/string_private.h: Likewise.
5376         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
5377         * sysdeps/s390/string_private.h: Likewise.
5378         * sysdeps/x86/string_private.h: Likewise.
5379         * sysdeps/m68k/m680x0/m68020/bits/string.h
5380         (_STRING_ARCH_unaligned): Renamed to ...
5381         (_STRING_INLINE_unaligned): This.
5382         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
5383         to ...
5384         (_STRING_INLINE_unaligned): This.
5385         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
5386         to ...
5387         (_STRING_INLINE_unaligned): This.
5388         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
5389         to ...
5390         (_STRING_INLINE_unaligned): This.
5392 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
5393             H.J. Lu  <hongjiu.lu@intel.com>
5395         [BZ #19590]
5396         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
5397         relocation.
5399 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
5401         [BZ #18665]
5402         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
5403         *herrno_p.
5404         (gaih_getanswer): Document functional behviour. Return tryagain
5405         if any result is tryagain.
5406         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
5407         when freed.
5408         * resolv/res_send.c: Add copyright text.
5409         (__libc_res_nsend): Document that MAXPACKET is expected.
5410         (send_vc): Document. Remove buffer reuse.
5411         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
5412         size of the buffer. Add Dprint for truncated UDP buffer.
5414 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
5416         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
5417         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
5418         * INSTALL: Regenerate.
5420 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
5421             Jonathan Wakely  <jwakely@redhat.com>
5422             Carlos O'Donell  <carlos@redhat.com>
5424         [BZ 19439]
5425         * math/Makefile (tests): Add test-math-isinff.
5426         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
5427         * math/bits/mathcalls.h [__USE_MISC]: Use
5428         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
5429         functions not in C++11 and which don't conflict e.g. isinff,
5430         isinfl etc.
5431         * math/test-math-isinff.cc: New file.
5433 2016-02-12  Florian Weimer  <fweimer@redhat.com>
5435         * misc/bug18240.c (do_test): Set RLIMIT_AS.
5437 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5439         [BZ #19529]
5440         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
5442 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5444         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5446 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
5448         [BZ #19550]
5449         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
5450         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
5451         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
5452         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
5453         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
5454         New syscall entry.
5455         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
5456         New syscall entry.
5457         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
5458         syscall entry.
5460 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
5462         [BZ #18240]
5463         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
5464         unsigned int wraparound.
5466 2016-01-27  Florian Weimer  <fweimer@redhat.com>
5468         [BZ #18240]
5469         * misc/bug18240.c: New test.
5470         * misc/Makefile (tests): Add it.
5472 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
5473             Joseph Myers  <joseph@codesourcery.com>
5475         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
5476         load in branch delay slot when less than a word of input left.
5478 2016-01-27  Andreas Schwab  <schwab@suse.de>
5480         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
5481         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
5482         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
5483         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
5485 2016-01-26  David S. Miller  <davem@davemloft.net>
5487         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
5489 2016-01-25  David S. Miller  <davem@davemloft.net>
5491         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
5492         __sqrtl_finite.
5493         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
5494         instead using versioned_symbol.
5495         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
5496         of entries.
5498         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
5499         __sqrtl_finite to GLIBC_2.23
5501 2016-01-25  Ricchard Henderson  <rth@redhat.com>
5503         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5505 2016-01-25  Andreas Schwab  <schwab@suse.de>
5507         [BZ #17514]
5508         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
5509         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
5510         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
5511         * nptl/tst-mutex-errorcheck.c: New file.
5513 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5515         [BZ #18560]
5516         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
5517         (IPCOP_semop): Likewise.
5518         (IPCOP_semget): Likewise.
5519         (IPCOP_semctl): Likewise.
5520         (IPCOP_msgsnd): Likewise.
5521         (IPCOP_msgrcv): Likewise.
5522         (IPCOP_msgget): Likewise.
5523         (IPCOP_msgctl): Likewise.
5524         (IPCOP_shmat): Likewise.
5525         (IPCOP_shmdt): Likewise.
5526         (IPCOP_shmget): Likewise.
5527         (IPCOP_shmctl): Likewise.
5529 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5531         * string/tst-endian.c: Include <libc-internal.h>.
5532         (do_test): Ignore tautological-compare warnings around
5533         "htobeXX (beXXtoh (i)) != i" and
5534         "htoleXX (leXXtoh (i)) != i" if-statements.
5536 2016-01-24  David S. Miller  <davem@davemloft.net>
5538         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
5539         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
5540         alias.
5541         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5542         __sqrtl_finite.
5544         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5546 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
5548         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
5549         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
5550         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5552 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5554         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
5555         (thread_func): Use new function to simplify barrier check.
5556         (do_test): Use new function to simplify checking barrier exit
5557         code, and actually join the child thread.
5559 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5561         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
5562         semicolon.
5563         (__libc_tend): Likewise.
5564         (__libc_tabort): Likewise.
5566 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
5568         * sysdeps/nios2/libm-test-ulps: Update.
5569         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
5570         (__gtsf2): Likewise.
5571         (__unorddf2): Likewise.
5572         (__unordsf2): Likewise.
5573         (__ledf2): Likewise.
5575 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
5577         * nis/nis_table.c (__follow_path): Disable diagnostic for
5578         uninitialized variable that is a false positive for gcc 4.7.
5579         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
5581 2016-01-20  Roland McGrath  <roland@hack.frob.com>
5583         * sysdeps/nacl/lowlevellock-futex.h
5584         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
5585         Always evaluate PRIVATE argument.
5587 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
5589         [BZ #19490]
5590         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
5591         (pthread_cond_broadcast): Use ENTRY/END
5592         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
5593         (pthread_cond_signal): Likewise.
5594         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
5595         Likewise.
5596         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
5597         Likewise.
5598         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
5599         Likewise.
5601 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
5603         * sysdeps/ieee754/dbl-64/s_finite.c
5604         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
5605         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
5606         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
5607         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
5608         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
5610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5611         (__gtsf2): Add as optional for libc.so.
5612         (__unordsf2): Likewise.
5613         (__signbit): Remove for libc.so.
5614         (__signbitl): Likewise.
5616 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5618         * iconvdata/bug-iconv11.c (test_ibm93x):
5619         Use %zu printf format specifier for size_t argument.
5621 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
5623         * math/gen-libm-test.pl (parse_ulps): Do not reduce
5624         already-recorded ulps.
5625         * sysdeps/arm/libm-test-ulps: Regenerated.
5626         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5627         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5628         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5630 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5631             Paul Pluzhnikov  <ppluzhnikov@google.com>
5633         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
5634         assembler not supporting AVX-512.
5636 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5638         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5640 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
5642         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5643         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5645         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5647         * sysdeps/arm/libm-test-ulps: Regenerated.
5649 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
5651         [BZ #19451]
5652         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
5654 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
5656         [BZ #19486]
5657         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
5658         * sysdeps/generic/fix-fp-int-convert-overflow.h
5659         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
5660         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
5661         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
5662         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
5663         Likewise.
5664         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
5665         Avoid conversions to long int where inexact exceptions
5666         could be raised.
5667         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
5668         Likewise.
5669         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
5670         Avoid conversions to long long int where inexact exceptions
5671         could be raised.
5672         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
5673         Likewise.
5675 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
5677         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
5678         * configure: Regenerated.
5680 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5682         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
5684 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
5686         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
5687         outside of comment.
5689 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5691         * nptl/tst-barrier1.c: Add description on first line.
5692         * nptl/tst-barrier2.c: Likewise.
5693         * nptl/tst-barrier3.c: Likewise.
5694         * nptl/tst-barrier4.c: Likewise.
5695         * nptl/tst-barrier5.c: Likewise.
5697 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5699         [BZ #18868]
5700         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
5702 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5704         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
5705         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5706         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
5707         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
5708         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
5709         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
5710         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5711         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5712         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5713         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5714         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5716 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5718         [BZ #13065]
5719         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
5720         new implementation.
5721         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
5722         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
5723         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
5724         (BARRIER_IN_THRESHOLD): New macro.
5725         * nptl/pthread_barrierattr_setpshared.c
5726         (pthread_barrierattr_setpshared): Clean up.
5727         * nptl/tst-barrier4.c: Correct comment.
5728         * nptl/tst-barrier5.c: New file.
5729         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
5730         (gen-as-const-headers): Remove lowlevelbarrier.sym.
5731         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
5732         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
5733         * nptl/lowlevelbarrier.sym: Remove.
5734         * nptl/DESIGN-barrier.txt: Remove.
5735         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
5736         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
5737         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
5738         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
5739         error.
5740         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
5741         implementation.
5743 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5745         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
5746         (do_child): Mask SIGRTMIN while thr is running.
5748 2016-01-15  Martin Sebor  <msebor@redhat.com>
5750         [BZ #19432]
5751         * iconvdata/Makefile: Add bug-iconv11.
5752         * iconvdata/bug-iconv11.c: New test.
5753         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
5754         * iconvdata/ibm933.c: Same.
5755         * iconvdata/ibm935.c: Same.
5756         * iconvdata/ibm937.c: Same.
5757         * iconvdata/ibm939.c: Same.
5759 2016-01-15  Martin Sebor  <msebor@redhat.com>
5761         [BZ #19443]
5762         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
5763         [DEBUG] (_ufc_set_bits): Declare used.
5764         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
5765         [DEBUG] (print_all): Declare used.
5766         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
5767         operands of the ternary ?: expression to target type.
5768         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
5769         calling the undeclared abort.
5770         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
5772 2016-01-15  Martin Sebor  <msebor@redhat.com>
5774         [BZ #18755]
5775         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
5776         warnings.
5777         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
5778         (__gai_create_helper_thread): Same.
5779         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
5780         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
5781         to suppress -Wmaybe-uninitialized warnings.
5783 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
5785         [BZ #19465]
5786         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
5787         inside if.
5788         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5789         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5790         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5792 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
5794         [BZ #19466]
5795         * time/tst-mktime2.c (time_t_max): Removed.
5796         (time_t_min): Likewise.
5797         (TYPE_SIGNED): New.
5798         (TYPE_MINIMUM): Likewise.
5799         (TYPE_MAXIMUM): Likewise.
5800         (TIME_T_MIN): Likewise.
5801         (TIME_T_MAX): Likewise.
5802         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
5803         and TIME_T_MIN.
5804         (do_test): Likewise.
5806 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
5808         [BZ #19467]
5809         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5810         index_Fast_Unaligned_Load flag for Excavator family CPUs.
5812 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
5814         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
5816 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
5818         * benchtests/Makefile (PYTHON): Define.
5819         (bench-func): Use $(PYTHON) to run python scripts.
5820         ($(objpfx)bench-%.c): Likewise.
5822 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
5824         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
5825         leading slash when `file_name' is "/".
5827 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
5829         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
5830         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
5831         Likewise.
5832         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
5833         Likewise.
5834         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
5835         Likewise.
5836         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
5837         enum constant and macro.
5838         (PTRACE_SETSIGMASK): Likewise.
5839         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5840         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5841         (PTRACE_GETSIGMASK): Likewise.
5842         (PTRACE_SETSIGMASK): Likewise.
5843         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5844         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
5845         Likewise.
5846         (PTRACE_SETSIGMASK): Likewise.
5847         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5848         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5849         (PTRACE_GETSIGMASK): Likewise.
5850         (PTRACE_SETSIGMASK): Likewise.
5851         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5852         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
5853         Likewise.
5854         (PTRACE_SETSIGMASK): Likewise.
5855         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5856         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
5857         Likewise.
5858         (PTRACE_SETSIGMASK): Likewise.
5859         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5860         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
5861         Likewise.
5862         (PTRACE_SETSIGMASK): Likewise.
5863         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5865 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
5866             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5868         [BZ #19439]
5869         * math/bits/mathcalls.h
5870         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
5871         prototype.
5872         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
5874 2016-01-11  Andreas Schwab  <schwab@suse.de>
5876         [BZ #19253]
5877         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
5878         cache when TZDEFRULES was used.
5879         * time/tst-tzname.c: New file.
5880         * time/Makefile (test): Add tst-tzname.
5881         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
5882         * timezone/Makefile (test-zones): Add $(posixrules-file).
5883         ($(testdata)/$(posixrules-file)): New rule.
5885 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
5887         Fix doc quoting problems with Texinfo 5
5888         Without this change, in the info file output, Texinfo 5 quotes code
5889         in text with undirected single quotes 'like this' and generates
5890         code examples that with many PDF readers cannot be cut out of PDFs
5891         and pasted into code.
5892         * manual/libc.texinfo: Configure the libc manual like the GNU
5893         Emacs manual, by using @documentencoding and setting
5894         txicodequoteundirected and txicodequotebacktick.  This way,
5895         Texinfo 5 quotes code in text with directed single quotes ‘like
5896         this’ and produces examples that can be cut out of PDFs.  This
5897         change causes Texinfo 5 to generate info files that contain UTF-8
5898         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
5899         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
5901 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5903         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
5904         __libc_tabort, __libc_tend): New wrappers that enforce compiler
5905         barriers to their respective compiler built-ins.
5906         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
5907         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
5908         * sysdeps/powerpc/sysdep.h: Likewise.
5909         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
5910         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
5911         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
5913 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
5915         * scripts/config.guess: Revert previous shebang change.
5916         * scripts/config.sub: Likewise.
5917         * scripts/mkinstalldirs: Likewise.
5919 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5921         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
5922         PPC_FEATURE2_HAS_IEEE128.
5923         * sysdeps/powerpc/dl-procinfo.c:
5924         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
5926 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
5928         [BZ #19415]
5929         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
5930         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
5931         (_dl_lookup_address): Rewrite using function resolver trampoline.
5932         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
5933         two bits in address.
5935 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5937         * longlong.h: Change !__SHMEDIA__ to
5938         (!defined (__SHMEDIA__) || !__SHMEDIA__).
5939         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
5941 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
5942             Joseph Myers  <joseph@codesourcery.com>
5943             Mark Shinwell  <shinwell@codesourcery.com>
5944             Andrew Stubbs  <ams@codesourcery.com>
5945             Rich Felker <dalias@libc.org>
5947         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
5949 2016-01-07  Richard Henderson  <rth@redhat.com>
5951         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
5953 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5955         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
5956         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
5957         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5958         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5959         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
5961 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
5962             Joseph Myers  <joseph@codesourcery.com>
5964         * timezone/private.h: Update from tzcode 2015g.
5965         * timezone/tzfile.h: Likewise.
5966         * timezone/tzselect.ksh: Likewise.
5967         * timezone/zdump.c: Likewise.
5968         * timezone/zic.c: Likewise.
5969         * timezone/ialloc.c: Remove file.
5970         * timezone/scheck.c: Likewise.
5971         * timezone/Makefile (extra-objs): Remove variable.
5972         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
5973         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
5974         -Wno-maybe-uninitialized.
5975         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
5976         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
5977         (CFLAGS-ialloc.c): Remove variable.
5978         (CFLAGS-scheck.c): Likewise.
5979         * timezone/README: Update list of files from tzcode.
5981 2016-01-07  Khem Raj  <raj.khem@gmail.com>
5983         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
5984         instead of __fxprintf when _LIBC is undefined.
5986 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
5988         * catgets/test-gencat.sh: Remove space after shebang.
5989         * conform/GlibcConform.pm: Likewise.
5990         * conform/check-header-lists.sh: Likewise.
5991         * conform/conformtest.pl: Likewise.
5992         * conform/linknamespace.pl: Likewise.
5993         * conform/list-header-symbols.pl: Likewise.
5994         * debug/catchsegv.sh: Likewise.
5995         * elf/genrtldtbl.awk: Likewise.
5996         * elf/tst-pathopt.sh: Likewise.
5997         * elf/tst-rtld-load-self.sh: Likewise.
5998         * grp/tst_fgetgrent.sh: Likewise.
5999         * iconvdata/gen-8bit-gap-1.sh: Likewise.
6000         * iconvdata/gen-8bit-gap.sh: Likewise.
6001         * iconvdata/gen-8bit.sh: Likewise.
6002         * iconvdata/run-iconv-test.sh: Likewise.
6003         * intl/tst-gettext.sh: Likewise.
6004         * intl/tst-gettext2.sh: Likewise.
6005         * intl/tst-gettext4.sh: Likewise.
6006         * intl/tst-gettext6.sh: Likewise.
6007         * intl/tst-translit.sh: Likewise.
6008         * io/ftwtest-sh: Likewise.
6009         * libio/test-freopen.sh: Likewise.
6010         * locale/gen-translit.pl: Likewise.
6011         * malloc/tst-mtrace.sh: Likewise.
6012         * manual/check-safety.sh: Likewise.
6013         * manual/libc-texinfo.sh: Likewise.
6014         * manual/tsort.awk: Likewise.
6015         * manual/xtract-typefun.awk: Likewise.
6016         * nptl/tst-cancel-wrappers.sh: Likewise.
6017         * nptl/tst-tls6.sh: Likewise.
6018         * posix/globtest.sh: Likewise.
6019         * posix/tst-getconf.sh: Likewise.
6020         * posix/wordexp-tst.sh: Likewise.
6021         * scripts/check-c++-types.sh: Likewise.
6022         * scripts/check-local-headers.sh: Likewise.
6023         * scripts/config.guess: Likewise.
6024         * scripts/config.sub: Likewise.
6025         * scripts/cpp: Likewise.
6026         * scripts/cross-test-ssh.sh: Likewise.
6027         * scripts/documented.sh: Likewise.
6028         * scripts/evaluate-test.sh: Likewise.
6029         * scripts/gen-libc-abis: Likewise.
6030         * scripts/gen-sorted.awk: Likewise.
6031         * scripts/list-fixed-bugs.py: Likewise.
6032         * scripts/merge-test-results.sh: Likewise.
6033         * scripts/mkinstalldirs: Likewise.
6034         * scripts/rellns-sh: Likewise.
6035         * scripts/test-installation.pl: Likewise.
6036         * scripts/update-copyrights: Likewise.
6037         * stdio-common/tst-printf.sh: Likewise.
6038         * stdio-common/tst-unbputc.sh: Likewise.
6039         * stdlib/tst-fmtmsg.sh: Likewise.
6040         * stdlib/tst-setcontext3.sh: Likewise.
6041         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
6042         * sysdeps/unix/make-syscalls.sh: Likewise.
6044 2016-01-06  John David Anglin  <dave.anglin@bell.net>
6046         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
6047         asm stw with atomic_exchange_rel.  Add explanatory comment.
6048         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
6049         Likewise.
6051 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6053         [BZ #19122]
6054         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
6055         * sysdeps/generic/dl-unistd.h: New file.
6056         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
6058 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6060          [BZ #19122]
6061          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
6062          * sysdeps/generic/dl-mman.h: New file.
6063          * sysdeps/mach/hurd/dl-mman.h: Likewise.
6065 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
6067         * manual/texinfo.tex: Update to version 2016-01-04.21 with
6068         trailing whitespace removed.
6069         * scripts/config.guess: Update to version 2016-01-01.
6070         * scripts/config.sub: Update to version 2016-01-01.
6071         * scripts/move-if-change: Update from gnulib.
6073 2016-01-04  Anton Blanchard  <anton@samba.org>
6075         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
6076         for array indices.
6077         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
6079 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
6081         * NEWS: Update copyright dates.
6082         * catgets/gencat.c (print_version): Likewise.
6083         * csu/version.c (banner): Likewise.
6084         * debug/catchsegv.sh: Likewise.
6085         * debug/pcprofiledump.c (print_version): Likewise.
6086         * debug/xtrace.sh (do_version): Likewise.
6087         * elf/ldconfig.c (print_version): Likewise.
6088         * elf/ldd.bash.in: Likewise.
6089         * elf/pldd.c (print_version): Likewise.
6090         * elf/sotruss.sh: Likewise.
6091         * elf/sprof.c (print_version): Likewise.
6092         * iconv/iconv_prog.c (print_version): Likewise.
6093         * iconv/iconvconfig.c (print_version): Likewise.
6094         * locale/programs/locale.c (print_version): Likewise.
6095         * locale/programs/localedef.c (print_version): Likewise.
6096         * login/programs/pt_chown.c (print_version): Likewise.
6097         * malloc/memusage.sh (do_version): Likewise.
6098         * malloc/memusagestat.c (print_version): Likewise.
6099         * malloc/mtrace.pl: Likewise.
6100         * manual/libc.texinfo: Likewise.
6101         * nptl/version.c (banner): Likewise.
6102         * nscd/nscd.c (print_version): Likewise.
6103         * nss/getent.c (print_version): Likewise.
6104         * nss/makedb.c (print_version): Likewise.
6105         * posix/getconf.c (main): Likewise.
6106         * scripts/test-installation.pl: Likewise.
6107         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6109         * All files with FSF copyright notices: Update copyright dates
6110         using scripts/update-copyrights.
6111         * intl/plural.c: Regenerated.
6112         * locale/programs/charmap-kw.h: Likewise.
6113         * locale/programs/locfile-kw.h: Likewise.
6115 2016-01-02  Helge Deller  <deller@gmx.de>
6117         [BZ #19285]
6118         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
6119         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6120         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
6121         (MADV_xxK_PAGES): Remove.
6123 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
6125         [BZ #15421]
6126         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
6127         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
6128         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
6129         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
6131 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
6133         [BZ #19408]
6134         * sysdeps/unix/sysv/linux/personality.c: New file.
6135         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6136         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
6137         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
6138         (sysdep_routines): Add personality.
6139         (tests): Add tst-personality.
6140         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
6141         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
6142         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
6143         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
6144         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
6145         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
6146         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
6147         Likewise.
6148         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
6149         Likewise.
6150         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
6151         Likewise.
6152         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
6153         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
6154         Likewise.
6156 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
6158         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
6159         (PATH_ARM_SYSTYPE): Remove.
6160         (PATH_CPUINFO): Likewise.
6161         (IO_BASE_FOOTBRIDGE): Likewise.
6162         (IO_SHIFT_FOOTBRIDGE): Likewise.
6163         (struct platform): Likewise.
6164         (init_iosys): Remove compatibility code for 2.4 kernels.
6165         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
6167 2015-12-29  Florian Weimer  <fweimer@redhat.com>
6169         * malloc/tst-malloc-thread-fail.c: New file.
6170         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
6171         (tst-malloc-thread-fail): Link against libpthread.
6173 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
6175         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
6176         (get_parser): New function.
6177         (main): New function.
6179 2015-12-29  Rob Wu  <rob@robwu.nl>
6181         [BZ #19369]
6182         * resolv/res_init.c (__res_vinit): Reset defdname before use.
6184 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
6186         [BZ #19270]
6187         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6189 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
6191         [BZ #15421]
6192         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6194 2015-12-23  Torvald Riegel  <triegel@redhat.com>
6196         [BZ #13690]
6197         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6198         after releasing it.
6199         (__lll_robust_unlock): Likewise.
6200         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6201         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6202         (lll_robust_unlock): Likewise.
6203         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6204         Prevent warnings in callers.
6206 2015-12-23  Florian Weimer  <fweimer@redhat.com>
6208         * malloc/arena.c (list_lock): Update comment.
6210 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6212         * sysdeps/powerpc/hwcapinfo.c: Export symbol
6213         __parse_hwcap_and_convert_at_platform to libc.a.
6215 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6217         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
6218         platform and feature support for POWER9.
6219         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6220         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
6221         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
6222         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
6223         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
6224         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
6225         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
6226         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
6228 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6230         Harmonize generic stdio-lock support with nptl
6232         This fixes build when _IO_funlockfile is a macro, fixes build where
6233         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
6234         stack unwind.
6236         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
6237         _IO_release_lock ): Use cleanup attribute on new
6238         _IO_acquire_lock_file variable instead of assuming that
6239         _IO_release_lock will be called.
6240         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
6241         _IO_acquire_lock_needs_exceptions_enabled.
6242         (_IO_acquire_lock_clear_flags2): New macro.
6244 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6246         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6248 2015-12-21  Florian Weimer  <fweimer@redhat.com>
6250         [BZ #19182]
6251         * malloc/arena.c (list_lock): Document lock ordering requirements.
6252         (free_list_lock): New lock.
6253         (ptmalloc_lock_all): Comment on free_list_lock.
6254         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
6255         (detach_arena): Update comment.  free_list_lock is now needed.
6256         (_int_new_arena): Use free_list_lock around detach_arena call.
6257         Acquire arena lock after list_lock.  Add comment, including FIXME
6258         about incorrect synchronization.
6259         (get_free_list): Switch to free_list_lock.
6260         (reused_arena): Acquire free_list_lock around detach_arena call
6261         and attached threads counter update.  Add two FIXMEs about
6262         incorrect synchronization.
6263         (arena_thread_freeres): Switch to free_list_lock.
6264         * malloc/malloc.c (struct malloc_state): Update comments to
6265         mention free_list_lock.
6267 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6269         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
6270         Remove functions.
6271         (sloww, sloww1): Accept argument to offset quadrant.
6272         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
6273         quadrant.
6274         (__sin, __cos): Consolidate common code into new functions.
6275         (reduce_sincos_1, do_sincos_1): New functions.
6276         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6278         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
6279         code to new functions.
6280         (reduce_sincos_2, do_sincos_2): New functions.
6281         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6283         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
6284         common code for sincos.
6285         (__cos) [!IN_SINCOS]: Likewise.
6286         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
6287         New function.
6288         (__sincos): Use it.
6290 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
6292         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6293         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6294         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6296 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6298         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6299         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6300         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6301         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6302         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6303         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6304         index_Prefer_No_VZEROUPPER): New feature.
6305         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6306         Prefer_No_VZEROUPPER for Knights Landing.
6308 015-12-18  Torvald Riegel  <triegel@redhat.com>
6310         * math/atest-exp2.c (mp_exp_m1): Remove.
6312 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6314         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6315         syscalls.
6316         (__SYSCALL0): New macro.
6317         (__SYSCALL1): Likewise.
6318         (__SYSCALL2): Likewise.
6319         (__SYSCALL3): Likewise.
6320         (__SYSCALL4): Likewise.
6321         (__SYSCALL5): Likewise.
6322         (__SYSCALL6): Likewise.
6323         (__SYSCALL_CONCAT_X): Likewise.
6324         (__SYSCALL_CONCAT): Likewise.
6325         (__SYSCALL_DIST): Likewise.
6326         (__SYSCALL_CALL): Likewise.
6328 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
6330         [BZ #19363]
6331         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6333 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6335         [BZ #19375]
6336         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6337         negative subnormals.
6339 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
6341         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6342         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6343         (INTERNAL_SYSCALL_NCS): Use it.
6344         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6346 2015-12-16  Florian Weimer  <fweimer@redhat.com>
6348         [BZ #19243]
6349         * malloc/arena.c (get_free_list): Remove assert and adjust
6350         reference count handling.  Add comment about reused_arena
6351         interaction.
6352         (reused_arena): Add comments abount get_free_list interaction.
6353         * malloc/tst-malloc-thread-exit.c: New file.
6354         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6355         (tst-malloc-thread-exit): Link against libpthread.
6357 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6359         [BZ #19367]
6360         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6361         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6362         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6363         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6364         (index_Prefer_MAP_32BIT_EXEC): Likewise.
6366 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6368         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6369         Silvermont optimizations for Knights Landing.
6371 2015-12-15  Andreas Schwab  <schwab@suse.de>
6373         [BZ #17197]
6374         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
6375         immediately after emitting SI.
6376         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
6377         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
6378         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
6379         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
6380         * iconvdata/bug-iconv10.c: New file.
6381         * iconvdata/Makefile (tests): Add bug-iconv10.
6382         ($(objpfx)bug-iconv10.out): New rule.
6384 2015-12-15  Florian Weimer  <fweimer@redhat.com>
6386         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
6387         aliasing violation.
6389 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
6391         [BZ #18472]
6392         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
6393         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
6394         conditionals for them.
6395         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
6396         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
6397         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
6398         sys/kdaemon.h.
6399         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
6400         compat-only syscall, obsoleted in glibc 2.23.
6401         (create_module): Likewise.
6402         (get_kernel_syms): Likewise.
6403         (query_module): Likewise.
6404         (uselib): Likewise.
6405         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
6407 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
6409         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
6410         <linux/version.h>.
6411         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
6412         conditional code.
6413         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
6414         and ioshift_name initialization.
6416 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6418         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6419         Fix indentation.
6421 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6423         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
6425 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6427         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
6429 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
6430             Jakub Wilk  <jwilk@debian.org>
6432         [BZ #19347]
6433         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
6434         to change the group of the device to the tty group.
6436 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
6438         Split large string section; add truncation advice
6439         * manual/examples/strncat.c: Remove.
6440         This example was misleading, as the code would have undefined
6441         behavior if "hello" was longer than SIZE.  Anyway, the manual
6442         shouldn't encourage strncpy+strncat for this sort of thing.
6443         * manual/string.texi (Copying Strings and Arrays): Split into
6444         three sections Copying Strings and Arrays, Concatenating Strings,
6445         and Truncating Strings, as this section was way too long.  All
6446         cross-referenced changed.  Add advice about string-truncation
6447         functions.  Remove misleading strncat example.
6449 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
6451         * manual/nss.texi (NSS Modules Interface): Document
6452         NSS_STATUS_NOTFOUND and SUCCESS.
6454 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6456         [BZ 18568]
6457         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6458         201505L, for Unicode 8.
6460 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
6462         * locale/C-translit.h: Regenerate.
6464 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6466         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
6467         and U+0153.
6469 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
6471         [BZ #19351]
6472         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
6473         expanding log(1+z), compare z rather than its square with epsilon
6474         to determine when to avoid evaluating the expansion.
6476         [BZ #19350]
6477         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6478         Increase overflow threshold.
6480         [BZ #19349]
6481         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
6482         when small.
6484         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6485         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6486         New macro.
6487         [__LINUX_KERNEL_VERSION >= 0x040300]
6488         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6489         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6490         Likewise.
6491         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6492         Likewise.
6493         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6494         Likewise.
6495         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6496         Likewise.
6497         [__LINUX_KERNEL_VERSION >= 0x040300]
6498         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6499         [__LINUX_KERNEL_VERSION >= 0x040300]
6500         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6501         [__LINUX_KERNEL_VERSION >= 0x040300]
6502         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6503         [__LINUX_KERNEL_VERSION >= 0x040300]
6504         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6505         [__LINUX_KERNEL_VERSION >= 0x040300]
6506         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6507         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6508         Likewise.
6509         [__LINUX_KERNEL_VERSION >= 0x040300]
6510         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6511         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6512         Likewise.
6513         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6514         Likewise.
6515         [__LINUX_KERNEL_VERSION >= 0x040300]
6516         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6517         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6518         Likewise.
6519         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6520         Likewise.
6521         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6522         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
6523         Likewise.
6524         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
6525         Likewise.
6526         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6527         Likewise.
6528         [__LINUX_KERNEL_VERSION >= 0x040300]
6529         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6530         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6531         Likewise.
6532         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6533         Likewise.
6534         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6535         Likewise.
6536         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6537         Likewise.
6538         [__LINUX_KERNEL_VERSION >= 0x040300]
6539         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6540         [__LINUX_KERNEL_VERSION >= 0x040300]
6541         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6542         [__LINUX_KERNEL_VERSION >= 0x040300]
6543         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6544         [__LINUX_KERNEL_VERSION >= 0x040300]
6545         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6546         [__LINUX_KERNEL_VERSION >= 0x040300]
6547         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6548         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6549         Likewise.
6550         [__LINUX_KERNEL_VERSION >= 0x040300]
6551         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6552         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6553         Likewise.
6554         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6555         Likewise.
6556         [__LINUX_KERNEL_VERSION >= 0x040300]
6557         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6558         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6559         Likewise.
6560         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6561         Likewise.
6562         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6563         (__ASSUME_SOCKET_SYSCALL): Likewise.
6564         (__ASSUME_BIND_SYSCALL): Likewise.
6565         (__ASSUME_CONNECT_SYSCALL): Likewise.
6566         (__ASSUME_LISTEN_SYSCALL): Likewise.
6567         (__ASSUME_ACCEPT_SYSCALL): Likewise.
6568         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6569         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6570         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6571         (__ASSUME_SEND_SYSCALL): Likewise.
6572         (__ASSUME_SENDTO_SYSCALL): Likewise.
6573         (__ASSUME_RECV_SYSCALL): Likewise.
6574         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6575         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
6576         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6577         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6578         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6579         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6580         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6581         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
6582         Likewise.
6583         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
6584         Likewise.
6585         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
6586         Likewise.
6587         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
6588         Likewise.
6589         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
6590         Likewise.
6591         [__LINUX_KERNEL_VERSION >= 0x020625]
6592         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6593         [__LINUX_KERNEL_VERSION >= 0x020625]
6594         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6595         [__LINUX_KERNEL_VERSION >= 0x020625]
6596         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6597         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
6598         Likewise.
6599         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
6600         Likewise.
6601         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
6602         Likewise.
6603         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
6604         Likewise.
6605         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
6606         Likewise.
6607         [__LINUX_KERNEL_VERSION >= 0x020625]
6608         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6609         [__LINUX_KERNEL_VERSION >= 0x020625]
6610         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6611         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
6612         Likewise.
6613         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
6614         Likewise.
6616 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6618         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
6619         record the current if the current ABI and CPU support the FP64
6620         extension.
6621         (has-modd-spreg): Define to record the current if the current ABI and
6622         CPU support 32-bit floating point values in odd FPU registers.
6623         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6624         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
6625         $(has-modd-spreg) equals yes.
6626         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
6627         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
6628         $(has-modd-spreg) equal yes.
6630 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6632         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
6633         basename.
6635 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
6637         * benchtests/Makefile (bench-math): Move ffs and ffsll...
6638         (bench-string): ... here.
6639         (bench): Add bench-string.
6640         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
6641         to *-benchset to reflect what they are.
6642         (benchset): Adjust.
6644         * benchtests/sincos-inputs: Add inputs from sin-inputs and
6645         cos-inputs.
6647 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
6649         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
6650         __attribute__ ((__simd__)) for vector math function declarations.
6652 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6654         Fix typo in strncat, wcsncat manual entries
6655         * manual/string.texi (Copying and Concatenation): Fix typos in
6656         sample implementations of strncat and wcsncat, by having them use
6657         the old value of the destination length, not the new one.
6659 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
6661         [BZ #16961]
6662         [BZ #16962]
6663         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
6664         string on the stack for strtod.
6665         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
6666         a string on the stack for strtof.
6667         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
6668         constructing a string on the stack for strtold.
6669         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
6670         __strtold_nan to GLIBC_PRIVATE.
6671         * math/test-nan-overflow.c: New file.
6672         * math/test-nan-payload.c: Likewise.
6673         * math/Makefile (tests): Add test-nan-overflow and
6674         test-nan-payload.
6676 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6678         Consistency about byte vs character in string.texi
6679         * manual/string.texi (String and Array Utilities):
6680         Distinguish more carefully among bytes, multibyte characters,
6681         and wide characters.  Use "byte" when talking about C 'char',
6682         to distinguish it more clearly from multibyte characters.
6683         Say "wide character" or "multibyte character" instead of
6684         "character", when a wide or multibyte character is intended.
6685         Similarly for "multibyte string" versus "string".
6686         Define these terms more carefully.
6688 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
6690         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
6691         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
6692         Likewise.
6693         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6694         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6695         * sysdeps/sh/math_private.h: New file.
6696         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
6697         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
6698         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
6699         long double function name.
6700         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6701         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6702         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6703         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6704         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6706         Remove __finitel, __isinfl, and __isnanl.
6707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6708         Likewise.
6709         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6711         Remove __finitel.
6712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6713         Likewise.
6714         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6716 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
6718         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
6719         installed libmvec_nonshared.a.
6721 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6723         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
6724         (sysdep_routines): Likewise.
6725         (sysdep-rtld-routines): Likewise.
6726         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
6727         [$(subdir) = nptl](tests-static): test-get_hwcap-static
6728         * sysdeps/powerpc/Versions: Added new
6729         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
6730         * sysdeps/powerpc/hwcapinfo.c: New file.
6731         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
6732         and parse hwcap, hwcap2 and platform number information.
6733         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
6734         to store HWCAP+HWCAP2 and platform number.
6735         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
6736         for HWCAP+HWCAP2 and platform number in the TCB.
6737         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
6738         the HWCAP, HWCAP2 and platform number in the TCB.
6739         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
6740         (TLS_INIT_TP): Included calls to add the hwcap and
6741         at_platform values in the TCB in TP initialization.
6742         (TLS_DEFINE_INIT_TP): Likewise.
6743         (THREAD_GET_HWCAP): New macro.
6744         (THREAD_SET_HWCAP): Likewise.
6745         (THREAD_GET_AT_PLATFORM): Likewise.
6746         (THREAD_SET_AT_PLATFORM): Likewise.
6747         * sysdeps/powerpc/powerpc32/dl-machine.h:
6748         (dl_platform_init): New function that calls
6749         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
6750         powerpc32.
6751         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
6752         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
6753         this functionality, static linking case.
6754         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
6755         linking case.
6756         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
6757         __parse_hwcap_and_convert_at_platform for the static linking case.
6758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
6759         Included the new __parse_hwcap_and_convert_at_platform symbol in the
6760         ABI list for GLIBC 2.23.
6761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
6762         Likewise.
6763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
6764         Likewise.
6766 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
6768         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
6769         * configure: Regenerate.
6770         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
6771         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
6773 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
6775         * iconvdata/ibm930.c: Add comment explaining encoding uses.
6776         * iconvdata/ibm933.c: Likewise.
6777         * iconvdata/ibm935.c: Likewise.
6778         * iconvdata/ibm937.c: Likewise.
6779         * iconvdata/ibm939.c: Likewise.
6781 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6783         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
6784         pthread_join.
6785         * nptl/tst-cancel21.c (tf): Likewise.
6787 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
6789         [BZ #19313]
6790         * bits/typesizes.h (__CPU_MASK_TYPE): New.
6791         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6792         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6793         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
6794         Likewise.
6795         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
6796         Likewise.
6797         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
6798         Likewise.
6799         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
6800         Likewise.
6801         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
6802         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
6803         unsigned long int with __CPU_MASK_TYPE.
6805 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6807         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6809 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
6811         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
6812         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
6813         t512.x.
6814         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
6816 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
6818         [BZ #19214]
6819         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
6820         argument to return extended model.  Update family and model
6821         with extended family and model when family == 0x0f.
6822         (init_cpu_features): Updated.
6824 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6826         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
6827         signed off_t, so 32bit bigger than 2GiB values are fine actually.
6829         * sysdeps/mach/hurd/mmap64.c: New file.
6831 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
6833         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
6834         rights for its main user thread in NEWTASK.
6836 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
6838         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
6839         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
6841 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
6843         [BZ #14259]
6844         * Makeconfig: Rename localedir to complocaledir.
6845         Rename inst_localedir to inst_complocaledir.
6846         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
6847         * config.make.in: Use complocaledir and libc_cv_complocaledir.
6848         * configure.ac: Use libc_cv_complocaledir.
6849         * configure: Regenerate.
6850         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
6851         -DCOMPLOCALEDIR.
6852         * locale/findlocale.c: Use COMPLOCALEDIR.
6853         * locale/loadarchive.c: Likewise.
6854         * locale/programs/locale.c: Likewise.
6855         * locale/programs/localedef.c: Likewise.
6856         * locale/programs/locarchive.c: Likewise.
6857         * localedata/Makefile: Use inst_complocaledir.
6858         * sysdeps/gnu/configure: Regenerate.
6859         * sysdeps/hppa/configure: Regenerate.
6860         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
6861         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6863         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
6864         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
6865         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
6866         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
6868 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
6870         [BZ #19058]
6871         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
6872         AS_NEEDED.
6873         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
6874         workaround.
6875         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
6876         libmvec-static-only-routines): Added new file.
6877         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
6879 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6881         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
6882         of interrupted RPC instead of restoring it.
6884         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
6885         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
6886         libc_hidden_def.
6887         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
6888         into initialized data instead of common. Define rtld_hidden_data_def.
6889         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
6890         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
6891         libc_hidden_def.
6892         (if_freenameindex): Add libc_hidden_weak.
6893         (if_nameindex): Add libc_hidden_weak.
6894         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
6895         __open64.
6896         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
6897         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
6898         * sysdeps/mach/nanosleep.c: Include <time.h>
6899         (__nanosleep): Rename to __libc_nanosleep.
6900         (__nanosleep): Add weak_alias.
6901         (nanosleep): Update alias.
6903 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
6905         * stdlib/strtod_nan.c: New file.
6906         * stdlib/strtod_nan_double.h: Likewise.
6907         * stdlib/strtod_nan_float.h: Likewise.
6908         * stdlib/strtod_nan_main.c: Likewise.
6909         * stdlib/strtod_nan_narrow.h: Likewise.
6910         * stdlib/strtod_nan_wide.h: Likewise.
6911         * stdlib/strtof_nan.c: Likewise.
6912         * stdlib/strtold_nan.c: Likewise.
6913         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
6914         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
6915         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
6916         * wcsmbs/wcstod_nan.c: Likewise.
6917         * wcsmbs/wcstof_nan.c: Likewise.
6918         * wcsmbs/wcstold_nan.c: Likewise.
6919         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
6920         strtold_nan.
6921         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
6922         wcstof_nan.
6923         * include/stdlib.h (__strtof_nan): Declare and use
6924         libc_hidden_proto.
6925         (__strtod_nan): Likewise.
6926         (__strtold_nan): Likewise.
6927         (__wcstof_nan): Likewise.
6928         (__wcstod_nan): Likewise.
6929         (__wcstold_nan): Likewise.
6930         * include/wchar.h (____wcstoull_l_internal): Declare.
6931         * stdlib/strtod_l.c: Do not include <ieee754.h>.
6932         (____strtoull_l_internal): Remove declaration.
6933         (STRTOF_NAN): Define macro.
6934         (SET_MANTISSA): Remove macro.
6935         (STRTOULL): Likewise.
6936         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
6937         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
6938         (STRTOF_NAN): Define macro.
6939         (SET_MANTISSA): Remove macro.
6940         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
6941         (SET_MANTISSA): Remove macro.
6942         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
6943         macro.
6944         (SET_MANTISSA): Remove macro.
6945         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
6946         macro.
6947         (SET_MANTISSA): Remove macro.
6948         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
6949         (SET_MANTISSA): Remove macro.
6950         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
6951         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
6952         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
6954         [BZ #19266]
6955         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
6956         upper case and lower case letters inside NAN(), not using TOLOWER.
6957         * stdlib/tst-strtod-nan-locale-main.c: New file.
6958         * stdlib/tst-strtod-nan-locale.c: Likewise.
6959         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
6960         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
6961         Depend on $(gen-locales).
6962         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
6963         * wcsmbs/tst-wcstod-nan-locale.c: New file.
6964         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
6965         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
6966         Depend on $(gen-locales).
6967         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
6969 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
6971         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
6973         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
6975         __finitel, __isinfl, and __isnanl.
6976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6977         Likewise.
6978         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
6980         __finitel.
6981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6982         Likewise.
6983         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6985 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6987         * malloc/memusage.c (me): Remove redundant getenv call.
6989 2015-10-24  Florian Weimer  <fweimer@redhat.com>
6991         [BZ #19143]
6992         [BZ #19164]
6993         * nptl/check-cpuset.h: Remove.
6994         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6995         Remove CPU set size check.
6996         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6997         Likewise.
6998         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
6999         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7000         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
7001         (__pthread_setaffinity_new): Remove CPU set size check.
7002         * sysdeps/unix/sysv/linux/sched_setaffinity.c
7003         (__kernel_cpumask_size): Remove.
7004         (__sched_setaffinity_new): Remove CPU set size check.
7005         * manual/threads.texi (Default Thread Attributes): Remove stale
7006         reference to check_cpuset_attr, determine_cpumask_size in comment.
7007         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
7008         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
7009         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
7010         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
7011         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
7012         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
7013         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
7014         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
7015         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
7016         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
7017         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
7018         skeleton test file.
7019         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
7020         tst-affinity-pid.
7022 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7024         * scripts/update-abilist.sh: New file.
7025         * Makefile (+subdir_targets): Add subdir_update-all-abi.
7026         * Makerules (update-all-abi-%, update-all-abi)
7027         (subdir_update-all-abi): New targets.
7028         * elf/Makefile (update-all-abi): New target.
7030 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7032         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
7033         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
7034         (__libc_lock_define_initialized): Use it.
7035         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
7036         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
7037         * malloc/malloc.c (main_arena): Likewise.
7038         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7039         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7041 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
7043         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7044         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
7045         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7046         (PTRACE_O_MASK): Update value.
7047         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
7048         New value in enum __ptrace_setoptions.
7049         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7050         (PTRACE_O_MASK): Update value.
7051         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7052         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7053         (PTRACE_O_MASK): Update value.
7054         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
7055         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7056         (PTRACE_O_MASK): Update value.
7057         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
7058         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7059         (PTRACE_O_MASK): Update value.
7060         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
7061         New value in enum __ptrace_setoptions.
7062         (PTRACE_O_MASK): Update value.
7063         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
7064         New value in enum __ptrace_setoptions.
7065         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7066         (PTRACE_O_MASK): Update value.
7068         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
7069         New macro.
7070         (PACKET_AUXDATA): Likewise.
7071         (PACKET_ORIGDEV): Likewise.
7072         (PACKET_VERSION): Likewise.
7073         (PACKET_HDRLEN): Likewise.
7074         (PACKET_RESERVE): Likewise.
7075         (PACKET_TX_RING): Likewise.
7076         (PACKET_LOSS): Likewise.
7077         (PACKET_VNET_HDR): Likewise.
7078         (PACKET_TX_TIMESTAMP): Likewise.
7079         (PACKET_TIMESTAMP): Likewise.
7080         (PACKET_FANOUT): Likewise.
7081         (PACKET_TX_HAS_OFF): Likewise.
7082         (PACKET_QDISC_BYPASS): Likewise.
7083         (PACKET_ROLLOVER_STATS): Likewise.
7084         (PACKET_FANOUT_DATA): Likewise.
7085         (PACKET_MR_UNICAST): Likewise.
7087         [BZ #19242]
7088         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
7089         (TOUPPER): Likewise.
7090         * stdlib/tst-strtol-locale-main.c: New file.
7091         * stdlib/tst-strtol-locale.c: Likewise.
7092         * stdlib/Makefile (tests): Add tst-strtol-locale.
7093         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
7094         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
7095         Depend on $(gen-locales).
7096         * wcsmbs/tst-wcstol-locale.c: New file.
7097         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
7098         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
7099         tr_TR.ISO-8859-9.
7100         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
7101         Depend on $(gen-locales).
7103 2015-11-20  Roland McGrath  <roland@hack.frob.com>
7105         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
7106         __glibc_likely instead of __builtin_expect.  After falling back to
7107         dyncode_create in a non-ET_DYN case, use the allocate_code_data
7108         system interface to register the code pages as occupied.
7110 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
7112         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7113         [!ARM_MATH_PRIVATE_H].
7114         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
7115         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7116         [!HPPA_MATH_PRIVATE_H].
7117         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
7118         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
7119         to [!I386_MATH_PRIVATE_H].
7120         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
7121         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
7122         Change guard to [!M68K_MATH_PRIVATE_H].
7123         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
7124         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
7125         guard to [!MICROBLAZE_MATH_PRIVATE_H].
7126         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
7127         macro.
7128         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7129         [!MIPS_MATH_PRIVATE_H].
7130         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
7131         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7132         [!NIO2_MATH_PRIVATE_H].
7133         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
7134         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7135         [!TILE_MATH_PRIVATE_H].
7136         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
7138         [BZ #15421]
7139         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
7140         initialize with 0 and define as weak alias of __signgam.
7141         * include/math.h [!_ISOMAC] (__signgam): Declare.
7142         * math/Makefile (libm-calls): Add w_lgamma_compat.
7143         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
7144         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
7145         test-signgam-ullong-init.
7146         (tests-static): Add test-signgam-uchar-static,
7147         test-signgam-uchar-init-static, test-signgam-uint-static,
7148         test-signgam-uint-init-static, test-signgam-ullong-static and
7149         test-signgam-ullong-init-static.
7150         (CFLAGS-test-signgam-uchar.c): New variable.
7151         (CFLAGS-test-signgam-uchar-init.c): Likewise.
7152         (CFLAGS-test-signgam-uchar-static.c): Likewise.
7153         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
7154         (CFLAGS-test-signgam-uint.c): Likewise.
7155         (CFLAGS-test-signgam-uint-init.c): Likewise.
7156         (CFLAGS-test-signgam-uint-static.c): Likewise.
7157         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
7158         (CFLAGS-test-signgam-ullong.c): Likewise.
7159         (CFLAGS-test-signgam-ullong-init.c): Likewise.
7160         (CFLAGS-test-signgam-ullong-static.c): Likewise.
7161         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
7162         * math/Versions (libm): Add GLIBC_2.23.
7163         * math/lgamma-compat.h: New file.
7164         * math/test-signgam-main.c: Likewise.
7165         * math/test-signgam-uchar-init-static.c: Likewise.
7166         * math/test-signgam-uchar-init.c: Likewise.
7167         * math/test-signgam-uchar-static.c: Likewise.
7168         * math/test-signgam-uchar.c: Likewise.
7169         * math/test-signgam-uint-init-static.c: Likewise.
7170         * math/test-signgam-uint-init.c: Likewise.
7171         * math/test-signgam-uint-static.c: Likewise.
7172         * math/test-signgam-uint.c: Likewise.
7173         * math/test-signgam-ullong-init-static.c: Likewise.
7174         * math/test-signgam-ullong-init.c: Likewise.
7175         * math/test-signgam-ullong-static.c: Likewise.
7176         * math/test-signgam-ullong.c: Likewise.
7177         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7178         wrapper of w_lgamma_main.c.
7179         * math/w_lgamma_compat.c: New file.
7180         * math/w_lgamma_compatf.c: Likewise.
7181         * math/w_lgamma_compatl.c: Likewise.
7182         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
7183         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7184         defining compatibility symbols.
7185         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
7186         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7187         wrapper of w_lgammaf_main.c.
7188         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
7189         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7190         defining compatibility symbols.
7191         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
7192         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7193         wrapper of w_lgammal_main.c.
7194         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
7195         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7196         defining compatibility symbols.
7197         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
7198         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7199         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7200         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
7201         <lgamma-compat.h>.
7202         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
7203         (__ieee754_gamma): Define as alias.
7204         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7205         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
7206         <lgamma-compat.h>.
7207         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
7208         (__ieee754_gammaf): Define as alias.
7209         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7210         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
7211         <lgamma-compat.h>.
7212         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
7213         (__ieee754_gammal): Define as alias.
7214         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
7215         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
7216         <math/w_lgamma_compat.c>.
7217         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
7218         Define as alias of __lgamma_compat and use in defining lgammal.
7219         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
7220         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
7221         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
7222         (USE_AS_COMPAT): New macro.
7223         (LGAMMA_OLD_VER): Undefine and redefine.
7224         (lgammal): Do not define here.
7225         (gammal): Only define here if [GAMMA_ALIAS].
7226         * conform/linknamespace.pl (@whitelist): Remove signgam.
7227         * sysdeps/nacl/libm.abilist: Update.
7228         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7229         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7230         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7231         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7232         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7233         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7234         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7235         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7236         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7237         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7238         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7239         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7241         Likewise.
7242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7243         Likewise.
7244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7245         Likewise.
7246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7247         Likewise.
7248         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7249         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7250         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7251         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7252         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7254         Likewise.
7255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7256         Likewise.
7257         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7258         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7259         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7261 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7263         [BZ #16364]
7264         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
7265         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
7267 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7269         * sysdeps/s390/fpu/bits/mathinline.h:
7270         Use __asm__ [__volatile__] instead of asm [volatile].
7271         * sysdeps/s390/abort-instr.h: Likewise.
7272         * sysdeps/s390/atomic-machine.h: Likewise.
7273         * sysdeps/s390/bits/string.h: Likewise.
7274         * sysdeps/s390/dl-tls.h: Likewise.
7275         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7276         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7277         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7278         * sysdeps/s390/fpu/fesetround.c: Likewise.
7279         * sysdeps/s390/fpu/fpu_control.h: Likewise.
7280         * sysdeps/s390/fpu/s_fma.c: Likewise.
7281         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
7282         * sysdeps/s390/memusage.h: Likewise.
7283         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
7284         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
7285         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
7286         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
7287         * sysdeps/s390/nptl/tls.h: Likewise.
7288         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
7289         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7290         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7291         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7292         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7293         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7294         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7295         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7296         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7297         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7298         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7299         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7300         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7301         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7302         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7303         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7304         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7305         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7306         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7307         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7308         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7309         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7310         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7312 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7313             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7315         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7316         Add lwarx hint, and use macro for acquire instruction.
7317         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7318         Likewise.
7319         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7320         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7321         update to use new atomic macros.
7323 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7325         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7326         (__lll_trylock_elision): Fix setting of adapt_count.
7327         * sysdeps/unix/sysv/linux/powerpc/htm.h
7328         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7329         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7330         (_ABORT_SYSCALL): Renumber, and clarify definition.
7331         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7333 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7335         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7336         after system headers to prevent MIN/MAX redefinition.  Define
7337         HAVE_ALLOCA to preserve builtin alloca usage.
7339 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7341         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7342         static and don't set or restore rounding.
7343         (__cos)[IN_SINCOS]: Likewise.
7344         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7345         (__sincos): Set and restore rounding mode.  Remove check for infinite
7346         or NaN input.
7348         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7350         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7351         as used.
7353 2015-11-16  Florian Weimer  <fweimer@redhat.com>
7355         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7357 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
7359         * config.make.in (have-glob-dat-reloc): New.
7360         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
7361         target supports GLOB_DAT relocaton. AC_SUBST.
7362         * configure: Regenerated.
7363         * elf/Makefile (tests): Add tst-prelink.
7364         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7365         (tst-prelink-ENV): New.
7366         ($(objpfx)tst-prelink-conflict.out): Likewise.
7367         ($(objpfx)tst-prelink-cmp.out): Likewise.
7368         * sysdeps/x86/tst-prelink.c: Moved to ...
7369         * elf/tst-prelink.c: Here.
7370         * sysdeps/x86/tst-prelink.exp: Moved to ...
7371         * elf/tst-prelink.exp: Here.
7372         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
7373         (tst-prelink-ENV): Removed.
7374         ($(objpfx)tst-prelink-conflict.out): Likewise.
7375         ($(objpfx)tst-prelink-cmp.out): Likewise.
7376         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
7378 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
7380         [BZ #14551]
7381         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
7382         (__mpn_construct_long_double): If high part overflows to infinity,
7383         set errno and recompute overflowed result of the correct sign.
7384         * sysdeps/ieee754/ldbl-128ibm/Makefile
7385         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
7386         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
7387         $(libm).
7388         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
7390 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
7392         [BZ #15479]
7393         [BZ #19238]
7394         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
7395         floating-point state after first operation on input.  Restore full
7396         state rather than just rounding mode.
7397         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7398         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7399         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7401         [BZ #19235]
7402         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
7403         add 0.5 to integer arguments.
7404         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
7405         Likewise.
7406         (.LC2): New object.
7408 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
7410         * scripts/pylintrc (reports): Set to no.
7412 2015-11-10  Roland McGrath  <roland@hack.frob.com>
7414         * elf/dl-load.c (open_verify): Take new argument FD.
7415         Skip __open call if passed FD is not -1.
7416         (_dl_map_object, open_path): Update callers.
7417         * elf/dl-sysdep-open.h: New file.
7418         * elf/dl-load.c: Include it.
7419         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
7420         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
7421         * sysdeps/nacl/dl-sysdep-open.h: New file.
7422         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
7423         from libc to rtld.
7425 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7427         [BZ #19228]
7428         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
7429         and restore full floating-point state.
7430         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7431         Likewise.
7432         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7433         Likewise.
7434         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7435         Likewise.
7436         * math/test-nearbyint-except-2.c: New file.
7437         * math/Makefile (tests): Add test-nearbyint-except-2.
7439 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
7441         [BZ #19178]
7442         * sysdeps/x86/Makefile (tests): Add tst-prelink.
7443         (tst-prelink-ENV): New.
7444         ($(objpfx)tst-prelink-conflict.out): Likewise.
7445         ($(objpfx)tst-prelink-cmp.out): Likewise.
7446         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7447         * sysdeps/x86/tst-prelink.c: New file.
7448         * sysdeps/x86/tst-prelink.exp: Likewise.
7450 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7452         * math/auto-libm-test-in: Add another test of pow.
7453         * math/auto-libm-test-out: Regenerated.
7454         * math/libm-test.inc (pow_test_data): Add another test.
7456 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7458         [BZ #19219]
7459         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
7460         weak_alias to nearbyintl.
7462 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7464         * sysdeps/aarch64/bits/string.h: New file.
7465         (_STRING_ARCH_unaligned): Define.
7467 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7469         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
7470         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7471         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7472         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
7473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
7475 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
7477         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
7478         for original name of the DSO.  Add it to the name list of the DSO
7479         if it is actually given.
7480         (_dl_map_object): Keep track of whether an audit module rewrote
7481         the file name.  If yes, pass the original name to
7482         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
7483         debugging is enabled, log the change of the file name.
7484         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
7485         _dl_map_object_from_fd.
7486         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
7487         * elf/tst-audit11.c: New file
7488         * elf/tst-auditmod11.c: New file.
7489         * elf/tst-audit11mod1.c: New file.
7490         * elf/tst-audit11mod2.c: New file.
7491         * elf/tst-audit11mod2.map: New file.
7492         * elf/tst-audit12.c: New file
7493         * elf/tst-auditmod12.c: New file.
7494         * elf/tst-audit12mod1.c: New file.
7495         * elf/tst-audit12mod2.c: New file.
7496         * elf/tst-audit12mod2.map: New file.
7497         * elf/tst-audit12mod3.c: New file.
7499 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7501         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
7502         Don't create weak aliases,
7503         because versioned symbols are created later.
7504         * sysdeps/s390/s390-32/setjmp.S
7505         (setjmp, _setjmp): Remove weak and rename to an unique name
7506         in SHARED case due to existing versioned symbols.
7507         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7508         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
7509         (getcontext): Create weak alias only in non SHARED case.
7510         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7512 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7514         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
7515         (__ASSUME_*_SYSCALL) Define new macros.
7516         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
7517         Remove socketcall syscalls.
7518         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
7519         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
7520         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
7521         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
7522         * sysdeps/unix/sysv/linux/send.c (__libc_send):
7523         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
7525 2015-11-09  Florian Weimer  <fweimer@redhat.com>
7527         [BZ #12926]
7528         Terminate process on invalid netlink response.
7529         * sysdeps/unix/sysv/linux/netlinkaccess.h
7530         (__netlink_assert_response): Declare.
7531         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
7532         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
7533         (sysdep_routines): Add netlink_assert_response.
7534         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
7535         __netlink_assert_response.
7536         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7537         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7538         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
7539         __netlink_assert_response.
7541 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
7543         [BZ #19178]
7544         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
7545         (RTYPE_CLASS_PLT): Likewise.
7546         (RTYPE_CLASS_COPY): Likewise.
7547         (RTYPE_CLASS_TLS): Likewise.
7548         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
7549         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
7550         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
7551         DL_DEBUG_PRELINK.
7553 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
7555         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
7556         calls with argument -0.5.
7557         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
7559         * configure.ac (libc_cv_z_nodelete): Remove configure test.
7560         (libc_cv_z_nodlopen): Likewise.
7561         (libc_cv_z_initfirst): Likewise.
7562         * configure: Regenerated.
7564 2015-11-06  Florian Weimer  <fweimer@redhat.com>
7566         Simplify abilist format to be line-based.
7567         * scripts/abilist.awk: Collect descriptors in the descs variable.
7568         (emit): Write descs variable and sort it
7569         externally, with sort.
7570         * sysdeps/**/*.abilist: Convert to new format.
7572 2015-11-06  Mark Wielaard  <mjw@redhat.com>
7574         [BZ #11460]
7575         * io/Makefile (routines): Add fts64.
7576         (tests): Add tst-fts and tst-fts-lfs.
7577         (CFLAGS-fts64.c): New.
7578         * io/Versions (GLIBC_2.23): New.
7579         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
7580         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
7581         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
7582         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
7583         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
7584         (FTSENT64): Likewise.
7585         (fts64_children): Likewise.
7586         (fts64_close): Likewise.
7587         (fts64_open): Likewise.
7588         (fts64_read): Likewise.
7589         (fts64_set): Likewise.
7590         * io/fts64.c: New file.
7591         * io/tst-fts.c: New test.
7592         * io/tst-fts-lfs.c: Likewise.
7593         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
7594         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
7595         fts64_set.
7596         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7597         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7598         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7599         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7600         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7601         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7602         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7603         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7604         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7605         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7606         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7607         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7608         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7610         Likewise.
7611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7612         Likewise.
7613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7615         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7616         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7617         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7618         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7619         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7622         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7623         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7624         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7625         * sysdeps/wordsize-64/fts.c: New file.
7626         * sysdeps/wordsize-64/fts64.c: Likewise.
7627         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
7628         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
7629         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
7630         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
7632 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7634         * math/libm-test.inc (NON_FINITE): New macro.
7635         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
7636         * math/gen-libm-test.pl (show_exceptions): Add argument
7637         $non_finite.
7638         (parse_args): Update call to show_exceptions.
7639         * math/test-math-finite.h: New file.
7640         * math/test-math-no-finite.h: Likewise.
7641         * math/test-double-finite.c: Likewise.
7642         * math/test-float-finite.c: Likewise.
7643         * math/test-ldouble-finite.c: Likewise.
7644         * math/test-double.c: Include "test-math-no-finite.h".
7645         * math/test-float.c: Include "test-math-no-finite.h".
7646         * math/test-ldouble.c: Include "test-math-no-finite.h".
7647         * math/test-math-inline.h (TEST_FINITE): New macro.
7648         * math/test-math-vector.h (TEST_FINITE): Likewise.
7649         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
7650         (libm-tests): Add test-float-finite and test-double-finite.
7651         ($(objpfx)test-float-finite.o): New dependency on
7652         $(objpfx)libm-test.stmp.
7653         ($(objpfx)test-double-finite.o): Likewise.
7654         ($(objpfx)test-ldouble-finite.o): Likewise.
7655         (libm-test-no-inline-cflags): New variable.
7656         (libm-test-finite-cflags): Likewise.
7657         (CFLAGS-test-float-finite.c): Likewise.
7658         (CFLAGS-test-double-finite.c): Likewise.
7659         (CFLAGS-test-ldouble-finite.c): Likewise.
7660         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
7661         (CFLAGS-test-double.c): Likewise.
7662         (CFLAGS-test-ldouble.c): Likewise.
7664 2015-11-05  Roland McGrath  <roland@hack.frob.com>
7666         * io/fcntl.c (__fcntl): Add ... to prototype.
7667         * misc/ioctl.c (__ioctl): Likewise.
7668         * misc/syscall.c (syscall): Likewise.
7670 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7672         * scripts/list-fixed-bugs.py: New file.
7674         [BZ #19213]
7675         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
7676         returned for argument 1.
7677         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
7678         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
7679         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
7680         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
7681         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
7682         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
7684         [BZ #19211]
7685         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
7686         __USE_XOPEN], not if [!__USE_ISOC99].
7687         (lgammaf): Likewise.
7688         (lgammal): Likewise.
7689         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
7690         (gammaf): Likewise.
7691         (gammal): Likewise.
7692         * math/test-signgam-finite-c11.c: New file.
7693         * math/test-signgam-finite-c99.c: Likewise.
7694         * math/test-signgam-finite.c: Likewise.
7695         * math/Makefile (tests): Add test-signgam-finite,
7696         test-signgam-finite-c99 and test-signgam-finite-c11.
7697         (CFLAGS-test-signgam-finite.c): New variable.
7698         (CFLAGS-test-signgam-finite-c99.c): Likewise.
7699         (CFLAGS-test-signgam-finite-c11.c): Likewise.
7701         [BZ #19212]
7702         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
7703         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
7704         500].
7705         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
7706         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
7707         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
7708         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
7709         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
7710         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
7711         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
7712         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
7713         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
7714         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
7716         [BZ #19209]
7717         * math/bits/math-finite.h (ldexp): Remove declaration.
7718         (ldexpf): Likewise.
7719         (ldexpl): Likewise.
7721         [BZ #19205]
7722         * math/bits/math-finite.h (acosf): Condition declaration on
7723         [__USE_ISOC99].
7724         (acosl): Likewise.
7725         (acoshf): Likewise.
7726         (acoshl): Likewise.
7727         (asinf): Likewise.
7728         (asinl): Likewise.
7729         (atan2f): Likewise.
7730         (atan2l): Likewise.
7731         (atanhf): Likewise.
7732         (atanhl): Likewise.
7733         (coshf): Likewise.
7734         (coshl): Likewise.
7735         (expf): Likewise.
7736         (expl): Likewise.
7737         (fmodf): Likewise.
7738         (fmodl): Likewise.
7739         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
7740         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
7741         (j0l): Likewise.
7742         (y0f): Likewise.
7743         (y0l): Likewise.
7744         (j1f): Likewise.
7745         (j1l): Likewise.
7746         (y1f): Likewise.
7747         (y1l): Likewise.
7748         (jnf): Likewise.
7749         (jnl): Likewise.
7750         (ynf): Likewise.
7751         (ynl): Likewise.
7752         (lgammaf_r): Condition declaration on [__USE_ISOC99].
7753         (lgammal_r): Likewise.
7754         (__lgamma_r_finite): New declaration.
7755         (__lgammaf_r_finite): Likewise.
7756         (__lgammal_r_finite): Likewise.
7757         (lgamma): Use __lgamma_r_finite.
7758         (lgammaf): Condition definition on [__USE_ISOC99].  Use
7759         __lgammaf_r_finite.
7760         (lgammal): Condition definition on [__USE_ISOC99].  Use
7761         __lgammal_r_finite.
7762         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
7763         __lgamma_r_finite.
7764         (gammaf): Condition definition on [__USE_ISOC99].  Use
7765         __lgammaf_r_finite.
7766         (gammal): Condition definition on [__USE_ISOC99].  Use
7767         __lgammal_r_finite.
7768         (logf): Condition declaration on [__USE_ISOC99].
7769         (logl): Likewise.
7770         (log10f): Likewise.
7771         (log10l): Likewise.
7772         (ldexpf): Likewise.
7773         (ldexpl): Likewise.
7774         (powf): Likewise.
7775         (powl): Likewise.
7776         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
7777         __USE_ISOC99].
7778         (remainderf): Condition declaration on [__USE_ISOC99].
7779         (remainderl): Likewise.
7780         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
7781         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
7782         (scalbl): Likewise.
7783         (sinhf): Condition declaration on [__USE_ISOC99].
7784         (sinhl): Likewise.
7785         (sqrtf): Likewise.
7786         (sqrtl): Likewise.
7788 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7790         * sysdeps/arm/atomic-machine.h
7791         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7792         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7793         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
7794         Remove conditional code.
7795         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7796         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7797         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
7798         Change conditional to [__ASSEMBLER__].
7799         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7800         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
7801         [!__ASSEMBLER__].
7802         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
7803         code.
7804         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
7805         conditional macro definitions.
7806         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
7807         (__arch_compare_and_exchange_val_16_acq): Likewise.
7808         (__arch_compare_and_exchange_val_32_acq): Likewise.
7809         (atomic_exchange_and_add): Likewise.
7810         (atomic_add): Likewise.
7811         (atomic_add_negative): Likewise.
7812         (atomic_add_zero): Likewise.
7813         (atomic_bit_set): Likewise.
7814         (atomic_bit_test_set): Likewise.
7815         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
7816         code unconditional.
7817         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7819         * math/test-math-errno.h: New file.
7820         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
7821         empty.
7822         (TEST_ERRNO): New macro.
7823         (TEST_EXCEPTIONS): Likewise.
7824         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
7825         (TEST_EXCEPTIONS): Likewise.
7826         * math/test-math-vector.h (TEST_ERRNO): Likewise.
7827         * math/test-double.c: Include "test-math-errno.h".
7828         * math/test-float.c: Likewise.
7829         * math/test-ldouble.c: Likewise.
7830         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
7831         code unconditional.
7832         (test_exceptions): Only run code if TEST_EXCEPTIONS.
7833         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
7834         unconditional.
7835         (test_errno): Only run code if TEST_ERRNO.
7836         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
7838 2015-11-04  Florian Weimer  <fweimer@redhat.com>
7840         * nptl/tst-once5.cc: Remove attribution.
7842 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7844         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
7845         sqrt, tan, tanh, y0, y1 and yn.
7846         * math/auto-libm-test-out: Regenerated.
7847         * math/libm-test.inc (scalb_test_data): Add more tests.
7848         (scalbn_test_data): Likewise.
7849         (scalbln_test_data): Likewise.
7850         (signbit_test_data): Likewise.
7851         (sin_test_data): Likewise.
7852         (sincos_test_data): Likewise.
7853         (sinh_test_data): Likewise.
7854         (sqrt_test_data): Likewise.
7855         (tan_test_data): Likewise.
7856         (tanh_test_data): Likewise.
7857         (tgamma_test_data): Likewise.
7858         (y0_test_data): Likewise.
7859         (y1_test_data): Likewise.
7860         (yn_test_data): Likewise.
7861         (significand_test_data): Likewise.
7862         * sysdeps/i386/fpu/libm-test-ulps: Update.
7864 2015-11-03  David Kastrup  <dak@gnu.org>
7866         [BZ #18604]
7867         * assert/assert.h (assert): Don't macro-expand failed assertion
7868         expression in error message.
7869         * malloc/malloc.c (assert): Likewise.
7871 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
7873         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
7874         test.
7875         * configure: Regenerated.
7877 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
7879         * math/libm-test.inc (modf_test_data): Add more tests.
7880         (nearbyint_test_data): Likewise.
7881         (nextafter_test_data): Likewise.
7882         (nexttoward_test_data): Likewise.
7883         (pow_test_data): Likewise.
7884         (remainder_test_data): Likewise.
7885         (remquo_test_data): Likewise.
7886         (rint_test_data): Likewise.
7888         [BZ #19201]
7889         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7890         Check for zero remainder in case of large exponents and ensure
7891         correct sign of result in that case.
7892         * math/libm-test.inc (remainder_test_data): Add more tests.
7894         [BZ #6799]
7895         * math/s_nextafter.c: Include <errno.h>.
7896         (__nextafter): Set errno on overflow and underflow.
7897         * math/s_nexttowardf.c: Include <errno.h>.
7898         (__nexttowardf): Set errno on overflow and underflow.
7899         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
7900         (__nextafterl): Set errno on overflow and underflow.
7901         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
7902         (__nexttoward): Set errno on overflow and underflow.
7903         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
7904         (__nexttowardf): Set errno on overflow and underflow.
7905         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
7906         (__nextafterf): Set errno on overflow and underflow.
7907         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
7908         (__nextafterl): Set errno on overflow and underflow.
7909         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
7910         (__nexttoward): Set errno on overflow and underflow.
7911         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
7912         (__nexttowardf): Set errno on overflow and underflow.
7913         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
7914         (__nextafterl): Set errno on overflow and underflow.
7915         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
7916         (__nexttoward): Set errno on overflow and underflow.
7917         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
7918         (__nexttowardf): Set errno on overflow and underflow.
7919         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
7920         (__nexttoward): Set errno on overflow and underflow.
7921         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
7922         (__nexttowardf): Set errno on overflow and underflow.
7923         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
7924         (__nldbl_nexttowardf): Set errno on overflow and underflow.
7925         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
7926         (__nextafterl): Set errno on overflow and underflow.
7927         * math/libm-test.inc (nextafter_test_data): Do not allow errno
7928         setting to be missing on overflow.  Add more tests.
7929         (nexttoward_test_data): Likewise.
7931         * configure.ac (libc_cv_initfini_array): Remove configure test.
7932         * configure: Regenerated.
7934 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
7936         [BZ #19189]
7937         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
7938         non-finite argument handle arguments with negative sign.
7940         * math/libm-test.inc (j0_test_data): Do not test sign of zero
7941         result from infinite argument.
7942         (j1_test_data): Likewise.
7943         (jn_test_data): Likewise.
7944         (y0_test_data): Likewise.
7945         (y1_test_data): Likewise.
7946         (yn_test_data): Likewise.
7948         [BZ #16171]
7949         * math/w_remainder.c (drem): Define as weak alias of __remainder.
7950         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
7951         * math/w_remainderf.c (dremf): Define as weak alias of
7952         __remainderf.
7953         * math/w_remainderl.c (dreml): Define as weak alias of
7954         __remainderl.
7955         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
7956         __remainder.
7957         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
7958         __remainderf.
7959         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
7960         __remainderl.
7961         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
7962         weak alias of remainderl.
7963         * sysdeps/ieee754/ldbl-opt/w_remainder.c
7964         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
7965         alias of __remainder.
7966         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
7967         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
7968         strong alias of __remainderl.
7969         (dreml): Use long_double_symbol.
7970         * math/Makefile (libm-calls): Remove w_drem.
7971         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
7972         (CFLAGS-nldbl-drem.c): Remove variable.
7973         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
7974         * math/w_drem.c: Remove file.
7975         * math/w_dremf.c: Likewise.
7976         * math/w_dreml.c: Likewise.
7977         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
7978         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
7979         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
7981         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
7982         * sysdeps/i386/configure: Regenerated.
7983         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
7984         * sysdeps/x86_64/configure: Regenerated.
7986         * configure.ac (libc_cv_asm_protected_directive): Remove configure
7987         test.
7988         (libc_cv_visibility_attribute): Likewise.
7989         (libc_cv_protected_data): Test unconditionally.
7990         (libc_cv_broken_visibility_attribute): Remove configure test.
7991         (libc_cv_have_sdata_section): Test unconditionally.
7992         * configure: Regenerated.
7994         * include/libc-internal.h (libc_max_align_t): Remove typedef.
7995         * include/scratch_buffer.h: Include <stddef.h> instead of
7996         <libc-internal.h>.
7997         (struct scratch_buffer): Use max_align_t instead of
7998         libc_max_align_t.
8000 2015-10-29  Florian Weimer  <fweimer@redhat.com>
8002         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
8003         instead of extend_alloca.  Change control flow to avoid a goto.
8004         Remove assert which is trivially always true.
8006 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8008         [BZ #16068]
8009         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
8010         (FE_ALL_EXCEPT_X86): New macro.
8011         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8012         FE_ALL_EXCEPT.  Ensure precision control is included in
8013         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8014         handle "denormal operand exception" and clear FZ and DAZ bits.
8015         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
8016         (FE_ALL_EXCEPT_X86): New macro.
8017         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8018         FE_ALL_EXCEPT.  Ensure precision control is included in
8019         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8020         handle "denormal operand exception" and clear FZ and DAZ bits.
8021         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
8022         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
8023         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8024         test-fenv-x87 and test-fenv-sse-2.
8025         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
8027         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
8028         * math/test-double.h (BUILD_COMPLEX): New macro.
8029         * math/test-float.h (BUILD_COMPLEX): Likewise.
8030         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
8032         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
8033         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
8034         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
8035         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
8036         instead of DBL_DENORM_MIN in comment.
8037         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
8038         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8039         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
8040         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
8041         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
8042         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8044 2015-10-28  Florian Weimer  <fweimer@redhat.com>
8046         [BZ# 19048]
8047         * malloc/malloc.c (struct malloc_state): Update comment.  Add
8048         attached_threads member.
8049         (main_arena): Initialize attached_threads.
8050         * malloc/arena.c (list_lock): Update comment.
8051         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
8052         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
8053         (deattach_arena): New function.
8054         (_int_new_arena): Initialize arena reference count and deattach
8055         replaced arena.
8056         (get_free_list, reused_arena): Update reference count and deattach
8057         replaced arena.
8058         (arena_thread_freeres): Update arena reference count and only put
8059         unreferenced arenas on the free list.
8061 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8063         [BZ #19181]
8064         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
8065         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
8066         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
8067         * math/test-fenv-clear-main.c: New file.
8068         * math/test-fenv-clear.c: Likewise.
8069         * math/Makefile (tests): Add test-fenv-clear.
8070         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
8071         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8072         test-fenv-clear-sse.
8073         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
8075         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
8076         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
8077         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
8079 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8081         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
8082         static libc.
8084 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8086         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
8087         test.
8088         * sysdeps/i386/configure: Regenerated.
8089         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
8090         test.
8091         * sysdeps/x86_64/configure: Regenerated.
8092         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
8093         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8094         memset-avx2 unconditionally instead of conditionally on
8095         [$(config-cflags-avx2) = yes].
8096         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8097         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
8098         unconditional.
8099         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
8100         * sysdeps/x86_64/multiarch/memset_chk.S
8101         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
8102         to [IS_IN (libc) && SHARED].
8104 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8106         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
8107         configure test.
8108         * sysdeps/arm/configure: Regenerated.
8109         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
8110         Define variable if not already defined.
8112         [BZ #17404]
8113         * sysdeps/mips/atomic-machine.h
8114         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
8115         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
8116         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8118         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
8119         unconditional.
8120         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
8121         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8122         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
8123         unconditional.
8124         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8125         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
8126         unconditional.
8127         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8128         * stdlib/setenv.c
8129         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
8130         code unconditional.
8131         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
8132         Remove conditional code.
8133         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8134         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
8135         unconditional.
8136         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8137         code.
8138         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8139         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
8140         unconditional.
8141         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8142         code.
8143         * sysdeps/ieee754/ldbl-128/k_tanl.c
8144         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8145         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8146         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8147         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8148         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8149         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8150         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
8151         unconditional.
8152         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8153         code.
8154         * sysdeps/ieee754/ldbl-96/k_tanl.c
8155         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8156         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8158         * nptl/tst-initializers1-c11.c: New file.
8159         * nptl/tst-initializers1-gnu11.c: Likewise.
8160         * nptl/Makefile (tests): Add these new tests.
8161         (CFLAGS-tst-initializers1-c11.c): New variable.
8162         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
8164         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
8165         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
8166         instead of -std=gnu99.
8167         * configure.ac (systemtap): Test with -std=gnu11 instead of
8168         -std=gnu99.
8169         * configure: Regenerated.
8170         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
8171         in compilation command in comment.
8173         * sysdeps/nptl/configure.ac: Remove file.
8174         * sysdeps/nptl/configure: Remove generated file.
8175         * configure.ac (libc_cv_forced_unwind): Do not substitute.
8176         * configure: Regenerated.
8177         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8178         * config.make.in (have-forced-unwind): Remove variable.
8179         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8180         unconditional.
8181         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8182         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8183         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8184         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8185         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8186         unconditional.
8188 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8190         [BZ #19174]
8191         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8192         .skip_lock_out_of_tbegin_retries.
8193         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8194         (__lll_lock_elision): Likewise, and respect a value of
8195         try_tbegin <= 0.
8197 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8199         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8200         statement.
8202 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8204         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8205         variable.
8206         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8207         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8209         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8210         of -std=c1x -D_ISOC11_SOURCE.
8212         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8213         * configure: Regenerated.
8214         * manual/install.texi (Tools for Compilation): Document
8215         requirement for GCC 4.7 or later.
8216         * INSTALL: Regenerated.
8218 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
8220         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
8221         on CNT to a conditional jump to 'puntdata'.
8223 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8225         * configure.ac (libc_cv_gcc___thread): Remove configure test.
8226         (libc_cv_gcc_tls_model_attr): Likewise.
8227         * configure: Regenerated.
8229         * configure.ac (libc_cv_need_minus_P): Remove configure test.
8230         * configure: Regenerated.
8231         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
8233 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
8235         * configure.ac (old_glibc_headers): Remove configure test.
8236         * configure: Regenerated.
8237         * config.make.in (old-glibc-headers): Remove variable.
8238         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
8239         (install): Remove dependency on remove-old-headers.
8240         (headers2_0): Remove variable.
8241         (remove-old-headers): Remove rule.
8243         * configure.ac (libc_cv_dot_text): Remove configure test.
8244         (libc_cv_asm_set_directive): Use .text instead of
8245         ${libc_cv_dot_text} in configure test.
8246         * configure: Regenerated.
8248 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8250         [BZ #19168]
8251         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8253 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8255         * configure.ac (CXX): Clear the variable if the C++ toolchain does
8256         not support static linking.
8257         * configure: Regenerate.
8259 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
8261         * math/libm-test.inc (check_float_internal): Do not special-case
8262         errors up to 0.5 ulp.
8264         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8265         log2.
8266         * math/auto-libm-test-out: Regenerated.
8267         * math/libm-test.inc (MAX_EXP): New macro.
8268         (ilogb_test_data): Add more tests.
8269         (isfinite_test_data): Likewise.
8270         (isgreater_test_data): Likewise.
8271         (isgreaterequal_test_data): Likewise.
8272         (isinf_test_data): Likewise.
8273         (isless_test_data): Likewise.
8274         (islessequal_test_data): Likewise.
8275         (islessgreater_test_data): Likewise.
8276         (isnan_test_data): Likewise.
8277         (isnormal_test_data): Likewise.
8278         (issignaling_test_data): Likewise.
8279         (isunordered_test_data): Likewise.
8280         (j0_test_data): Likewise.
8281         (j1_test_data): Likewise.
8282         (jn_test_data): Likewise.
8283         (lgamma_test_data): Likewise.
8284         (log_test_data): Likewise.
8285         (log10_test_data): Likewise.
8286         (log1p_test_data): Likewise.
8287         (log2_test_data): Likewise.
8288         (logb_test_data): Likewise.
8289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8291         [BZ #18611]
8292         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8293         avoid excess range and precision on underflow.
8294         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8295         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8296         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8297         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8298         underflow.
8299         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8300         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8301         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8302         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8303         * math/auto-libm-test-in: Do not allow missing errno setting for
8304         tests of j1 and jn.
8305         * math/auto-libm-test-out: Regenerated.
8307 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
8309         [BZ #15491]
8310         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8311         floating-point environment instead of clearing all exceptions.
8312         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8313         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8314         merging in "invalid" exceptions from frndint.
8315         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8316         * math/test-nearbyint-except.c: New file.
8317         * math/Makefile (tests): Add test-nearbyint-except.
8319 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
8321         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8323         * sysdeps/tile/libm-test-ulps: Regenerated.
8325 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8328         (__NR_sync_file_range2): Assume it is always defined.
8329         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8330         (__NR_sync_file_range): Assume it is always defined.
8332 2015-10-22  Andreas Schwab  <schwab@suse.de>
8334         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8335         INTERNAL_SYSCALL_ERRNO.
8336         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8337         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8338         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8339         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8340         Likewise.
8341         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8343 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8345         * io/tst-fcntl.c (fd): New static variable.
8346         (do_prepare): Open temporary file here....
8347         (do_test): ...not here.
8349         * io/ftwtest-sh: Also trap on exit to remove temporary files.
8351 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8353         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8354         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8355         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8356         Moved before "#ifdef __ASSEMBLER__".
8358 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8360         [BZ #19156]
8361         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8362         arguments very close to 0.
8364 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
8366         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8367         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8369 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8371         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8372         New.  Defined for GCC 5 and above when not compiling for
8373         profiling.
8374         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8376         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8377         Renamed to ...
8378         (CFLAGS-epoll_pwait.o): This.
8379         (CFLAGS-mmap.c): Renamed to ...
8380         (CFLAGS-mmap.o): This.
8381         (CFLAGS-mmap64.c): Renamed to ...
8382         (CFLAGS-mmap64.o): This.
8383         (CFLAGS-epoll_pwait.os): New.
8384         (CFLAGS-mmap.os): Likewise.
8385         (CFLAGS-mmap64.os): Likewise.
8386         (CFLAGS-semtimedop.os): Likewise.
8387         (CFLAGS-semtimedop.c): Renamed to ...
8388         (CFLAGS-semtimedop.o): This.
8390 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8392         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
8393         warning message.
8395 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8397         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
8398         * Makefile ($(objpfx)c++-types-check.out): Filter out
8399         $(+gccwarn-c) instead of -Wstrict-prototypes.
8401         * io/fts.c (fts_open): Convert to prototype-style function
8402         definition.
8403         * malloc/mcheck.c (mcheck): Likewise.
8404         (mcheck_pedantic): Likewise.
8405         * posix/regexec.c (re_search_2_stub): Likewise.  Use
8406         internal_function.
8407         (re_search_internal): Likewise.
8408         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
8409         prototype-style function definition.
8410         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8411         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8412         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
8413         (xdr_utmpptr): Likewise.
8414         (xdr_utmparr): Likewise.
8415         (xdr_utmpidle): Likewise.
8416         (xdr_utmpidleptr): Likewise.
8417         (xdr_utmpidlearr): Likewise.
8419         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
8420         log, log10 and log2.
8421         * math/auto-libm-test-out: Regenerated.
8422         * math/libm-test.inc (fmod_test_data): Add more tests.
8423         (fpclassify_test_data): Likewise.
8424         (frexp_test_data): Likewise.
8425         (hypot_test_data): Likewise.
8426         (ilogb_test_data): Likewise.
8428 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
8430         * debug/fortify_fail.c (__fortify_fail): Convert to
8431         prototype-style function definition.  Use internal_function.
8432         * libio/genops.c (save_for_backup): Convert to prototype-style
8433         function definition.
8434         * libio/wgenops.c (save_for_wbackup): Likewise.
8435         * login/grantpt.c (grantpt): Likewise.
8436         * login/ptsname.c (ptsname): Likewise.
8437         (__ptsname_r): Likewise.
8438         * login/unlockpt.c (unlockpt): Likewise.
8439         * mach/msgserver.c (__mach_msg_server): Likewise.
8440         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
8441         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
8442         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
8443         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
8444         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
8445         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
8446         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
8447         Likewise.
8448         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
8449         internal_function.
8450         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
8451         prototype-style function definition.
8452         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
8453         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
8454         (__pthread_create_2_0): Likewise.
8455         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
8456         * nptl/register-atfork.c (__register_atfork): Likewise.
8457         * posix/glob.c (glob): Likewise.
8458         * posix/regcomp.c (re_comp): Likewise.
8459         * posix/regexec.c (re_exec): Likewise.
8460         * stdlib/add_n.c [__STDC__]: Make code unconditional.
8461         [!__STDC__]: Remove conditional code.
8462         * stdlib/cmp.c [__STDC__]: Make code unconditional.
8463         [!__STDC__]: Remove conditional code.
8464         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
8465         [!__STDC__]: Remove conditional code.
8466         * stdlib/divrem.c [__STDC__]: Make code unconditional.
8467         [!__STDC__]: Remove conditional code.
8468         * stdlib/lshift.c [__STDC__]: Make code unconditional.
8469         [!__STDC__]: Remove conditional code.
8470         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
8471         [!__STDC__]: Remove conditional code.
8472         * stdlib/mul.c [__STDC__]: Make code unconditional.
8473         [!__STDC__]: Remove conditional code.
8474         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
8475         [!__STDC__]: Remove conditional code.
8476         * stdlib/rshift.c [__STDC__]: Make code unconditional.
8477         [!__STDC__]: Remove conditional code.
8478         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
8479         function definition.
8480         (STRTOF): Likewise.
8481         * stdlib/strtod_l.c (__STRTOF): Likewise.
8482         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
8483         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
8484         (__strtol_l): Likewise.
8485         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
8486         [!__STDC__]: Remove conditional code.
8487         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
8488         definition.
8489         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8490         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8491         type.
8492         (__strcasecmp): Convert to prototype-style function definition.
8493         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
8494         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8495         type.
8496         (__strncasecmp): Convert to prototype-style function definition.
8497         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
8498         * sunrpc/xdr.c (xdr_union): Likewise.
8499         * sunrpc/xdr_array.c (xdr_array): Likewise.
8500         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
8501         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
8502         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
8503         Likewise.
8504         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
8505         Likewise.
8506         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
8507         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8508         Likewise.
8509         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
8510         (LOCALE_PARAM_PROTO): Likewise.
8511         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
8512         argument type.
8513         (ut_argument_spec): Remove macro.
8514         (ut_argument_spec_iso): Rename to ut_argument_spec.
8515         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
8516         prototype-style function definition.
8517         (memcpy_uppcase): Likewise.
8518         (__strftime_internal): Likewise.
8519         (my_strftime): Likewise.
8520         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
8521         (LOCALE_PARAM_DECL): Likewise.
8522         [_LIBC] (LOCALE_PARAM): Include argument type.
8523         (__strptime_internal): Convert to prototype-style function
8524         definition.
8525         (strptime): Likewise.
8526         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8527         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8528         type.
8529         (__wcscasecmp): Convert to prototype-style function definition.
8530         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
8531         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8532         type.
8533         (__wcsncasecmp): Convert to prototype-style function definition.
8535         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
8536         function definition.
8537         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8538         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8539         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
8540         * elf/dl-minimal.c (_itoa): Likewise.
8541         * hurd/hurdmalloc.c (malloc): Likewise.
8542         (free): Likewise.
8543         (realloc): Likewise.
8544         * inet/inet6_option.c (inet6_option_space): Likewise.
8545         (inet6_option_init): Likewise.
8546         (inet6_option_append): Likewise.
8547         (inet6_option_alloc): Likewise.
8548         (inet6_option_next): Likewise.
8549         (inet6_option_find): Likewise.
8550         * io/ftw.c (FTW_NAME): Likewise.
8551         (NFTW_NAME): Likewise.
8552         (NFTW_NEW_NAME): Likewise.
8553         (NFTW_OLD_NAME): Likewise.
8554         * libio/iofwide.c (_IO_fwide): Likewise.
8555         * libio/strops.c (_IO_str_init_static_internal): Likewise.
8556         (_IO_str_init_static): Likewise.
8557         (_IO_str_init_readonly): Likewise.
8558         (_IO_str_overflow): Likewise.
8559         (_IO_str_underflow): Likewise.
8560         (_IO_str_count): Likewise.
8561         (_IO_str_seekoff): Likewise.
8562         (_IO_str_pbackfail): Likewise.
8563         (_IO_str_finish): Likewise.
8564         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
8565         (_IO_wstr_overflow): Likewise.
8566         (_IO_wstr_underflow): Likewise.
8567         (_IO_wstr_count): Likewise.
8568         (_IO_wstr_seekoff): Likewise.
8569         (_IO_wstr_pbackfail): Likewise.
8570         (_IO_wstr_finish): Likewise.
8571         * locale/programs/localedef.c (normalize_codeset): Likewise.
8572         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8573         (add_locales_to_archive): Likewise.
8574         (delete_locales_from_archive): Likewise.
8575         * malloc/malloc.c (__libc_mallinfo): Likewise.
8576         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
8577         * misc/tsearch.c (__tfind): Likewise.
8578         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
8579         * nptl/pthread_attr_getdetachstate.c
8580         (__pthread_attr_getdetachstate): Likewise.
8581         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8582         Likewise.
8583         * nptl/pthread_attr_getinheritsched.c
8584         (__pthread_attr_getinheritsched): Likewise.
8585         * nptl/pthread_attr_getschedparam.c
8586         (__pthread_attr_getschedparam): Likewise.
8587         * nptl/pthread_attr_getschedpolicy.c
8588         (__pthread_attr_getschedpolicy): Likewise.
8589         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
8590         Likewise.
8591         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
8592         Likewise.
8593         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8594         Likewise.
8595         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8596         Likewise.
8597         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
8598         (__pthread_attr_init_2_0): Likewise.
8599         * nptl/pthread_attr_setdetachstate.c
8600         (__pthread_attr_setdetachstate): Likewise.
8601         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
8602         Likewise.
8603         * nptl/pthread_attr_setinheritsched.c
8604         (__pthread_attr_setinheritsched): Likewise.
8605         * nptl/pthread_attr_setschedparam.c
8606         (__pthread_attr_setschedparam): Likewise.
8607         * nptl/pthread_attr_setschedpolicy.c
8608         (__pthread_attr_setschedpolicy): Likewise.
8609         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
8610         Likewise.
8611         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
8612         Likewise.
8613         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
8614         Likewise.
8615         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
8616         Likewise.
8617         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
8618         Likewise.
8619         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
8620         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
8621         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
8622         use internal_function.
8623         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
8624         prototype-style function definition.
8625         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
8626         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
8627         internal_function.
8628         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
8629         Convert to prototype-style function definition.
8630         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8631         Likewise.
8632         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
8633         Likewise.
8634         (__pthread_mutex_unlock): Likewise.
8635         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
8636         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
8637         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
8638         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
8639         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
8640         * nss/makedb.c (process_input): Likewise.
8641         * posix/fnmatch.c (__strchrnul): Likewise.
8642         (__wcschrnul): Likewise.
8643         (fnmatch): Likewise.
8644         * posix/fnmatch_loop.c (FCT): Likewise.
8645         * posix/glob.c (globfree): Likewise.
8646         (__glob_pattern_type): Likewise.
8647         (__glob_pattern_p): Likewise.
8648         * posix/regcomp.c (re_compile_pattern): Likewise.
8649         (re_set_syntax): Likewise.
8650         (re_compile_fastmap): Likewise.
8651         (regcomp): Likewise.
8652         (regerror): Likewise.
8653         (regfree): Likewise.
8654         * posix/regexec.c (regexec): Likewise.
8655         (re_match): Likewise.
8656         (re_search): Likewise.
8657         (re_match_2): Likewise.
8658         (re_search_2): Likewise.
8659         (re_search_stub): Likewise.  Use internal_function
8660         (re_copy_regs): Likewise.
8661         (re_set_registers): Convert to prototype-style function
8662         definition.
8663         (prune_impossible_nodes): Likewise.  Use internal_function.
8664         * resolv/inet_net_pton.c (inet_net_pton): Convert to
8665         prototype-style function definition.
8666         (inet_net_pton_ipv4): Likewise.
8667         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8668         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
8669         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8670         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
8671         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8672         Make variadic.
8673         * time/strptime_l.c (localtime_r): Convert to prototype-style
8674         function definition.
8675         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8676         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8677         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8678         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8680         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
8681         definition.
8682         (_ufc_doit_r): Likewise.
8683         * crypt/crypt_util.c (_ufc_copymem): Likewise.
8684         (_ufc_output_conversion_r): Likewise.
8685         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
8686         * inet/rcmd.c (rcmd_af): Likewise.
8687         (rcmd): Likewise.
8688         (ruserok_af): Likewise.
8689         (ruserok): Likewise.
8690         (ruserok2_sa): Likewise.
8691         (ruserok_sa): Likewise.
8692         (iruserok_af): Likewise.
8693         (iruserok): Likewise.
8694         (__ivaliduser): Likewise.
8695         (__validuser2_sa): Likewise.
8696         * inet/rexec.c (rexec_af): Likewise.
8697         (rexec): Likewise.
8698         * inet/ruserpass.c (ruserpass): Likewise.
8699         * locale/programs/xmalloc.c (xcalloc): Likewise.
8700         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
8701         * math/w_drem.c (__drem): Likewise.
8702         * math/w_dremf.c (__dremf): Likewise.
8703         * math/w_dreml.c (__dreml): Likewise.
8704         * misc/daemon.c (daemon): Likewise.
8705         * resolv/res_debug.c (p_fqnname): Likewise.
8706         * stdlib/div.c (div): Likewise.
8707         * string/memcmp.c (memcmp_bytes): Likewise.
8708         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
8709         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
8711         * crypt/cert.c (main): Convert to prototype-style function
8712         definition.
8713         * io/pipe.c (__pipe): Likewise.
8714         * io/pipe2.c (__pipe2): Likewise.
8715         * misc/futimesat.c (futimesat): Likewise.
8716         * misc/utimes.c (__utimes): Likewise.
8717         * posix/execve.c (__execve): Likewise.
8718         * posix/execvp.c (execvp): Likewise.
8719         * posix/execvpe.c (__execvpe): Likewise.
8720         * posix/fexecve.c (fexecve): Likewise.
8721         * socket/socketpair.c (socketpair): Likewise.
8722         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8723         * stdlib/erand48.c (erand48): Likewise.
8724         * stdlib/erand48_r.c (__erand48_r): Likewise.
8725         * stdlib/jrand48.c (jrand48): Likewise.
8726         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
8727         * stdlib/lcong48.c (lcong48): Likewise.
8728         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
8729         * stdlib/nrand48.c (nrand48): Likewise.
8730         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
8731         * stdlib/seed48.c (seed48): Likewise.
8732         * stdlib/seed48_r.c (__seed48_r): Likewise.
8733         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
8734         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
8735         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
8737 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8739         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
8740         * configure: Regenerated.
8741         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
8742         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
8743         unconditional.
8744         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8745         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8746         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8747         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
8748         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
8749         unconditional.
8750         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8752         * posix/Makefile (CFLAGS-regex.c): Remove variable.
8753         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
8755         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
8756         function definition.
8757         * crypt/crypt_util.c (__encrypt_r): Likewise.
8758         * libio/genops.c (_IO_no_init): Likewise.
8759         * libio/iofopncook.c (_IO_fopencookie): Likewise.
8760         (_IO_old_fopencookie): Likewise.
8761         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8762         * libio/iogetline.c (_IO_getline): Likewise.
8763         (_IO_getline_info): Likewise.
8764         * libio/iogetwline.c (_IO_getwline): Likewise.
8765         (_IO_getwline_info): Likewise.
8766         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
8767         * libio/vswprintf.c (_IO_vswprintf): Likewise.
8768         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
8769         (find_entry): Likewise.
8770         (iterate_table): Likewise.
8771         (lookup): Likewise.
8772         * login/forkpty.c (forkpty): Likewise.
8773         * misc/hsearch_r.c (__hsearch_r): Likewise.
8774         * misc/select.c (__select): Likewise.
8775         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
8776         Likewise.
8777         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
8778         Likewise.
8779         * nptl/old_pthread_cond_timedwait.c
8780         (__pthread_cond_timedwait_2_0): Likewise.
8781         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
8782         * nptl/pthread_barrierattr_getpshared.c
8783         (pthread_barrierattr_getpshared): Likewise.
8784         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8785         Likewise.
8786         * nptl/pthread_mutex_setprioceiling.c
8787         (pthread_mutex_setprioceiling): Likewise.
8788         * nptl/pthread_mutexattr_getprioceiling.c
8789         (pthread_mutexattr_getprioceiling): Likewise.
8790         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
8791         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8792         Likewise.
8793         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8794         Likewise.
8795         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
8796         Likewise.
8797         * socket/recvfrom.c (__recvfrom): Likewise.
8798         * socket/sendto.c (__sendto): Likewise.
8799         * socket/setsockopt.c (__setsockopt): Likewise.
8800         * stdio-common/_itoa.c (_itoa): Likewise.
8801         * stdio-common/_itowa.c (_itowa): Likewise.
8802         * stdio-common/reg-printf.c (__register_printf_specifier):
8803         Likewise.
8804         (__register_printf_function): Likewise.
8805         * stdio-common/tempname.c (__path_search): Likewise.
8806         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
8807         * stdlib/mul_1.c (mpn_mul_1): Likewise.
8808         * stdlib/random_r.c (__initstate_r): Likewise.
8809         * stdlib/setenv.c (__add_to_environ): Likewise.
8810         * stdlib/submul_1.c (mpn_submul_1): Likewise.
8811         * streams/getpmsg.c (getpmsg): Likewise.
8812         * streams/putmsg.c (putmsg): Likewise.
8813         * streams/putpmsg.c (putpmsg): Likewise.
8814         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
8815         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8816         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
8817         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
8818         * sunrpc/pm_getport.c (pmap_getport): Likewise.
8819         * sunrpc/svc_udp.c (cache_get): Likewise.
8820         * sunrpc/xdr_array.c (xdr_vector): Likewise.
8821         * sysdeps/mach/hurd/getcwd.c
8822         (__canonicalize_directory_name_internal): Likewise.
8823         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
8824         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
8825         * sysdeps/mach/hurd/select.c (__select): Likewise.
8826         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
8827         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
8828         * sysdeps/sparc/nptl/pthread_barrier_init.c
8829         (__pthread_barrier_init): Likewise.
8830         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
8831         (__pthread_cond_timedwait): Likewise.
8832         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
8833         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
8834         Likewise.
8835         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
8836         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
8837         Likewise.
8838         * sysvipc/semtimedop.c (semtimedop): Likewise.
8839         * time/setitimer.c (__setitimer): Likewise.
8840         * time/strftime_l.c (emacs_strftime): Likewise.
8842 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8844         * config.make.in (have-ssp): Delete.
8845         (stack-protector): New variable.
8846         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
8847         cache test for -fstack-protector-strong.  Export stack_protector to
8848         the best ssp flag.
8849         * configure: Regenerated.
8850         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
8851         * nscd/Makefile (CFLAGS-nscd): Likewise.
8852         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8854 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
8856         [BZ #19122]
8857         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
8858         attribute_hidden.
8860 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8862         [BZ #18743]
8863         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
8864         code to...
8865         (ELIDE_LOCK): ...here.
8866         (__get_new_count): New function with part of the code from
8867         __elide_lock that updates the value of adapt_count after a
8868         transaction abort.
8869         (__elided_trylock): Moved this code to...
8870         (ELIDE_TRYLOCK): ...here.
8872 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8874         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
8875         * configure: Regenerate.
8876         * INSTALL: Regenerate.
8877         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
8878         and tweak grammar.
8880 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
8882         * login/programs/pt_chown.c: Include signal.h
8883         (main): Clear any signal mask from the parent process.
8885 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8887         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
8888         * configure: Regenerated.
8889         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
8890         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
8891         $(gnu89-inline-CFLAGS).
8893         * configure.ac (libc_cv_asm_weak_directive): Remove configure
8894         test.
8895         (libc_cv_asm_weakext_directive): Likewise.
8896         * configure: Regenerated.
8897         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
8898         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
8899         * include/libc-symbols.h
8900         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
8901         #error.
8902         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
8903         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
8905         * sysdeps/arm/backtrace.c (__backtrace): Convert to
8906         prototype-style function definition.
8907         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8908         * sysdeps/i386/ffs.c (__ffs): Likewise.
8909         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8910         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
8911         Likewise.
8912         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8913         Likewise.
8914         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8915         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8916         Likewise.
8917         * sysdeps/m68k/ffs.c (__ffs): Likewise.
8918         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
8919         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
8920         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
8921         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
8922         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
8923         * sysdeps/mach/hurd/access.c (__access): Likewise.
8924         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
8925         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
8926         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
8927         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
8928         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
8929         (cthread_getspecific): Likewise.
8930         (cthread_setspecific): Likewise.
8931         (__libc_getspecific): Likewise.
8932         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
8933         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
8934         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
8935         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
8936         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
8937         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
8938         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
8939         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
8940         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
8941         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
8942         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
8943         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8944         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
8945         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
8946         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
8947         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
8948         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
8949         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
8950         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
8951         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
8952         * sysdeps/mach/hurd/link.c (__link): Likewise.
8953         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
8954         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
8955         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
8956         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
8957         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8958         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
8959         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
8960         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
8961         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8962         * sysdeps/mach/hurd/rename.c (rename): Likewise.
8963         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
8964         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8965         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
8966         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
8967         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
8968         * sysdeps/mach/hurd/send.c (__send): Likewise.
8969         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
8970         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
8971         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
8972         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
8973         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
8974         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
8975         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
8976         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
8977         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
8978         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
8979         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
8980         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
8981         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
8982         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
8983         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
8984         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
8985         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
8986         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
8987         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
8988         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8989         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
8990         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
8991         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
8992         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
8993         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
8994         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
8995         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
8996         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8997         * sysdeps/posix/alarm.c (alarm): Likewise.
8998         * sysdeps/posix/cuserid.c (cuserid): Likewise.
8999         * sysdeps/posix/dirfd.c (dirfd): Likewise.
9000         * sysdeps/posix/dup.c (__dup): Likewise.
9001         * sysdeps/posix/dup2.c (__dup2): Likewise.
9002         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
9003         (main): Likewise.
9004         * sysdeps/posix/flock.c (__flock): Likewise.
9005         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
9006         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9007         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
9008         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
9009         * sysdeps/posix/isatty.c (__isatty): Likewise.
9010         * sysdeps/posix/killpg.c (killpg): Likewise.
9011         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9012         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
9013         * sysdeps/posix/raise.c (raise): Likewise.
9014         * sysdeps/posix/remove.c (remove): Likewise.
9015         * sysdeps/posix/rename.c (rename): Likewise.
9016         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
9017         * sysdeps/posix/seekdir.c (seekdir): Likewise.
9018         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9019         * sysdeps/posix/sigignore.c (sigignore): Likewise.
9020         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
9021         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9022         * sysdeps/posix/sigset.c (sigset): Likewise.
9023         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
9024         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
9025         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
9026         * sysdeps/posix/time.c (time): Likewise.
9027         * sysdeps/posix/ttyname.c (getttyname): Likewise.
9028         (ttyname): Likewise.
9029         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
9030         * sysdeps/posix/utime.c (utime): Likewise.
9031         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
9032         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9033         Likewise.
9034         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
9035         (pthread_spin_trylock): Likewise.
9036         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
9037         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
9038         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
9039         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
9040         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
9041         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
9042         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
9043         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
9044         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
9045         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
9046         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
9047         * sysdeps/s390/ffs.c (__ffs): Likewise.
9048         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
9049         Likewise.
9050         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9051         Likewise.
9052         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
9053         Likewise.
9054         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
9055         (pthread_barrier_destroy): Likewise.
9056         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9057         (__pthread_barrier_wait): Likewise.
9058         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
9059         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9060         (__pthread_barrier_wait): Likewise.
9061         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
9062         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
9063         (memcmp_not_common_alignment): Likewise.
9064         (MEMCMP): Likewise.
9065         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
9066         (_wordcopy_fwd_dest_aligned): Likewise.
9067         (_wordcopy_bwd_aligned): Likewise.
9068         (_wordcopy_bwd_dest_aligned): Likewise.
9069         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
9070         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
9071         * sysdeps/unix/bsd/stty.c (stty): Likewise.
9072         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
9073         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
9074         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
9075         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
9076         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
9077         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
9078         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
9079         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
9080         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9081         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
9082         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
9083         * sysdeps/unix/stime.c (stime): Likewise.
9084         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
9085         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
9086         Likewise.  Use internal_function.
9087         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
9088         Convert to prototype-style function definition.
9089         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9090         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9091         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
9092         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9093         Likewise.  Use internal_function.
9094         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
9095         prototype-style function definition
9096         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9097         Likewise.
9098         (__getlogin_r): Likewise.
9099         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
9100         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
9101         (__pthread_cond_broadcast): Likewise.
9102         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
9103         (__pthread_cond_destroy): Likewise.
9104         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
9105         (__pthread_cond_init): Likewise.
9106         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
9107         (__pthread_cond_signal): Likewise.
9108         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9109         (__pthread_cond_wait): Likewise.
9110         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
9111         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9112         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
9113         Likewise.
9114         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
9115         Likewise.
9116         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9117         Likewise.
9118         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
9119         Likewise.
9120         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
9121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9122         (__ftruncate64): Likewise.
9123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9124         (truncate64): Likewise.
9125         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
9126         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
9127         (pthread_getcpuclockid): Likewise.
9128         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9129         Likewise.
9130         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9131         Likewise.
9132         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
9133         Likewise.
9134         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9135         Likewise.
9136         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
9137         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
9138         (__libc_sigaction): Likewise.
9139         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
9140         Likewise.
9141         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9142         (__sigprocmask): Likewise.
9143         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
9144         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
9145         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
9146         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9147         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9148         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
9149         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9150         Likewise.
9151         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
9152         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
9153         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9154         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
9155         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
9156         Likewise.
9157         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9158         (__sigprocmask): Likewise.
9159         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
9160         (cfgetispeed): Likewise.
9161         (cfsetospeed): Likewise.
9162         (cfsetispeed): Likewise.
9163         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
9164         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
9165         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9166         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9167         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
9168         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
9169         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
9170         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
9171         Likewise.
9172         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
9173         Likewise.
9174         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
9175         Likewise.
9176         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9177         Likewise.
9178         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9180 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9182         sunrpc: Rewrite with explicit TLS access using __thread.
9183         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9184         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9185         directly.
9186         (__rpc_thread_variables): Access thread_rpc_vars directly.
9187         Eliminate redundant assignment of the tvp variable.
9189 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9191         malloc: Rewrite with explicit TLS access using __thread.
9192         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9193         (tsd_setspecific, tsd_getspecific): Remove.
9194         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9195         (tsd_setspecific, tsd_getspecific): Likewise.
9196         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9197         (tsd_setspecific, tsd_getspecific): Likewise.
9198         * malloc/arena.c (thread_arena): New TLS variable.
9199         (arena_key): Remove variable.
9200         (arena_get): Use thread_arena.
9201         (arena_lookup): Remove macro.
9202         (malloc_atfork, free_atfork, ptmalloc_lock_all)
9203         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9204         (_int_new_arena, get_free_list, reused_arena)
9205         (arena_thread_freeres): Use thread_arena.
9206         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9207         tsd_getspecific, tsd_setspecific from safety annotations.
9208         (Allocating Cleared Space): Remove arena_lookup from safety
9209         annotations.
9211 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9213         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
9214         struct scratch_buffer instead of extend_alloca.
9216 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9218         * sysdeps/unix/sysv/linux/kernel-features.h
9219         (__ASSUME_SOCK_CLOEXEC): Remove.
9220         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
9221         (__have_paccept): Remove unused macro.
9222         * include/unistd.h (__have_sock_cloexec): Remove declaration.
9223         * misc/syslog.c (openlog_internal): Remove fallback code for
9224         !__ASSUME_SOCK_CLOEXEC.
9225         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
9226         missing SOCK_CLOEXEC.
9227         * nscd/connections.c (have_sock_cloexec): Remove definition.
9228         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9229         * nscd/nscd_helper.c (open_socket): Remove fallback code for
9230         !__ASSUME_SOCK_CLOEXEC.
9231         * resolv/res_send.c (__have_o_nonblock): Remove definition.
9232         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9233         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
9234         definition.
9235         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
9236         code for !__ASSUME_SOCK_CLOEXEC.
9238 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9240         [BZ #18982]
9241         * manual/stdio.texi (Variable Arguments Output): Add portability
9242         note, explaining that vfprintf clobbers the va_list pointer.
9244 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9246         * math/libm-test.inc (fabs_test_data): Add more tests.
9247         (fdim_test_data): Likewise.
9248         (fma_test_data): Likewise.
9249         (fmax_test_data): Likewise.
9250         (fmin_test_data): Likewise.
9251         (fmod_test_data): Likewise.
9253 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
9255         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
9256         data.
9258 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9260         * math/libm-test.inc (ceil_test_data): Add more tests and more
9261         expectations for "inexact".
9262         (floor_test_data): Add more tests.
9263         (round_test_data): Likewise.
9264         (trunc_test_data): Likewise.
9266         * crypt/cert.c (good_bye): Convert to prototype-style function
9267         definition.
9268         (get8): Likewise.
9269         (put8): Likewise.
9270         * crypt/crypt-entry.c (crypt): Likewise.
9271         (__fcrypt): Likewise.
9272         * crypt/crypt_util.c (_ufc_prbits): Likewise.
9273         (_ufc_set_bits): Likewise.
9274         (_ufc_clearmem): Likewise.
9275         (__init_des_r): Likewise.
9276         (shuffle_sb): Likewise.
9277         (shuffle_sb): Likewise.
9278         (_ufc_setup_salt_r): Likewise.
9279         (_ufc_mk_keytab_r): Likewise.
9280         (_ufc_dofinalperm_r): Likewise.
9281         (encrypt): Likewise.
9282         (__setkey_r): Likewise.
9283         (setkey): Likewise.
9284         * crypt/md5.c (md5_init_ctx): Likewise.
9285         (md5_read_ctx): Likewise.
9286         (md5_finish_ctx): Likewise.
9287         (md5_stream): Likewise.
9288         (md5_buffer): Likewise.
9289         (md5_process_bytes): Likewise.
9290         * crypt/sha256.c (__sha256_init_ctx): Likewise.
9291         (__sha256_finish_ctx): Likewise.
9292         (__sha256_process_bytes): Likewise.
9293         * crypt/sha512.c (__sha512_init_ctx): Likewise.
9294         (__sha512_finish_ctx): Likewise.
9295         (__sha512_process_bytes): Likewise.
9296         * ctype/isctype.c (__isctype): Likewise.
9297         * debug/backtrace.c (__backtrace): Likewise.
9298         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9299         * debug/fgets_chk.c (__fgets_chk): Likewise.
9300         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9301         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9302         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9303         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9304         * debug/memset_chk.c (__memset_chk): Likewise.
9305         * debug/strcat_chk.c (__strcat_chk): Likewise.
9306         * debug/strncat_chk.c (__strncat_chk): Likewise.
9307         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9308         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9309         * dirent/dirfd.c (dirfd): Likewise.
9310         * dirent/getdents.c (__getdirentries): Likewise.
9311         * dirent/getdents64.c (getdirentries64): Likewise.
9312         * dirent/rewinddir.c (__rewinddir): Likewise.
9313         * dirent/seekdir.c (seekdir): Likewise.
9314         * dirent/telldir.c (telldir): Likewise.
9315         * elf/sln.c (makesymlinks): Likewise.
9316         (makesymlink): Likewise.
9317         * gmon/gmon.c (__moncontrol): Likewise.
9318         (__monstartup): Likewise.
9319         (write_hist): Likewise.
9320         (write_call_graph): Likewise.
9321         (write_bb_counts): Likewise.
9322         * grp/setgroups.c (setgroups): Likewise.
9323         * inet/inet_lnaof.c (inet_lnaof): Likewise.
9324         * inet/inet_net.c (inet_network): Likewise.
9325         * inet/inet_netof.c (inet_netof): Likewise.
9326         * inet/rcmd.c (rresvport_af): Likewise.
9327         (rresvport): Likewise.
9328         * io/access.c (__access): Likewise.
9329         * io/chdir.c (__chdir): Likewise.
9330         * io/chmod.c (__chmod): Likewise.
9331         * io/chown.c (__chown): Likewise.
9332         * io/close.c (__close): Likewise.
9333         * io/creat.c (creat): Likewise.
9334         * io/creat64.c (creat64): Likewise.
9335         * io/dup.c (__dup): Likewise.
9336         * io/dup2.c (__dup2): Likewise.
9337         * io/dup3.c (__dup3): Likewise.
9338         * io/euidaccess.c (__euidaccess): Likewise.
9339         * io/faccessat.c (faccessat): Likewise.
9340         * io/fchmod.c (__fchmod): Likewise.
9341         * io/fchmodat.c (fchmodat): Likewise.
9342         * io/fchown.c (__fchown): Likewise.
9343         * io/fchownat.c (fchownat): Likewise.
9344         * io/fcntl.c (__fcntl): Likewise.
9345         * io/flock.c (__flock): Likewise.
9346         * io/fts.c (fts_load): Likewise.
9347         (fts_close): Likewise.
9348         (fts_read): Likewise.
9349         (fts_set): Likewise.
9350         (fts_children): Likewise.
9351         (fts_build): Likewise.
9352         (fts_stat): Likewise.
9353         (fts_sort): Likewise.
9354         (fts_alloc): Likewise.
9355         (fts_lfree): Likewise.
9356         (fts_palloc): Likewise.
9357         (fts_padjust): Likewise.
9358         (fts_maxarglen): Likewise.
9359         (fts_safe_changedir): Likewise.
9360         * io/getwd.c (getwd): Likewise.
9361         * io/isatty.c (__isatty): Likewise.
9362         * io/lchown.c (__lchown): Likewise.
9363         * io/link.c (__link): Likewise.
9364         * io/linkat.c (linkat): Likewise.
9365         * io/lseek.c (__libc_lseek): Likewise.
9366         * io/mkdir.c (__mkdir): Likewise.
9367         * io/mkdirat.c (mkdirat): Likewise.
9368         * io/mkfifo.c (mkfifo): Likewise.
9369         * io/mkfifoat.c (mkfifoat): Likewise.
9370         * io/open.c (__libc_open): Likewise.
9371         * io/open64.c (__libc_open64): Likewise.
9372         * io/readlink.c (__readlink): Likewise.
9373         * io/readlinkat.c (readlinkat): Likewise.
9374         * io/rmdir.c (__rmdir): Likewise.
9375         * io/symlink.c (__symlink): Likewise.
9376         * io/symlinkat.c (symlinkat): Likewise.
9377         * io/ttyname.c (ttyname): Likewise.
9378         * io/ttyname_r.c (__ttyname_r): Likewise.
9379         * io/umask.c (__umask): Likewise.
9380         * io/unlink.c (__unlink): Likewise.
9381         * io/unlinkat.c (unlinkat): Likewise.
9382         * io/utime.c (utime): Likewise.
9383         * libio/clearerr.c (clearerr): Likewise.
9384         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
9385         * libio/feof.c (_IO_feof): Likewise.
9386         * libio/feof_u.c (feof_unlocked): Likewise.
9387         * libio/ferror.c (_IO_ferror): Likewise.
9388         * libio/ferror_u.c (ferror_unlocked): Likewise.
9389         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9390         * libio/fileno.c (__fileno): Likewise.
9391         * libio/fputc.c (fputc): Likewise.
9392         * libio/fputc_u.c (fputc_unlocked): Likewise.
9393         * libio/fputwc.c (fputwc): Likewise.
9394         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
9395         * libio/freopen.c (freopen): Likewise.
9396         * libio/freopen64.c (freopen64): Likewise.
9397         * libio/fseek.c (fseek): Likewise.
9398         * libio/fseeko.c (fseeko): Likewise.
9399         * libio/fseeko64.c (fseeko64): Likewise.
9400         * libio/ftello.c (__ftello): Likewise.
9401         * libio/ftello64.c (ftello64): Likewise.
9402         * libio/fwide.c (fwide): Likewise.
9403         * libio/genops.c (_IO_un_link): Likewise.
9404         (_IO_link_in): Likewise.
9405         (_IO_least_marker): Likewise.
9406         (_IO_switch_to_main_get_area): Likewise.
9407         (_IO_switch_to_backup_area): Likewise.
9408         (_IO_switch_to_get_mode): Likewise.
9409         (_IO_free_backup_area): Likewise.
9410         (_IO_switch_to_put_mode): Likewise.
9411         (__overflow): Likewise.
9412         (__underflow): Likewise.
9413         (__uflow): Likewise.
9414         (_IO_setb): Likewise.
9415         (_IO_doallocbuf): Likewise.
9416         (_IO_default_underflow): Likewise.
9417         (_IO_default_uflow): Likewise.
9418         (_IO_default_xsputn): Likewise.
9419         (_IO_sgetn): Likewise.
9420         (_IO_default_xsgetn): Likewise.
9421         (_IO_sync): Likewise.
9422         (_IO_default_setbuf): Likewise.
9423         (_IO_default_seekpos): Likewise.
9424         (_IO_default_doallocate): Likewise.
9425         (_IO_init): Likewise.
9426         (_IO_old_init): Likewise.
9427         (_IO_default_sync): Likewise.
9428         (_IO_default_finish): Likewise.
9429         (_IO_default_seekoff): Likewise.
9430         (_IO_sputbackc): Likewise.
9431         (_IO_sungetc): Likewise.
9432         (_IO_set_column): Likewise.
9433         (_IO_set_column): Likewise.
9434         (_IO_adjust_column): Likewise.
9435         (_IO_get_column): Likewise.
9436         (_IO_init_marker): Likewise.
9437         (_IO_remove_marker): Likewise.
9438         (_IO_marker_difference): Likewise.
9439         (_IO_marker_delta): Likewise.
9440         (_IO_seekmark): Likewise.
9441         (_IO_unsave_markers): Likewise.
9442         (_IO_nobackup_pbackfail): Likewise.
9443         (_IO_default_pbackfail): Likewise.
9444         (_IO_default_seek): Likewise.
9445         (_IO_default_stat): Likewise.
9446         (_IO_default_read): Likewise.
9447         (_IO_default_write): Likewise.
9448         (_IO_default_showmanyc): Likewise.
9449         (_IO_default_imbue): Likewise.
9450         (_IO_iter_next): Likewise.
9451         (_IO_iter_file): Likewise.
9452         * libio/getc.c (_IO_getc): Likewise.
9453         * libio/getwc.c (_IO_getwc): Likewise.
9454         * libio/iofclose.c (_IO_new_fclose): Likewise.
9455         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9456         * libio/iofflush.c (_IO_fflush): Likewise.
9457         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
9458         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
9459         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
9460         * libio/iofgets.c (_IO_fgets): Likewise.
9461         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
9462         * libio/iofgetws.c (fgetws): Likewise.
9463         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9464         * libio/iofopen64.c (_IO_fopen64): Likewise.
9465         * libio/iofopncook.c (_IO_cookie_read): Likewise.
9466         (_IO_cookie_write): Likewise.
9467         (_IO_cookie_seek): Likewise.
9468         (_IO_cookie_close): Likewise.
9469         (_IO_cookie_seekoff): Likewise.
9470         (_IO_old_cookie_seek): Likewise.
9471         * libio/iofputs.c (_IO_fputs): Likewise.
9472         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
9473         * libio/iofputws.c (fputws): Likewise.
9474         * libio/iofputws_u.c (fputws_unlocked): Likewise.
9475         * libio/iofread.c (_IO_fread): Likewise.
9476         * libio/iofread_u.c (__fread_unlocked): Likewise.
9477         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
9478         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
9479         * libio/ioftell.c (_IO_ftell): Likewise.
9480         * libio/iofwrite.c (_IO_fwrite): Likewise.
9481         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9482         * libio/iogets.c (_IO_gets): Likewise.
9483         * libio/iopadn.c (_IO_padn): Likewise.
9484         * libio/iopopen.c (_IO_new_proc_open): Likewise.
9485         (_IO_new_popen): Likewise.
9486         (_IO_new_proc_close): Likewise.
9487         * libio/ioputs.c (_IO_puts): Likewise.
9488         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
9489         (_IO_seekoff): Likewise.
9490         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
9491         (_IO_seekpos): Likewise.
9492         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
9493         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
9494         * libio/ioungetc.c (_IO_ungetc): Likewise.
9495         * libio/ioungetwc.c (ungetwc): Likewise.
9496         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9497         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
9498         * libio/iowpadn.c (_IO_wpadn): Likewise.
9499         * libio/libc_fatal.c (__libc_fatal): Likewise.
9500         * libio/memstream.c (__open_memstream): Likewise.
9501         (_IO_mem_sync): Likewise.
9502         (_IO_mem_finish): Likewise.
9503         * libio/oldfileops.c (_IO_old_file_init): Likewise.
9504         (_IO_old_file_close_it): Likewise.
9505         (_IO_old_file_finish): Likewise.
9506         (_IO_old_file_fopen): Likewise.
9507         (_IO_old_file_attach): Likewise.
9508         (_IO_old_file_setbuf): Likewise.
9509         (_IO_old_do_write): Likewise.
9510         (old_do_write): Likewise.
9511         (_IO_old_file_underflow): Likewise.
9512         (_IO_old_file_overflow): Likewise.
9513         (_IO_old_file_sync): Likewise.
9514         (_IO_old_file_seekoff): Likewise.
9515         (_IO_old_file_write): Likewise.
9516         (_IO_old_file_xsputn): Likewise.
9517         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
9518         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9519         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
9520         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
9521         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9522         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
9523         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
9524         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9525         (_IO_old_popen): Likewise.
9526         (_IO_old_proc_close): Likewise.
9527         * libio/oldpclose.c (__old_pclose): Likewise.
9528         * libio/pclose.c (__new_pclose): Likewise.
9529         * libio/peekc.c (_IO_peekc_locked): Likewise.
9530         * libio/putc.c (_IO_putc): Likewise.
9531         * libio/putc_u.c (putc_unlocked): Likewise.
9532         * libio/putchar.c (putchar): Likewise.
9533         * libio/putchar_u.c (putchar_unlocked): Likewise.
9534         * libio/putwc.c (putwc): Likewise.
9535         * libio/putwc_u.c (putwc_unlocked): Likewise.
9536         * libio/putwchar.c (putwchar): Likewise.
9537         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
9538         * libio/rewind.c (rewind): Likewise.
9539         * libio/setbuf.c (setbuf): Likewise.
9540         * libio/setlinebuf.c (setlinebuf): Likewise.
9541         * libio/vasprintf.c (_IO_vasprintf): Likewise.
9542         * libio/vscanf.c (_IO_vscanf): Likewise.
9543         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
9544         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
9545         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9546         * libio/wgenops.c (_IO_least_wmarker): Likewise.
9547         (_IO_switch_to_main_wget_area): Likewise.
9548         (_IO_switch_to_wbackup_area): Likewise.
9549         (_IO_wsetb): Likewise.
9550         (_IO_wdefault_pbackfail): Likewise.
9551         (_IO_wdefault_finish): Likewise.
9552         (_IO_wdefault_uflow): Likewise.
9553         (__woverflow): Likewise.
9554         (__wuflow): Likewise.
9555         (__wunderflow): Likewise.
9556         (_IO_wdefault_xsputn): Likewise.
9557         (_IO_wdefault_xsgetn): Likewise.
9558         (_IO_wdoallocbuf): Likewise.
9559         (_IO_wdefault_doallocate): Likewise.
9560         (_IO_switch_to_wget_mode): Likewise.
9561         (_IO_free_wbackup_area): Likewise.
9562         (_IO_switch_to_wput_mode): Likewise.
9563         (_IO_sputbackwc): Likewise.
9564         (_IO_sungetwc): Likewise.
9565         (_IO_adjust_wcolumn): Likewise.
9566         (_IO_init_wmarker): Likewise.
9567         (_IO_wmarker_delta): Likewise.
9568         (_IO_seekwmark): Likewise.
9569         (_IO_unsave_wmarkers): Likewise.
9570         * libio/wmemstream.c (open_wmemstream): Likewise.
9571         (_IO_wmem_sync): Likewise.
9572         (_IO_wmem_finish): Likewise.
9573         * locale/nl_langinfo.c (nl_langinfo): Likewise.
9574         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
9575         * locale/programs/simple-hash.c (init_hash): Likewise.
9576         (delete_hash): Likewise.
9577         (insert_entry): Likewise.
9578         (set_entry): Likewise.
9579         (next_prime): Likewise.
9580         (is_prime): Likewise.
9581         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
9582         (xmalloc): Likewise.
9583         (xrealloc): Likewise.
9584         * locale/programs/xstrdup.c (xstrdup): Likewise.
9585         * localedata/collate-test.c (xstrcoll): Likewise.
9586         * localedata/xfrm-test.c (xstrcmp): Likewise.
9587         * login/getlogin_r.c (__getlogin_r): Likewise.
9588         * login/getpt.c (__posix_openpt): Likewise.
9589         * login/login_tty.c (login_tty): Likewise.
9590         * login/setlogin.c (setlogin): Likewise.
9591         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
9592         (mach_msg_destroy_port): Likewise.
9593         (mach_msg_destroy_memory): Likewise.
9594         * malloc/mcheck.c (flood): Likewise.
9595         * misc/acct.c (acct): Likewise.
9596         * misc/brk.c (__brk): Likewise.
9597         * misc/chflags.c (chflags): Likewise.
9598         * misc/chroot.c (chroot): Likewise.
9599         * misc/fchflags.c (fchflags): Likewise.
9600         * misc/fstab.c (getfsspec): Likewise.
9601         (getfsfile): Likewise.
9602         * misc/fsync.c (fsync): Likewise.
9603         * misc/ftruncate.c (__ftruncate): Likewise.
9604         * misc/ftruncate64.c (__ftruncate64): Likewise.
9605         * misc/getdomain.c (getdomainname): Likewise.
9606         (getdomainname): Likewise.
9607         * misc/gethostname.c (__gethostname): Likewise.
9608         * misc/getpass.c (getpass): Likewise.
9609         * misc/getttyent.c (skip): Likewise.
9610         (value): Likewise.
9611         * misc/gtty.c (gtty): Likewise.
9612         * misc/hsearch.c (hsearch): Likewise.
9613         (hcreate): Likewise.
9614         * misc/hsearch_r.c (__hcreate_r): Likewise.
9615         (__hdestroy_r): Likewise.
9616         * misc/ioctl.c (__ioctl): Likewise.
9617         * misc/mkdtemp.c (mkdtemp): Likewise.
9618         * misc/mkostemp.c (mkostemp): Likewise.
9619         * misc/mkostemp64.c (mkostemp64): Likewise.
9620         * misc/mkostemps.c (mkostemps): Likewise.
9621         * misc/mkostemps64.c (mkostemps64): Likewise.
9622         * misc/mkstemp.c (mkstemp): Likewise.
9623         * misc/mkstemp64.c (mkstemp64): Likewise.
9624         * misc/mkstemps.c (mkstemps): Likewise.
9625         * misc/mkstemps64.c (mkstemps64): Likewise.
9626         * misc/mktemp.c (__mktemp): Likewise.
9627         * misc/preadv.c (preadv): Likewise.
9628         * misc/preadv64.c (preadv64): Likewise.
9629         * misc/pwritev.c (pwritev): Likewise.
9630         * misc/pwritev64.c (pwritev64): Likewise.
9631         * misc/readv.c (__readv): Likewise.
9632         * misc/revoke.c (revoke): Likewise.
9633         * misc/setdomain.c (setdomainname): Likewise.
9634         * misc/setegid.c (setegid): Likewise.
9635         * misc/seteuid.c (seteuid): Likewise.
9636         * misc/sethostid.c (sethostid): Likewise.
9637         * misc/sethostname.c (sethostname): Likewise.
9638         * misc/setregid.c (__setregid): Likewise.
9639         * misc/setreuid.c (__setreuid): Likewise.
9640         * misc/sstk.c (sstk): Likewise.
9641         * misc/stty.c (stty): Likewise.
9642         * misc/syscall.c (syscall): Likewise.
9643         * misc/syslog.c (setlogmask): Likewise.
9644         * misc/truncate.c (__truncate): Likewise.
9645         * misc/truncate64.c (truncate64): Likewise.
9646         * misc/ualarm.c (ualarm): Likewise.
9647         * misc/usleep.c (usleep): Likewise.
9648         * misc/ustat.c (ustat): Likewise.
9649         * misc/writev.c (__writev): Likewise.
9650         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
9651         * nptl/old_pthread_cond_broadcast.c
9652         (__pthread_cond_broadcast_2_0): Likewise.
9653         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
9654         Likewise.
9655         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
9656         Likewise.
9657         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
9658         Likewise.
9659         * nptl/pt-raise.c (raise): Likewise.
9660         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
9661         Likewise.
9662         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
9663         * nptl/pthread_barrierattr_destroy.c
9664         (pthread_barrierattr_destroy): Likewise.
9665         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
9666         Likewise.
9667         * nptl/pthread_barrierattr_setpshared.c
9668         (pthread_barrierattr_setpshared): Likewise.
9669         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9670         Likewise.
9671         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9672         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9673         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9674         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
9675         Likewise.
9676         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
9677         Likewise.
9678         * nptl/pthread_condattr_getpshared.c
9679         (pthread_condattr_getpshared): Likewise.
9680         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
9681         Likewise.
9682         * nptl/pthread_condattr_setpshared.c
9683         (pthread_condattr_setpshared): Likewise.
9684         * nptl/pthread_detach.c (pthread_detach): Likewise.
9685         * nptl/pthread_equal.c (__pthread_equal): Likewise.
9686         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
9687         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
9688         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
9689         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
9690         Likewise.
9691         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9692         Likewise.
9693         * nptl/pthread_mutex_getprioceiling.c
9694         (pthread_mutex_getprioceiling): Likewise.
9695         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
9696         Likewise.
9697         * nptl/pthread_mutexattr_getprotocol.c
9698         (pthread_mutexattr_getprotocol): Likewise.
9699         * nptl/pthread_mutexattr_getpshared.c
9700         (pthread_mutexattr_getpshared): Likewise.
9701         * nptl/pthread_mutexattr_getrobust.c
9702         (pthread_mutexattr_getrobust): Likewise.
9703         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9704         Likewise.
9705         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
9706         Likewise.
9707         * nptl/pthread_mutexattr_setprioceiling.c
9708         (pthread_mutexattr_setprioceiling): Likewise.
9709         * nptl/pthread_mutexattr_setprotocol.c
9710         (pthread_mutexattr_setprotocol): Likewise.
9711         * nptl/pthread_mutexattr_setpshared.c
9712         (pthread_mutexattr_setpshared): Likewise.
9713         * nptl/pthread_mutexattr_setrobust.c
9714         (pthread_mutexattr_setrobust): Likewise.
9715         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
9716         Likewise.
9717         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
9718         Likewise.
9719         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
9720         Likewise.
9721         * nptl/pthread_rwlockattr_getkind_np.c
9722         (pthread_rwlockattr_getkind_np): Likewise.
9723         * nptl/pthread_rwlockattr_getpshared.c
9724         (pthread_rwlockattr_getpshared): Likewise.
9725         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
9726         Likewise.
9727         * nptl/pthread_rwlockattr_setkind_np.c
9728         (pthread_rwlockattr_setkind_np): Likewise.
9729         * nptl/pthread_rwlockattr_setpshared.c
9730         (pthread_rwlockattr_setpshared): Likewise.
9731         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
9732         Likewise.
9733         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
9734         Likewise.
9735         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
9736         Likewise.
9737         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9738         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
9739         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
9740         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
9741         * nptl/sem_close.c (sem_close): Likewise.
9742         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
9743         * nptl/sem_init.c (__old_sem_init): Likewise.
9744         * nptl/sigaction.c (__sigaction): Likewise.
9745         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9746         * posix/_exit.c (_exit): Likewise.
9747         * posix/alarm.c (alarm): Likewise.
9748         * posix/confstr.c (confstr): Likewise.
9749         * posix/fpathconf.c (__fpathconf): Likewise.
9750         * posix/getgroups.c (__getgroups): Likewise.
9751         * posix/getpgid.c (__getpgid): Likewise.
9752         * posix/group_member.c (__group_member): Likewise.
9753         * posix/pathconf.c (__pathconf): Likewise.
9754         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
9755         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
9756         * posix/setgid.c (__setgid): Likewise.
9757         * posix/setpgid.c (__setpgid): Likewise.
9758         * posix/setuid.c (__setuid): Likewise.
9759         * posix/sleep.c (__sleep): Likewise.
9760         * posix/sysconf.c (__sysconf): Likewise.
9761         * posix/times.c (__times): Likewise.
9762         * posix/uname.c (__uname): Likewise.
9763         * posix/waitid.c (__waitid): Likewise.
9764         * pwd/getpw.c (__getpw): Likewise.
9765         * resolv/base64.c (b64_pton): Likewise.
9766         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
9767         * resolv/gethnamaddr.c (Dprintf): Likewise.
9768         (gethostbyname): Likewise.
9769         (gethostbyname2): Likewise.
9770         (gethostbyaddr): Likewise.
9771         (_sethtent): Likewise.
9772         (_gethtbyname): Likewise.
9773         (_gethtbyname2): Likewise.
9774         (_gethtbyaddr): Likewise.
9775         (map_v4v6_address): Likewise.
9776         (map_v4v6_hostent): Likewise.
9777         (addrsort): Likewise.
9778         (ht_sethostent): Likewise.
9779         (ht_gethostbyname): Likewise.
9780         (ht_gethostbyaddr): Likewise.
9781         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
9782         (inet_net_ntop_ipv4): Likewise.
9783         * resolv/inet_neta.c (inet_neta): Likewise.
9784         * resolv/inet_ntop.c (inet_ntop): Likewise.
9785         (inet_ntop4): Likewise.
9786         (inet_ntop6): Likewise.
9787         * resolv/inet_pton.c (__inet_pton): Likewise.
9788         (inet_pton4): Likewise.
9789         (inet_pton6): Likewise.
9790         * resolv/res_debug.c (loc_aton): Likewise.
9791         (loc_ntoa): Likewise.
9792         * resource/getpriority.c (__getpriority): Likewise.
9793         * resource/getrusage.c (__getrusage): Likewise.
9794         * resource/nice.c (nice): Likewise.
9795         * resource/setpriority.c (__setpriority): Likewise.
9796         * resource/setrlimit64.c (setrlimit64): Likewise.
9797         * resource/vlimit.c (vlimit): Likewise.
9798         * resource/vtimes.c (vtimes): Likewise.
9799         * rt/aio_error.c (aio_error): Likewise.
9800         * rt/aio_return.c (aio_return): Likewise.
9801         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
9802         * signal/kill.c (__kill): Likewise.
9803         * signal/killpg.c (killpg): Likewise.
9804         * signal/raise.c (raise): Likewise.
9805         * signal/sigaction.c (__sigaction): Likewise.
9806         * signal/sigaddset.c (sigaddset): Likewise.
9807         * signal/sigaltstack.c (sigaltstack): Likewise.
9808         * signal/sigandset.c (sigandset): Likewise.
9809         * signal/sigblock.c (__sigblock): Likewise.
9810         * signal/sigdelset.c (sigdelset): Likewise.
9811         * signal/sigempty.c (sigemptyset): Likewise.
9812         * signal/sigfillset.c (sigfillset): Likewise.
9813         * signal/sighold.c (sighold): Likewise.
9814         * signal/sigignore.c (sigignore): Likewise.
9815         * signal/sigintr.c (siginterrupt): Likewise.
9816         * signal/sigisempty.c (sigisemptyset): Likewise.
9817         * signal/sigismem.c (sigismember): Likewise.
9818         * signal/signal.c (signal): Likewise.
9819         * signal/sigorset.c (sigorset): Likewise.
9820         * signal/sigpause.c (__sigpause): Likewise.
9821         * signal/sigpending.c (sigpending): Likewise.
9822         * signal/sigprocmask.c (__sigprocmask): Likewise.
9823         * signal/sigrelse.c (sigrelse): Likewise.
9824         * signal/sigreturn.c (__sigreturn): Likewise.
9825         * signal/sigset.c (sigset): Likewise.
9826         * signal/sigsetmask.c (__sigsetmask): Likewise.
9827         * signal/sigstack.c (sigstack): Likewise.
9828         * signal/sigsuspend.c (__sigsuspend): Likewise.
9829         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
9830         * signal/sysv_signal.c (__sysv_signal): Likewise.
9831         * socket/accept.c (accept): Likewise.
9832         * socket/accept4.c (__libc_accept4): Likewise.
9833         * socket/bind.c (__bind): Likewise.
9834         * socket/connect.c (__connect): Likewise.
9835         * socket/getpeername.c (getpeername): Likewise.
9836         * socket/getsockname.c (__getsockname): Likewise.
9837         * socket/getsockopt.c (getsockopt): Likewise.
9838         * socket/listen.c (__listen): Likewise.
9839         * socket/recv.c (__recv): Likewise.
9840         * socket/recvmsg.c (__recvmsg): Likewise.
9841         * socket/send.c (__send): Likewise.
9842         * socket/sendmsg.c (__sendmsg): Likewise.
9843         * socket/shutdown.c (shutdown): Likewise.
9844         * socket/sockatmark.c (sockatmark): Likewise.
9845         * socket/socket.c (__socket): Likewise.
9846         * stdio-common/ctermid.c (ctermid): Likewise.
9847         * stdio-common/cuserid.c (cuserid): Likewise.
9848         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
9849         * stdio-common/remove.c (remove): Likewise.
9850         * stdio-common/rename.c (rename): Likewise.
9851         * stdio-common/renameat.c (renameat): Likewise.
9852         * stdio-common/tempname.c (__gen_tempname): Likewise.
9853         * stdio-common/xbug.c (InitBuffer): Likewise.
9854         (AppendToBuffer): Likewise.
9855         (ReadFile): Likewise.
9856         * stdlib/a64l.c (a64l): Likewise.
9857         * stdlib/drand48_r.c (drand48_r): Likewise.
9858         * stdlib/getcontext.c (getcontext): Likewise.
9859         * stdlib/getenv.c (getenv): Likewise.
9860         * stdlib/l64a.c (l64a): Likewise.
9861         * stdlib/llabs.c (llabs): Likewise.
9862         * stdlib/lldiv.c (lldiv): Likewise.
9863         * stdlib/lrand48_r.c (lrand48_r): Likewise.
9864         * stdlib/mrand48_r.c (mrand48_r): Likewise.
9865         * stdlib/putenv.c (putenv): Likewise.
9866         * stdlib/random.c (__srandom): Likewise.
9867         (__initstate): Likewise.
9868         (__setstate): Likewise.
9869         * stdlib/random_r.c (__srandom_r): Likewise.
9870         (__setstate_r): Likewise.
9871         (__random_r): Likewise.
9872         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
9873         * stdlib/setcontext.c (setcontext): Likewise.
9874         * stdlib/setenv.c (setenv): Likewise.
9875         (unsetenv): Likewise.
9876         * stdlib/srand48.c (srand48): Likewise.
9877         * stdlib/srand48_r.c (__srand48_r): Likewise.
9878         * stdlib/swapcontext.c (swapcontext): Likewise.
9879         * stdlib/system.c (__libc_system): Likewise.
9880         * stdlib/tst-strtod.c (expand): Likewise.
9881         * stdlib/tst-strtol.c (expand): Likewise.
9882         * stdlib/tst-strtoll.c (expand): Likewise.
9883         * streams/fattach.c (fattach): Likewise.
9884         * streams/fdetach.c (fdetach): Likewise.
9885         * streams/getmsg.c (getmsg): Likewise.
9886         * streams/isastream.c (isastream): Likewise.
9887         * string/ffs.c (__ffs): Likewise.
9888         * string/ffsll.c (ffsll): Likewise.
9889         * string/memcmp.c (memcmp_common_alignment): Likewise.
9890         (memcmp_not_common_alignment): Likewise.
9891         (MEMCMP): Likewise.
9892         * string/memcpy.c (memcpy): Likewise.
9893         * string/memmove.c (MEMMOVE): Likewise.
9894         * string/memset.c (memset): Likewise.
9895         * string/rawmemchr.c (RAWMEMCHR): Likewise.
9896         * string/strchrnul.c (STRCHRNUL): Likewise.
9897         * string/strerror.c (strerror): Likewise.
9898         * string/strndup.c (__strndup): Likewise.
9899         * string/strverscmp.c (__strverscmp): Likewise.
9900         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
9901         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
9902         (clnttcp_freeres): Likewise.
9903         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
9904         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
9905         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
9906         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
9907         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
9908         (xdr_callhdr): Likewise.
9909         * sunrpc/rpcinfo.c (udpping): Likewise.
9910         (tcpping): Likewise.
9911         (pstatus): Likewise.
9912         (pmapdump): Likewise.
9913         (brdcst): Likewise.
9914         (deletereg): Likewise.
9915         (getprognum): Likewise.
9916         (getvers): Likewise.
9917         (get_inet_address): Likewise.
9918         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
9919         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9920         (svcudp_stat): Likewise.
9921         (svcudp_recv): Likewise.
9922         (svcudp_reply): Likewise.
9923         (svcudp_getargs): Likewise.
9924         (svcudp_freeargs): Likewise.
9925         (svcudp_destroy): Likewise.
9926         * sunrpc/xdr.c (xdr_bytes): Likewise.
9927         (xdr_netobj): Likewise.
9928         (xdr_string): Likewise.
9929         (xdr_wrapstring): Likewise.
9930         * sunrpc/xdr_float.c (xdr_float): Likewise.
9931         (xdr_double): Likewise.
9932         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
9933         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
9934         * sysvipc/ftok.c (ftok): Likewise.
9935         * sysvipc/msgctl.c (msgctl): Likewise.
9936         * sysvipc/msgget.c (msgget): Likewise.
9937         * sysvipc/msgrcv.c (msgrcv): Likewise.
9938         * sysvipc/msgsnd.c (msgsnd): Likewise.
9939         * sysvipc/semget.c (semget): Likewise.
9940         * sysvipc/semop.c (semop): Likewise.
9941         * sysvipc/shmat.c (shmat): Likewise.
9942         * sysvipc/shmctl.c (shmctl): Likewise.
9943         * sysvipc/shmdt.c (shmdt): Likewise.
9944         * sysvipc/shmget.c (shmget): Likewise.
9945         * termios/cfmakeraw.c (cfmakeraw): Likewise.
9946         * termios/speed.c (cfgetospeed): Likewise.
9947         (cfgetispeed): Likewise.
9948         (cfsetospeed): Likewise.
9949         (cfsetispeed): Likewise.
9950         * termios/tcflow.c (tcflow): Likewise.
9951         * termios/tcflush.c (tcflush): Likewise.
9952         * termios/tcgetattr.c (__tcgetattr): Likewise.
9953         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
9954         * termios/tcgetsid.c (tcgetsid): Likewise.
9955         * termios/tcsendbrk.c (tcsendbreak): Likewise.
9956         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
9957         * time/adjtime.c (__adjtime): Likewise.
9958         * time/dysize.c (dysize): Likewise.
9959         * time/ftime.c (ftime): Likewise.
9960         * time/getitimer.c (__getitimer): Likewise.
9961         * time/gettimeofday.c (__gettimeofday): Likewise.
9962         * time/gmtime.c (__gmtime_r): Likewise.
9963         (gmtime): Likewise.
9964         * time/localtime.c (__localtime_r): Likewise.
9965         (localtime): Likewise.
9966         * time/offtime.c (__offtime): Likewise.
9967         * time/settimeofday.c (__settimeofday): Likewise.
9968         * time/stime.c (stime): Likewise.
9969         * time/strftime_l.c (tm_diff): Likewise.
9970         (iso_week_days): Likewise.
9971         * time/strptime.c (strptime): Likewise.
9972         * time/time.c (time): Likewise.
9973         * time/timespec_get.c (timespec_get): Likewise.
9974         * time/tzset.c (tzset_internal): Likewise.
9975         (compute_change): Likewise.
9976         (__tz_compute): Likewise.
9977         * wcsmbs/btowc.c (__btowc): Likewise.
9978         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
9979         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
9980         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
9981         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
9982         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
9983         * wcsmbs/wcscat.c (__wcscat): Likewise.
9984         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9985         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
9986         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
9987         * wcsmbs/wcscspn.c (wcscspn): Likewise.
9988         * wcsmbs/wcsdup.c (wcsdup): Likewise.
9989         * wcsmbs/wcslen.c (__wcslen): Likewise.
9990         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
9991         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
9992         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
9993         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
9994         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9995         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
9996         * wcsmbs/wcsspn.c (wcsspn): Likewise.
9997         * wcsmbs/wcsstr.c (wcsstr): Likewise.
9998         * wcsmbs/wcstok.c (wcstok): Likewise.
9999         * wcsmbs/wctob.c (wctob): Likewise.
10000         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
10001         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10002         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
10003         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
10004         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
10005         * wcsmbs/wmemset.c (__wmemset): Likewise.
10006         * wctype/wcfuncs.c (__towlower): Likewise.
10007         (__towupper): Likewise.
10009         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
10010         (lll_unlock_elision): Add adapt_count parameter.
10012 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10014         * sysdeps/nptl/configure.ac: Do not give errors based on the
10015         results of top-level configure tests.
10016         * sysdeps/nptl/configure: Regenerated.
10018         * configure.ac (libc_cv_Bgroup): Remove configure test.
10019         * configure: Regenerated.
10020         * config.make.in (have-Bgroup): Remove variable.
10022         * configure.ac (sizeof_long_double): Remove configure test.
10023         * configure: Regenerated.
10024         * config.make.in (sizeof-long-double): Remove variable.
10026         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
10027         * configure: Regenerated.
10028         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
10029         variable.
10030         (exceptions): Likewise.
10031         * sysdeps/arm/configure: Regenerated.
10032         * config.make.in (exceptions): Remove variable.
10033         * Makeconfig (uses-callbacks): Use -fexceptions instead of
10034         $(exceptions).
10035         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
10036         (CFLAGS-vdprintf_chk.c): Likewise.
10037         (CFLAGS-printf_chk.c): Likewise.
10038         (CFLAGS-fprintf_chk.c): Likewise.
10039         (CFLAGS-vprintf_chk.c): Likewise.
10040         (CFLAGS-vfprintf_chk.c): Likewise.
10041         (CFLAGS-gets_chk.c): Likewise.
10042         (CFLAGS-fgets_chk.c): Likewise.
10043         (CFLAGS-fgets_u_chk.c): Likewise.
10044         (CFLAGS-fread_chk.c): Likewise.
10045         (CFLAGS-fread_u_chk.c): Likewise.
10046         (CFLAGS-wprintf_chk.c): Likewise.
10047         (CFLAGS-fwprintf_chk.c): Likewise.
10048         (CFLAGS-vwprintf_chk.c): Likewise.
10049         (CFLAGS-vfwprintf_chk.c): Likewise.
10050         (CFLAGS-fgetws_chk.c): Likewise.
10051         (CFLAGS-fgetws_u_chk.c): Likewise.
10052         * libio/Makefile (CFLAGS-fileops.c): Likewise.
10053         (CFLAGS-fputc.c): Likewise.
10054         (CFLAGS-fputwc.c): Likewise.
10055         (CFLAGS-freopen64.c): Likewise.
10056         (CFLAGS-freopen.c): Likewise.
10057         (CFLAGS-fseek.c): Likewise.
10058         (CFLAGS-fseeko64.c): Likewise.
10059         (CFLAGS-fseeko.c): Likewise.
10060         (CFLAGS-ftello64.c): Likewise.
10061         (CFLAGS-ftello.c): Likewise.
10062         (CFLAGS-fwide.c): Likewise.
10063         (CFLAGS-genops.c): Likewise.
10064         (CFLAGS-getc.c): Likewise.
10065         (CFLAGS-getchar.c): Likewise.
10066         (CFLAGS-getwc.c): Likewise.
10067         (CFLAGS-getwchar.c): Likewise.
10068         (CFLAGS-iofclose.c): Likewise.
10069         (CFLAGS-iofflush.c): Likewise.
10070         (CFLAGS-iofgetpos64.c): Likewise.
10071         (CFLAGS-iofgetpos.c): Likewise.
10072         (CFLAGS-iofgets.c): Likewise.
10073         (CFLAGS-iofgetws.c): Likewise.
10074         (CFLAGS-iofputs.c): Likewise.
10075         (CFLAGS-iofputws.c): Likewise.
10076         (CFLAGS-iofread.c): Likewise.
10077         (CFLAGS-iofsetpos64.c): Likewise.
10078         (CFLAGS-iofsetpos.c): Likewise.
10079         (CFLAGS-ioftell.c): Likewise.
10080         (CFLAGS-iofwrite.c): Likewise.
10081         (CFLAGS-iogetdelim.c): Likewise.
10082         (CFLAGS-iogetline.c): Likewise.
10083         (CFLAGS-iogets.c): Likewise.
10084         (CFLAGS-iogetwline.c): Likewise.
10085         (CFLAGS-ioputs.c): Likewise.
10086         (CFLAGS-ioseekoff.c): Likewise.
10087         (CFLAGS-ioseekpos.c): Likewise.
10088         (CFLAGS-iosetbuffer.c): Likewise.
10089         (CFLAGS-iosetvbuf.c): Likewise.
10090         (CFLAGS-ioungetc.c): Likewise.
10091         (CFLAGS-ioungetwc.c): Likewise.
10092         (CFLAGS-oldfileops.c): Likewise.
10093         (CFLAGS-oldiofclose.c): Likewise.
10094         (CFLAGS-oldiofgetpos64.c): Likewise.
10095         (CFLAGS-oldiofgetpos.c): Likewise.
10096         (CFLAGS-oldiofsetpos64.c): Likewise.
10097         (CFLAGS-oldiofsetpos.c): Likewise.
10098         (CFLAGS-peekc.c): Likewise.
10099         (CFLAGS-putc.c): Likewise.
10100         (CFLAGS-putchar.c): Likewise.
10101         (CFLAGS-putwc.c): Likewise.
10102         (CFLAGS-putwchar.c): Likewise.
10103         (CFLAGS-rewind.c): Likewise.
10104         (CFLAGS-wfileops.c): Likewise.
10105         (CFLAGS-wgenops.c): Likewise.
10106         (CFLAGS-oldiofopen.c): Likewise.
10107         (CFLAGS-iofopen.c): Likewise.
10108         (CFLAGS-iofopen64.c): Likewise.
10109         (CFLAGS-oldtmpfile.c): Likewise.
10110         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
10111         (CFLAGS-fprintf.c): Likewise.
10112         (CFLAGS-printf.c): Likewise.
10113         (CFLAGS-vfwprintf.c): Likewise.
10114         (CFLAGS-vfscanf.c): Likewise.
10115         (CFLAGS-vfwscanf.c): Likewise.
10116         (CFLAGS-fscanf.c): Likewise.
10117         (CFLAGS-scanf.c): Likewise.
10118         (CFLAGS-isoc99_vfscanf.c): Likewise.
10119         (CFLAGS-isoc99_vscanf.c): Likewise.
10120         (CFLAGS-isoc99_fscanf.c): Likewise.
10121         (CFLAGS-isoc99_scanf.c): Likewise.
10122         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
10123         (CFLAGS-isoc99_fwscanf.c): Likewise.
10124         (CFLAGS-isoc99_vwscanf.c): Likewise.
10125         (CFLAGS-isoc99_vfwscanf.c): Likewise.
10127         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
10128         after mkstemp64.
10129         * login/tst-utmp.c (do_prepare): Likewise.
10130         * rt/tst-aio.c (do_prepare): Likewise.
10131         * rt/tst-aio64.c (do_prepare): Likewise.
10133 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10135         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10136         (__lll_lock_elision): Remove adapt_count decrement...
10137         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10138         (__lll_trylock_elision): Likewise.
10139         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10140         (__lll_unlock_elision): ... to here. And utilize
10141         new adapt_count parameter.
10142         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10143         (__lll_unlock_elision): Update to include adapt_count
10144         parameter.
10145         (lll_unlock_elision): Pass pointer to adapt_count
10146         variable.
10148 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10150         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
10151         Add elision adapt_count parameter to list of arguments.
10152         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10153         (lll_unlock_elision): Update with new parameter list
10154         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10155         (lll_unlock_elision): Likewise.
10156         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10157         (lll_unlock_elision): Likewise.
10159 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10161         [BZ #19122]
10162         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
10163         attribute_hidden.
10165         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
10166         attribute_hidden.
10167         [IS_IN (rtld)] (__strdup): Likewise.
10168         [IS_IN (rtld)] (__strerror_r): Likewise.
10169         [IS_IN (rtld)] (__strsep_g): Likewise.
10170         [IS_IN (rtld)] (memchr): Likewise.
10171         [IS_IN (rtld)] (memcmp): Likewise.
10172         [IS_IN (rtld)] (memcpy): Likewise.
10173         [IS_IN (rtld)] (memmove): Likewise.
10174         [IS_IN (rtld)] (memset): Likewise.
10175         [IS_IN (rtld)] (rawmemchr): Likewise.
10176         [IS_IN (rtld)] (stpcpy): Likewise.
10177         [IS_IN (rtld)] (strchr): Likewise.
10178         [IS_IN (rtld)] (strcmp): Likewise.
10179         [IS_IN (rtld)] (strlen): Likewise.
10180         [IS_IN (rtld)] (strnlen): Likewise.
10181         [IS_IN (rtld)] (strsep): Likewise.
10183         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10184         attribute_hidden.
10185         [IS_IN (rtld)] (__strtoul_internal): Likewise.
10187         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10188         attribute_hidden.
10189         [IS_IN (rtld)] (__libc_sigaction): Likewise.
10191         * include/setjmp.h (__longjmp): Add attribute_hidden.
10192         [IS_IN (rtld)] (__sigsetjmp): Likewise.
10194         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10195         Add attribute_hidden.
10197         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10198         [IS_IN (rtld)] (__open): Likewise.
10199         [IS_IN (rtld)] (__fcntl): Likewise.
10201         * include/dirent.h (__opendirat): Add attribute_hidden.
10202         (__getdents): Likewise.
10203         (__getdents64): Likewise.
10204         (__alloc_dir): Likewise.
10205         [IS_IN (rtld)] (__closedir): Likewise.
10206         [IS_IN (rtld)] (__fdopendir): Likewise.
10207         [IS_IN (rtld)] (__readdir): Likewise.
10208         [IS_IN (rtld)] (__readdir64): Likewise.
10209         [IS_IN (rtld)] (__rewinddir): Likewise.
10211         * include/dlfcn.h (_dl_catch_error): Moved to ...
10212         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10213         attribute_hidden.
10215         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
10216         (_itoa_word): Likewise.
10218         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
10219         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10220         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10221         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
10222         (_dl_higher_prime_number): Likewise.
10223         (_dl_debug_printf_c): Likewise.
10224         (_dl_signal_cerror): Likewise.
10225         (_dl_receive_error): Likewise.
10226         (_dl_reloc_bad_type): Likewise.
10227         (_dl_resolve_conflicts): Likewise.
10228         (_dl_check_all_versions): Likewise.
10229         (_dl_check_map_versions): Likewise.
10230         (_dl_sort_fini): Likewise.
10231         (_dl_debug_initialize): Likewise.
10232         (_dl_init_paths): Likewise.
10233         (_dl_show_auxv): Likewise.
10234         (_dl_next_ld_env_entry): Likewise.
10235         (_dl_important_hwcaps): Likewise.
10236         (_dl_load_cache_lookup): Likewise.
10237         (_dl_update_slotinfo): Likewise.
10238         (_dl_show_scope): Likewise.
10240         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
10241         attribute_hidden.
10242         (_wordcopy_fwd_dest_aligned): Likewise.
10243         (_wordcopy_bwd_aligned): Likewise.
10244         (_wordcopy_bwd_dest_aligned): Likewise.
10246         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10247         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10248         Likewise.
10249         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10250         Likewise.
10251         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10253 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10255         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
10256         GCC 5 requirement.
10258 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10260         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
10261         test.
10262         * sysdeps/i386/configure: Regenerated.
10263         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
10264         code unconditional.
10266         * configure.ac (libc_cv_asm_previous_directive): Remove configure
10267         test.
10268         (libc_cv_asm_popsection_directive): Likewise.
10269         * configure: Regenerated.
10270         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
10271         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
10272         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
10273         (__make_section_unallocated): Make definition unconditional.
10274         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
10275         Remove conditional definition.
10276         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
10277         (__make_section_unallocated): Likewise.
10279         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
10280         * configure: Regenerated.
10281         * config.make.in (static-libgcc): Remove variable.
10282         * Makerules (build-shlib-helper): Use -static-libgcc instead of
10283         $(static-libgcc).
10284         (build-module-helper): Likewise.
10286         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
10287         * configure: Regenerated.
10289 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10291         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10292         (struct char_buffer): New type.
10293         (char_buffer_start, char_buffer_size, char_buffer_error)
10294         (char_buffer_rewind, char_buffer_add): New functions.
10295         (ADDW): Remove macro, replaced by the char_buffer_add function.
10296         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10297         of extend_alloca.  Make control flow more explicit.
10299 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10301         [BZ #19137]
10302         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10303         Add -fomit-frame-pointer.
10304         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10306 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10308         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10309         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10310         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10311         only if !__GNUC_PREREQ (5,0).
10312         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10313         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10314         (INTERNAL_SYSCALL_NCS): Likewise.
10315         (LOADREGS_0): New macro for GCC 5.
10316         (ASMARGS_0): Likewise.
10317         (LOADREGS_1): Likewise.
10318         (ASMARGS_1): Likewise.
10319         (LOADREGS_2): Likewise.
10320         (ASMARGS_2): Likewise.
10321         (LOADREGS_3): Likewise.
10322         (ASMARGS_3): Likewise.
10323         (LOADREGS_4): Likewise.
10324         (ASMARGS_4): Likewise.
10325         (LOADREGS_5): Likewise.
10326         (ASMARGS_5): Likewise.
10327         (LOADREGS_6): Likewise.
10328         (ASMARGS_6): Likewise.
10330 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10332         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10333         -fomit-frame-pointer.
10334         (CFLAGS-mmap64.c): Likewise.
10335         (CFLAGS-semtimedop.c): Likewise.
10336         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10337         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10338         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10339         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10341 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10343         [BZ #18928]
10344         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10345         _dl_pointer_guard member.
10346         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10347         initializer.
10348         (security_init): Always set up pointer guard.
10349         (process_envvars): Do not process LD_POINTER_GUARD.
10351 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
10353         [BZ #19134]
10354         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10355         (.LC2): Likewise.
10356         (.LC3): Likewise.
10357         (__lround): Do not add 0.5 to integer or out-of-range arguments.
10359 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10361         [BZ #19129]
10362         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10363         r0 and r1.
10365 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
10367         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10369 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
10371         * include/stap-probe.h: Fix macro definition formatting.
10373 2015-10-14  Florian Weimer  <fweimer@redhat.com>
10375         [BZ #19074]
10376         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
10377         load and store num_ifs.
10379 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10381         [BZ #18822]
10382         * sysdeps/unix/sysv/linux/sched_getaffinity.c
10383         (__sched_getaffinity_new): Add libc_hidden_proto and
10384         libc_hidden_def.
10386 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10388         [BZ #19007]
10389         * scripts/localplt.awk: Also allow GOT references.
10390         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
10391         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
10392         with "+ REL R_386_GLOB_DAT".
10393         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
10394         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
10396 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10398         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
10399         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10400         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
10401         Likewise.
10402         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10403         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
10404         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10405         INTERNAL_SYSCALLINTERNAL_SYSCALL and
10406         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10407         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10408         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10409         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10410         Likewise.
10411         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10413 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10415         [BZ #19125]
10416         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
10417         <math_private.h> and <stdint.h>.
10418         (__llround): Avoid conversions to and from long long int, and
10419         subtractions, where those might raise spurious exceptions.
10420         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10421         <math_private.h> and <stdint.h>.
10422         (__llroundf): Avoid conversions to and from long long int, and
10423         subtractions, where those might raise spurious exceptions.
10425 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10427         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10428         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10429         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10430         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
10431         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10432         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10433         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
10434         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
10435         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
10436         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10437         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10438         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10439         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
10440         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10441         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10442         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
10443         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
10444         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10445         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
10446         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
10447         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10448         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
10449         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
10450         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10451         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
10452         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10453         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
10454         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10455         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10456         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
10457         (__xstat64_conv): Likewise.
10458         (__xstat32_conv): Likewise.
10460 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10462         * sysdeps/unix/sysv/linux/sysdep.h: New file.
10463         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
10464         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
10465         <sysdeps/unix/sysv/linux/sysdep.h>.
10466         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10467         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
10468         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
10469         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10470         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10471         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
10472         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
10473         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10474         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10477         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10478         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10479         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10480         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10481         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10482         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
10483         (sysdep-dl-routines): Add sysdep.
10484         [$(subdir) == nptl] (libpthread-routines): Likewise.
10485         [$(subdir) == rt] (librt-routines): Likewise.
10486         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
10487         PIC when branching to SYSCALL_ERROR_LABEL.
10488         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
10489         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
10490         <sysdeps/unix/sysv/linux/sysdep.h>.
10491         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
10492         (SYSCALL_ERROR_ERRNO): Removed.
10493         (SYSCALL_ERROR_HANDLER): Changed to empty.
10494         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
10495         (__syscall_error): New prototype.
10496         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
10497         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
10499 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10501         [BZ #19124]
10502         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
10503         (_dl_runtime_resolve_avx512): Make it a hidden alias of
10504         _dl_runtime_resolve_avx.
10505         (_dl_runtime_profile_avx512): Make it a hidden alias of
10506         _dl_runtime_profile_avx.
10508 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10510         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
10511         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
10512         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
10513         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
10515         [BZ #16422]
10516         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
10517         New configure test.
10518         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
10519         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
10520         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
10521         <math_private.h> and <stdint.h>.
10522         (__llrint): Avoid conversions to long long int where those might
10523         raise spurious exceptions.
10524         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
10525         <math_private.h> and <stdint.h>.
10526         (__llrintf): Avoid conversions to long long int where those might
10527         raise spurious exceptions.
10529 2015-10-12  Andreas Schwab  <schwab@suse.de>
10531         [BZ #18969]
10532         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
10533         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
10534         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
10535         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
10536         $(gen-locales).
10537         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
10538         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
10539         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
10540         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
10541         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
10542         $(gen-locales).
10543         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
10544         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
10545         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
10546         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
10547         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
10548         ($(objpfx)tst-ftell-active-handler.out)
10549         ($(objpfx)tst-ftell-append.out)
10550         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
10551         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
10552         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
10553         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
10554         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
10555         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
10556         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
10557         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
10558         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
10559         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
10560         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
10561         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
10562         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
10563         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
10564         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
10565         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
10566         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
10567         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
10568         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
10569         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
10570         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
10571         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
10572         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
10573         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
10574         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
10575         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
10576         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
10577         $(gen-locales).
10578         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
10579         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
10580         $(gen-locales).
10581         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
10582         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
10583         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
10584         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
10585         $(gen-locales).
10586         * libio/tst_wprintf2.c (main): Use explicit locale.
10587         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
10589 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10591         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
10592         __msg_sig_post.
10593         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
10595 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10597         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10598         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10600         * sysdeps/arm/libm-test-ulps: Regenerated.
10602         [BZ #15470]
10603         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
10605         [BZ #16399]
10606         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
10607         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
10608         and <fix-fp-int-convert-overflow.h>.
10609         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10610         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10611         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
10612         and <fix-fp-int-convert-overflow.h>.
10613         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
10614         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10615         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
10616         <fix-fp-int-convert-overflow.h>.
10617         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10618         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10619         * sysdeps/ieee754/dbl-64/s_lround.c: Include
10620         <fix-fp-int-convert-overflow.h>.
10621         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
10622         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10623         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
10624         and <fix-fp-int-convert-overflow.h>.
10625         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10626         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10627         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
10628         <limits.h> and <fix-fp-int-convert-overflow.h>.
10629         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10630         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10631         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
10632         and <fix-fp-int-convert-overflow.h>.
10633         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10634         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10635         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
10636         and <fix-fp-int-convert-overflow.h>.
10637         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10638         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10639         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
10641 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
10643         [BZ #18589]
10644         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
10645         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
10646         $(gen-locales).
10648 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10649             Phil Blundell <pb@pbcl.net>
10651         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
10652         * nptl/tst-cancel26.c: New file.
10653         * nptl/tst-cancel27.c: Likewise.
10655 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
10657         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
10658         __ILP32__ isn't defined.
10659         (lrint): Likewise.
10660         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
10661         (lrintf): Likewise.
10662         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
10663         (lrintl): Likewise.
10664         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
10665         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
10666         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
10668 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10670         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10671         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10673         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
10674         file.
10675         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
10676         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10678 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10680         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
10681         configure test.
10682         * sysdeps/i386/configure: Regenerated.
10683         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
10684         configure test.
10685         * sysdeps/x86_64/configure: Regenerated.
10686         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
10687         Make code unconditional.
10689         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
10690         test.
10691         * sysdeps/i386/configure: Regenerated.
10692         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
10693         test.
10694         * sysdeps/x86_64/configure: Regenerated.
10695         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
10696         Make code unconditional.
10697         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
10698         Likewise.
10699         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
10700         Likewise.
10701         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10702         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
10703         code unconditional.
10704         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10705         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
10706         code unconditional.
10707         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10708         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
10709         code unconditional.
10710         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
10711         code unconditional.
10712         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10713         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
10714         code unconditional.
10715         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10716         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
10717         code unconditional.
10718         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10719         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
10720         code unconditional.
10721         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10722         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
10723         code unconditional.
10724         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10725         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
10727         [BZ #19095]
10728         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
10729         mantissa to long int before shifting left.
10731 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10733         [BZ #19094]
10734         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
10735         <limits.h>.
10736         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10737         when result overflows but exception would not result from cast.
10738         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
10739         <limits.h>.
10740         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10741         when result overflows but exception would not result from cast.
10742         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
10743         <limits.h>.
10744         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10745         when result overflows but exception would not result from cast.
10746         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
10747         <limits.h>.
10748         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10749         when result overflows but exception would not result from cast.
10750         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
10751         <limits.h>.
10752         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10753         when result overflows but exception would not result from cast.
10754         * math/libm-test.inc (lrint_test_data): Add more tests.
10755         (llrint_test_data): Likewise.
10757 2015-10-08  Roland McGrath  <roland@hack.frob.com>
10759         [BZ #18872]
10760         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
10761         Move out from under [$(run-built-tests) = yes] conditional.
10762         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
10763         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
10765 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
10767         [BZ #18589]
10768         * string/Makefile (tests): Add bug-strcoll2.
10769         (LOCALES): Add cs_CZ.UTF-8.
10770         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
10772         [BZ #18589]
10773         * string/bug-strcoll2.c: New file.
10774         * locale/categories.def: Revert commit
10775         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
10776         * locale/langinfo.h: Likewise.
10777         * locale/localeinfo.h: Likewise.
10778         * locale/C-collate.c: Likewise.
10779         * locale/programs/ld-collate.c (collate_output): Likewise.
10780         * string/strcoll_l.c (STRDIFF): Likewise.
10781         (STRCOLL): Likewise.
10782         * wcsmbs/wcscoll_l.c: Likewise.
10784 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10786         * math/libm-test.inc (lround_test_data): Do not expect the absence
10787         of "inexact" for some tests with non-integer arguments.
10788         (llround_test_data): Likewise.
10790         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
10791         test.
10792         (libc_cv_cc_sse2avx): Likewise.
10793         * sysdeps/i386/configure: Regenerated.
10794         * sysdeps/i386/i686/multiarch/Makefile
10795         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
10796         [$(subdir) = math].
10797         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
10798         code unconditional.
10799         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10800         Likewise.
10801         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
10802         Likewise.
10803         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10804         Likewise.
10805         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
10806         test.
10807         (libc_cv_cc_sse2avx): Likewise.
10808         * sysdeps/x86_64/configure: Regenerated.
10809         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
10810         unconditional.
10811         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
10812         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
10813         unconditional.
10814         (_dl_runtime_profile)
10815         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
10816         conditional code.
10817         * sysdeps/x86_64/fpu/multiarch/Makefile
10818         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
10819         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
10820         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10821         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10822         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10823         * sysdeps/x86_64/fpu/multiarch/e_log.c
10824         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10825         * sysdeps/x86_64/fpu/multiarch/s_atan.c
10826         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10827         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10828         Likewise.
10829         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10830         Likewise.
10831         * sysdeps/x86_64/fpu/multiarch/s_sin.c
10832         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10833         * sysdeps/x86_64/fpu/multiarch/s_tan.c
10834         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10835         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
10836         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
10837         (HAVE_SSE2AVX_SUPPORT): Likewise.
10839 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
10841         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
10842         instead of #pragma optimize.
10844 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10846         [BZ #17195]
10847         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
10848         as is similarly done in systrim and _int_free already.
10850 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10852         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
10854 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10856         [BZ #19088]
10857         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
10858         <limits.h>.
10859         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10860         overflows but exception would not result from cast.
10861         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
10862         and <limits.h>.
10863         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10864         overflows but exception would not result from cast.
10865         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
10866         <limits.h>.
10867         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10868         overflows but exception would not result from cast.
10869         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
10870         <limits.h>.
10871         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10872         overflows but exception would not result from cast.
10873         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
10874         <limits.h>.
10875         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10876         overflows but exception would not result from cast.
10877         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
10878         <limits.h>.
10879         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10880         overflows but exception would not result from cast.
10881         * math/libm-test.inc (lround_test_data): Add more tests.
10882         (llround_test_data): Likewise.
10884 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
10886         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
10887         (CFLAGS-ialloc.c): Ditto.
10888         (CFLAGS-scheck.c): Ditto.
10890 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10892         [BZ #19086]
10893         * manual/filesys.texi (Storage Allocation): Fix argument order for
10894         posix_fallocate64.
10896 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10898         [BZ #19085]
10899         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
10900         exponent below 48 inside case for non-overflowing exponent.
10901         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10903 2015-10-07  Florian Weimer  <fweimer@redhat.com>
10905         * iconvdata/cp737.h (from_idx): Add const.
10906         * iconvdata/cp775.h (from_idx): Likewise.
10908 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10910         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
10911         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10912         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
10914         [BZ #19079]
10915         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
10916         file, conditioned on [!_LP64].
10917         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
10918         [!_LP64] (__lround): Do not define as function or alias.
10919         [!_LP64] (lround): Likewise.
10920         [!_LP64] (__lroundl): Likewise.
10921         [!_LP64] (lroundl): Likewise.
10922         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
10923         macro.
10924         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10925         Likewise.
10927 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10929         * math/libm-test.inc (lrint_test_data): Add more tests.
10930         (llrint_test_data): Likewise.
10931         (lround_test_data): Likewise.
10932         (llround_test_data): Likewise.
10934         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
10935         (llrint_test_data): Add tests used for lrint.
10937         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
10938         test.
10939         * sysdeps/i386/configure: Regenerated.
10940         * sysdeps/i386/i686/multiarch/Makefile
10941         [$(config-cflags-sse4) = yes]: Make code unconditional.
10942         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10943         Likewise.
10944         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
10945         Likewise.
10946         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
10947         test.
10948         * sysdeps/x86_64/configure: Regenerated.
10949         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
10950         Make code unconditional.
10951         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10952         Likewise.
10953         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
10954         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
10956         * scripts/rpm2dynsym.sh: Remove file.
10958 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10960         * configure.ac (libc_cv_cxx_thread_local): Define.
10961         * configure: Regenerate.
10962         * config.make.in (have-cxx-thread_local): Define.
10963         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
10964         (LDLIBS-tst-thread_local1): Define.
10965         (tests): Add tst-thread_local1.
10966         [have-cxx-thread_local != yes] (tests-unsupported): Add
10967         tst-thread_local1.
10968         * nptl/tst-thread_local1.cc: New file.
10970 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10972         [BZ #19078]
10973         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
10974         (u_thres): Likewise.
10975         (__expl): Determine whether to call __kernel_standard_l based on
10976         value of result, not argument.
10978         * math/libm-test.inc (scalb_test_data): Add more expectations for
10979         the "inexact" exception.
10981         [BZ #19077]
10982         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
10983         0.0L for argument 1.0L.
10985         [BZ #19076]
10986         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
10987         constant 0.0L when computing infinite result.
10989 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10991         [BZ #10432]
10992         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
10993         malloc_usable_size.
10995 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10997         [BZ #19018]
10998         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10999         Mangle function pointer before storing it.
11000         (__call_tls_dtors): Demangle function pointer before calling it.
11002 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11004         [BZ #19012]
11005         * iconv/gconv_db.c (gen_steps): Check for additional errors.
11006         Clean up on failure.
11008 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
11010         [BZ #19071]
11011         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
11012         long int variable to store possibly incremented high part of
11013         mantissa.
11014         * math/libm-test.inc (lround_test_data): Add tests used for
11015         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
11016         for tests requiring 64-bit long.  Do not condition tests on
11017         [TEST_FLOAT] unnecessarily.
11018         (llround_test_data): Add tests used for lround.  Add another
11019         expectation for the "inexact" exception.  Do not condition tests
11020         on [TEST_FLOAT] unnecessarily.
11022         [BZ #887]
11023         [BZ #19049]
11024         [BZ #19050]
11025         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
11026         * sysdeps/ieee754/dbl-64/e_log10.c: Include
11027         <fix-int-fp-convert-zero.h>.
11028         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11029         * sysdeps/ieee754/dbl-64/e_log2.c: Include
11030         <fix-int-fp-convert-zero.h>.
11031         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11032         * sysdeps/ieee754/dbl-64/s_erf.c: Include
11033         <fix-int-fp-convert-zero.h>.
11034         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11035         * sysdeps/ieee754/dbl-64/s_logb.c: Include
11036         <fix-int-fp-convert-zero.h>.
11037         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11038         * sysdeps/ieee754/flt-32/e_log10f.c: Include
11039         <fix-int-fp-convert-zero.h>.
11040         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11041         * sysdeps/ieee754/flt-32/e_log2f.c: Include
11042         <fix-int-fp-convert-zero.h>.
11043         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11044         * sysdeps/ieee754/flt-32/s_erff.c: Include
11045         <fix-int-fp-convert-zero.h>.
11046         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11047         * sysdeps/ieee754/flt-32/s_logbf.c: Include
11048         <fix-int-fp-convert-zero.h>.
11049         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11050         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
11051         <fix-int-fp-convert-zero.h>.
11052         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11053         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
11054         <fix-int-fp-convert-zero.h>.
11055         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11056         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
11057         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
11058         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
11059         file.
11060         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
11062 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11064         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11066 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
11068         [BZ #19059]
11069         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
11070         overflowing computation.
11071         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11072         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11073         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11074         Likewise.
11075         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11076         Likewise.
11077         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11078         Likewise.
11079         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11080         Likewise.
11081         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11082         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11083         Likewise.
11084         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11085         Likewise.
11086         * math/libm-test.inc (nexttoward_test_data): Add more tests.
11088         * nss/rewrite_field.c (__nss_rewrite_field): Use
11089         internal_function.
11090         * nss/valid_field.c (__nss_valid_field): Likewise.
11091         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11093 2015-10-02  Florian Weimer  <fweimer@redhat.com>
11095         [BZ #18724]
11096         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
11097         (__nss_invalid_field_characters, __nss_valid_field)
11098         (__nss_valid_list_field, __nss_rewrite_field): Declare.
11099         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
11100         tst-field.c: New file.
11101         * nss/Makefile (routines): Add valid_field, rewrite_field.
11102         (tests-static): Define unconditionally.
11103         (tests): Include tests-static.
11104         [build-static-nss] (tests-static): Use append.
11105         [build-static-nss] (tests): Remove modification.
11106         * nss/getent.c (print_group): Call putgrent.  Report error.
11107         (print_gshadow): Call putsgent.  Report error.
11108         (print_passwd): Call putpwent.  Report error.
11109         (print_shadow): Call putspent.  Report error.
11110         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
11111         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
11112         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
11113         name, password, directory, shell fields for valid syntax.  Rewrite
11114         GECOS field to match syntax.
11115         * pwd/Makefile (tests): Add tst-putpwent.
11116         * pwd/tst-putpwent.c: New file.
11117         * grp/putgrent.c (putgrent): Convert to ISO function definition.
11118         Check grName, grpasswd, gr_mem fields for valid syntax.
11119         Change loop variable i to size_t.
11120         * grp/Makefile (tests): Add tst-putgrent.
11121         * grp/tst-putgrent.c: New file.
11122         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
11123         valid syntax.
11124         * shadow/Makefile (tests): Add tst-putspent.
11125         * shadow/tst-putspent.c: New file.
11126         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
11127         sg_mem fields for valid syntax.
11128         * gshadow/Makefile (tests): Add tst-putsgent.
11129         * gshadow/tst-putsgent.c: New file.
11131 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11133         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
11134         assembly instructions.
11136 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11138         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
11139         prefix from operands.
11141 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
11143         [BZ #16347]
11144         [BZ #19046]
11145         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11146         <libc-internal.h>.
11147         (MAXLGM): Do not use diagnostic control macros.
11148         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
11149         threshold for ldbl-128ibm.
11150         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
11151         instead of multiplying by log then subtracting.
11152         * math/auto-libm-test-in: Add more tests of lgamma.
11153         * math/auto-libm-test-out: Regenerated.
11155         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
11156         (TYPE_HEX_DIG): Likewise.
11157         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
11158         precisions when printing floating-point numbers.
11159         (check_float_internal): Likewise.
11161 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11163         [BZ #16620]
11164         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
11165         of log (10) rounded downward to 48 bits.
11166         (log10_low): Use corresponding low part of log (10).
11168         [BZ #19032]
11169         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
11170         compute result as (x - x) / (x - x) not as 0 / 0.
11171         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11172         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
11174         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11175         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
11176         and expm1.
11177         * math/auto-libm-test-out: Regenerated.
11178         * math/libm-test.inc (acos_test_data): Add more tests.
11179         (asin_test_data): Likewise.
11180         (asinh_test_data): Likewise.
11181         (atan_test_data): Likewise.
11182         (atanh_test_data): Likewise.
11183         (atan2_test_data): Likewise.
11184         (cbrt_test_data): Likewise.
11185         (ceil_test_data): Likewise.
11186         (copysign_test_data): Likewise.
11187         (cos_test_data): Likewise.
11188         (cosh_test_data): Likewise.
11189         (erf_test_data): Likewise.
11190         (erfc_test_data): Likewise.
11191         (exp_test_data): Likewise.
11192         (exp10_test_data): Likewise.
11193         (exp2_test_data): Likewise.
11194         (expm1_test_data): Likewise.
11195         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11197 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
11199         [BZ #19006]
11200         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11201         to ...
11202         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11203         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11204         to ...
11205         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11206         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11207         to ...
11208         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11209         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11210         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11211         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11212         to ...
11213         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
11214         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11215         Moved to ...
11216         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
11217         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11218         Moved to ...
11219         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
11220         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
11221         to ...
11222         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
11223         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11224         Moved to ...
11225         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
11226         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
11227         to ...
11228         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
11229         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
11230         Removed.
11231         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
11232         Likewise.
11233         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
11234         Likewise.
11235         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
11236         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
11237         Likewise.
11238         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11239         Likewise.
11240         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11241         Likewise.
11242         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11243         Likewise.
11244         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11245         Likewise.
11246         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
11247         Likewise.
11248         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
11249         Likewise.
11250         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
11251         Likewise.
11252         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
11253         Likewise.
11254         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
11255         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
11256         Likewise.
11257         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11258         Likewise.
11259         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11260         Likewise.
11261         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11262         Likewise.
11263         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
11264         Likewise.
11265         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11266         Replace ../i486/pthread_cond_timedwait.S with
11267         ../pthread_cond_timedwait.S.
11269 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11271         * math/libm-test.inc (acos_test_data): Refine expectations for
11272         errno and "inexact" exceptions.
11273         (acosh_test_data): Likewise.
11274         (asin_test_data): Likewise.
11275         (asinh_test_data): Likewise.
11276         (atan_test_data): Likewise.
11277         (atanh_test_data): Likewise.
11278         (atan2_test_data): Likewise.
11279         (cbrt_test_data): Likewise.
11280         (ceil_test_data): Likewise.
11281         (copysign_test_data): Likewise.
11282         (cosh_test_data): Likewise.
11283         (erf_test_data): Likewise.
11284         (erfc_test_data): Likewise.
11285         (exp_test_data): Likewise.
11286         (exp10_test_data): Likewise.
11287         (exp2_test_data): Likewise.
11288         (expm1_test_data): Likewise.
11289         (fabs_test_data): Likewise.
11290         (floor_test_data): Likewise.
11291         (fma_test_data): Likewise.
11292         (fmax_test_data): Likewise.
11293         (fmin_test_data): Likewise.
11294         (fmod_test_data): Likewise.
11295         (fpclassify_test_data): Likewise.
11296         (frexp_test_data): Likewise.
11297         (hypot_test_data): Likewise.
11298         (ilogb_test_data): Likewise.
11299         (isgreater_test_data): Likewise.
11300         (isgreaterequal_test_data): Likewise.
11301         (isinf_test_data): Likewise.
11302         (isless_test_data): Likewise.
11303         (islessequal_test_data): Likewise.
11304         (islessgreater_test_data): Likewise.
11305         (isnan_test_data): Likewise.
11306         (isnormal_test_data): Likewise.
11307         (issignaling_test_data): Likewise.
11308         (isunordered_test_data): Likewise.
11309         (j0_test_data): Likewise.
11310         (j1_test_data): Likewise.
11311         (jn_test_data): Likewise.
11312         (lgamma_test_data): Likewise.
11313         (lrint_test_data): Likewise.
11314         (llrint_test_data): Likewise.
11315         (log_test_data): Likewise.
11316         (log10_test_data): Likewise.
11317         (log1p_test_data): Likewise.
11318         (log2_test_data): Likewise.
11319         (logb_test_data): Likewise.
11320         (lround_test_data): Likewise.
11321         (llround_test_data): Likewise.
11322         (modf_test_data): Likewise.
11323         (nearbyint_test_data): Likewise.
11324         (nextafter_test_data): Likewise.
11325         (nexttoward_test_data): Likewise.
11326         (pow_test_data): Likewise.
11327         (remainder_test_data): Likewise.
11328         (remquo_test_data): Likewise.
11329         (rint_test_data): Likewise.
11330         (round_test_data): Likewise.
11331         (signbit_test_data): Likewise.
11332         (sinh_test_data): Likewise.
11333         (sqrt_test_data): Likewise.
11334         (tanh_test_data): Likewise.
11335         (tgamma_test_data): Likewise.
11336         (trunc_test_data): Likewise.
11337         (y0_test_data): Likewise.
11338         (y1_test_data): Likewise.
11339         (yn_test_data): Likewise.
11340         (significand_test_data): Likewise.
11342 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
11344         * manual/filesys.texi (Storage Allocation): Document that
11345         posix_fallocate emulation fails when fd is open with O_WRONLY.
11347 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
11349         [BZ #19016]
11350         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11351         allow more cases with X^2 + Y^2 >= 0.5.
11352         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
11353         normal element in sum instead of special-casing based on values of
11354         arguments.
11355         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11356         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
11357         -1 as normal element in sum instead of special-casing based on
11358         values of arguments.
11359         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11360         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11361         (__x2y2m1): Update comment.
11362         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
11363         as normal element in sum instead of special-casing based on values
11364         of arguments.
11365         * math/s_clog.c (__clog): Handle more cases using log1p without
11366         hypot.
11367         * math/s_clog10.c (__clog10): Likewise.
11368         * math/s_clog10f.c (__clog10f): Likewise.
11369         * math/s_clog10l.c (__clog10l): Likewise.
11370         * math/s_clogf.c (__clogf): Likewise.
11371         * math/s_clogl.c (__clogl): Likewise.
11372         * math/auto-libm-test-in: Add more tests of clog and clog10.
11373         * math/auto-libm-test-out: Regenerated.
11374         * sysdeps/i386/fpu/libm-test-ulps: Update.
11375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11377 2015-09-28  Martin Sebor  <msebor@redhat.com>
11379         [BZ #18969]
11380         * string/Makefile (LOCALES): Define.
11381         (gen-locales.mk): Include.
11382         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
11383         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
11384         * string/tst-strxfrm2.c (do_test): Print the name of the locale
11385         on setlocale failure.
11387 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11389         [BZ #18985]
11390         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
11391         (__strftime_internal): Likewise.
11392         * time/tst-strftime.c (do_bz18985): New test.
11393         (do_test): Call it.
11395 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
11397         [BZ #18956]
11398         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
11399         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
11400         extracting high part.
11401         * math/auto-libm-test-in: Add another test of pow.
11402         * math/auto-libm-test-out: Regenerated.
11403         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11405 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11407         [BZ #18825]
11408         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
11409         New macro.
11410         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
11411         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11412         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
11413         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
11414         DBL_NARROW_EVAL, reloading the PIC register as needed.
11415         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
11416         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
11417         FLT_NARROW_EVAL.  Use separate return path for case when first
11418         argument is NaN.
11419         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
11420         DEFINE_LDBL_MIN.
11421         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
11422         PIC register.
11423         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
11424         math_check_force_underflow_nonneg.
11425         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
11426         underflow for subnormal result.
11427         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11428         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
11429         math_check_force_underflow_nonneg.
11430         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
11431         math_check_force_underflow.
11432         * sysdeps/x86_64/fpu/x86_64-math-asm.h
11433         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
11434         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
11435         DEFINE_LDBL_MIN.
11436         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
11437         * math/auto-libm-test-in: Add more tests of pow.
11438         * math/auto-libm-test-out: Regenerated.
11440 2015-09-25  Florian Weimer  <fweimer@redhat.com>
11442         * nss/bug17079.c (init_test_items): Add diagnostic for
11443         inconsistent entries.
11444         (test_buffer_size): Skip inconsistent entries.
11446 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11448         [BZ #13304]
11449         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
11450         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
11451         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
11453         [BZ #13304]
11454         * sysdeps/microblaze/s_fma.c: New file.
11455         * sysdeps/microblaze/s_fmaf.c: Likewise.
11456         * sysdeps/microblaze/sfp-machine.h: Likewise.
11458 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
11460         [BZ #17250]
11461         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
11462         member.
11464 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11466         [BZ #18803]
11467         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
11468         (MO): New macro.
11469         (__ieee754_hypot) [PIC]: Load PIC register.
11470         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
11471         DBL_NARROW_EVAL.
11472         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
11473         math_check_force_underflow_nonneg in case where result might be
11474         tiny.
11475         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11476         Likewise.
11477         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11478         Likewise.
11479         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11480         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11481         * math/auto-libm-test-in: Add more tests of hypot.
11482         * math/auto-libm-test-out: Regenerated.
11484 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
11486         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
11488 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11490         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
11491         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
11492         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11493         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11494         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
11495         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11496         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11498         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
11499         LOAD_PIC_REG.
11501         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
11502         (FLT_CHECK_FORCE_UFLOW): Likewise.
11503         (DBL_CHECK_FORCE_UFLOW): Likewise.
11504         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
11505         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
11506         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
11507         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11508         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11509         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11510         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11511         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11512         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
11513         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11514         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
11515         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
11516         (flt_min): Replace with use of DEFINE_FLT_MIN.
11517         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
11518         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
11519         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11520         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
11521         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
11522         (flt_min): Replace with use of DEFINE_FLT_MIN.
11523         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
11524         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
11525         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11526         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
11527         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
11528         (flt_min): Replace with use of DEFINE_FLT_MIN.
11529         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
11530         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
11531         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11532         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11533         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
11534         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11535         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11536         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
11537         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11538         (__atan): Use DBL_CHECK_FORCE_UFLOW.
11539         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
11540         (flt_min): Replace with use of DEFINE_FLT_MIN.
11541         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
11542         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
11543         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11544         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
11545         main computation.
11546         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
11547         (flt_min): Replace with use of DEFINE_FLT_MIN.
11548         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
11549         main computation.
11550         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
11551         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11552         (MO): New macro.
11553         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
11554         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
11555         (flt_min): Replace with use of DEFINE_FLT_MIN.
11556         (MO): New macro.
11557         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
11558         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
11559         (__log1pl): Use MO.
11561         [BZ #19003]
11562         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
11563         $(config-cflags-nofma).
11565 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11567         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11569 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
11571         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
11572         (TWO127): Likewise.
11574         * sysdeps/generic/math_private.h (fabs_tg): New macro.
11575         (min_of_type): Likewise.
11576         (math_check_force_underflow): Likewise.
11577         (math_check_force_underflow_nonneg): Likewise.
11578         (math_check_force_underflow_complex): Likewise.
11579         * math/e_exp2l.c (__ieee754_exp2l): Use
11580         math_check_force_underflow_nonneg.
11581         * math/k_casinh.c (__kernel_casinh): Likewise.
11582         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11583         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11584         * math/s_catan.c (__catan): Use
11585         math_check_force_underflow_complex.
11586         * math/s_catanf.c (__catanf): Likewise.
11587         * math/s_catanh.c (__catanh): Likewise.
11588         * math/s_catanhf.c (__catanhf): Likewise.
11589         * math/s_catanhl.c (__catanhl): Likewise.
11590         * math/s_catanl.c (__catanl): Likewise.
11591         * math/s_ccosh.c (__ccosh): Likewise.
11592         * math/s_ccoshf.c (__ccoshf): Likewise.
11593         * math/s_ccoshl.c (__ccoshl): Likewise.
11594         * math/s_cexp.c (__cexp): Likewise.
11595         * math/s_cexpf.c (__cexpf): Likewise.
11596         * math/s_cexpl.c (__cexpl): Likewise.
11597         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
11598         * math/s_clog10.c (__clog10): Likewise.
11599         * math/s_clog10f.c (__clog10f): Likewise.
11600         * math/s_clog10l.c (__clog10l): Likewise.
11601         * math/s_clogf.c (__clogf): Likewise.
11602         * math/s_clogl.c (__clogl): Likewise.
11603         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
11604         * math/s_csinf.c (__csinf): Likewise.
11605         * math/s_csinh.c (__csinh): Likewise.
11606         * math/s_csinhf.c (__csinhf): Likewise.
11607         * math/s_csinhl.c (__csinhl): Likewise.
11608         * math/s_csinl.c (__csinl): Likewise.
11609         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
11610         * math/s_csqrtf.c (__csqrtf): Likewise.
11611         * math/s_csqrtl.c (__csqrtl): Likewise.
11612         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
11613         * math/s_ctanf.c (__ctanf): Likewise.
11614         * math/s_ctanh.c (__ctanh): Likewise.
11615         * math/s_ctanhf.c (__ctanhf): Likewise.
11616         * math/s_ctanhl.c (__ctanhl): Likewise.
11617         * math/s_ctanl.c (__ctanl): Likewise.
11618         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
11619         instead of volatile.
11620         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
11621         math_check_force_underflow.
11622         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11623         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
11624         volatile when forcing underflow.
11625         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11626         math_check_force_underflow_nonneg.
11627         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11628         Likewise.
11629         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
11630         math_check_force_underflow.
11631         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11632         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11633         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11634         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
11635         math_check_force_underflow_nonneg.
11636         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
11637         math_check_force_underflow.
11638         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
11639         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
11640         instead of volatile.
11641         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
11642         math_check_force_underflow.
11643         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11644         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11645         math_check_force_underflow_nonneg.
11646         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
11647         math_check_force_underflow.
11648         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
11649         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11650         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
11651         math_check_force_underflow_nonneg.
11652         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11653         Likewise.
11654         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
11655         math_check_force_underflow.
11656         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11657         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11658         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11659         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
11660         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11661         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
11662         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
11663         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
11664         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11665         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
11666         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
11667         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
11668         Likewise.
11669         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
11670         math_check_force_underflow_nonneg.
11671         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11672         Likewise.
11673         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
11674         math_check_force_underflow.
11675         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11676         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
11677         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11678         Likewise.
11679         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
11680         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
11681         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
11682         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
11683         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
11684         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11685         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
11686         instead of volatile.
11687         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
11688         math_check_force_underflow.
11689         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
11690         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
11691         math_check_force_underflow.
11692         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
11693         Likewise.
11694         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11695         Use math_check_force_underflow_nonneg.
11696         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
11697         math_check_force_underflow.
11698         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11699         Likewise.
11700         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11701         Likewise.
11702         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11703         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11704         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11705         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11706         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
11707         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11708         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11709         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
11710         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
11711         math_check_force_underflow_nonneg.
11712         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
11713         math_check_force_underflow.
11714         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11715         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
11716         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
11717         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
11718         math_check_force_underflow_nonneg.
11719         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
11720         math_check_force_underflow.
11721         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
11722         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
11723         instead of volatile.
11724         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
11725         math_check_force_underflow.
11727         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
11728         * stdlib/strtod_l.c: Include <math_private.h>.
11729         (overflow_value): Use math_narrow_eval.
11730         (underflow_value): Likewise.
11731         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11732         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11733         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
11734         (__ieee754_gamma_r): Likewise.
11735         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
11736         Likewise.
11737         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11738         Likewise.
11739         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11740         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
11741         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
11742         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
11743         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11744         (__ieee754_gammaf_r): Likewise.
11745         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11746         Likewise.
11747         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11748         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
11749         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
11750         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
11751         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
11752         volatile.
11753         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
11754         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
11755         math_narrow_eval.
11756         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11757         Likewise.
11758         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11759         Likewise.
11760         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
11761         Likewise.
11762         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
11763         volatile.
11764         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
11765         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
11766         math_narrow_eval.
11767         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11768         Likewise.
11769         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11770         Likewise.
11772 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
11774         * nptl/Versions: Remove ignored symbols.
11776 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11778         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
11779         * nss/Makefile (tests): Update.
11781 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11783         * nss/bug18287.c: New file.
11784         * nss/Makefile (tests): Add bug18287.
11786 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11788         * mach/Versions (__mach_host_self_): Add symbol.
11790 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11792         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
11793         vm_page_size.
11795 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11797         Really fix sysdeps/i386/fpu/s_scalbn.S build
11799         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
11800         (libc: GLIBC_2_22): Remove unused version set.
11802 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11804         * config.make.in (enable-timezone-tools): New variable.
11805         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
11806         (enable_timezone_tools): Export to generated files.
11807         * configure: Regenerate.
11808         * INSTALL: Regenerate.
11809         * manual/install.texi (--disable-timezone-tools): Document new flag.
11810         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
11811         ifeq ($(enable-timezone-tools),yes) check.
11813 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11815         * timezone/Makefile: Revert previous change.
11817         [BZ #18980]
11818         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
11819         (DEFINE_DBL_MIN): Likewise.
11820         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11821         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11822         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11823         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11824         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
11825         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11826         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11827         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
11828         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
11829         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11830         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11831         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
11832         (flt_min): Replace with use of DEFINE_FLT_MIN.
11833         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11834         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
11835         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11836         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11837         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
11838         (flt_min): Replace with use of DEFINE_FLT_MIN.
11839         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11840         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
11841         (flt_min): Replace with use of DEFINE_FLT_MIN.
11842         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11843         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
11844         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
11845         (__ieee754_hypot): Use DBL_NARROW_EVAL.
11846         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
11847         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
11848         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
11849         (__ieee754_pow): Use DBL_NARROW_EVAL.
11850         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
11851         (__ieee754_powf): Use FLT_NARROW_EVAL.
11852         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
11853         (__ieee754_expf_sse2): Convert double-precision result to single
11854         precision.
11855         * sysdeps/i386/fpu/libm-test-ulps: Update.
11857 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11859         * timezone/Makefile: Ignore unused variable errors due to private.h
11860         (time_t_min) and (time_t_max).
11861         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
11862         Likewise.
11864 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11866         [BZ #18981]
11867         * sysdeps/i386/fpu/i386-math-asm.h: New file.
11868         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
11869         (__ieee754_scalb): Use DBL_NARROW_EVAL.
11870         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
11871         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
11872         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
11873         (__scalbn): Use DBL_NARROW_EVAL.
11874         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
11875         (__scalbnf): Use FLT_NARROW_EVAL.
11877 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11879         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
11880         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
11881         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
11882         * stdio-common/printf_fp.c (___printf_fp):
11883         Use signbit to get the sign. Use isinf macro to allow inlining.
11884         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
11885         * stdio-common/printf_size.c (__printf_size): Likewise.
11887 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11889         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
11891 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11893         [BZ #18980]
11894         * sysdeps/generic/math_private.h: Include <float.h>.
11895         (math_narrow_eval): New macro.
11896         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11897         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
11898         math_narrow_eval on overflowing return value.
11899         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
11900         Likewise.
11901         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11902         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
11903         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
11904         Likewise.
11905         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11907 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11909         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
11910         * math/Makefile: Remove isinf_ns.c.
11911         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
11912         * math/multc3.c (__multc3): Likewise.
11913         * math/s_casin.c (__casin): Likewise.
11914         * math/s_casinf.c (__casinf): Likewise.
11915         * math/s_casinl.c (__casinl): Likewise.
11916         * math/s_cproj.c (__cproj): Likewise.
11917         * math/s_cprojf.c (__cprojf): Likewise.
11918         * math/s_cprojl.c (__cprofl): Likewise.
11919         * math/s_ctan.c (__ctan): Likewise.
11920         * math/s_ctanf.c (__ctanf): Likewise.
11921         * math/s_ctanh.c (__ctanh): Likewise.
11922         * math/s_ctanhf.c (__ctanhf): Likewise.
11923         * math/s_ctanhl.c (__ctanhl): Likewise.
11924         * math/s_ctanl.c (__ctanl): Likewise.
11925         * math/w_fmod.c (__fmod): Likewise.
11926         * math/w_fmodf.c (__fmodf): Likewise.
11927         * math/w_fmodl.c (_fmodl): Likewise.
11928         * math/w_remainder.c (__remainder): Likewise.
11929         * math/w_remainderf.c (__remainderf): Likewise.
11930         * math/w_remainderl.c (__remainderl): Likewise.
11931         * math/w_scalb.c (__scalb): Likewise.
11932         * math/w_scalbf.c (__scalbf): Likewise.
11933         * math/w_scalbl.c (__scalbl): Likewise.
11934         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
11935         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
11936         with isinf.
11937         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
11938         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
11939         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
11940         __isinf_nsf with isinf.
11941         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
11942         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
11943         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
11944         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
11945         with isinf.
11946         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
11947         __isinf_nsl with isinf.
11948         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
11949         with isinf.
11950         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
11951         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
11952         __isinf_nsl with isinf.
11953         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
11954         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
11955         with isinf.
11957 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11959         * resolv/base64.c (rcsid): Remove unused static.
11960         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
11961         static.  (tqpi1): Likewise.
11962         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
11963         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
11964         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
11965         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
11966         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
11967         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
11968         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
11969         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
11970         Likewise.
11972 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
11974         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
11975         <nptl/pthreadP.h>.
11976         (_longjmp_unwind): Use __libc_ptf_call.
11977         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
11979 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
11981         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
11982         * sysdeps/arm/__longjmp.S: Likewise.
11984 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11986         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
11987         Use __builtin_signbit.
11988         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
11989         Use __builtin_signbitf.
11990         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
11991         Use __builtin_signbitl.
11992         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11993         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
11995 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11997         [BZ #15367]
11998         [BZ #17441]
12000         * math/Makefile: Build test-snan.c with -fsignaling-nans.
12001         * math/math.h (fpclassify): Use __builtin_fpclassify when
12002         available.  (signbit): Use __builtin_signbit(f/l).
12003         (isfinite): Use__builtin_isfinite.  (isnormal): Use
12004         __builtin_isnormal.  (isnan): Use __builtin_isnan.
12005         (isinf): Use __builtin_isinf_sign.
12007 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12009         * benchtests/Makefile: Add bench-math-inlines, link with libm.
12010         * benchtests/bench-math-inlines.c: New benchmark.
12011         * benchtests/bench-util.h: New file.
12012         * benchtests/bench-util.c: New file.
12013         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
12015 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
12017         * elf/tst-dlmopen1.c: Define TEST_SO.
12018         (do_test): Use TEST_SO.
12020         * elf/dl-load.c: Include libc-internal.h.
12021         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
12023 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12025         [BZ #17887]
12026         * time/strptime_l.c (__strptime_internal): Make %z accept
12027         [+-]HH:MM time zones.
12029 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12031         [BZ #17886]
12032         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
12033         valid time zone.
12035 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
12037         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
12038         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
12039         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12040         (__ASSUME_FDATASYNC): Delete.
12042 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12044         * conform/linknamespace.pl: Require weak undefined symbols to be
12045         in the standard namespace.
12046         (%strong_syms): Rename to %seen_syms.
12047         (%strong_seen): Rename to %seen_where.
12049 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
12051         [BZ #18970]
12052         * misc/error.c (error): Replace pthread_setcancelstate with
12053         __pthread_setcancelstate.
12054         (error_at_line): Likewise.
12055         * posix/wordexp.c (parse_comm): Likewise.
12056         * stdlib/fmtmsg.c (fmtmsg): Likewise.
12057         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
12058         (__pthread_setcancelstate): This.
12059         (pthread_setcancelstate): Add an alias.
12060         * nptl/nptl-init.c (pthread_functions): Replace
12061         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
12062         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
12063         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
12064         hidden_proto.
12065         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
12066         it with hidden_def.
12067         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
12068         (pthread_setcancelstate): Renamed to ...
12069         (__pthread_setcancelstate): This.
12070         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
12071         __libc_ptf_call with __pthread_setcancelstate.
12073 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12074             Andreas Schwab  <schwab@suse.de>
12076         [BZ #17118]
12077         * math/s_ctan.c (__ctan): Determine sign of zero real part of
12078         result when imaginary part of argument is infinite using sine and
12079         cosine.
12080         * math/s_ctanf.c (__ctanf): Likewise.
12081         * math/s_ctanl.c (__ctanl): Likewise.
12082         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
12083         of result when real part of argument is infinite using sine and
12084         cosine.
12085         * math/s_ctanhf.c (__ctanhf): Likewise.
12086         * math/s_ctanhl.c (__ctanhl): Likewise.
12087         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
12088         (ctanh_test_data): Add more tests of ctanh.
12090 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12092         [BZ #15384]
12093         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
12094         bit-mask as in subtraction.
12095         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
12096         Likewise.
12097         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
12098         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
12099         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
12101         [BZ #18951]
12102         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
12103         underflow exception for small results.
12104         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12105         Likewise.
12106         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12107         Likewise.
12108         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12109         Likewise.
12110         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12111         Likewise.
12112         * math/auto-libm-test-in: Add more tests of tgamma.
12113         * math/auto-libm-test-out: Regenerated.
12115 2015-09-17  Andreas Schwab  <schwab@suse.de>
12117         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
12119 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12121         [BZ #18977]
12122         * math/bits/mathcalls.h
12123         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
12124         not declare.
12125         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12126         Likewise.
12127         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
12128         Likewise.
12129         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12130         Likewise.
12131         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
12132         Likewise.
12133         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
12134         Likewise.
12135         * conform/data/math.h-data
12136         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
12137         function.
12138         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
12139         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
12140         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
12141         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
12142         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
12143         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
12144         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
12145         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
12146         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
12147         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
12148         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
12150         [BZ #6803]
12151         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
12152         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
12153         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
12154         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
12155         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
12156         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
12157         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
12158         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
12159         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12160         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
12161         Likewise.
12162         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12163         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
12164         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
12165         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
12166         long_double_symbol calls.
12167         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
12168         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
12169         strong alias of __ldexpl.
12170         (scalbnl): Define using long_double_symbol.
12171         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
12172         Remove alias.
12173         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
12174         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
12175         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
12176         (scalbln_test_data): Add more errno expectations.
12178 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
12180         Cache the host port like we cache the task port.  This way we do not
12181         need to call the kernel just to get the port.  Furthermore, we no
12182         longer increase the reference count on every invocation of
12183         `mach_host_self'.
12185         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12186         Protect declarations against the macro expansion.
12187         * mach/mach_init.c (__mach_host_self_): New variable.
12188         (mach_init): Initialize `__mach_host_self_'.
12189         * mach/mach_init.h (__mach_host_self_): New declaration.
12190         (__mach_host_self, mach_host_self): New macros.
12191         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12192         Release reference.
12194 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12196         [BZ #4404]
12197         * po/de.po: Update from Translation Project.
12199         [BZ #16415]
12200         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12201         (__expm1l): Remove code to handle positive infinity and overflow.
12202         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12203         variable.
12204         (__expm1l): Remove code to handle positive infinity and overflow.
12206 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
12207             Paul Pluzhnikov  <ppluzhnikov@google.com>
12209         [BZ #18872]
12210         * stdio-common/Makefile (tst-printf-bz18872): New test.
12211         (tst-printf-bz18872-mem.out): Likewise.
12212         * stdio-common/tst-printf-bz18872.sh: Generate new test.
12213         * stdio-common/vfprintf.c: Fix memory leaks.
12215 2015-09-16  Andreas Schwab  <schwab@suse.de>
12217         [BZ #17244]
12218         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
12219         Remove extra va_start/va_end calls.
12221         [BZ #17243]
12222         * posix/execl.c (execl): Add missing va_end.
12223         * posix/execle.c (execle): Likewise.
12224         * posix/execlp.c (execlp): Likewise.
12226 2015-09-15  Roland McGrath  <roland@hack.frob.com>
12228         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
12229         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
12231 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
12233         [BZ #18967]
12234         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
12235         undefine around includes of <bits/mathcalls.h>.
12236         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
12237         not declare function.
12238         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
12239         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
12240         (scalb): Likewise.
12241         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
12242         not define macro.
12243         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
12244         variable.
12245         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12246         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12247         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12249         [BZ #18857]
12250         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
12251         return non-finite argument without doing ordered comparisons on
12252         it.
12254         [BZ #16296]
12255         * math/fenv.h (fegetround): Use __attribute_pure__.
12256         * include/fenv.h (__fegetround): Likewise.
12258         [BZ #18595]
12259         * math/s_ctan.c (__ctan): Force underflow exception for results
12260         whose real or imaginary part has small absolute value.
12261         * math/s_ctanf.c (__ctanf): Likewise.
12262         * math/s_ctanh.c (__ctanh): Likewise.
12263         * math/s_ctanhf.c (__ctanhf): Likewise.
12264         * math/s_ctanhl.c (__ctanhl): Likewise.
12265         * math/s_ctanl.c (__ctanl): Likewise.
12266         * math/auto-libm-test-in: Do not allow missing underflow for ctan
12267         and ctanh.  Add more tests of ctan and ctanh.
12269         [BZ #15918]
12270         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
12271         handling of cases where one argument is an infinity.
12273         [BZ #18875]
12274         [BZ #18966]
12275         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
12276         (MO): New macro.
12277         (__ieee754_exp10): For small results, force underflow exception
12278         and remove excess range and precision from return value.
12279         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
12280         (MO): New macro.
12281         (__ieee754_exp10f): For small results, force underflow exception
12282         and remove excess range and precision from return value.
12283         * math/auto-libm-test-in: Add more tests of exp10.
12284         * math/auto-libm-test-out: Regenerated.
12286 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
12288         [BZ #18875]
12289         [BZ #18961]
12290         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12291         (MO): New macro.
12292         (__ieee754_exp): For small results, force underflow exception and
12293         remove excess range and precision from return value.
12294         (__exp_finite): Likewise.
12295         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12296         (MO): New macro.
12297         (__ieee754_expf): For small results, force underflow exception and
12298         remove excess range and precision from return value.
12299         (__expf_finite): Likewise.
12300         * math/auto-libm-test-in: Add more tests of exp.
12301         * math/auto-libm-test-out: Regenerated.
12303         [BZ #16521]
12304         [BZ #18875]
12305         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12306         small results.
12307         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12308         (MO): New macro.
12309         (__ieee754_exp2): For small results, force underflow exception and
12310         remove excess range and precision from return value.
12311         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12312         (MO): New macro.
12313         (__ieee754_exp2f): For small results, force underflow exception
12314         and remove excess range and precision from return value.
12315         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12316         (MO): New macro.
12317         (__ieee754_exp2l): Force underflow exception for small results.
12318         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12319         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12320         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12321         (MO): New macro.
12322         (__ieee754_exp2l): Force underflow exception for small results.
12323         * math/auto-libm-test-in: Add more tests or exp2.
12324         * math/auto-libm-test-out: Regenerated.
12326 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
12328         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12330         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12331         /dev/null.
12333 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12335         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12336         io fs process)): Drop spurious backslash.
12338 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12340         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12341         Use sysinfo system call instead of parsing /proc/meminfo.
12342         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12343         Likewise.
12345 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
12347         [BZ #16985]
12348         * programs/localedef.c (main): Display argv[remaining] when
12349         output_path is NULL.
12351 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12353         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12354         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12355         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12356         tanh.
12357         * math/auto-libm-test-out: Regenerated.
12358         * sysdeps/i386/fpu/libm-test-ulps: Update.
12359         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12360         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12363 2015-09-11  Roland McGrath  <roland@hack.frob.com>
12365         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12366         Use 'override' keyword to freeze the value here, preventing
12367         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12369 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12371         [BZ #14912]
12372         * sysdeps/aarch64/bits/atomic.h: Move to ...
12373         * sysdeps/aarch64/atomic-machine.h: ...here.
12374         (_AARCH64_BITS_ATOMIC_H): Rename macro to
12375         _AARCH64_ATOMIC_MACHINE_H.
12376         * sysdeps/alpha/bits/atomic.h: Move to ...
12377         * sysdeps/alpha/atomic-machine.h: ...here.
12378         * sysdeps/arm/bits/atomic.h: Move to ...
12379         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
12380         * bits/atomic.h: Move to ...
12381         * sysdeps/generic/atomic-machine.h: ...here.
12382         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12383         * sysdeps/i386/bits/atomic.h: Move to ...
12384         * sysdeps/i386/atomic-machine.h: ...here.
12385         * sysdeps/ia64/bits/atomic.h: Move to ...
12386         * sysdeps/ia64/atomic-machine.h: ...here.
12387         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
12388         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
12389         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12390         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
12391         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
12392         * sysdeps/microblaze/bits/atomic.h: Move to ...
12393         * sysdeps/microblaze/atomic-machine.h: ...here.
12394         * sysdeps/mips/bits/atomic.h: Move to ...
12395         * sysdeps/mips/atomic-machine.h: ...here.
12396         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
12397         * sysdeps/powerpc/bits/atomic.h: Move to ...
12398         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
12399         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
12400         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
12401         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
12402         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
12403         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
12404         <atomic-machine.h> instead of <bits/atomic.h>.
12405         * sysdeps/s390/bits/atomic.h: Move to ...
12406         * sysdeps/s390/atomic-machine.h: ...here.
12407         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
12408         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
12409         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12410         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
12411         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
12412         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
12413         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
12414         * sysdeps/tile/bits/atomic.h: Move to ...
12415         * sysdeps/tile/atomic-machine.h: ...here.
12416         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
12417         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
12418         <sysdeps/tile/atomic-machine.h> instead of
12419         <sysdeps/tile/bits/atomic.h>.
12420         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12421         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
12422         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
12423         <sysdeps/tile/atomic-machine.h> instead of
12424         <sysdeps/tile/bits/atomic.h>.
12425         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12426         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
12427         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
12428         <sysdeps/arm/atomic-machine.h> instead of
12429         <sysdeps/arm/bits/atomic.h>.
12430         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
12431         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
12432         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12433         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
12434         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
12435         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12436         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
12437         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
12438         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
12439         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
12440         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
12441         * sysdeps/x86_64/bits/atomic.h: Move to ...
12442         * sysdeps/x86_64/atomic-machine.h: ...here.
12443         * include/atomic.h: Include <atomic-machine.h> instead of
12444         <bits/atomic.h>.
12446         * sysdeps/mips/mips32/libm-test-ulps: Update.
12447         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12449         [BZ #18952]
12450         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
12451         not convert non-integer negative arguments to int to determine the
12452         value of signgam.
12453         * math/auto-libm-test-in: Add more tests of lgamma.
12454         * math/auto-libm-test-out: Regenerated.
12456         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
12457         cosh, csqrt, erfc, expm1 and lgamma.
12458         * math/auto-libm-test-out: Regenerated.
12459         * sysdeps/i386/fpu/libm-test-ulps: Update.
12460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12462 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
12464         [BZ #2542]
12465         [BZ #2543]
12466         [BZ #2558]
12467         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
12468         __lgamma_neg for arguments from -28.0 to -2.0.
12469         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
12470         __lgamma_negf for arguments from -15.0 to -2.0.
12471         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12472         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
12473         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
12474         Call __lgamma_negl for arguments from -33.0 to -2.0.
12475         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
12476         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12477         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12478         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
12479         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12480         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12481         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12482         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
12483         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12484         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12485         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
12486         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
12487         (__lgamma_neg): Likewise.
12488         (__lgamma_negl): Likewise.
12489         (__lgamma_product): Likewise.
12490         (__lgamma_productl): Likewise.
12491         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
12492         * math/auto-libm-test-in: Add more tests of lgamma.
12493         * math/auto-libm-test-out: Regenerated.
12494         * sysdeps/i386/fpu/libm-test-ulps: Update.
12495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12497 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
12499         [BZ #18675]
12500         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
12502 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
12504         [BZ #14912]
12505         * bits/libc-lock.h: Move to ...
12506         * sysdeps/generic/libc-lock.h: ...here.
12507         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12508         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
12509         * sysdeps/mach/hurd/libc-lock.h: ...here.
12510         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12511         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
12512         * sysdeps/mach/bits/libc-lock.h: Move to ...
12513         * sysdeps/mach/libc-lock.h: ...here.
12514         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12515         * sysdeps/nptl/bits/libc-lock.h: Move to ...
12516         * sysdeps/nptl/libc-lock.h: ...here.
12517         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12518         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
12519         * sysdeps/nptl/libc-lockP.h: ...here.
12520         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
12521         * crypt/crypt_util.c: Include <libc-lock.h> instead of
12522         <bits/libc-lock.h>.
12523         * dirent/scandir-tail.c: Likewise.
12524         * dlfcn/dlerror.c: Likewise.
12525         * elf/dl-close.c: Likewise.
12526         * elf/dl-iteratephdr.c: Likewise.
12527         * elf/dl-lookup.c: Likewise.
12528         * elf/dl-open.c: Likewise.
12529         * elf/dl-support.c: Likewise.
12530         * elf/dl-writev.h: Likewise.
12531         * elf/rtld.c: Likewise.
12532         * grp/fgetgrent.c: Likewise.
12533         * gshadow/fgetsgent.c: Likewise.
12534         * gshadow/sgetsgent.c: Likewise.
12535         * iconv/gconv_conf.c: Likewise.
12536         * iconv/gconv_db.c: Likewise.
12537         * iconv/gconv_dl.c: Likewise.
12538         * iconv/gconv_int.h: Likewise.
12539         * iconv/gconv_trans.c: Likewise.
12540         * include/link.h: Likewise.
12541         * inet/getnameinfo.c: Likewise.
12542         * inet/getnetgrent.c: Likewise.
12543         * inet/getnetgrent_r.c: Likewise.
12544         * intl/bindtextdom.c: Likewise.
12545         * intl/dcigettext.c: Likewise.
12546         * intl/finddomain.c: Likewise.
12547         * intl/gettextP.h: Likewise.
12548         * intl/loadmsgcat.c: Likewise.
12549         * intl/localealias.c: Likewise.
12550         * intl/textdomain.c: Likewise.
12551         * libidn/idn-stub.c: Likewise.
12552         * libio/libioP.h: Likewise.
12553         * locale/duplocale.c: Likewise.
12554         * locale/freelocale.c: Likewise.
12555         * locale/newlocale.c: Likewise.
12556         * locale/setlocale.c: Likewise.
12557         * login/getutent_r.c: Likewise.
12558         * login/getutid_r.c: Likewise.
12559         * login/getutline_r.c: Likewise.
12560         * login/utmp-private.h: Likewise.
12561         * login/utmpname.c: Likewise.
12562         * malloc/mtrace.c: Likewise.
12563         * misc/efgcvt.c: Likewise.
12564         * misc/error.c: Likewise.
12565         * misc/fstab.c: Likewise.
12566         * misc/getpass.c: Likewise.
12567         * misc/mntent.c: Likewise.
12568         * misc/syslog.c: Likewise.
12569         * nis/nis_call.c: Likewise.
12570         * nis/nis_callback.c: Likewise.
12571         * nis/nss-default.c: Likewise.
12572         * nis/nss_compat/compat-grp.c: Likewise.
12573         * nis/nss_compat/compat-initgroups.c: Likewise.
12574         * nis/nss_compat/compat-pwd.c: Likewise.
12575         * nis/nss_compat/compat-spwd.c: Likewise.
12576         * nis/nss_nis/nis-alias.c: Likewise.
12577         * nis/nss_nis/nis-ethers.c: Likewise.
12578         * nis/nss_nis/nis-grp.c: Likewise.
12579         * nis/nss_nis/nis-hosts.c: Likewise.
12580         * nis/nss_nis/nis-network.c: Likewise.
12581         * nis/nss_nis/nis-proto.c: Likewise.
12582         * nis/nss_nis/nis-pwd.c: Likewise.
12583         * nis/nss_nis/nis-rpc.c: Likewise.
12584         * nis/nss_nis/nis-service.c: Likewise.
12585         * nis/nss_nis/nis-spwd.c: Likewise.
12586         * nis/nss_nisplus/nisplus-alias.c: Likewise.
12587         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
12588         * nis/nss_nisplus/nisplus-grp.c: Likewise.
12589         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
12590         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
12591         * nis/nss_nisplus/nisplus-network.c: Likewise.
12592         * nis/nss_nisplus/nisplus-proto.c: Likewise.
12593         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
12594         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
12595         * nis/nss_nisplus/nisplus-service.c: Likewise.
12596         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
12597         * nis/ypclnt.c: Likewise.
12598         * nptl/libc_pthread_init.c: Likewise.
12599         * nss/getXXbyYY.c: Likewise.
12600         * nss/getXXent.c: Likewise.
12601         * nss/getXXent_r.c: Likewise.
12602         * nss/nss_db/db-XXX.c: Likewise.
12603         * nss/nss_db/db-netgrp.c: Likewise.
12604         * nss/nss_db/nss_db.h: Likewise.
12605         * nss/nss_files/files-XXX.c: Likewise.
12606         * nss/nss_files/files-alias.c: Likewise.
12607         * nss/nsswitch.c: Likewise.
12608         * posix/regex_internal.h: Likewise.
12609         * posix/wordexp.c: Likewise.
12610         * pwd/fgetpwent.c: Likewise.
12611         * resolv/res_hconf.c: Likewise.
12612         * resolv/res_libc.c: Likewise.
12613         * shadow/fgetspent.c: Likewise.
12614         * shadow/lckpwdf.c: Likewise.
12615         * shadow/sgetspent.c: Likewise.
12616         * socket/opensock.c: Likewise.
12617         * stdio-common/reg-modifier.c: Likewise.
12618         * stdio-common/reg-printf.c: Likewise.
12619         * stdio-common/reg-type.c: Likewise.
12620         * stdio-common/vfprintf.c: Likewise.
12621         * stdio-common/vfscanf.c: Likewise.
12622         * stdlib/abort.c: Likewise.
12623         * stdlib/cxa_atexit.c: Likewise.
12624         * stdlib/fmtmsg.c: Likewise.
12625         * stdlib/random.c: Likewise.
12626         * stdlib/setenv.c: Likewise.
12627         * string/strsignal.c: Likewise.
12628         * sunrpc/auth_none.c: Likewise.
12629         * sunrpc/bindrsvprt.c: Likewise.
12630         * sunrpc/create_xid.c: Likewise.
12631         * sunrpc/key_call.c: Likewise.
12632         * sunrpc/rpc_thread.c: Likewise.
12633         * sysdeps/arm/backtrace.c: Likewise.
12634         * sysdeps/generic/ldsodefs.h: Likewise.
12635         * sysdeps/generic/stdio-lock.h: Likewise.
12636         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
12637         * sysdeps/i386/backtrace.c: Likewise.
12638         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12639         * sysdeps/m68k/backtrace.c: Likewise.
12640         * sysdeps/mach/hurd/cthreads.c: Likewise.
12641         * sysdeps/mach/hurd/dirstream.h: Likewise.
12642         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12643         * sysdeps/nptl/malloc-machine.h: Likewise.
12644         * sysdeps/nptl/stdio-lock.h: Likewise.
12645         * sysdeps/posix/dirstream.h: Likewise.
12646         * sysdeps/posix/getaddrinfo.c: Likewise.
12647         * sysdeps/posix/system.c: Likewise.
12648         * sysdeps/pthread/aio_suspend.c: Likewise.
12649         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12650         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12651         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12652         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12653         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
12654         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
12655         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
12656         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12657         * sysdeps/unix/sysv/linux/system.c: Likewise.
12658         * sysdeps/x86_64/backtrace.c: Likewise.
12659         * time/alt_digit.c: Likewise.
12660         * time/era.c: Likewise.
12661         * time/tzset.c: Likewise.
12662         * wcsmbs/wcsmbsload.c: Likewise.
12663         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
12664         instead of <bits/libc-lock.h> in comment.
12666 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
12668         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
12669         Only use .set mips2 if the current ISA is below mips2.
12670         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
12671         Likewise.
12672         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
12673         mips32r2 if the current ISA is below mips32r2.
12674         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
12675         (TLS_IE): Updated to use the TLD_RDHWR macro.
12676         (TLS_LE): Likewise.
12677         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
12678         __ASSEMBLER__ condition.
12680 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12682         Fix parallel build of before-compile targets.
12684         * sysdeps/mach/Makefile ($(patsubst
12685         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
12686         mach-before-compile target.
12687         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12688         io fs process)): Move rule to dedicated hurd-before-compile target.
12690 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12692         Fix rules generating headers in hurd/ and mach/ when initial make call
12693         has subdir= explicitly set.
12695         * sysdeps/mach/Makefile ($(patsubst
12696         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
12697         calling $(MAKE).
12698         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12699         io fs process)): Force subdir to hurd when calling $(MAKE).
12700         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
12701         subdir to mach when calling $(MAKE).
12703 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
12705         Check sysheaders when looking for Mach and Hurd headers
12707         * sysdeps/mach/configure.ac: Add sysheaders check.
12708         * sysdeps/mach/configure: Regenerate.
12709         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
12710         * sysdeps/mach/hurd/configure: Regenerate.
12712 2015-09-04  Roland McGrath  <roland@hack.frob.com>
12714         [BZ #18921]
12715         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
12716         Fix inverted sense of test of 'o_directory_works' value.
12717         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
12718         Bernhard Voelker <mail@bernhard-voelker.de>.
12720 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12722         [BZ #14912]
12723         * bits/linkmap.h: Move to ...
12724         * sysdeps/generic/linkmap.h: ...here.
12725         * sysdeps/aarch64/bits/linkmap.h: Move to ...
12726         * sysdeps/aarch64/linkmap.h: ...here.
12727         * sysdeps/arm/bits/linkmap.h: Move to ...
12728         * sysdeps/arm/linkmap.h: ...here.
12729         * sysdeps/hppa/bits/linkmap.h: Move to ...
12730         * sysdeps/hppa/linkmap.h: ...here.
12731         * sysdeps/ia64/bits/linkmap.h: Move to ...
12732         * sysdeps/ia64/linkmap.h: ...here.
12733         * sysdeps/mips/bits/linkmap.h: Move to ...
12734         * sysdeps/mips/linkmap.h: ...here.
12735         * sysdeps/s390/bits/linkmap.h: Move to ...
12736         * sysdeps/s390/linkmap.h: ...here.
12737         * sysdeps/sh/bits/linkmap.h: Move to ...
12738         * sysdeps/sh/linkmap.h: ...here.
12739         * sysdeps/x86/bits/linkmap.h: Move to ...
12740         * sysdeps/x86/linkmap.h: ...here.
12741         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
12743 2015-09-04  Andreas Schwab  <schwab@suse.de>
12745         [BZ #18635]
12746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
12747         (__makecontext): Terminate FDE before return label.
12748         (__novec_makecontext): Likewise.
12750 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12752         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
12753         first member of struct sv in syscall macro.
12755 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12757         [BZ #14912]
12758         * bits/stdio-lock.h: Move to ...
12759         * sysdeps/generic/stdio-lock.h: ...here.
12760         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12761         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
12762         * sysdeps/nptl/stdio-lock.h: ...here.
12763         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12764         * include/libio.h: Include <stdio-lock.h> instead of
12765         <bits/stdio-lock.h>.
12766         * sysdeps/nptl/fork.c: Likewise.
12767         * sysdeps/pthread/flockfile.c: Likewise.
12768         * sysdeps/pthread/ftrylockfile.c: Likewise.
12769         * sysdeps/pthread/funlockfile.c: Likewise.
12771         [BZ #14912]
12772         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
12773         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
12774         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
12775         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
12776         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
12777         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12778         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
12780 2015-09-03  Roland McGrath  <roland@hack.frob.com>
12782         * elf/Makefile (test-xfail-tst-protected1a): New variable.
12783         (test-xfail-tst-protected1b): New variable.
12785 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
12787         [BZ #14912]
12788         * bits/libc-tsd.h: Move to ...
12789         * sysdeps/generic/libc-tsd.h: ...here.
12790         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
12791         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
12792         * sysdeps/mach/hurd/libc-tsd.h: ...here.
12793         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
12794         * include/ctype.h: Include <libc-tsd.h> instead of
12795         <bits/libc-tsd.h>.
12796         * include/rpc/rpc.h: Likewise.
12797         * locale/localeinfo.h: Likewise.
12798         * sunrpc/rpc_thread.c: Likewise.
12799         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12800         * sysdeps/nptl/malloc-machine.h: Likewise.
12802         * Makefile (headers): Remove bits/libc-lock.h.
12803         * libio/Makefile (headers): Remove bits/stdio-lock.h.
12805         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
12806         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
12807         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
12808         <bits/stdio-lock.h>.
12809         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
12810         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
12812 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12814         [BZ #18757]
12815         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
12816         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
12817         BZ #18757.
12819 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12821         * malloc/mtrace.pl: Filter out NULL entries.
12823 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
12825         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
12826         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
12827         macro.
12829         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
12830         (TCP_CC_INFO): Likewise.
12831         (TCP_SAVE_SYN): Likewise.
12832         (TCP_SAVED_SYN): Likewise.
12834 2015-08-31  Brett Neumeier <brett@neumeier.us>
12836         [BZ #18870]
12837         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
12839 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
12841         [BZ #18873]
12842         Fix broken overflow check in posix_fallocate
12843         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
12844         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12845         Fix parenthesization typo.
12847 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
12849         [BZ #18887]
12850         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
12851         tst-mntent-blank-passno.
12852         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
12853         * misc/tst-mntent-blank-corrupt.c: New test.
12854         * misc/tst-mntent-blank-passno.c: New test ripped from ...
12855         * misc/tst-mntent.c (do_test): ... here.
12857 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
12859         [BZ #4404]
12860         * po/de.po: Fix SIGALRM typo.
12862 2015-08-28  James Perkins  <james@loowit.net>
12864         * time/tst-strptime2.c (tests): Replace short list of test
12865         strings for strptime %z specifier with code which exhaustively
12866         tests every combination of sign and 0 to 5 digits. Tests for
12867         rejection of invalid strings.
12869 2015-08-28  James Perkins  <james@loowit.net>
12871         [BZ #16141]
12872         * time/strptime_l.c (__strptime_internal): Fix %z minutes
12873         calculation, removing incorrect decimal time rounding, so that
12874         all minute values result in a valid seconds value.
12875         * time/strptime_l.c (__strptime_internal): Extend %z time zone
12876         offset range limits to UTC-99:59 through UTC+99:59 to parse
12877         current and historical use cases.
12878         * time/tst-strptime2.c (tests): Modify and add tests for the
12879         strptime %z input field descriptor, specifically conversion of
12880         minutes to seconds and validating an offset range of -9959 to
12881         +9959.
12883 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12884             Dmitry V. Levin  <ldv@altlinux.org>
12886         [BZ #18877]
12887         * posix/Makefile (tests): Add tst-mmap-offset.
12888         * posix/tst-mmap.c: New file.
12889         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
12890         offset calculation for negative values.
12892 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12894         * sysdeps/i386/init-arch.h: New file.
12895         * sysdeps/i386/i586/init-arch.h: Likewise.
12896         * sysdeps/i386/i686/init-arch.h: Likewise.
12897         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
12898         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
12899         * sysdeps/x86/cpu-features.h (bit_I586): New.
12900         (bit_I686): Likewise.
12901         (bit_CX8): Likewise.
12902         (bit_CMOV): Likewise.
12903         (index_CX8): Likewise.
12904         (index_CMOV): Likewise.
12905         (index_I586): Likewise.
12906         (index_I686): Likewise.
12907         (reg_CX8): Likewise.
12908         (reg_CMOV): Likewise.
12909         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
12910         available at compile-time.
12911         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
12912         available at compile-time.
12913         * sysdeps/x86/init-arch.h (USE_I586): New macro.
12914         (USE_I686): Likewise.
12916 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12918         * sysdeps/i386/bcopy.S: New file.
12919         * sysdeps/i386/bzero.S: Likewise.
12920         * sysdeps/i386/memcpy.S: Likewise.
12921         * sysdeps/i386/memmove.S: Likewise.
12922         * sysdeps/i386/mempcpy.S: Likewise.
12923         * sysdeps/i386/memset.S: Likewise.
12924         * sysdeps/i386/bzero.c: Removed.
12925         * sysdeps/i386/memset.c: Likewise.
12926         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
12927         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
12928         * sysdeps/i386/i586/memset_chk.S: Likewise.
12929         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
12930         * sysdeps/i386/memcpy_chk.S: Here.
12931         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
12932         * sysdeps/i386/memmove_chk.S: Here.
12933         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
12934         * sysdeps/i386/mempcpy_chk.S: Likewise.
12935         * sysdeps/i386/i686/memset_chk.S: Moved to ...
12936         * sysdeps/i386/memset_chk.S: Likewise.
12938 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
12940         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
12941         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
12942         file, move DIAG_POP_NEEDS_COMMENT to end of file.
12943         * soft-fp/fmadf4.c: Ditto.
12944         * soft-fp/fmatf4.c: Ditto.
12946 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12948         * sysdeps/i386/i586/Implies: Removed.
12949         * sysdeps/i386/i686/Implies: Likewise.
12951 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12953         * sysdeps/i386/i486/strlen.S: Moved to ...
12954         * sysdeps/i386/strlen.S: Here.
12956 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12958         * sysdeps/i386/i486/strcat.S: Moved to ...
12959         * sysdeps/i386/strcat.S: Here.
12961 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12963         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
12964         * sysdeps/i386/pthread_spin_trylock.S: Here.
12965         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
12966         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
12968 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12970         * sysdeps/i386/i486/string-inlines.c: Moved to ...
12971         * sysdeps/i386/string-inlines.c: Here.
12973 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12975         * sysdeps/i386/i486/htonl.S: Moved ...
12976         * sysdeps/i386/htonl.S: here.
12978 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12980         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
12981         * sysdeps/i386/bits/atomic.h: Here.
12983 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12985         * sysdeps/i386/i486/Versions: Removed.
12987 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12989         [BZ #2898]
12990         * misc/mktemp.c: Add mkdtemp to the link_warning message.
12991         Based on patch by Aurelien Jarno.
12993 2015-08-26  Stan Shebs  <stanshebs@google.com>
12995         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
12996         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12998 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13000         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
13001         * sysdeps/powerpc/dl-procinfo.c:
13002         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
13003         feature so it shows when LD_SHOW_AUXV=1.
13005 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13007         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13008         (__arch_compare_and_exchange_val_32_acq): Remove and use common
13009         definition.  ISA 2.07B no longer requires full sync.
13011 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
13013         [BZ #18863]
13014         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
13015         (si_call_addr): Define.
13016         (si_syscall): Define.
13017         (si_arch): Define.
13019 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13021         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
13022         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
13023         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
13024         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13025         (__memset_zero_constant_len_parameter): New.
13026         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
13027         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13028         (__memset_zero_constant_len_parameter): Don't define if
13029         __memset_chk or USE_AS_BZERO are defined.
13031         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
13032         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
13033         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
13035         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
13036         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
13037         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
13038         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
13039         comments.
13040         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
13041         -mno-mmx for $(all-rtld-routines).
13042         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
13043         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
13044         i386.
13046 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13048         * sysdeps/generic/unwind.h
13049         (_Unwind_Word): Use __mode__(__unwind_word__)
13050         instead of __mode__(__word__).
13051         (_Unwind_Sword): Likewise.
13053         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13054         (MAX_NEEDED_INPUT): New define.
13055         (MAX_NEEDED_OUTPUT): New define.
13057         * NEWS: New item for IBM z13 string optimizations.
13059         * sysdeps/s390/multiarch/memrchr-c.c: New File.
13060         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
13061         * sysdeps/s390/multiarch/memrchr.c: Likewise.
13062         * sysdeps/s390/multiarch/Makefile
13063         (sysdep_routines): Add memrchr functions.
13064         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13065         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
13067         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
13068         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
13069         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
13070         * sysdeps/s390/multiarch/Makefile
13071         (sysdep_routines): Add wmemcmp functions.
13072         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13073         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
13074         * benchtests/bench-wmemcmp.c: New File.
13075         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
13077         * sysdeps/s390/multiarch/wmemset-c.c: New File.
13078         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
13079         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13080         * sysdeps/s390/multiarch/Makefile
13081         (sysdep_routines): Add wmemset functions.
13082         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13083         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
13084         * wcsmbs/wmemset.c: Use WMEMSET if defined.
13085         * string/test-memset.c: Add wmemset support.
13086         * wcsmbs/test-wmemset.c: New File.
13087         * wcsmbs/Makefile (strop-tests): Add wmemset.
13088         * benchtests/bench-memset.c: Add wmemset support.
13089         * benchtests/bench-wmemset.c: New File.
13090         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
13092         * sysdeps/s390/multiarch/memccpy-c.c: New File.
13093         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
13094         * sysdeps/s390/multiarch/memccpy.c: Likewise.
13095         * sysdeps/s390/multiarch/Makefile
13096         (sysdep_routines): Add memccpy functions.
13097         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13098         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
13099         * string/memccpy.c: Use MEMCCPY if defined.
13101         * sysdeps/s390/multiarch/memchr-vx.S: New File.
13102         * sysdeps/s390/multiarch/memchr.c: Likewise.
13103         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
13104         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
13105         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13106         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
13107         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
13108         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13109         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
13110         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13111         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
13112         and rawmemchr functions.
13113         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13114         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
13115         and wmemchr.
13116         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
13117         * string/test-memchr.c: Add wmemchr support.
13118         * wcsmbs/test-wmemchr.c: New File.
13119         * wcsmbs/Makefile (strop-tests): Add wmemchr.
13120         * benchtests/bench-memchr.c: Add wmemchr support.
13121         * benchtests/bench-wmemchr.c: New File.
13122         * benchtests/Makefile (wcsmbs-bench): wmemchr.
13124         * sysdeps/s390/multiarch/strcspn-c.c: New File.
13125         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
13126         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13127         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
13128         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
13129         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
13130         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
13131         wcscspn functions.
13132         * sysdeps/s390/multiarch/ifunc-impl-list.c
13133         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
13134         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
13135         * string/test-strcspn.c: Add wcscspn support.
13136         * wcsmbs/test-wcscspn.c: New File.
13137         * wcsmbs/Makefile (strop-tests): Add wcscspn.
13138         * benchtests/bench-strcspn.c: Add wcscspn support.
13139         * benchtests/bench-wcscspn.c: New File.
13140         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
13142         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
13143         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
13144         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13145         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
13146         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
13147         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13148         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
13149         wcspbrk functions.
13150         * sysdeps/s390/multiarch/ifunc-impl-list.c
13151         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
13152         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
13153         * string/test-strpbrk.c: Add wcspbrk support.
13154         * wcsmbs/test-wcspbrk.c: New File.
13155         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
13156         * benchtests/bench-strpbrk.c: Add wcspbrk support.
13157         * benchtests/bench-wcspbrk.c: New File.
13158         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
13160         * sysdeps/s390/multiarch/strspn-c.c: New File.
13161         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
13162         * sysdeps/s390/multiarch/strspn.c: Likewise.
13163         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
13164         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
13165         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13166         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
13167         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
13168         wcsspn functions.
13169         * sysdeps/s390/multiarch/ifunc-impl-list.c
13170         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
13171         * string/test-strspn.c: Add wcsspn support.
13172         * wcsmbs/test-wcsspn.c: New File.
13173         * wcsmbs/Makefile (strop-tests): Add wcsspn.
13174         * benchtests/bench-strspn.c: Add wcsspn support.
13175         * benchtests/bench-wcsspn.c: New File.
13176         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13178         * sysdeps/s390/multiarch/strrchr-c.c: New File.
13179         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13180         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13181         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13182         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13183         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13184         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13185         wcsrchr functions.
13186         * sysdeps/s390/multiarch/ifunc-impl-list.c
13187         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13188         * benchtests/bench-wcsrchr.c: New File.
13189         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13191         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13192         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13193         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13194         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13195         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13196         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13197         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13198         wcschrnul functions.
13199         * sysdeps/s390/multiarch/ifunc-impl-list.c
13200         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13201         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13202         * string/test-strchr.c: Add wcschrnul support.
13203         * wcsmbs/test-wcschrnul.c: New File.
13204         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13205         * benchtests/bench-strchr.c: Add wcschrnul support.
13206         * benchtests/bench-wcschrnul.c: New File.
13207         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13209         * sysdeps/s390/multiarch/strchr-c.c: New File.
13210         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13211         * sysdeps/s390/multiarch/strchr.c: Likewise.
13212         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13213         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
13214         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13215         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
13216         wcschr functions.
13217         * sysdeps/s390/multiarch/ifunc-impl-list.c
13218         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13219         * string/strchr.c (STRCHR): Define and use macro.
13220         * benchtests/bench-wcschr.c: New File.
13221         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
13223         * sysdeps/s390/multiarch/strncmp-c.c: New File.
13224         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
13225         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13226         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
13227         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
13228         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
13229         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
13230         wcsncmp functions.
13231         * sysdeps/s390/multiarch/ifunc-impl-list.c
13232         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13233         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
13234         * benchtests/bench-strncmp.c: Add wcsncmp support.
13235         * benchtests/bench-wcsncmp.c: New File.
13236         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
13238         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
13239         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13240         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
13241         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
13242         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13243         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
13244         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
13245         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
13246         wcscmp functions.
13247         * sysdeps/s390/multiarch/ifunc-impl-list.c
13248         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
13249         * string/strcmp.c (STRCMP): Define and use macro.
13250         * benchtests/bench-wcscmp.c: New File.
13251         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
13252         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
13253         instead of _HAVE_STRING_ARCH_memchr.
13255         * sysdeps/s390/multiarch/strncat-c.c: New File.
13256         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
13257         * sysdeps/s390/multiarch/strncat.c: Likewise.
13258         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
13259         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
13260         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
13261         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
13262         wcsncat functions.
13263         * sysdeps/s390/multiarch/ifunc-impl-list.c
13264         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
13265         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
13266         * string/test-strncat.c: Add wcsncat support.
13267         * wcsmbs/test-wcsncat.c: New File.
13268         * wcsmbs/Makefile (strop-tests): Add wcsncat.
13269         * benchtests/bench-strncat.c: Add wcsncat support.
13270         * benchtests/bench-wcsncat.c: New File.
13271         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
13273         * sysdeps/s390/multiarch/strcat-c.c: New File.
13274         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
13275         * sysdeps/s390/multiarch/strcat.c: Likewise.
13276         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
13277         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
13278         * sysdeps/s390/multiarch/wcscat.c: Likewise.
13279         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
13280         wcscat functions.
13281         * sysdeps/s390/multiarch/ifunc-impl-list.c
13282         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
13283         * string/strcat.c (STRCAT): Define and use macro.
13284         * wcsmbs/wcscat.c: Use WCSCAT if defined.
13285         * string/test-strcat.c: Add wcscat support.
13286         * wcsmbs/test-wcscat.c: New File.
13287         * wcsmbs/Makefile (strop-tests): Add wcscat.
13288         * benchtests/bench-strcat.c: Add wcscat support.
13289         * benchtests/bench-wcscat.c: New File.
13290         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13292         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13293         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13294         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13295         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13296         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13297         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13298         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13299         wcpncpy functions.
13300         * sysdeps/s390/multiarch/ifunc-impl-list.c
13301         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13302         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13303         * string/test-stpncpy.c: Add wcpncpy support.
13304         * wcsmbs/test-wcpncpy.c: New File.
13305         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13306         * benchtests/bench-stpncpy.c: Add wcpncpy support.
13307         * benchtests/bench-wcpncpy.c: New File.
13308         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13310         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13311         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13312         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13313         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13314         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13315         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13316         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13317         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13318         wcsncpy functions.
13319         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13320         * sysdeps/s390/multiarch/ifunc-impl-list.c
13321         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13322         * string/test-strncpy.c: Add wcsncpy support.
13323         * wcsmbs/test-wcsncpy.c: New File.
13324         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13325         * benchtests/bench-strncpy.c: Add wcsncpy support.
13326         * benchtests/bench-wcsncpy.c: New File.
13327         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13329         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13330         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13331         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13332         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13333         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13334         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13335         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13336         wcpcpy functions.
13337         * string/stpcpy.c: Use STPCPY if defined.
13338         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13339         * sysdeps/s390/multiarch/ifunc-impl-list.c
13340         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13341         * string/test-stpcpy.c: Add wcpcpy support.
13342         * wcsmbs/test-wcpcpy.c: New File.
13343         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13344         * benchtests/bench-stpcpy.c: Add wcpcpy support.
13345         * benchtests/bench-wcpcpy.c: New File.
13346         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13348         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13349         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13350         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13351         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13352         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13353         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13354         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13355         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13356         wcscpy functions.
13357         * sysdeps/s390/multiarch/ifunc-impl-list.c
13358         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13359         * benchtests/bench-wcscpy.c: New File.
13360         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13362         * sysdeps/s390/multiarch/strnlen-c.c: New File.
13363         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13364         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13365         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13366         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13367         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13368         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13369         wcsnlen functions.
13370         * sysdeps/s390/multiarch/ifunc-impl-list.c
13371         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13372         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
13373         * string/test-strnlen.c: Add wcsnlen support.
13374         * wcsmbs/test-wcsnlen.c: New File.
13375         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
13376         * benchtests/bench-strnlen.c: Add wcsnlen support.
13377         * benchtests/bench-wcsnlen.c: New File.
13378         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
13380         * sysdeps/s390/multiarch/Makefile: New File.
13381         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
13382         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
13383         * sysdeps/s390/multiarch/strlen.c: Likewise.
13384         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
13385         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
13386         * sysdeps/s390/multiarch/wcslen.c: Likewise.
13387         * string/strlen.c (STRLEN): Define and use macro.
13388         * sysdeps/s390/multiarch/ifunc-impl-list.c
13389         (IFUNC_VX_IMPL): New macro function.
13390         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
13391         * benchtests/Makefile (wcsmbs-bench): New variable.
13392         (string-bench-all): Added wcsmbs-bench.
13393         * benchtests/bench-wcslen.c: New File.
13395         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
13396         s390_vx_libc_ifunc2): New macro function.
13398         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
13399         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
13400         assembler support.
13401         * sysdeps/s390/configure: Regenerated.
13403         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
13404         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13406         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
13407         * sysdeps/s390/dl-procinfo.h: Add vector capability.
13408         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
13410         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
13411         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
13412         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
13413         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13414         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
13415         (memcmp, bcmp): Use __memcmp_default as alias source.
13416         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
13417         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
13418         Rename to __memcmp_default.
13419         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
13420         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
13421         (memcpy): Use __memcpy_default as alias source.
13422         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
13423         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
13424         Rename to __memcpy_default.
13425         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
13426         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
13427         (memset): Use __memset_default as alias source.
13428         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
13429         * sysdeps/s390/s390-32/memset.S (__memset_g5):
13430         Rename to __memset_default.
13431         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
13432         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
13433         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
13434         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
13435         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
13436         (memcmp, bcmp): Use __memcmp_default as alias source.
13437         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
13438         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
13439         Rename to __memcmp_default.
13440         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
13441         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
13442         (memcpy): Use __memcpy_default as alias source.
13443         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
13444         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
13445         Rename to __memcpy_default.
13446         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
13447         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
13448         (memset): Use __memset_default as alias source.
13449         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
13450         * sysdeps/s390/s390-64/memset.S (__memset_z900):
13451         Rename to __memset_default.
13452         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
13453         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
13455         [BZ #18610]
13456         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
13457         __ieee_instruction_pointer to __unused.
13458         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
13459         __ieee_instruction_pointer.
13460         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
13461         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
13462         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13463         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13464         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
13465         Mark dxc-field as reserved.
13467 2015-08-25  Roland McGrath  <roland@hack.frob.com>
13469         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
13470         if the weak reference is not null.
13472 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13474         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
13476         [BZ #11214]
13477         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
13479 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13481         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
13482         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
13483         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
13484         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
13485         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
13486         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
13487         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
13488         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
13489         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
13490         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
13491         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
13492         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
13493         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
13494         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
13495         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
13496         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
13497         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
13498         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
13500 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13502         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
13503         register other than r0 for tabort, it has special meaning.
13504         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
13505         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
13506         transaction before starting syscall.
13508 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13510         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
13512 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13514         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
13516         * sysdeps/x86_64/rtld-memcmp.c: Removed.
13517         * sysdeps/x86_64/rtld-memset.S: Likewise.
13518         * sysdeps/x86_64/rtld-strchr.S: Likewise.
13519         * sysdeps/x86_64/rtld-strlen.S: Likewise.
13520         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
13521         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13523         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
13525 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
13527         * debug/strcpy_chk.c: Improve performance.
13528         * debug/stpcpy_chk.c: Likewise.
13529         * sysdeps/x86_64/strcpy_chk.S: Remove.
13530         * sysdeps/x86_64/stpcpy_chk.S: Remove.
13532         [BZ #18240]
13533         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
13535 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13537         [BZ #15128]
13538         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
13539         ifuncmain8.
13540         (modules-names): Add ifuncmod8.
13541         ($(objpfx)ifuncmain8): New rule.
13542         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
13543         <cpuid.h>.
13544         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
13545         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
13546         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
13547         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
13548         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
13549         * sysdeps/x86_64/dl-trampoline.h: Likewise.
13550         * sysdeps/x86_64/ifuncmain8.c: New file.
13551         * sysdeps/x86_64/ifuncmod8.c: Likewise.
13552         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
13553         Removed.
13554         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
13555         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
13556         Change rtld_savespace_sse to __glibc_unused2.
13557         (RTLD_CHECK_FOREIGN_CALL): Removed.
13558         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
13559         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
13560         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
13562 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13564         * sysdeps/aarch64/bzero.S (__bzero): Remove.
13566 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13568         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
13569         Unconditionally set __fpcr to avoid uninialized warning.
13570         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
13572 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13574         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
13575         is corrupt.
13577         * malloc/arena.c (arena_get2): Drop unused argument.
13578         (arena_lock): Adjust.
13579         (arena_get_retry): Likewise.
13581 2015-08-24  Andreas Schwab  <schwab@suse.de>
13583         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
13584         Don't define.
13585         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13586         (__ASSUME_IPC64): Don't undef.
13587         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
13588         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13589         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13590         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
13591         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
13592         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
13593         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
13594         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
13595         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
13596         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
13597         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
13598         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
13599         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
13600         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
13601         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
13602         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
13603         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
13604         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
13605         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
13606         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
13607         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
13609 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
13611         * manual/Makefile (install): Only build manual when perl is available.
13613 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13615         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
13616         '#undef memcpy' by '#undef memchr'.
13618 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13620         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
13621         memchr not point to the internal __GI_memchr implementation.
13623 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13625         * timezone/Makefile (CFLAGS-zdump.c): Remove
13626         -Wno-strict-prototypes.
13627         (CFLAGS-zic.c): Likewise.
13628         (CFLAGS-ialloc.c): Likewise.
13629         (CFLAGS-scheck.c): Likewise.
13631         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
13632         -Wno-error=undef.
13634 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13636         * i386/i686/multiarch/strcasestr-c.c: Removed.
13637         * x86_64/multiarch/strcasestr.c: Likewise.
13638         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13639         Remove strcasestr.
13641 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13643         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
13645         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
13646         variables for high and low parts before possibly modifying them.
13648 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13650         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
13651         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
13652         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
13653         of "multiarch/init-arch.h".
13654         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
13655         * sysdeps/x86/init-arch.h: This.
13657 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13659         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
13660         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
13662 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
13664         [BZ #17787]
13665         * manual/macros.texi: Add twoexp macro.
13666         * manual/filesys.texi: Fix exponents.
13667         * manual/llio.texi: Likewise.
13668         * manual/stdio.texi: Likewise.
13670 2015-08-20  Florian Weimer  <fweimer@redhat.com>
13672         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
13673         incorrect use.
13675 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13677         [BZ #18370]
13678         * math/s_csqrt.c (__csqrt): Force underflow exception for results
13679         whose real or imaginary part has small absolute value.
13680         * math/s_csqrtf.c (__csqrtf): Likewise.
13681         * math/s_csqrtl.c (__csqrtl): Likewise.
13682         * math/auto-libm-test-in: Add more tests of csqrt.
13683         * math/auto-libm-test-out: Regenerated.
13684         * sysdeps/i386/fpu/libm-test-ulps: Update.
13686 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13688         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
13689         __ppc_set_ppr_very_low): New functions.
13690         * manual/platform.texi: Add documentation about
13691         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
13693 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
13695         * string/stpncpy.c (stpncpy): Improve performance using
13696         __strnlen/memcpy/memset.
13698 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13700         [BZ #18796]
13701         * scripts/test-installation.pl: Don't add -lmvec to build options if
13702         libmvec wasn't built.
13704 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13706         [BZ #14341]
13707         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
13708         case when there is a gap between DT_REL and DT_JMPREL sections.
13709         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
13710         (LDFLAGS-tst-split-dynreloc): New.
13711         (tst-split-dynreloc-ENV): Likewise.
13712         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
13713         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
13715 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13717         [BZ #18822]
13718         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
13719         attribute_hidden.
13720         (__xstat64_conv): Likewise.
13721         (__xstat32_conv): Likewise.
13723 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13725         [BZ #18822]
13726         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
13727         Don't load %ebx when calling __setcontext.  Call __setcontext
13728         with HIDDEN_JUMPTARGET.
13729         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
13730         libc_hidden_def.
13732 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13734         * sysdeps/i386/i686/Makefile
13735         [$(subdir) == string] (sysdep_routines): Moved to ...
13736         * sysdeps/i386/Makefile: Here.
13737         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
13738         * sysdeps/i386/cacheinfo.c: Here.
13739         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
13740         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
13741         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
13742         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
13744 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13746         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
13747         __i586__ is defined.
13748         (HAS_I686): Defined to 1 if __i686__ is defined.
13750 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13752         * elf/Makefile [$(have-z-execstack) = yes]
13753         (CPPFLAGS-tst-execstack.c): New variable.
13755         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
13756         conditional to [defined UTMPX || _HAVE_UT_TYPE].
13757         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
13758         UTMPX || _HAVE_UT_TV].
13759         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
13760         UTMPX || _HAVE_UT_TV - 0].
13762 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
13764         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
13765         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
13766         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
13768 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13770         * sysdeps/powerpc/dl-procinfo.c:
13771         (_dl_powerpc_cap_flags): Added missing strings for some
13772         hwcap features.
13773         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
13775 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
13777         Port the 0x7efe...feff pattern to GCC 6.
13778         See Steve Ellcey's bug report in:
13779         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
13780         * string/memrchr.c (MEMRCHR):
13781         * string/rawmemchr.c (RAWMEMCHR):
13782         * string/strchr.c (strchr):
13783         * string/strchrnul.c (STRCHRNUL):
13784         Rewrite code to avoid issues with signed shift overflow.
13786 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
13788         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
13789         whether cpuid is available only if HAS_CPUID is 0.
13790         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
13791         (HAS_I586): Likewise.
13792         (HAS_I686): Likewise.
13794 2015-08-18  Zack Weinberg  <zackw@panix.com>
13796         * misc/Versions (libc): Add GLIBC_2.23.
13798 2015-08-18  Alan Modra  <amodra@gmail.com>
13800         [BZ #18421]
13801         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
13802         .Lp__global.
13803         (_start): Load %dp via .Lp__global.
13804         [!SHARED]: Use .section .rodata.
13806 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13808         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
13809         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
13811 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13813         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
13814         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
13816 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13818         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
13819         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
13821 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13823         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
13824         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
13826 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13828         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
13829         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
13831 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13833         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
13834         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
13836 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13838         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
13840 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13842         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
13843         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
13844         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13845         (__ASSUME_LWS_CAS): Delete.
13847 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13849         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
13850         * sysdeps/hppa/configure: Regenerated.
13851         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
13852         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
13853         * sysdeps/hppa/nptl/tls.h: Likewise.
13855 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
13857         [BZ #18823]
13858         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
13859         for scaling up small arguments.
13860         * math/s_csqrtf.c (__csqrtf): Likewise.
13861         * math/s_csqrtl.c (__csqrtl): Likewise.
13862         * math/auto-libm-test-in: Add more tests of csqrt.
13863         * math/auto-libm-test-out: Regenerated.
13865 2015-08-17  Andreas Schwab  <schwab@suse.de>
13867         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
13868         version set GLIBC_2.19.
13870 2015-08-16  Zack Weinberg  <zackw@panix.com>
13872         [BZ #18681]
13873         * misc/regexp.h: This interface is no longer supported.
13874         Remove all contents, leaving only an #error directive.
13875         * misc/regexp.c (loc1, loc2, locs, step, advance):
13876         Demote to compatibility symbols.
13878 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
13880         [BZ #18084]
13881         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
13882         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
13883         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13884         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
13885         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
13886         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
13887         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
13888         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
13889         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13891 2015-08-15  Zack Weinberg  <zackw@panix.com>
13893         [BZ #18795]
13894         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
13895         buffer length is known to be too large, not if it's known to be
13896         small enough.
13897         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
13898         overflow at runtime, involving a length parameter, twice: once
13899         with a compile-time constant length parameter, once without.
13901 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
13903         [BZ #18824]
13904         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
13905         scaling x * y up instead of down.
13906         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13907         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13908         * math/auto-libm-test-in: Add more tests of fma.
13909         * math/auto-libm-test-out: Regenerated.
13911 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13913         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13915 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13917         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
13918         unnecessary movq.
13919         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
13920         Likewise.
13922 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
13924         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13925         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
13926         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
13927         and tgamma.
13928         * math/auto-libm-test-out: Regenerated.
13929         * sysdeps/i386/fpu/libm-test-ulps: Update.
13930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13932         [BZ #16520]
13933         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
13934         (__tanh): Force underflow exception for arguments with small
13935         absolute value.
13936         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
13937         (__tanhf): Force underflow exception for arguments with small
13938         absolute value.
13939         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
13940         (__tanhl): Force underflow exception for arguments with small
13941         absolute value.
13942         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
13943         (__tanhl): Force underflow exception for arguments with small
13944         absolute value.
13945         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
13946         (__tanhl): Force underflow exception for arguments with small
13947         absolute value.
13948         * math/auto-libm-test-in: Add more tests of tanh.
13949         * math/auto-libm-test-out: Regenerated.
13950         * sysdeps/i386/fpu/libm-test-ulps: Update.
13952 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13954         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
13955         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
13957 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13959         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
13960         <cpuid.h>.
13962 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13964         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
13965         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
13967 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13969         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
13970         Remove $(objpfx)init-arch.o.
13971         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
13972         init-arch.
13973         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
13974         (INIT_ARCH_EXT): Defined as empty.
13975         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
13976         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
13977         __init_cpu_features call.  Replace HAS_XXX with
13978         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13979         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
13980         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
13981         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
13982         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
13983         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13984         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
13985         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
13986         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13987         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
13988         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
13989         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13990         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
13991         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
13992         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13993         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
13994         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
13995         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13996         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13997         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
13998         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
13999         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14000         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
14001         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
14002         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14003         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
14004         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
14005         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14006         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
14007         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
14008         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14009         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
14010         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
14011         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14012         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
14013         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
14015 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14017         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
14018         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14019         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14020         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14021         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
14022         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
14023         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
14024         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
14025         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
14026         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
14027         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
14028         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
14029         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14030         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14031         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14032         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14033         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14034         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14035         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14036         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14037         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14038         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14039         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14040         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14041         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14042         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14043         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14044         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14045         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14046         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14047         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14048         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14049         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14050         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14051         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14052         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14053         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14054         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14055         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14056         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14057         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14058         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14059         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14061 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14063         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
14064         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14065         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14066         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14067         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14068         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
14069         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14070         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
14071         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14072         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14073         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14074         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
14075         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
14076         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
14077         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
14078         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
14079         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
14080         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
14081         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
14082         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
14083         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14084         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
14085         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
14086         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14087         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14088         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
14089         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
14090         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
14091         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14092         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14093         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14094         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14095         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14096         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14097         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14098         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14099         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14100         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14101         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14102         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14103         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14104         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14105         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14107 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14109         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
14110         (dl_platform_init): Call init_cpu_features.
14111         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
14112         * sysdeps/i386/i686/cacheinfo.c
14113         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
14114         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
14115         * sysdeps/i386/i686/multiarch/Versions: Removed.
14116         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
14117         Removed.
14118         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
14119         * sysdeps/unix/sysv/linux/x86/Makefile
14120         (libpthread-sysdep_routines): Remove init-arch.
14121         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
14122         <sysdeps/x86_64/dl-procinfo.c> instead of
14123         sysdeps/generic/dl-procinfo.c>.
14124         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
14125         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
14126         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
14127         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
14128         [$(subdir) == elf] (tests-static): Add
14129         tst-get-cpu-features-static.
14130         * sysdeps/x86/Versions: New file.
14131         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
14132         * sysdeps/x86/cpu-features.c: Likewise.
14133         * sysdeps/x86/cpu-features.h: Likewise.
14134         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
14135         * sysdeps/x86/libc-start.c: Likewise.
14136         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14137         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
14138         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
14139         * sysdeps/x86_64/dl-procinfo.c: Likewise.
14140         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
14141         Assume USE_MULTIARCH is defined and don't check it.
14142         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
14143         (is_amd): Likewise.
14144         (max_cpuid): Likewise.
14145         (intel_check_word): Likewise.
14146         (__cache_sysconf): Don't call __init_cpu_features.
14147         (__x86_preferred_memory_instruction): Removed.
14148         (init_cacheinfo): Don't call __init_cpu_features. Replace
14149         __cpu_features with GLRO(dl_x86_cpu_features).
14150         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
14151         (dl_platform_init): Call init_cpu_features.
14152         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
14153         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
14154         * sysdeps/x86_64/multiarch/Versions: Removed.
14155         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
14156         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
14157         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
14158         Removed.
14159         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
14161 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14163         [BZ #18820]
14164         * libio/Makefile (test-fmemopen-mem): New test.
14165         * libio/test-fmemopen.c (do_bz18820): New test.
14166         * libio/fmemopen.c (__fmemopen): Fix memory leak.
14167         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
14169 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14171         [BZ #16734]
14172         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
14173         (FREE_BUF): Delete.
14174         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
14175         * libio/genops.c (_IO_setb): Use malloc and free directly.
14176         (_IO_default_doallocate, _IO_default_finish): Likewise.
14177         ( _IO_unbuffer_all): Likewise.
14178         ( libc_freeres_fn): Likewise.
14179         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14180         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14181         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14182         (_IO_wdefault_doallocate): Likewise.
14184 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14186         [BZ #18086]
14187         * sysdeps/posix/nice.c (nice): Restore old errno.
14188         * posix/tst-nice.c (do_test): Add test for BZ #18086.
14190 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
14192         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14194 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14196         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14197         __bcopy and add a weak_alias to bcopy.
14198         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14199         for static build.
14201         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14202         cleanup macro usage.
14203         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14204         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14205         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14206         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14207         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14208         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14209         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14210         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14211         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14212         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14213         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14214         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
14215         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14216         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
14217         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14218         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
14219         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
14220         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
14221         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14223         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
14224         libc_hidden_def.
14225         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
14227         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
14228         (sysdep_routines): Add strstr-ppc64.
14229         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
14231 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
14233         [BZ #18778]
14234         * elf/Makefile (tests): Add Add tst-nodelete2.
14235         (modules-names): Add tst-nodelete2mod.
14236         (tst-nodelete2mod.so-no-z-defs): New.
14237         ($(objpfx)tst-nodelete2): Likewise.
14238         ($(objpfx)tst-nodelete2.out): Likewise.
14239         (LDFLAGS-tst-nodelete2): Likewise.
14240         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
14241         out of loop through all loaded libraries.
14242         * elf/tst-nodelete2.c: New file.
14243         * elf/tst-nodelete2mod.c: Likewise.
14244         * elf/tst-znodelete-zlib.cc: Delete.
14246 2015-08-11  Andreas Schwab  <schwab@suse.de>
14248         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
14249         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
14250         (__openat64_nocancel): Likewise.
14252 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
14254         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
14255         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
14256         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
14257         * math/auto-libm-test-out: Regenerated.
14258         * sysdeps/i386/fpu/libm-test-ulps: Update.
14259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14261 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14263         [BZ #18790]
14264         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
14265         threshold for returning +/- 1.
14266         * math/auto-libm-test-in: Add more tests of tanh.
14267         * math/auto-libm-test-out: Regenerated.
14268         * sysdeps/i386/fpu/libm-test-ulps: Update.
14270 2015-08-10  Andreas Schwab  <schwab@suse.de>
14272         [BZ #18781]
14273         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
14274         MORE_OFLAGS to oflag.
14275         * io/test-lfs.c (do_test): Test openat64.
14277 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14279         [BZ #18789]
14280         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
14281         smaller threshold for returning the argument.
14282         * math/auto-libm-test-in: Add more tests of sinh.
14283         * math/auto-libm-test-out: Regenerated.
14284         * sysdeps/i386/fpu/libm-test-ulps: Update.
14286 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
14288         [BZ #18674]
14289         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14290         break.
14292 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
14294         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14295         (generated): Don't add $(addprefix z.,$(tzfiles)).
14297 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14299         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14300         * scripts/sysd-rules.awk: Likewise.
14302 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14304         * iconvdata/tst-tables.sh: Change echo -n to printf.
14305         * nss/db-Makefile: Likewise.
14306         * posix/tst-getconf.sh: Likewise.
14307         * stdio-common/tst-unbputc.sh: Likewise.
14309 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14311         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14312         MADV_*_PAGES defines behind this feature check.
14314 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
14316         [BZ #18480]
14317         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14318         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14319         Define.
14320         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14321         LOAD_REGS_5, LOAD_REGS_6): Update.
14322         (INTERNAL_SYSCALL): Update using new LOAD defines.
14323         (INTERNAL_SYSCALL_NCS): Likewise.
14324         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14326 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14328         [BZ #16734]
14329         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14331 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14333         [BZ #17905]
14334         * catgets/Makefile (tst-catgets-mem): New test.
14335         * catgets/catgets.c (catopen): Don't use unbounded alloca.
14336         * catgets/open_catalog.c (__open_catalog): Likewise.
14337         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14339 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
14341         [BZ #18787]
14342         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14343         clobber registers.
14344         (atomic_compare_and_exchange_val_acq): Use register asms to assign
14345         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
14346         Cast return to __typeof (oldval).
14348 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
14350         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14351         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
14352         and delete sys/syscall.h include.
14354 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
14356         [BZ #16517]
14357         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14358         (tan): Force underflow exception for arguments with small absolute
14359         value.
14360         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14361         (__kernel_tanf): Force underflow exception for arguments with
14362         small absolute value.
14363         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14364         (__kernel_tanl): Force underflow exception for arguments with
14365         small absolute value.
14366         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14367         (__kernel_tanl): Force underflow exception for arguments with
14368         small absolute value.
14369         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
14370         (__kernel_tanl): Force underflow exception for arguments with
14371         small absolute value.
14372         * math/auto-libm-test-in: Add more tests of tan.
14373         * math/auto-libm-test-out: Regenerated.
14375 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14377         Fix sysdeps/i386/fpu/s_scalbn.S build
14379         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
14381 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
14383         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14385 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14387         Fix gcrt0.o compilation
14389         When static-start-installed-name is different from
14390         start-installed-name, we must not use the shared objects.
14392         * csu/Makefile
14393         (extra-objs): Add gmon-start.o when building shared library and
14394         $(static-start-installed-name) is different from
14395         $(start-installed-name).
14396         $(objpfx)g$(static-start-installed-name): When building shared
14397         library and $(static-start-installed-name) is different from
14398         $(static-start-installed-name), revert to non-shared rule,
14399         i.e. using $(objpfx)% and gmon-start.o.
14401 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
14403         [BZ #16519]
14404         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
14405         (__ieee754_sinh): Force underflow exception for arguments with
14406         small absolute value.
14407         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
14408         (__ieee754_sinhf): Force underflow exception for arguments with
14409         small absolute value.
14410         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
14411         (__ieee754_sinhl): Force underflow exception for arguments with
14412         small absolute value.
14413         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14414         (__ieee754_sinhl): Force underflow exception for arguments with
14415         small absolute value.
14416         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
14417         (__ieee754_sinhl): Force underflow exception for arguments with
14418         small absolute value.
14419         * math/auto-libm-test-in: Add more tests of sinh.
14420         * math/auto-libm-test-out: Regenerated.
14421         * sysdeps/i386/fpu/libm-test-ulps: Update.
14423 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14425         * libio/oldfileops.c: Include unistd.h.
14427 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
14429         * stdlib/isomac.c: Include ctype.h.
14431 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
14433         * dirent/tst-seekdir.c (main): Converted to ...
14434         (do_test): ... this.
14435         (TEST_FUNCTION): New macro.
14436         Include test-skeleton.c.
14437         * elf/tst-dlmodcount.c (main): Converted to ...
14438         (do_test): ... this.
14439         (TEST_FUNCTION): New macro.
14440         Include test-skeleton.c.
14441         * elf/tst-order-main.c (main): Converted to ...
14442         (do_test): ... this.
14443         (TEST_FUNCTION): New macro.
14444         Include test-skeleton.c.
14445         * elf/tst-pie2.c (main): Converted to ...
14446         (do_test): ... this.
14447         (TEST_FUNCTION): New macro.
14448         Include test-skeleton.c.
14449         * inet/tst-ether_aton.c (main): Converted to ...
14450         (do_test): ... this.
14451         (TEST_FUNCTION): New macro.
14452         Include test-skeleton.c.
14453         * misc/tst-mntent.c (main): Converted to ...
14454         (do_test): ... this.
14455         (TEST_FUNCTION): New macro.
14456         Include test-skeleton.c.
14457         * misc/tst-tsearch.c (main): Converted to ...
14458         (do_test): ... this.
14459         (TEST_FUNCTION): New macro.
14460         Include test-skeleton.c.
14461         * posix/tst-regexloc.c (main): Converted to ...
14462         (do_test): ... this.
14463         (TEST_FUNCTION): New macro.
14464         Include test-skeleton.c.
14465         * resolv/tst-aton.c (main): Converted to ...
14466         (do_test): ... this.
14467         (TEST_FUNCTION): New macro.
14468         Include test-skeleton.c.
14469         * stdio-common/test-fwrite.c (main): Converted to ...
14470         (do_test): ... this.
14471         (TEST_FUNCTION): New macro.
14472         Include test-skeleton.c.
14473         * stdio-common/tst-ferror.c (main): Converted to ...
14474         (do_test): ... this.
14475         (TEST_FUNCTION): New macro.
14476         Include test-skeleton.c.
14477         * stdio-common/tst-printf.c (main): Converted to ...
14478         (do_test): ... this.
14479         (TEST_FUNCTION): New macro.
14480         Include test-skeleton.c.
14481         * stdio-common/tst-printfsz.c (main): Converted to ...
14482         (do_test): ... this.
14483         (TEST_FUNCTION): New macro.
14484         Include test-skeleton.c.
14485         * stdlib/tst-strtod.c (main): Converted to ...
14486         (do_test): ... this.
14487         (TEST_FUNCTION): New macro.
14488         Include test-skeleton.c.
14489         * string/tst-strlen.c (main): Converted to ...
14490         (do_test): ... this.
14491         (TEST_FUNCTION): New macro.
14492         Include test-skeleton.c.
14493         * string/tst-svc.c (main): Converted to ...
14494         (do_test): ... this.
14495         (TEST_FUNCTION): New macro.
14496         Include test-skeleton.c.
14497         * time/tst-strptime.c (main): Converted to ...
14498         (do_test): ... this.
14499         (TEST_FUNCTION): New macro.
14500         Include test-skeleton.c.
14501         * timezone/tst-timezone.c (main): Converted to ...
14502         (do_test): ... this.
14503         (TEST_FUNCTION): New macro.
14504         Include test-skeleton.c.
14506 2015-08-05  Zack Weinberg  <zackw@panix.com>
14508         * misc/regexp.h: Update comments.
14510 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
14512         [BZ #18635]
14513         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
14514         before return label.
14516 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14518         [BZ #18661]
14519         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
14520         when calling __errno_location.
14521         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
14522         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
14524 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14526         [BZ #18661]
14527         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
14528         (__lll_timedwait_tid): Align stack to 16 bytes when calling
14529         __gettimeofday.
14531 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14533         [BZ #18661]
14534         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14535         (__start_context): Don't use pop to restore %rdi so that stack
14536         is aligned to 16 bytes when calling __setcontext.
14538 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14540         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
14541         only for libc.
14542         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14544 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14546         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
14547         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
14548         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
14550 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14552         * string/memccpy.c (memccpy):
14553         Improve performance by using memchr/memcpy/__mempcpy.
14555 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14557         * string/strncpy.c (strncpy):
14558         Improve performance by using __strnlen/memcpy.
14560 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14562         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14563         Optimize to avoid an unnecessary FPCR read.
14565 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14567         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14568         Optimize to reduce FPCR/FPSR accesses.
14570 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14572         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
14573         dead->data[category] != NULL.
14575 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
14577         [BZ #18647]
14578         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
14579         and |x| close to 1, use absolute value of x when computing log.
14580         * math/auto-libm-test-in: Add more tests of pow.
14581         * math/auto-libm-test-out: Regenerated.
14583 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14585         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
14586         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
14587         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
14589 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
14591         [BZ #18525]
14592         * locales/km_KH: Remove timezone definition.
14593         * locales/lo_LA: Likewise.
14594         * locales/my_MM: Likewise.
14595         * locales/nan_TW@latin: Likewise.
14596         * locales/th_TH: Likewise.
14597         * locales/uk_UA: Likewise.
14599 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14601         [BZ #18265]
14602         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
14603         (wcsncat): Likewise.
14604         (wcscmp): Likewise.
14605         (wcsncmp): Likewise.
14607 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14609         * test-skeleton.c (usage): New function.
14610         (main): Call usage when opt is '?'.
14612 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14614         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
14615         before first use.
14617 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14619         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
14620         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
14621         in there too.
14623 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
14625         * version.h (RELEASE): Set to "development".
14626         (VERSION): Set to "2.22.90"
14628         * version.h (RELEASE): Set to "stable".
14629         (VERSION): Set to "2.22"
14630         * include/features.h (__GLIBC_MINOR__): Set to 22.
14632 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
14634         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
14635         Restructure macro to avoid "value computed is not used" warning.
14636         (atomic_compare_and_exchange_val_acq): Likewise.
14638 2015-08-04  Andreas Schwab  <schwab@suse.de>
14640         [BZ #18635]
14641         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
14642         ret.
14643         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
14645 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
14647         * po/pl.po: Updated translation.
14648         * po/uk.po: Likewise.
14649         * po/fi.po: Likewise.
14650         * po/ko.po: Likewise.
14651         * po/ru.po: Likewise.
14652         * po/vi.po: Likewise.
14654 2015-07-31  Zack Weinberg  <zackw@panix.com>
14656         [BZ #18681]
14657         * regexp.h: Add unconditional #warning stating that this header
14658         will be removed soon.  Revise banner comment to match.
14659         (compile): Consistently use ERROR instead of RETURN to report
14660         errors (partial fix for bz#18681).
14661         * regexp.c: Don't include regexp.h. Remove some unnecessary
14662         declarations.
14664 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
14666         * po/libc.pot: Regenerated.
14668 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14670         [BZ #18740]
14671         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
14672         float-vlen4-arch-ext-cflags): Removed.
14673         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
14674         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
14676 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14678         [BZ #14113]
14679         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
14680         aligned to __aligned__.
14681         (pthread_cond_t, pthread_rwlock_t): Likewise.
14683 2015-07-30  Torvald Riegel  <triegel@redhat.com>
14685         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
14687 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14689         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
14690         (struct sigaction): Change sa_flags from a long to an int, and add
14691         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
14693 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14695         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
14696         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
14697         sysdeps/generic/sysdep.h include.
14698         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
14699         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
14700         sysdeps/hppa/sysdep.h.
14701         (ENTRY, PSEUDO): Undefine before defining.
14703 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14705         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
14706         from scratch to use INTERNAL_SYSCALL.
14708 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
14710         [BZ #18078]
14711         * scripts/check-localplt.awk: Support alternate relocations.
14712         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
14713         sections.
14714         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
14715         malloc entries with + REL R_386_GLOB_DAT.
14716         * sysdeps/x86_64/localplt.data: New file.
14718 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
14720         [BZ #18731]
14721         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
14722         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14723         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14725 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14727         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
14729 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14731         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
14732         directly in terms of __sync_fetch_and_add and delete (int) cast.
14734 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14736         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
14737         the -D_ASM_IA64_CURRENT_H flag.
14739 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14741         [BZ #18641]
14742         * pwd/pwd.h (putpwent): Delete __nonnull markings.
14744 2015-07-27  Andreas Schwab  <schwab@suse.de>
14746         * conform/conformtest.pl (checknamespace): Filter out string
14747         literals while tokenizing.
14749 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14751         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14752         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
14753         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14755 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14757         * nptl/tst-join7mod.c: Add #include <string.h>.
14759 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14761         * sysdeps/nios2/libm-test-ulps: Update.
14763 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14765         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
14766         Fix order of arguments to the rt_sigprocmask syscall.
14767         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
14768         Likewise.
14770 2015-07-24  Roland McGrath  <roland@hack.frob.com>
14772         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
14774 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14776         [BZ #18457]
14777         * nptl/Makefile (tests): New test case tst-join7.
14778         (modules-names): New test case module tst-join7mod.
14779         * nptl/tst-join7.c: New file.
14780         * nptl/tst-join7mod.c: New file.
14781         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
14782         all translation units in libc.so, libpthread.so and rtld.
14784 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14788 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14790         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
14791         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14792         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14793         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14794         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14795         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14796         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14797         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14798         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14799         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14800         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14801         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14802         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
14803         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
14804         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
14805         implementation.
14807 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14809         [BZ #17711]
14810         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14811         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
14812         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14813         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14814         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
14815         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14817 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14819         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
14820         instead of just saying load lock in the comments.
14822 2015-07-23  Roland McGrath  <roland@hack.frob.com>
14824         * sysdeps/unix/Subdirs: Moved ...
14825         * sysdeps/posix/Subdirs: ... here.
14826         * login/pty.h (struct termios, struct winsize): Add forward decls.
14827         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
14828         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
14829         * sysdeps/arm/nacl/libc.abilist: Updated.
14830         * sysdeps/nacl/libutil.abilist: New file.
14832         * bits/signum.h: Update comments to mention 1003.1-2013 too.
14833         (SIGWINCH): New macro.
14835         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
14836         * sysdeps/arm/nacl/libc.abilist: Add it.
14838 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14840         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
14842 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14844         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14845         Swap __glibc_reserved0 and sa_flags order.
14847 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14849         [BZ #18657]
14850         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
14851         are pending TLS destructor calls.
14852         * include/link.h (struct link_map): Add concurrency note for
14853         L_TLS_DTOR_COUNT.
14854         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14855         Don't touch the link map flag.  Atomically increment
14856         l_tls_dtor_count.
14857         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
14858         Avoid taking the load lock and don't touch the link map flag.
14859         * stdlib/tst-tls-atexit-nodelete.c: New test case.
14860         * stdlib/Makefile (tests): Use it.
14861         * stdlib/tst-tls-atexit.c (do_test): dlopen
14862         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
14863         to allow tst-tls-atexit-nodelete test case to use it.
14865 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14867         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
14868         to bits/types.h.
14869         (msgqnum_t): New typedef.
14870         (msglen_t): Likewise.
14871         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
14872         and msg_qbytes type to msglen_t.
14874 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14876         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
14877         pad0 to __glibc_reserved0.
14878         (struct stat64): Likewise.
14880 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14882         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14883         Change sa_flags from a long to an int and add __glibc_reserved0 before
14884         it for padding.
14886 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14888         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
14889         anonymous by deleting "siginfo" name.
14891 2015-07-21  Roland McGrath  <roland@hack.frob.com>
14893         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
14894         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
14895         rather than __nacl_irt_filename.
14896         * sysdeps/nacl/xstat.c (__xstat): Likewise.
14898         * NEWS: New item for arm-nacl port.
14899         * sysdeps/arm/nacl/libc.abilist: New file.
14900         * sysdeps/nacl/ld.abilist: New file.
14901         * sysdeps/nacl/libBrokenLocale.abilist: New file.
14902         * sysdeps/nacl/libanl.abilist: New file.
14903         * sysdeps/nacl/libcrypt.abilist: New file.
14904         * sysdeps/nacl/libdl.abilist: New file.
14905         * sysdeps/nacl/libm.abilist: New file.
14906         * sysdeps/nacl/libpthread.abilist: New file.
14907         * sysdeps/nacl/libresolv.abilist: New file.
14908         * sysdeps/nacl/librt.abilist: New file.
14910 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
14912         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
14913         __startcontext to initialize the new context.
14914         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
14915         up CFI directive to forbid further backtracing.
14917 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
14919         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
14920         reference.
14921         * charmaps/ANSI_X3.4-1968: Likewise.
14922         * charmaps/BS_4730: Likewise.
14923         * charmaps/BS_VIEWDATA: Likewise.
14924         * charmaps/CP1250: Likewise.
14925         * charmaps/CP1251: Likewise.
14926         * charmaps/CP1252: Likewise.
14927         * charmaps/CP1253: Likewise.
14928         * charmaps/CP1254: Likewise.
14929         * charmaps/CP1255: Likewise.
14930         * charmaps/CP1256: Likewise.
14931         * charmaps/CSN_369103: Likewise.
14932         * charmaps/EBCDIC-DK-NO: Likewise.
14933         * charmaps/GB_1988-80: Likewise.
14934         * charmaps/GREEK-CCITT: Likewise.
14935         * charmaps/GREEK7: Likewise.
14936         * charmaps/INIS-8: Likewise.
14937         * charmaps/ISIRI-3342: Likewise.
14938         * charmaps/ISO_2033-1983: Likewise.
14939         * charmaps/ISO_5427-EXT: Likewise.
14940         * locales/POSIX: Likewise.
14941         * locales/ar_SA: Likewise.
14942         * locales/be_BY: Likewise.
14943         * locales/be_BY@latin: Likewise.
14944         * locales/ca_ES: Likewise.
14945         * locales/cs_CZ: Likewise.
14946         * locales/da_DK: Likewise.
14947         * locales/de_BE: Likewise.
14948         * locales/de_CH: Likewise.
14949         * locales/de_LU: Likewise.
14950         * locales/en_AU: Likewise.
14951         * locales/en_BW: Likewise.
14952         * locales/en_CA: Likewise.
14953         * locales/en_DK: Likewise.
14954         * locales/en_GB: Likewise.
14955         * locales/en_IE: Likewise.
14956         * locales/en_NZ: Likewise.
14957         * locales/en_ZA: Likewise.
14958         * locales/en_ZW: Likewise.
14959         * locales/es_AR: Likewise.
14960         * locales/es_BO: Likewise.
14961         * locales/es_CL: Likewise.
14962         * locales/es_CO: Likewise.
14963         * locales/es_DO: Likewise.
14964         * locales/es_EC: Likewise.
14965         * locales/es_ES: Likewise.
14966         * locales/es_HN: Likewise.
14967         * locales/es_MX: Likewise.
14968         * locales/es_PA: Likewise.
14969         * locales/es_PE: Likewise.
14970         * locales/es_PY: Likewise.
14971         * locales/es_SV: Likewise.
14972         * locales/es_US: Likewise.
14973         * locales/es_UY: Likewise.
14974         * locales/es_VE: Likewise.
14975         * locales/et_EE: Likewise.
14976         * locales/fa_IR: Likewise.
14977         * locales/fo_FO: Likewise.
14978         * locales/fr_CA: Likewise.
14979         * locales/fr_CH: Likewise.
14980         * locales/gv_GB: Likewise.
14981         * locales/he_IL: Likewise.
14982         * locales/hr_HR: Likewise.
14983         * locales/id_ID: Likewise.
14984         * locales/is_IS: Likewise.
14985         * locales/it_CH: Likewise.
14986         * locales/iw_IL: Likewise.
14987         * locales/kl_GL: Likewise.
14988         * locales/ko_KR: Likewise.
14989         * locales/kw_GB: Likewise.
14990         * locales/lg_UG: Likewise.
14991         * locales/lt_LT: Likewise.
14992         * locales/lv_LV: Likewise.
14993         * locales/mi_NZ: Likewise.
14994         * locales/nhn_MX: Likewise.
14995         * locales/nl_BE: Likewise.
14996         * locales/pl_PL: Likewise.
14997         * locales/sk_SK: Likewise.
14998         * locales/sl_SI: Likewise.
14999         * locales/sv_FI: Likewise.
15000         * locales/tl_PH: Likewise.
15001         * locales/tr_TR: Likewise.
15002         * locales/vi_VN: Likewise.
15004 2015-07-21  Khem Raj  <raj.khem@gmail.com>
15006         [BZ #17475]
15007         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
15008         of tu_IN and bh_IN.
15010 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
15012         [BZ #18694]
15013         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
15014         bits/wordsize.h.
15015         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
15017 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15019         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
15020         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
15021         (spawn_thread): New function.
15022         (load): Rename to reg_dtor_and_close.  Move dlopen to...
15023         (do_test): ... here.  Use IS_LOADED to test for its
15024         availability.
15026 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
15028         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15030 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
15032         [BZ #18696]
15033         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
15034         si_addr_bnd.
15035         (si_lower): New.
15036         (si_upper): Likewise.
15038 2015-07-16  David S. Miller  <davem@davemloft.net>
15040         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
15042 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15044         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
15045         buffer.
15046         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
15047         fail output information.
15049 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
15052         and strstr-ppc64..
15053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15054         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
15055         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
15056         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
15057         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
15059 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15061         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15062         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15063         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15064         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15066 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15068         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15069         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
15070         rtld_hidden_proto.
15071         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
15073 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15075         * tst-nodelete-opened.c (do_test): Add comment to clarify how
15076         the test can fail.
15078         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
15080         [BZ #18676]
15081         * elf/tst-nodelete-opened.c: New test case.
15082         * elf/tst-nodelete-opened-lib.c: New test case module.
15083         * elf/Makefile (tests, modules-names): Use them.
15084         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
15085         early.
15087 2015-07-15  David S. Miller  <davem@davemloft.net>
15089         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
15090         futex-intenal.h
15091         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
15092         * sysdeps/sparc/sparc64/Makefile: Likewise.
15093         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15094         Remove space from macro define.
15095         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
15097 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
15099         [BZ #17475]
15100         * locale/iso-639.def: Update Bhili and Tulu language codes as
15101         per iso639-3.
15103 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
15105         * elf/tst-leaks1.c (main): Converted to ...
15106         (do_test): ... this.
15107         (TEST_FUNCTION): New macro.
15108         Include test-skeleton.c.
15109         * localedata/tst-langinfo.c (main): Converted to ...
15110         (do_test): ... this.
15111         (TEST_FUNCTION): New macro.
15112         Include test-skeleton.c.
15113         * math/test-fpucw.c (main): Converted to ...
15114         (do_test): ... this.
15115         (TEST_FUNCTION): New macro.
15116         Include test-skeleton.c.
15117         * math/test-tgmath.c (main): Converted to ...
15118         (do_test): ... this.
15119         (TEST_FUNCTION): New macro.
15120         Include test-skeleton.c.
15121         * math/test-tgmath2.c (main): Converted to ...
15122         (do_test): ... this.
15123         (TEST_FUNCTION): New macro.
15124         Include test-skeleton.c.
15125         * setjmp/tst-setjmp.c (main): Converted to ...
15126         (do_test): ... this.
15127         (TEST_FUNCTION): New macro.
15128         Include test-skeleton.c.
15129         * stdio-common/tst-sscanf.c (main): Converted to ...
15130         (do_test): ... this.
15131         (TEST_FUNCTION): New macro.
15132         Include test-skeleton.c.
15133         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
15134         (do_test): ... this.
15135         (TEST_FUNCTION): New macro.
15136         Include test-skeleton.c.
15138         * elf/tst-audit9.c (main): Converted to ...
15139         (do_test): ... this.
15140         (TEST_FUNCTION): New macro.
15141         Include test-skeleton.c.
15143 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
15145         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
15147 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15149         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
15150         New variable.
15152 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15154         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15156 2015-07-14  Roland McGrath  <roland@hack.frob.com>
15158         * sysdeps/generic/dl-fileid.h: New file.
15159         * sysdeps/posix/dl-fileid.h: New file.
15160         * sysdeps/nacl/dl-fileid.h: New file.
15161         * include/link.h: Include <dl-fileid.h>.
15162         (struct link_map): Replace l_dev and l_ino with l_file_id.
15163         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
15164         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
15165         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
15167 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15169         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
15171 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15173         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
15174         Add iff $CXX is set.
15175         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
15176         Likewise.
15177         (tst-nodelete-zmodiff): Likewise.
15178         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15180 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15182         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15184 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15186         * sysdeps/aarch64/fpu/math_private.h
15187         (define math_opt_barrier): Add AArch64 version.
15188         (math_force_eval): Likewise.
15190 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15192         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15194 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15196         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15197         %ld with %jd and cast to intmax_t.
15198         (do_test_length_zero): Likewise.
15200 2015-07-10  Roland McGrath  <roland@hack.frob.com>
15202         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15204 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
15206         * sysdeps/tile/libm-test-ulps: Regenerated.
15208         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15209         Comment out the whole function, not just its body.
15211 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15213         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
15214         locks.
15216         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15218 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15220         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
15221         (sem_assume_only_signals_cause_futex_EINTR): Remove.
15223 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15225         * sysdeps/nptl/futex-internal.h: New file.
15226         * sysdeps/nacl/futex-internal.h: New file.
15227         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
15228         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
15229         error checking.
15230         (setxid_unmark_thread): Likewise.
15231         (__nptl_setxid): Likewise.
15232         (__wait_lookup_done): Likewise.
15233         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15234         * nptl/nptl-init.c (sighandler_setxid): Likewise.
15235         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15236         * nptl/pthread_once.c (clear_once_control): Likewise.
15237         (__pthread_once_slow): Likewise.
15238         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15239         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
15240         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
15241         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15242         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
15243         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
15244         Likewise.
15245         (__pthread_rwlock_rdlock): Likewise.
15246         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15247         Likewise.
15248         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15249         Likewise.
15250         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15251         Likewise.
15252         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
15253         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
15254         Likewise.
15255         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
15256         __ASSUME_PRIVATE_FUTEX check.
15257         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
15258         Check that shared futexes are supported.
15259         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
15260         wrappers with error checking.
15261         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
15262         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
15263         * nptl/pthread_barrierattr_setpshared.c
15264         (pthread_barrierattr_setpshared): Check that shared futexes are
15265         supported.
15266         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
15267         Likewise.
15268         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
15269         Likewise.
15270         * nptl/sem_init.c (futex_private_if_supported): Remove.
15271         (__new_sem_init): Adapt and check that shared futexes are supported.
15272         * nptl/sem_open.c (sem_open): Likewise.
15273         * nptl/sem_post.c (futex_wake): Remove.
15274         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
15275         (do_futex_wait): Use futex wrappers with error checking.
15276         * nptl/sem_wait.c: Include lowlevellock.h.
15277         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
15278         Use futex_supports_pshared.
15279         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
15280         Use futex wrappers with error checking.
15281         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
15282         Likewise.
15283         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
15284         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
15285         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
15286         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
15287         (futex_wake): Likewise.
15288         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
15289         (do_futex_wait): Use futex wrappers with error checking.
15290         (__new_sem_wait_slow): Update EINTR handling.
15291         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15293 2015-07-09  Martin Sebor  <msebor@redhat.com>
15295         [BZ #18435]
15296         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15297         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15298         * nptl/Makefile (test-xfail-tst-once5): Define.
15300 2015-07-09  Roland McGrath  <roland@hack.frob.com>
15302         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15303         * elf/dl-minimal.c: For readability, reorder some definitions and
15304         introduce more page breaks.  Include <stdio.h>.
15305         (__libc_fatal): New function.
15307         * include/unistd.h: Add rtld_hidden_proto for _exit.
15308         * posix/_exit.c: Add rtld_hidden_def.
15309         * sysdeps/mach/hurd/_exit.c: Likewise.
15310         * sysdeps/nacl/_exit.c: Likewise.
15311         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15312         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15314 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
15316         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15317         bndmov encoding with zero displacement.
15319 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15320             H.J. Lu  <hongjiu.lu@intel.com>
15322         [BZ #18134]
15323         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15324         * sysdeps/i386/configure: Regenerated.
15325         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15326         (_dl_runtime_profile): Save and restore Intel MPX return bound
15327         registers when calling _dl_call_pltexit.  Add
15328         PRESERVE_BND_REGS_PREFIX before return.
15329         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15330         (LRV_BND1_OFFSET): Likewise.
15331         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15332         lrv_bnd1.
15333         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15334         typo in bndmov encoding.
15335         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15336         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
15337         branch instructions to preserve bounds.
15339 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15342         [GLIBC_2.22]: Add fmemopen.
15344 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15346         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15347         returns an error, also try to use host port from __mach_host_self for
15348         the __vm_wire call.
15349         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15351 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15353         [BZ #18400]
15354         [BZ #18648]
15355         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15356         Fix pr_uid and pr_gid members.
15357         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15358         definition to elf_greg_t.
15360 2015-07-08  Roland McGrath  <roland@hack.frob.com>
15362         [BZ #18383]
15363         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15364         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15365         * sysdeps/arm/configure: Regenerated.
15366         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15367         (test-xfail-tst-tlsalign-static): Variable removed.
15369         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
15370         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
15371         rather than explicit 'ln -s'.
15373         * resolv/rpc/netdb.h: New file.
15374         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
15376 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15378         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
15379         length buffers.
15380         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15381         test-skeleton.c.
15383         [BZ #6544]
15384         [BZ #11216]
15385         [BZ #12836]
15386         [BZ #13151]
15387         [BZ #13152]
15388         [BZ #14292]
15389         * include/stdio.h (fmemopen): Remove hidden prototype.
15390         (__fmemopen): Add new hidden prototype.
15391         * libio/Makefile: Add oldfmemopen object.
15392         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
15393         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
15394         compliance.
15395         * libio/oldfmemopen.c: New file: old fmemopen implementation for
15396         symbol compatibility.
15397         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
15398         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
15399         fmemopen.
15400         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
15401         on append and read mode.
15402         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
15403         fmemopen.
15404         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
15405         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
15406         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
15407         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
15408         Likewise.
15409         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15410         [GLIBC_2.22]: Likewise.
15411         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
15412         Likewise.
15413         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
15414         Likewise.
15415         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15416         [GLIBC_2.22]: Likewise.
15417         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15418         [GLIBC_2.22]: Likewise.
15419         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15420         [GLIBC_2.22]: Likewise.
15421         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15422         [GLIBC_2.22]: Likewise.
15423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15424         [GLIBC_2.22]: Likewise.
15425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15426         [GLIBC_2.22]: Likewise.
15427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15428         [GLIBC_2.22]: Likewise.
15429         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
15430         Likewise.
15431         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
15432         Likewise.
15433         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
15434         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15435         [GLIBC_2.22]: Likewise.
15436         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15437         [GLIBC_2.22]: Likewise.
15438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15439         [GLIBC_2.22]: Likewise.
15440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15441         [GLIBC_2.22]: Likewise.
15442         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
15443         Likewise.
15444         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
15445         Likewise.
15446         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
15447         Likewise.
15448         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
15449         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
15451 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15453         [BZ #18643]
15454         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
15455         IPV6_PATHMTU, and IPV6_DONTFRAG.
15457 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
15459         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
15460         and _IO_UNBUFFERED.
15461         * libio/oldfileops.c: Likewise.
15462         * libio/wfileops.c: Likewise.
15464 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15466         * nscd/selinux.c: Delete selinux/flask.h include.
15468 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15470         [BZ #18641]
15471         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
15472         (putpwent): Likewise.
15473         (getpwnam): Likewise.
15474         (getpwent_r): Likewise.
15475         (getpwuid_r): Likewise.
15476         (getpwnam_r): Likewise.
15477         (fgetpwent_r): Likewise.
15479 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15481         [BZ #18557]
15482         * inet/rcmd.c (__validuser2_sa): Check user first to
15483         short-circuit host check.
15485 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
15486             Mikhail Ilin  <m.ilin@samsung.com>
15488         [BZ #17833]
15489         * elf/Makefile (tests): Add tst-nodelete.
15490         (modules-names): Add tst-nodelete-uniquemod.
15491         (tst-nodelete-uniquemod.so-no-z-defs): New.
15492         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
15493         (tst-nodelete-zmod.so-no-z-defs): Likewise.
15494         ($(objpfx)tst-nodelete): Likewise.
15495         ($(objpfx)tst-nodelete.out): Likewise.
15496         (LDFLAGS-tst-nodelete): Likewise.
15497         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
15498         * elf/dl-close.c (_dl_close_worker): Add a parameter to
15499         implement forced object deletion.
15500         (_dl_close): Pass false to _dl_close_worker.
15501         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
15502         * elf/tst-nodelete.cc: New file.
15503         * elf/tst-nodeletelib.cc: Likewise.
15504         * elf/tst-znodeletelib.cc: Likewise.
15505         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
15507 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15509         [BZ #18508]
15510         * stdlib/Makefile ($(objpfx)tst-makecontext3):
15511         Depend on $(libdl).
15512         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
15513         is not called infinitely times.
15514         (backtrace_helper): New function.
15515         (trace_arg): New struct.
15516         (st1): Enlarge stack size.
15517         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15518         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
15519         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15520         Likewise.
15522 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15524         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15526 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15528         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
15529         Include sys/types.h instead of bits/types.h.
15530         Remove inclusion of bits/wordsize.h.
15532 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15534         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
15535         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
15536         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
15537         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
15538         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
15539         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
15541 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15543         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
15544         link-defines.sym.
15545         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
15546         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
15547         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
15548         and LR_SIZE.
15549         * sysdeps/i386/link-defines.sym: New file.
15551 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15553         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
15554         (modules-names): Add tst-auditmod3a tst-auditmod3b.
15555         ($(objpfx)tst-audit3): New rule.
15556         ($(objpfx)tst-audit3.out): Likewise.
15557         * sysdeps/i386/tst-audit3.c: New file.
15558         * sysdeps/i386/tst-audit3.h: Likewise.
15559         * sysdeps/i386/tst-auditmod3a.c: Likewise.
15560         * sysdeps/i386/tst-auditmod3b.c: Likewise.
15562 2015-07-07  Torvald Riegel  <triegel@redhat.com>
15564         [BZ #18633]
15565         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
15566         pointer in C code.
15567         (__strcat_c): Likewise.
15568         (__strcat_g): Likewise.
15570 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
15572         [BZ #18592]
15573         * misc/sbrk.c: Set errno to ENOMEM on overflow.
15575 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15577         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
15578         New function.  (__ieee754_sqrtf): New function.
15579         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
15580         New function.
15581         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
15582         New function.
15584 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15586         * sysdeps/ieee754/support.c: Remove unused file.
15588 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15590         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
15591         registers instead of d ones so the layout is kernel abi compatible.
15592         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
15593         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
15594         Likewise.
15596 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15598         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15600 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15602         [BZ #18619]
15603         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
15604         and return argument in case of subnormal argument.
15606 2015-07-01  Martin Sebor  <msebor@redhat.com>
15608         [BZ #18435]
15609         * nptl/Makefile: Add tst-once5.cc.
15610         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15611         Remove macro redefinitions.
15612         * nptl/tst-once5.cc: New test.
15614 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15616         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15618         * sysdeps/arm/libm-test-ulps: Regenerated.
15620         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15621         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15623 2015-06-30  Torvald Riegel  <triegel@redhat.com>
15625         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
15626         lll_lock_wait_private and lll_futex_wake probes.
15628         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15629         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
15630         Likewise.
15631         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
15632         atomic_spin_nop.
15633         * sysdeps/x86_64/bits/atomic.h: Likewise.
15634         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
15635         to atomic_spin_nop and move ...
15636         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15637         ... here and ...
15638         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
15639         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
15640         atomic_spin_nop instead of BUSY_WAIT_NOP.
15641         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
15642         Likewise.
15643         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
15644         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15645         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
15646         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
15647         instead of atomic_delay.
15649 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
15651         [BZ #18613]
15652         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
15653         X_ADJ not X when adjusting exponent.
15654         (__ieee754_gamma_r): Do intermediate computations in
15655         round-to-nearest then adjust overflowing and underflowing results
15656         as needed.
15657         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
15658         of X_ADJ not X when adjusting exponent.
15659         (__ieee754_gammaf_r): Do intermediate computations in
15660         round-to-nearest then adjust overflowing and underflowing results
15661         as needed.
15662         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
15663         log of X_ADJ not X when adjusting exponent.
15664         (__ieee754_gammal_r): Do intermediate computations in
15665         round-to-nearest then adjust overflowing and underflowing results
15666         as needed.  Use 1.0L not 1.0f as numerator of division.
15667         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
15668         log of X_ADJ not X when adjusting exponent.
15669         (__ieee754_gammal_r): Do intermediate computations in
15670         round-to-nearest then adjust overflowing and underflowing results
15671         as needed.  Use 1.0L not 1.0f as numerator of division.
15672         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
15673         of X_ADJ not X when adjusting exponent.
15674         (__ieee754_gammal_r): Do intermediate computations in
15675         round-to-nearest then adjust overflowing and underflowing results
15676         as needed.  Use 1.0L not 1.0f as numerator of division.
15677         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
15678         to auto-libm-test-in.
15679         (tgamma_test): Use ALL_RM_TEST.
15680         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
15681         tests of tgamma with spurious-overflow.
15682         * math/auto-libm-test-out: Regenerated.
15683         * math/gen-libm-have-vector-test.sh: Do not check for START.
15684         * sysdeps/i386/fpu/libm-test-ulps: Update.
15685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15687         [BZ #18612]
15688         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
15689         arguments, just return 0.5 times the argument, with underflow
15690         forced as needed.
15691         * math/auto-libm-test-in: Add more tests of j1.
15692         * math/auto-libm-test-out: Regenerated.
15694         [BZ #16559]
15695         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
15696         (__ieee754_j1): Force underflow exception for small results.
15697         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15698         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
15699         (__ieee754_j1f): Force underflow exception for small results.
15700         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15701         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15702         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15703         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
15704         (__ieee754_j1l): Force underflow exception for small results.
15705         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15706         * math/auto-libm-test-in: Add more tests of j1 and jn.
15707         * math/auto-libm-test-out: Regenerated.
15709         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
15710         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
15711         (PF_MPLS): Likewise.
15712         (AF_IB): Likewise.
15713         (AF_MPLS): Likewise.
15714         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
15715         value and macro.
15716         (MS_RMT_MASK): Include MS_LAZYTIME.
15718 2015-06-26  Mel Gorman  <mgorman@suse.de>
15720         [BZ #18502]
15721         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
15722         already minimal.
15724 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
15726         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
15727         (DT_MIPS_NUM): Update.
15728         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
15729         DT_MIPS_RLD_MAP_REL.
15731 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
15733         [BZ #16559]
15734         [BZ #18602]
15735         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
15736         round-to-nearest internally then recompute results that
15737         underflowed to zero in the original rounding mode.
15738         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15739         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15740         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15741         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15742         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
15743         * sysdeps/i386/fpu/libm-test-ulps: Update.
15744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15746 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15748         * NEWS: Fixed description of link with vector math library.
15750 2015-06-25  Andreas Schwab  <schwab@suse.de>
15752         [BZ #18549]
15753         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
15754         * libio/test-fmemopen.c (do_test): Add test for it.
15756 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
15758         [BZ #17841]
15759         * Makeconfig (no-pie-ldflag): New.
15760         (+link): Set to $(+link-pie) if default to PIE.
15761         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
15762         * config.make.in (build-pie-default): New.
15763         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
15764         is default.  AC_SUBST.
15765         * configure: Regenerated.
15766         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
15768 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15770         * nptl/descr.h (struct pthread): Change type of field setxid_futex
15771         to 'unsigned int'.
15773         * resolv/gai_misc.h (struct waitlist): Change type of field
15774         counterp to 'volatile unsigned int *'.
15775         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
15776         FUTEXADDR and OLDVAL.
15777         * resolv/getaddrinfo_a.c (getaddrinfo_a):
15778         Give local variable TOTAL type 'volatile unsigned int'.
15779         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15780         * resolv/gai_suspend.c (gai_suspend):
15781         Give local variable CNTR type 'unsigned int'.
15783         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
15784         counterp to 'volatile unsigned int *'.
15785         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
15786         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
15787         (aio_suspend): Give local variable CNTR type 'unsigned int'.
15788         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
15789         Give local variable TOTAL type 'volatile unsigned int'.
15790         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15792 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15794         [BZ #18383]
15795         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
15796         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
15797         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
15798         comment for i386/x86-64.
15799         (test-xfail-tst-tlsalign-extern-static): Removed.
15801 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15803         * math/test-double.h: New file.
15804         * math/test-float.h: Likewise.
15805         * math/test-ldouble.h: Likewise.
15806         * math/test-math-inline.h: Likewise.
15807         * math/test-math-no-inline.h: Likewise.
15808         * math/test-math-scalar.h: Likewise.
15809         * math/test-math-vector.h: Likewise.
15810         * math/test-vec-loop.h: Remove file.  Contents moved into
15811         test-math-vector.h.
15812         * math/libm-test.inc (MATHCONST): Do not document macro.
15813         * math/test-double.c: Include test-double.h, test-math-no-inline.h
15814         and test-math-scalar.h.
15815         (FUNC): Remove macro.
15816         (FUNC_TEST): Likewise.
15817         (FLOAT): Likewise.
15818         (MATHCONST): Likewise.
15819         (PRINTF_EXPR): Likewise.
15820         (PRINTF_XEXPR): Likewise.
15821         (PRINTF_NEXPR): Likewise.
15822         (TEST_DOUBLE): Likewise.
15823         (TEST_MATHVEC): Likewise.
15824         (__NO_MATH_INLINES): Likewise.
15825         * math/test-float.c: Include test-float.h, test-math-no-inline.h
15826         and test-math-scalar.h.
15827         (FUNC): Remove macro.
15828         (FUNC_TEST): Likewise.
15829         (FLOAT): Likewise.
15830         (MATHCONST): Likewise.
15831         (PRINTF_EXPR): Likewise.
15832         (PRINTF_XEXPR): Likewise.
15833         (PRINTF_NEXPR): Likewise.
15834         (TEST_FLOAT): Likewise.
15835         (TEST_MATHVEC): Likewise.
15836         (__NO_MATH_INLINES): Likewise.
15837         * math/test-idouble.c: Include test-double.h, test-math-inline.h
15838         and test-math-scalar.h.
15839         (FUNC): Remove macro.
15840         (FUNC_TEST): Likewise.
15841         (FLOAT): Likewise.
15842         (MATHCONST): Likewise.
15843         (PRINTF_EXPR): Likewise.
15844         (PRINTF_XEXPR): Likewise.
15845         (PRINTF_NEXPR): Likewise.
15846         (TEST_DOUBLE): Likewise.
15847         (TEST_MATHVEC): Likewise.
15848         (TEST_INLINE): Likewise.
15849         (__NO_MATH_INLINES): Likewise.
15850         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
15851         test-math-scalar.h.
15852         (FUNC): Remove macro.
15853         (FUNC_TEST): Likewise.
15854         (FLOAT): Likewise.
15855         (MATHCONST): Likewise.
15856         (PRINTF_EXPR): Likewise.
15857         (PRINTF_XEXPR): Likewise.
15858         (PRINTF_NEXPR): Likewise.
15859         (TEST_FLOAT): Likewise.
15860         (TEST_MATHVEC): Likewise.
15861         (TEST_INLINE): Likewise.
15862         (__NO_MATH_INLINES): Likewise.
15863         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
15864         and test-math-scalar.h.
15865         (FUNC): Remove macro.
15866         (FUNC_TEST): Likewise.
15867         (FLOAT): Likewise.
15868         (MATHCONST): Likewise.
15869         (PRINTF_EXPR): Likewise.
15870         (PRINTF_XEXPR): Likewise.
15871         (PRINTF_NEXPR): Likewise.
15872         (TEST_LDOUBLE): Likewise.
15873         (TEST_MATHVEC): Likewise.
15874         (TEST_INLINE): Likewise.
15875         (__NO_MATH_INLINES): Likewise.
15876         * math/test-ldouble.c: Include test-ldouble.h,
15877         test-math-no-inline.h and test-math-scalar.h.
15878         (FUNC): Remove macro.
15879         (FUNC_TEST): Likewise.
15880         (FLOAT): Likewise.
15881         (MATHCONST): Likewise.
15882         (PRINTF_EXPR): Likewise.
15883         (PRINTF_XEXPR): Likewise.
15884         (PRINTF_NEXPR): Likewise.
15885         (TEST_LDOUBLE): Likewise.
15886         (TEST_MATHVEC): Likewise.
15887         (__NO_MATH_INLINES): Likewise.
15888         * math/test-double-vlen2.h: Include test-double.h,
15889         test-math-no-inline.h and test-math-vector.h.
15890         (FLOAT): Remove macro.
15891         (FUNC): Likewise.
15892         (MATHCONST): Likewise.
15893         (PRINTF_EXPR): Likewise.
15894         (PRINTF_XEXPR): Likewise.
15895         (PRINTF_NEXPR): Likewise.
15896         (TEST_DOUBLE): Likewise.
15897         (TEST_MATHVEC): Likewise.
15898         (__NO_MATH_INLINES): Likewise.
15899         (CNCT): Likewise.
15900         (CONCAT): Likewise.
15901         (WRAPPER_NAME): Likewise.
15902         (WRAPPER_DECL): Likewise.
15903         (WRAPPER_DECL_ff): Likewise.
15904         (WRAPPER_DECL_fFF): Likewise.
15905         (VECTOR_WRAPPER): Likewise.
15906         (VECTOR_WRAPPER_ff): Likewise.
15907         (VECTOR_WRAPPER_fFF): Likewise.
15908         (VEC_LEN): New macro.
15909         * math/test-double-vlen4.h: Include test-double.h,
15910         test-math-no-inline.h and test-math-vector.h.
15911         (FLOAT): Remove macro.
15912         (FUNC): Likewise.
15913         (MATHCONST): Likewise.
15914         (PRINTF_EXPR): Likewise.
15915         (PRINTF_XEXPR): Likewise.
15916         (PRINTF_NEXPR): Likewise.
15917         (TEST_DOUBLE): Likewise.
15918         (TEST_MATHVEC): Likewise.
15919         (__NO_MATH_INLINES): Likewise.
15920         (CNCT): Likewise.
15921         (CONCAT): Likewise.
15922         (WRAPPER_NAME): Likewise.
15923         (WRAPPER_DECL): Likewise.
15924         (WRAPPER_DECL_ff): Likewise.
15925         (WRAPPER_DECL_fFF): Likewise.
15926         (VECTOR_WRAPPER): Likewise.
15927         (VECTOR_WRAPPER_ff): Likewise.
15928         (VECTOR_WRAPPER_fFF): Likewise.
15929         (VEC_LEN): New macro.
15930         * math/test-double-vlen8.h: Include test-double.h,
15931         test-math-no-inline.h and test-math-vector.h.
15932         (FLOAT): Remove macro.
15933         (FUNC): Likewise.
15934         (MATHCONST): Likewise.
15935         (PRINTF_EXPR): Likewise.
15936         (PRINTF_XEXPR): Likewise.
15937         (PRINTF_NEXPR): Likewise.
15938         (TEST_DOUBLE): Likewise.
15939         (TEST_MATHVEC): Likewise.
15940         (__NO_MATH_INLINES): Likewise.
15941         (CNCT): Likewise.
15942         (CONCAT): Likewise.
15943         (WRAPPER_NAME): Likewise.
15944         (WRAPPER_DECL): Likewise.
15945         (WRAPPER_DECL_ff): Likewise.
15946         (WRAPPER_DECL_fFF): Likewise.
15947         (VECTOR_WRAPPER): Likewise.
15948         (VECTOR_WRAPPER_ff): Likewise.
15949         (VECTOR_WRAPPER_fFF): Likewise.
15950         (VEC_LEN): New macro.
15951         * math/test-float-vlen4.h: Include test-float.h,
15952         test-math-no-inline.h and test-math-vector.h.
15953         (FLOAT): Remove macro.
15954         (FUNC): Likewise.
15955         (MATHCONST): Likewise.
15956         (PRINTF_EXPR): Likewise.
15957         (PRINTF_XEXPR): Likewise.
15958         (PRINTF_NEXPR): Likewise.
15959         (TEST_FLOAT): Likewise.
15960         (TEST_MATHVEC): Likewise.
15961         (__NO_MATH_INLINES): Likewise.
15962         (CNCT): Likewise.
15963         (CONCAT): Likewise.
15964         (WRAPPER_NAME): Likewise.
15965         (WRAPPER_DECL): Likewise.
15966         (WRAPPER_DECL_ff): Likewise.
15967         (WRAPPER_DECL_fFF): Likewise.
15968         (VECTOR_WRAPPER): Likewise.
15969         (VECTOR_WRAPPER_ff): Likewise.
15970         (VECTOR_WRAPPER_fFF): Likewise.
15971         (VEC_LEN): New macro.
15972         * math/test-float-vlen8.h: Include test-float.h,
15973         test-math-no-inline.h and test-math-vector.h.
15974         (FLOAT): Remove macro.
15975         (FUNC): Likewise.
15976         (MATHCONST): Likewise.
15977         (PRINTF_EXPR): Likewise.
15978         (PRINTF_XEXPR): Likewise.
15979         (PRINTF_NEXPR): Likewise.
15980         (TEST_FLOAT): Likewise.
15981         (TEST_MATHVEC): Likewise.
15982         (__NO_MATH_INLINES): Likewise.
15983         (CNCT): Likewise.
15984         (CONCAT): Likewise.
15985         (WRAPPER_NAME): Likewise.
15986         (WRAPPER_DECL): Likewise.
15987         (WRAPPER_DECL_ff): Likewise.
15988         (WRAPPER_DECL_fFF): Likewise.
15989         (VECTOR_WRAPPER): Likewise.
15990         (VECTOR_WRAPPER_ff): Likewise.
15991         (VECTOR_WRAPPER_fFF): Likewise.
15992         (VEC_LEN): New macro.
15993         * math/test-float-vlen16.h: Include test-float.h,
15994         test-math-no-inline.h and test-math-vector.h.
15995         (FLOAT): Remove macro.
15996         (FUNC): Likewise.
15997         (MATHCONST): Likewise.
15998         (PRINTF_EXPR): Likewise.
15999         (PRINTF_XEXPR): Likewise.
16000         (PRINTF_NEXPR): Likewise.
16001         (TEST_FLOAT): Likewise.
16002         (TEST_MATHVEC): Likewise.
16003         (__NO_MATH_INLINES): Likewise.
16004         (CNCT): Likewise.
16005         (CONCAT): Likewise.
16006         (WRAPPER_NAME): Likewise.
16007         (WRAPPER_DECL): Likewise.
16008         (WRAPPER_DECL_ff): Likewise.
16009         (WRAPPER_DECL_fFF): Likewise.
16010         (VECTOR_WRAPPER): Likewise.
16011         (VECTOR_WRAPPER_ff): Likewise.
16012         (VECTOR_WRAPPER_fFF): Likewise.
16013         (VEC_LEN): New macro.
16014         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
16015         test-vec-loop.h.
16016         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16017         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16018         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16019         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16020         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16021         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16022         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16024 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16026         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
16027         (__getlogin_r): ... this.
16029 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16031         [BZ #18594]
16032         * math/s_ccosh.c (__ccosh): Compare with least normal value
16033         instead of comparing class with FP_SUBNORMAL.
16034         * math/s_ccoshf.c (__ccoshf): Likewise.
16035         * math/s_ccoshl.c (__ccoshl): Likewise.
16036         * math/s_cexp.c (__cexp): Likewise.
16037         * math/s_cexpf.c (__cexpf): Likewise.
16038         * math/s_cexpl.c (__cexpl): Likewise.
16039         * math/s_csin.c (__csin): Likewise.
16040         * math/s_csinf.c (__csinf): Likewise.
16041         * math/s_csinh.c (__csinh): Likewise.
16042         * math/s_csinhf.c (__csinhf): Likewise.
16043         * math/s_csinhl.c (__csinhl): Likewise.
16044         * math/s_csinl.c (__csinl): Likewise.
16045         * math/s_ctan.c (__ctan): Likewise.
16046         * math/s_ctanf.c (__ctanf): Likewise.
16047         * math/s_ctanh.c (__ctanh): Likewise.
16048         * math/s_ctanhf.c (__ctanhf): Likewise.
16049         * math/s_ctanhl.c (__ctanhl): Likewise.
16050         * math/s_ctanl.c (__ctanl): Likewise.
16051         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
16052         csin, csinh, ctan and ctanh.
16053         * math/auto-libm-test-out: Regenerated.
16054         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
16055         * sysdeps/i386/fpu/libm-test-ulps: Update.
16056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16058 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16060         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
16061         return value is wrong, print the expected value too.
16063 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16065         [BZ #18585]
16066         * elf/readlib.c (is_gdb_python_file): New.
16067         (process_file): Don't issue errors on filenames with -gdb.py
16068         suffix.
16070 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16072         * math/auto-libm-test-in: Add more tests of csin and csinh.
16073         * math/auto-libm-test-out: Regenerated.
16074         * math/libm-test.inc (csin_test_data): Remove tests moved to
16075         auto-libm-test-in.
16076         (csinh_test_data): Likewise.
16078         [BZ #18593]
16079         * math/s_csin.c (__csin): Negate before rather than after possibly
16080         overflowing multiplication.
16081         * math/s_csinf.c (__csinf): Likewise.
16082         * math/s_csinh.c (__csinh): Likewise.
16083         * math/s_csinhf.c (__csinhf): Likewise.
16084         * math/s_csinhl.c (__csinhl): Likewise.
16085         * math/s_csinl.c (__csinl): Likewise.
16086         * math/auto-libm-test-in: Add some tests of csin and csinh.
16087         * math/auto-libm-test-out: Regenerated.
16088         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
16089         (csinh_test_data): Likewise.
16090         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16092         [BZ #18586]
16093         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
16094         underflow exception for small results.
16096 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16098         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16099         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
16100         variable and included header.
16101         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
16102         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
16103         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
16104         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16105         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
16106         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16107         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16108         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
16109         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
16110         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
16111         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
16112         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
16113         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
16114         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
16115         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
16116         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
16118 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16120         [BZ #16526]
16121         [BZ #16538]
16122         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
16123         (__sin): Force underflow exception for arguments with small
16124         absolute value.
16125         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
16126         (__kernel_sinf): Force underflow exception for arguments with
16127         small absolute value.
16128         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
16129         (__kernel_sincosl): Force underflow exception for arguments with
16130         small absolute value.
16131         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
16132         (__kernel_sinl): Force underflow exception for arguments with
16133         small absolute value.
16134         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
16135         (__kernel_sincosl): Force underflow exception for arguments with
16136         small absolute value.
16137         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
16138         (__kernel_sinl): Force underflow exception for arguments with
16139         small absolute value.
16140         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
16141         (__kernel_sinl): Force underflow exception for arguments with
16142         small absolute value.
16143         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
16144         (__kernel_sinf): Force underflow exception for arguments with
16145         small absolute value.
16146         * math/auto-libm-test-in: Add more tests of sin and sincos.
16147         * math/auto-libm-test-out: Regenerated.
16149         [BZ #18245]
16150         [BZ #18583]
16151         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
16152         (__kernel_standard_l): Use feholdexcept and fesetenv around
16153         conversion to double instead of special-casing overflow and
16154         underflow.
16155         * math/libm-test.inc (fmod_test_data): Add more tests.
16156         (remainder_test_data): Likewise.
16157         (sqrt_test_data): Likewise.
16159 2015-06-23  Torvald Riegel  <triegel@redhat.com>
16161         [BZ #17403]
16162         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
16163         atomic_read_barrier, atomic_write_barrier): Define.
16164         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
16165         atomic_read_barrier, atomic_write_barrier): Define.
16167 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16169         * math/Makefile [$(PERL) != no]
16170         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
16171         dependency on libm-test.stmp below the inclusion of Rules.
16173 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
16175         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16176         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
16177         and included header.
16178         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16179         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16180         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16181         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16182         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16183         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16184         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16185         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16186         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16187         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16188         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16189         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16190         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16191         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16192         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16193         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16194         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16195         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16196         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16198 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16200         [BZ #18371]
16201         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16202         intermediate but not final result might underflow.
16203         * math/s_csqrtf.c (__csqrtf): Likewise.
16204         * math/s_csqrtl.c (__csqrtl): Likewise.
16205         * math/auto-libm-test-in: Add more tests of csqrt.
16206         * math/auto-libm-test-out: Regenerated.
16207         * sysdeps/i386/fpu/libm-test-ulps: Update.
16209         [BZ #18219]
16210         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16211         threshold on absolute value of exponent for which scaling is used.
16212         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16213         * math/auto-libm-test-in: Add more tests of exp2.
16214         * math/auto-libm-test-out: Regenerated.
16216 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
16218         [BZ #17977]
16219         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
16220         when initializing interface list, based on the bug analysis
16221         and the patch proposed by Eric Newton.
16222         * resolv/tst-res_hconf_reorder.c: New test.
16223         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
16224         tst-res_hconf_reorder.
16225         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
16226         and $(shared-thread-library).
16227         (tst-res_hconf_reorder-ENV): New variable.
16229         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
16230         in comment.
16232 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
16234         [BZ #16353]
16235         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
16236         (__expm1): Force underflow exception for arguments with small
16237         absolute value.
16238         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
16239         (__expm1f): Force underflow exception for arguments with small
16240         absolute value.
16241         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
16242         (__expm1): Force underflow exception for arguments with small
16243         absolute value.
16244         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
16245         (__expm1f): Force underflow exception for arguments with small
16246         absolute value.
16247         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16248         Check for small arguments before calling __expm1.
16249         * math/auto-libm-test-in: Do not mark underflow exceptions as
16250         possibly missing for bug 16353.
16251         * math/auto-libm-test-out: Regenerated.
16253 2015-06-22  Andreas Schwab  <schwab@suse.de>
16255         [BZ #18513]
16256         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
16257         PTR queries.
16259 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
16261         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
16263         * string/strcoll_l.c: Remove unused struct element idxnow.
16265 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
16267         [BZ #18569]
16268         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
16269         underflow and return argument in case of subnormal argument.
16270         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16271         Likewise.
16272         * math/auto-libm-test-in: Add more tests of expm1.
16273         * math/auto-libm-test-out: Regenerated.
16275         [BZ #16361]
16276         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16277         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16278         tiny results.
16279         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16280         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16281         tiny results.
16282         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
16283         mark underflow exceptions as possibly missing for bug 16361.
16284         * math/auto-libm-test-out: Regenerated.
16286 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
16288         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
16289         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16290         Remove variable.
16291         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16292         (test-xfail-XOPEN2K8/utmpx.h/conform).
16294         * conform/conformtest.pl ($xerrors): New variable.
16295         (note_error): New function.
16296         (compiletest): New argument $xfail.  Use not_error.
16297         (runtest): Likewise.
16298         (top level): Handle xfail- lines.  Update calls to compiletest and
16299         runtest.  Handle xfail- and optional- in headers listed with
16300         allow-header.
16301         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16302         (O_EXEC): Likewise.
16303         (O_SEARCH): Likewise.
16304         * conform/data/stropts.h-data (ioctl): Likewise.
16305         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16306         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16307         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16308         (msghdr.msg_controllen): Likewise.
16309         (cmsghdr.cmsg_len): Likewise.
16310         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16311         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16312         variable.
16313         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16314         (test-xfail-XPG4/stropts.h/conform): Likewise.
16315         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16316         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16317         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16318         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16319         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16320         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16321         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16322         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16323         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16324         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16325         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16326         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16327         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16328         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16329         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16330         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16331         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16332         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16333         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16335 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16337         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16338         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16339         definitions for proper unfolding of __MATHDECL_VEC.
16341 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16343         * benchtests/bench-strcoll.c:
16344         Include string.h.
16345         (main): Remove unused variable res.
16347 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16349         * timezone/Makefile (%/UTC %/Universal):
16350         Generate test-result files for UTC and Universal.
16352 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16354         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16356 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
16358         [BZ #16350]
16359         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16360         for arguments with small absolute value.
16361         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16362         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16363         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16364         (__asinh): Force underflow exception for arguments with small
16365         absolute value.
16366         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16367         (__asinhf): Force underflow exception for arguments with small
16368         absolute value.
16369         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
16370         (__asinhl): Force underflow exception for arguments with small
16371         absolute value.
16372         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
16373         (__asinhl): Force underflow exception for arguments with small
16374         absolute value.
16375         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
16376         (__asinhl): Force underflow exception for arguments with small
16377         absolute value.
16378         * math/auto-libm-test-in: Do not mark underflow exceptions as
16379         possibly missing for bug 16350.
16380         * math/auto-libm-test-out: Regenerated.
16382         * include/bits/ipc.h: Remove file.
16383         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
16384         variable.
16385         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16386         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16387         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16388         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16389         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16390         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16391         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16392         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16393         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16395         * math/auto-libm-test-in: Remove spurious underflow allowance for
16396         tests of cexp.
16397         * math/auto-libm-test-out: Regenerated.
16399         [BZ #18558]
16400         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
16401         unconditional definition.
16402         (MCAST_BLOCK_SOURCE): Likewise.
16403         (MCAST_UNBLOCK_SOURCE): Likewise.
16404         (MCAST_LEAVE_GROUP): Likewise.
16405         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16406         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16407         (MCAST_MSFILTER): Likewise.
16408         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
16409         Remove variable.
16410         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16411         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16412         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16413         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16414         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16416 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
16418         * NEWS: Mention addition of x86_64 vector sincosf.
16419         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
16420         * math/test-float-vlen4.h: Likewise.
16421         * math/test-float-vlen8.h: Likewise.
16422         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16423         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
16424         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16425         * sysdeps/x86_64/fpu/Versions: New versions added.
16426         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16427         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16428         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16429         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
16430         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16431         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
16432         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16433         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
16434         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16435         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
16436         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
16437         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
16438         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
16439         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
16440         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
16441         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
16442         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
16443         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16444         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16445         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16446         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16447         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16448         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16449         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16451         * NEWS: Mention addition of x86_64 vector sincos.
16452         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
16453         * math/math.h (__MATHDECL_VEC): New macro.
16454         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
16455         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
16456         declaration under condition.
16457         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
16458         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
16459         TEST_VEC_LOOP change.
16460         * math/test-double-vlen4.h: Likewise.
16461         * math/test-double-vlen8.h: Likewise.
16462         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
16463         * math/test-float-vlen4.h: Likewise.
16464         * math/test-float-vlen8.h: Likewise.
16465         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16466         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
16467         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16468         * sysdeps/x86_64/fpu/Versions: New versions added.
16469         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16470         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16471         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16472         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
16473         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
16474         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
16475         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
16476         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
16477         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
16478         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
16479         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
16480         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
16481         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
16482         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
16483         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
16484         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
16485         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
16486         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16487         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16488         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16489         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16490         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16491         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16492         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16494         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16495         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16496         redirections for powf.
16497         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16498         * sysdeps/x86_64/fpu/Versions: New versions added.
16499         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16500         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16501         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16502         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
16503         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
16504         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
16505         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
16506         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
16507         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
16508         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
16509         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
16510         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
16511         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
16512         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
16513         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
16514         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
16515         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
16516         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16517         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16518         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16519         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16520         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16521         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16522         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16523         * math/test-float-vlen16.h: Fixed 2 argument macro.
16524         * math/test-float-vlen4.h: Likewise.
16525         * math/test-float-vlen8.h: Likewise.
16526         * NEWS: Mention addition of x86_64 vector powf.
16528 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
16530         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16531         and redefine.
16532         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16533         and redefine.
16534         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
16535         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16536         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16538         [BZ #18553]
16539         * resource/getpriority.c (getpriority): Rename to __getpriority
16540         and define as weak alias of __getpriority.
16541         * resource/setpriority.c (setpriority): Rename to __setpriority
16542         and define as weak alias of __setpriority.
16543         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
16544         __getpriority and define as weak alias of __getpriority.
16545         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
16546         __setpriority and define as weak alias of __setpriority.
16547         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
16548         strong name.
16549         (setpriority): Use __setpriority as strong name.
16550         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
16551         __getpriority and define as weak alias of __getpriority.
16552         * include/sys/resource.h (__getpriority): Declare.  Use
16553         libc_hidden_proto.
16554         (__setpriority): Likewise.
16555         (getpriority): Don't use libc_hidden_proto.
16556         (setpriority): Likewise.
16557         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
16558         getpriority.  Call __setpriority instead of setpriority.
16559         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
16560         Remove variable.
16562         [BZ #18547]
16563         * misc/getttyent.c (getttynam): Rename to __getttynam and define
16564         as weak alias of __getttynam.  Use prototype function definition.
16565         Call __setttyent, __getttyent and __endttyent instead of
16566         setttyent, getttyent and endttyent.
16567         (getttyent): Rename to __getttyent and define as weak alias of
16568         __getttyent.  Call __setttyent instead of setttyent.  Call
16569         __fgets_unlocked instead of fgets_unlocked.
16570         (setttyent): Rename to __setttyent and define as weak alias of
16571         __setttyent.
16572         (endttyent): Rename to __endttyent and define as weak alias of
16573         __endttyent.
16574         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
16575         (__setttyent): Likewise.
16576         (__endttyent): Likewise.
16577         (getttyent): Don't use libc_hidden_proto.
16578         (setttyent): Likewise.
16579         (endttyent): Likewise.
16580         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
16581         __endttyent instead of setttyent, getttyent and endttyent.
16582         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
16583         Remove variable.
16585         [BZ #18546]
16586         * socket/recv.c (__recv): Use libc_hidden_def.
16587         * socket/socket.c (__socket): Likewise.
16588         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16589         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16590         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
16591         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
16592         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
16593         libc_hidden_def.
16594         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
16595         libc_hidden_weak.
16596         * include/sys/socket.h (__socket): Do not use attribute_hidden.
16597         Use libc_hidden_proto.
16598         (__recv): Likewise.
16599         * socket/Versions (libc): Export __recv and __socket at version
16600         GLIBC_PRIVATE.
16601         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
16602         instead of recv.
16603         (init_mq_netlink): Call __socket instead of socket.
16604         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
16605         Remove variable.
16607         [BZ #18545]
16608         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
16609         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
16610         hidden_weak.
16611         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
16612         define as alias of __mq_timedsend.  Use hidden_weak.
16613         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
16614         __mq_timedsend as strong name.
16615         (mq_timedreceive): Use __mq_timedreceive as strong name.
16616         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
16617         (__mq_timedreceive): Likewise.
16618         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
16619         __mq_timedreceive instead of mq_timedreceive.
16620         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
16621         instead of mq_timedsend.
16622         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
16623         Remove variable.
16625         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
16626         hidden_def and hidden_weak instead of libc_hidden_def and
16627         libc_hidden_weak.
16628         (top level): Refer to hidden_def in comment.
16629         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
16630         macro.  Use it instead of libc_hidden_def.
16631         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
16632         specify __GI_* name explicitly.
16633         (mq_timedreceive): Likewise.
16634         (mq_setattr): Likewise.
16636         [BZ #18544]
16637         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
16638         __pthread_barrier_init and define as weak alias of
16639         __pthread_barrier_init.
16640         * sysdeps/sparc/nptl/pthread_barrier_init.c
16641         (pthread_barrier_init): Likewise.
16642         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
16643         __pthread_barrier_wait and define as weak alias of
16644         __pthread_barrier_wait.
16645         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16646         (pthread_barrier_wait): Likewise.
16647         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16648         (pthread_barrier_wait): Likewise.
16649         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
16650         (pthread_barrier_wait): Likewise.
16651         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
16652         (pthread_barrier_wait): Likewise.
16653         * nptl/Versions (libpthread): Export __pthread_barrier_init and
16654         __pthread_barrier_wait at version GLIBC_PRIVATE.
16655         * include/pthread.h (__pthread_barrier_init): Declare.
16656         (__pthread_barrier_wait): Likewise.
16657         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
16658         Call __pthread_barrier_wait instead of pthread_barrier_wait.
16659         (helper_thread): Likewise.
16660         (init_mq_netlink): Call __pthread_barrier_init instead of
16661         pthread_barrier_init.
16663         [BZ #18542]
16664         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
16665         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
16666         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
16667         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
16668         vswscanf.
16669         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
16670         Remove variable.
16672         [BZ #18540]
16673         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
16674         strong alias of _IO_fflush.  Use libc_hidden_def.
16675         * libio/iofflush_u.c (fflush_unlocked): Rename to
16676         __fflush_unlocked and define as weak alias of __fflush_unlocked.
16677         Use libc_hidden_weak.
16678         * include/stdio.h (__fflush_unlocked): Declare.  Use
16679         libc_hidden_proto.
16680         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
16681         fflush_unlocked.
16682         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
16683         Remove variable.
16685         [BZ #18539]
16686         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
16687         define as weak alias of __addseverity.
16688         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
16689         Remove variable.
16690         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16691         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16692         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16694         [BZ #18536]
16695         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
16696         (__tfind): Likewise.
16697         (__tdelete): Likewise.
16698         (__twalk): Likewise.
16699         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
16700         __twalk to GLIBC_PRIVATE.
16701         * include/search.h (__tsearch): Use libc_hidden_proto.
16702         (__tfind): Likewise.
16703         (__tdelete): Likewise.
16704         (__twalk): Likewise.
16705         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
16706         Call __tdelete instead of tdelete.
16707         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
16708         tfind.  Call __tsearch instead of tsearch.
16709         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
16710         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
16711         Remove variable.
16712         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16714         [BZ #18534]
16715         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
16716         (dprintf): Define as a weak alias of __dprintf, not a strong
16717         alias.
16718         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
16719         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
16720         dprintf.
16721         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
16722         Remove variable.
16723         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16724         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16726         [BZ #18533]
16727         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
16728         not a strong alias.
16729         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
16730         Remove variable.
16732         [BZ #18532]
16733         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
16734         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
16735         (in6addr_loopback): Rename to __in6addr_loopback and define as
16736         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
16737         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
16738         libc_hidden_proto.
16739         (__in6addr_any): Likewise.
16740         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
16741         in6addr_any.
16742         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
16743         variable.
16744         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16746 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16748         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
16749         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
16750         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16751         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16752         redirections for pow.
16753         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16754         * sysdeps/x86_64/fpu/Versions: New versions added.
16755         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16756         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16757         build of SSE, AVX2 and AVX512 IFUNC versions.
16758         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
16759         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
16760         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
16761         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
16762         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
16763         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
16764         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
16765         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
16766         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
16767         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
16768         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
16769         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
16770         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
16771         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
16772         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16773         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16774         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16775         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16776         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16777         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16778         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16779         * NEWS: Mention addition of x86_64 vector pow.
16781         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16782         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16783         redirections for expf.
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_s_expf16_core.S: New file.
16790         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
16791         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
16792         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
16793         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
16794         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
16795         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
16796         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
16797         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
16798         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
16799         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
16800         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
16801         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
16802         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16803         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16804         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16805         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16806         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16807         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16808         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16809         * NEWS: Mention addition of x86_64 vector expf.
16811         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
16812         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
16813         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16814         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16815         redirections for exp.
16816         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16817         * sysdeps/x86_64/fpu/Versions: New versions added.
16818         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16819         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16820         build of SSE, AVX2 and AVX512 IFUNC versions.
16821         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
16822         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
16823         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
16824         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
16825         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
16826         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
16827         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
16828         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
16829         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
16830         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
16831         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
16832         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
16833         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
16834         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16835         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16836         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16837         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16838         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16839         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16840         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16841         * NEWS: Mention addition of x86_64 vector exp.
16843         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16844         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16845         redirections for logf.
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_s_logf16_core.S: New file.
16852         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
16853         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
16854         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
16855         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
16856         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
16857         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
16858         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
16859         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
16860         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
16861         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
16862         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
16863         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
16864         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16865         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16866         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16867         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16868         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16869         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16870         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16871         * NEWS: Mention addition of x86_64 vector logf.
16873         * bits/libm-simd-decl-stubs.h: Added stubs for log.
16874         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
16875         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16876         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16877         redirections for log.
16878         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16879         * sysdeps/x86_64/fpu/Versions: New versions added.
16880         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16881         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16882         build of SSE, AVX2 and AVX512 IFUNC versions.
16883         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
16884         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
16885         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
16886         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
16887         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
16888         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
16889         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
16890         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
16891         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
16892         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
16893         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
16894         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
16895         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
16896         test.
16897         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16898         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16899         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16900         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16901         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16902         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16903         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16904         * NEWS: Mention addition of x86_64 vector log.
16906 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16908         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
16909         cfi_adjust_cfa_offset argument.
16910         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
16911         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
16913         [BZ #18034]
16914         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
16915         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
16916         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
16917         ordering using ldar.
16918         (_dl_tlsdesc_dynamic): Likewise.
16919         (_dl_tlsdesc_return_lazy): Likewise.
16920         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
16921         relaxed atomics instead of volatile and synchronize with release store.
16922         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
16923         volatile.
16924         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16926 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
16928         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16929         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
16930         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16931         * sysdeps/x86_64/fpu/Versions: New versions added.
16932         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16933         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16934         build of SSE, AVX2 and AVX512 IFUNC versions.
16935         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
16936         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
16937         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
16938         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
16939         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
16940         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
16941         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
16942         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
16943         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
16944         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
16945         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
16946         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
16947         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
16948         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16949         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16950         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16951         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16952         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16953         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16954         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16955         * NEWS: Mention addition of x86_64 vector sinf.
16957 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
16959         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
16960         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
16961         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
16962         Remove variable.
16963         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16964         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16966 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16968         [BZ #18530]
16969         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
16970         strong alias of _IO_fputs.  Use libc_hidden_def.
16971         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
16972         and define as weak alias of __fputs_unlocked.  Use
16973         libc_hidden_weak.
16974         * include/stdio.h (__fputs_unlocked): Declare.  Use
16975         libc_hidden_proto.
16976         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
16977         fputs_unlocked.
16979         [BZ #18529]
16980         * resolv/netdb.h [__USE_POSIX]: Change condition to
16981         [__USE_XOPEN2K].
16982         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
16983         not expect.
16984         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
16985         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
16986         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
16987         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
16988         [XPG4 || UNIX98] (AI_ALL): Likewise.
16989         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
16990         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
16991         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
16992         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
16993         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
16994         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
16995         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
16996         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
16997         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
16998         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
16999         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
17000         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
17001         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
17002         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
17003         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
17004         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17005         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17006         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
17007         [XPG4 || UNIX98] (gai_strerror): Likewise.
17008         [XPG4 || UNIX98] (getaddrinfo): Likewise.
17009         [XPG4 || UNIX98] (getnameinfo): Likewise.
17011         [BZ #18528]
17012         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
17013         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
17014         __USE_XOPEN2K8].
17015         (getgrent): Likewise.
17016         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
17017         expect.
17018         [XPG3 || POSIX2008] (endgrent): Likewise.
17019         [XPG3] (setgrent): Likewise.
17020         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
17021         variable.
17022         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17024         [BZ #18527]
17025         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
17026         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
17027         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
17028         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
17029         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
17030         * include/unistd.h (__getlogin_r): Declare.  Use
17031         libc_hidden_proto.
17032         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
17033         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
17034         variable.
17035         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17036         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17037         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17039 2015-06-12  Martin Sebor  <msebor@redhat.com>
17041         [BZ #18512]
17042         * Makerules (check-install-supported): New target.
17043         (install): Add check-install-supported as a dependency.
17044         * manual/install.texi (Installing the C Library): Document
17045         that overriding prefix and exec_prefix is not supported.
17046         Mention DESTDIR.
17047         * INSTALL: Regenerate from the above.
17049 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17051         [BZ #18519]
17052         * posix/Versions (libc): Export __libc_pread at version
17053         GLIBC_PRIVATE.
17054         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
17055         instead of pread.
17056         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
17057         variable.
17059         [BZ #18522]
17060         * misc/efgcvt_r.c
17061         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
17062         (cvt_symbol): Use weak_alias instead of strong_alias.
17063         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
17064         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
17065         Remove variable.
17066         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17067         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17069         [BZ #18520]
17070         * inet/herrno.c (h_errno): Rename to __h_errno.
17071         (__libc_h_errno): Define as alias of __h_errno not h_errno.
17072         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
17073         to __h_errno instead of h_errno.
17074         * nptl/herrno.c (h_errno): Rename to __h_errno.
17075         (__h_errno_location): Refer to __h_errno not h_errno.
17076         * resolv/Versions (h_errno): Rename to __h_errno.
17077         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
17078         Remove variable.
17079         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17081 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
17083         * configure.ac: More strict check for AVX512 assembler support.
17084         * configure: Regenerated.
17086         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
17087         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
17088         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17089         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
17090         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17091         * sysdeps/x86_64/fpu/Versions: New versions added.
17092         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17093         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17094         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17095         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
17096         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
17097         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
17098         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
17099         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
17100         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
17101         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
17102         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
17103         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
17104         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
17105         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
17106         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
17107         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
17108         test.
17109         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17110         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17111         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17112         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17113         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17114         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17115         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17116         * NEWS: Mention addition of x86_64 vector sin.
17118 2015-06-11  Florian Weimer  <fweimer@redhat.com>
17120         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
17121         comment.
17123 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17125         [BZ #18479]
17126         * nptl/pt-interp.c: New file.
17127         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17128         Add pt-interp.
17129         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
17130         $(common-objpfx)runtime-linker.h.
17132 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
17134         * Makeconfig (+interp): Remove unused variable.
17135         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
17136         only.  Depend on $(common-objpfx)runtime-linker.h instead of
17137         $(elf-objpfx)runtime-linker.h.
17138         ($(elf-objpfx)runtime-linker.h): Rename to
17139         $(common-objpfx)runtime-linker.h and move ...
17140         * Makerules [$(build-shared) = yes]: ... here.
17141         * elf/interp.c: Include <runtime-linker.h> instead of
17142         <elf/runtime-linker.h>.
17144 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17146         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
17147         (__gettimeofday_syscall): Remove vsyscall fallback.
17148         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
17149         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
17150         Add syscall fallback function.
17151         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
17152         if vDSO is not present.
17153         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
17154         fallback function.
17155         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
17156         present.
17157         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
17158         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17160 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
17162         [BZ #18497]
17163         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
17164         of wcscmp.
17165         (wcscmp): Define as weak alias of WCSCMP.
17166         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
17167         wcscoll.
17168         (USE_HIDDEN_DEF): Define.
17169         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
17170         __wcscoll.  Don't use libc_hidden_weak.
17171         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
17172         wcscmp.
17173         * sysdeps/i386/i686/multiarch/wcscmp-c.c
17174         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
17175         __GI_wcscmp.
17176         (weak_alias): Undefine and redefine.
17177         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17178         __wcscmp and define as weak alias of __wcscmp.
17179         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17180         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
17181         (__wcscoll): Likewise.
17182         (wcscmp): Don't use libc_hidden_proto.
17183         (wcscoll): Likewise.
17184         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17185         wcscoll.
17186         * posix/regexec.c (check_node_accept_bytes): Likewise.
17187         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17188         variable.
17189         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17190         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17192         [BZ #18507]
17193         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17194         __fstatvfs and define as weak alias of __fstatvfs.  Use
17195         libc_hidden_weak.
17196         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17197         and define as weak alias of __statvfs.  Use libc_hidden_weak.
17198         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17199         Define as alias of __fstatvfs, not fstatvfs.
17200         (fstatvfs64): Likewise.
17201         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17202         Define as alias of __statvfs, not statvfs.
17203         (statvfs64): Likewise.
17204         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17205         Remove variable.
17207 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17210         (HAVE_GETCPU_VSYSCALL): Define.
17211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17212         (HAVE_GETCPU_VSYSCALL): Likewise.
17213         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
17214         * sysdeps/unix/sysv/linux/sched_getcpu.c
17215         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
17216         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
17217         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
17218         prototype.
17219         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17220         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
17221         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
17222         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
17223         Define.
17224         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
17225         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17226         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
17227         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17229 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
17231         * sysdeps/x86_64/fpu/Makefile: New file.
17232         * sysdeps/x86_64/fpu/Versions: New file.
17233         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
17234         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
17235         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
17236         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
17237         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
17238         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
17239         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
17240         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
17241         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
17242         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
17243         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
17244         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17245         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
17246         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17247         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17248         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
17249         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
17250         * sysdeps/x86_64/configure.ac: Options for libmvec build.
17251         * sysdeps/x86_64/configure: Regenerated.
17252         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
17253         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
17254         * manual/install.texi (Configuring and compiling): Document
17255         --disable-mathvec.
17256         * INSTALL: Regenerated.
17257         * NEWS: Mention addition of libmvec and x86_64 vector cos.
17259         * math/Makefile: Added rules for vector tests.
17260         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
17261         declaration under condition.
17262         * math/test-double-vlen2.h: New file.
17263         * math/test-double-vlen4.h: New file.
17264         * math/test-double-vlen8.h: New file.
17265         * math/test-vec-loop.h: Added initialization macro.
17266         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
17267         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
17268         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
17269         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
17270         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
17271         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
17272         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
17273         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
17274         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
17275         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
17276         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
17278         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17279         * sysdeps/x86_64/fpu/Versions: New versions added.
17280         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
17281         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
17282         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
17283         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
17284         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
17285         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
17286         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
17287         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
17288         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
17289         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
17290         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17291         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17292         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17293         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17294         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17295         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17296         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17297         * NEWS: Mention addition of x86_64 vector cosf.
17299         * math/Makefile: Added CFLAGS for new tests.
17300         * math/test-float-vlen16.h: New file.
17301         * math/test-float-vlen4.h: New file.
17302         * math/test-float-vlen8.h: New file.
17303         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17304         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17305         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17306         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17307         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17308         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17309         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17310         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17311         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17312         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17313         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17315 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
17317         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17318         * locale/programs/ld-ctype.c: Likewise.
17320 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
17322         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17323         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17324         bit_ZMM16_31_state): New macro.
17325         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17326         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17328 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
17330         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17332 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
17334         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17336 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
17338         [BZ #18498]
17339         * libio/memstream.c (open_memstream): Rename to __open_memstream
17340         and define as weak alias of __open_memstream.
17341         * include/stdio.h (__open_memstream): Declare.  Use
17342         libc_hidden_proto.
17343         (open_memstream): Don't use libc_hidden_proto.
17344         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17345         open_memstream.
17346         * posix/getopt.c (_getopt_internal_r): Likewise.
17347         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17348         variable.
17349         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17350         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17351         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17353         [BZ #18496]
17354         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17355         instead of wcrtomb.
17357         [BZ #18483]
17358         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17359         [__USE_XOPEN2K8].  Remove redundant #endif.
17360         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17361         Remove redundant #if.
17362         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17363         Remove variable.
17364         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17365         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17367         [BZ #18495]
17368         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17369         (__iswlower): Likewise.
17370         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
17371         (__iswlower): Likewise.
17372         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
17373         instead of towlower.
17374         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
17375         instead of iswlower.  Call __towupper instead of towupper.
17376         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
17377         instead of iswalnum.
17379 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17381         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
17382         errors to stderr.
17384 2015-06-05  Florian Weimer  <fweimer@redhat.com>
17386         [BZ #15661]
17387         [BZ #17322]
17388         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17389         Check for overflow properly.  Check for O_APPEND.  Ignore large
17390         file system block sizes.  Add comments about problems.
17391         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
17392         * manual/filesys.texi (Storage Allocation): New node.
17394 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17396         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
17397         cancellable syscalls.
17398         (SYS_ify): Add guard to no redefine it.
17399         (INLINE_SYSCALL): Likewise.
17400         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
17401         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
17402         SYSCALL_CANCEL instead.
17403         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
17404         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17405         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17406         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17407         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17408         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
17409         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
17410         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
17411         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17412         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17413         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
17414         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
17415         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
17416         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
17417         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
17418         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17419         Likewise.
17420         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17421         (__libc_pread64): Likewise.
17422         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
17423         (__libc_preadv): Likewise.
17424         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
17425         (__libc_readv64): Likewise.
17426         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17427         (__libc_pwrite): Likewise.
17428         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17429         (__libc_pwrite64): Likewise.
17430         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
17431         (__libc_pwritev): Likewise.
17432         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
17433         (__libc_pwritev64): Likewise.
17434         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
17435         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17436         (sync_file_range): Likewise.
17437         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
17438         Likewise.
17439         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
17440         Likewise.
17441         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17442         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17443         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17444         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17445         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17446         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17447         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17448         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
17449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17450         Likewise.
17451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17452         (__libc_read64): Likewise.
17453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
17454         Likewise.
17455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
17456         Likewise.
17457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
17458         Likewise.
17459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
17460         Likewise.
17461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17462         (__libc_pread64): Likewise.
17463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
17464         Likewise.
17465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17466         (__libc_pwrite64): Likewise.
17467         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
17468         (sync_file_range): Likewise.
17469         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
17470         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17471         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17472         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
17473         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
17474         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17475         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17476         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
17477         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
17478         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17479         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17480         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17481         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17482         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17483         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
17484         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17485         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17486         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17487         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17488         Likewise.
17489         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
17490         Likewise.
17491         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
17492         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
17493         Likewise.
17494         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
17495         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
17496         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
17497         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
17498         Likewise.
17499         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
17500         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
17501         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
17502         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
17503         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
17505 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
17507         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
17508         Include dl-vdso.
17509         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
17510         Use VDSO routines for gettimeofday, clock_gettime if
17511         available.
17512         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
17513         Declare VDSO symbols.
17514         * sysdeps/unix/sysv/linux/arm/sysdep.h:
17515         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
17516         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17517         * sysdeps/unix/sysv/linux/arm/Versions: Add
17518         __vdso_clock_gettime.
17520 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17522         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
17523         be an inline implementation regardless of library is built within.
17524         (open_not_cancel_2): Likewise.
17525         (__read_nocancel): Likewise.
17526         (__write_nocancel): Likewise.
17527         (openat_not_cancel): Likewise.
17528         (openat_not_cancel_3): Likewise.
17529         (openat64_not_cancel): Likewise.
17530         (openat64_not_cancel_3): Likewise.
17531         (__close_nocancel): Likewise.
17532         (pause_not_cancel): Likewise.
17533         (nanosleep_not_cancel): Likewise.
17534         (sigsuspend_not_cancel): Likewise.
17536 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17538         [BZ #14958]
17539         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
17540         wake-up.
17541         (__pthread_rwlock_rdlock_slow): Likewise.
17542         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17543         Likewise.
17544         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17545         Likewise.
17546         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
17547         * nptl/tst-rwlock16.c: New file.
17548         * nptl/Makefile (tests): Add new test.
17550 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17552         [BZ #18324]
17553         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
17554         missing wake-up of readers.
17555         * nptl/tst-rwlock15.c: New file.
17556         * nptl/Makefile (tests): Add new test.
17558 2015-06-03  Roland McGrath  <roland@hack.frob.com>
17560         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
17561         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
17562         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
17563         and __nacl_supply_interface_rtld.
17564         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
17565         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
17566         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
17567         Add __nacl_supply_interface_rtld.
17568         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
17570 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17572         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
17573         isfinite.
17574         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17575         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
17577 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17579         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
17580         __signbit* with standard C99 macros.
17581         * math/e_exp10l.c: Likewise.
17582         * math/e_exp2l.c: Likewise.
17583         * math/e_scalb.c: Likewise.
17584         * math/e_scalbf.c: Likewise.
17585         * math/e_scalbl.c: Likewise.
17586         * math/s_ldexp.c: Likewise.
17587         * math/s_ldexpf.c: Likewise.
17588         * math/s_ldexpl.c: Likewise.
17589         * math/w_atan2.c: Likewise.
17590         * math/w_atan2f.c: Likewise.
17591         * math/w_atan2l.c: Likewise.
17592         * math/w_cosh.c: Likewise.
17593         * math/w_coshf.c: Likewise.
17594         * math/w_coshl.c: Likewise.
17595         * math/w_exp10.c: Likewise.
17596         * math/w_exp10f.c: Likewise.
17597         * math/w_exp10l.c: Likewise.
17598         * math/w_exp2.c: Likewise.
17599         * math/w_exp2f.c: Likewise.
17600         * math/w_exp2l.c: Likewise.
17601         * math/w_fmod.c: Likewise.
17602         * math/w_fmodf.c: Likewise.
17603         * math/w_fmodl.c: Likewise.
17604         * math/w_hypot.c: Likewise.
17605         * math/w_hypotf.c: Likewise.
17606         * math/w_hypotl.c: Likewise.
17607         * math/w_jnl.c: Likewise.
17608         * math/w_lgamma.c: Likewise.
17609         * math/w_lgamma_r.c: Likewise.
17610         * math/w_lgammaf.c: Likewise.
17611         * math/w_lgammaf_r.c: Likewise.
17612         * math/w_lgammal.c: Likewise.
17613         * math/w_lgammal_r.c: Likewise.
17614         * math/w_pow.c: Likewise.
17615         * math/w_powf.c: Likewise.
17616         * math/w_powl.c: Likewise.
17617         * math/w_remainder.c: Likewise.
17618         * math/w_remainderf.c: Likewise.
17619         * math/w_remainderl.c: Likewise.
17620         * math/w_scalb.c: Likewise.
17621         * math/w_scalbf.c: Likewise.
17622         * math/w_scalbl.c: Likewise.
17623         * math/w_scalbln.c: Likewise.
17624         * math/w_scalblnf.c: Likewise.
17625         * math/w_scalblnl.c: Likewise.
17626         * math/w_sinh.c: Likewise.
17627         * math/w_sinhf.c: Likewise.
17628         * math/w_sinhl.c: Likewise.
17629         * math/w_tgamma.c: Likewise.
17630         * math/w_tgammaf.c: Likewise.
17631         * math/w_tgammal.c: Likewise.
17632         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17633         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
17634         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17635         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17636         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17637         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17638         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17639         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17640         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17641         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17642         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17643         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17644         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17645         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17646         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17647         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17648         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17649         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17650         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17651         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17652         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17653         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17654         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17655         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17656         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17657         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17658         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
17659         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17660         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17661         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17662         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
17663         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
17664         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
17665         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
17666         * stdio-common/printf_fp.c: Likewise.
17667         * stdio-common/printf_fphex.c: Likewise.
17668         * stdio-common/printf_size.c: Likewise.
17670 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
17672         [BZ #18470]
17673         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
17674         strnlen.
17675         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
17676         Remove variable.
17677         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17678         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17679         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17680         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17681         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17682         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17683         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17684         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17685         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17686         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17688         [BZ #18468]
17689         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
17690         weak alias of __wmemchr.  Use libc_hidden_weak.
17691         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
17692         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
17693         instead of wmemchr.
17695 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17697         [BZ #18383]
17698         * elf/tst-tlsalign-extern.c: New file.
17699         * elf/tst-tlsalign-extern-static.c: New file.
17700         * elf/tst-tlsalign-vars.c: New file.
17701         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
17702         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
17703         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
17704         ($(objpfx)tst-tlsalign-extern-static): Likewise.
17705         (test-xfail-tst-tlsalign-extern-static): New variable.
17707 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
17709         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
17710         Use variable name _sc_err instead of err.
17711         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
17712         instead of ret.
17713         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
17714         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
17715         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
17716         (INLINE_SYSCALL): Likewise.
17718         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
17719         * include/string.h (__strnlen): Use libc_hidden_proto.
17720         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
17721         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
17722         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
17723         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
17724         (libc_hidden_def): Undefine and redefine.
17725         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
17726         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
17727         __GI_strnlen.
17728         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
17729         libc_hidden_def.
17730         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
17732         [BZ #18469]
17733         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
17734         weak alias of __towlower.  Use libc_hidden_weak.
17735         (towupper): Rename to __towupper and define as weak alias of
17736         __towupper.  Use libc_hidden_weak.
17737         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
17738         (__towupper): Likewise.
17739         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
17740         __towlower instead of towlower.
17742 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17744         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
17745         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
17747 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17749         * sysdeps/aarch64/libm-test-ulps: Update.
17751 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17753         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
17754         Define.
17755         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17756         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17757         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17758         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17759         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
17760         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
17761         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
17763 2015-06-01  Martin Sebor  <msebor@redhat.com>
17765         [BZ #18116]
17766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17767         (__setcontext): Use extended four-operand version of mtsf whenever
17768         possible.
17769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17770         (__novec_swapcontext): Likewise.
17772 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17774         * benchtests/scripts/compare_bench.py: New file.
17775         * benchtests/scripts/import_bench.py (mean): New function.
17776         (split_list): Likewise.
17777         (do_for_all_timings): Likewise.
17778         (compress_timings): Likewise.
17780         * benchtests/scripts/import_bench.py: New file.
17781         * benchtests/scripts/validate_benchout.py: Import import_bench
17782         instead of jsonschema.
17783         (validate_bench): Remove function.
17784         (main): Use import_bench.
17786 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
17788         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
17789         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
17791 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17795 2015-05-28  Roland McGrath  <roland@hack.frob.com>
17797         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
17798         set THREAD_SELF->tid to a magic value and futex-wake it.
17799         Pass its address to the thread_exit system call.
17800         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
17801         bit is clear.
17802         * sysdeps/nacl/lowlevellock.h: New file.
17803         * sysdeps/nacl/lll_timedwait_tid.c: New file.
17805         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
17806         Add TIMEOUT to current time, don't subtract it.
17808 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
17810         [BZ #2981]
17811         [BZ #18422]
17812         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
17813         ($(objpfx)tst-audit2.out): Also depend on
17814         $(objpfx)tst-auditmod9b.so.
17815         * elf/tst-audit2.c: Include <dlfcn.h>.
17816         (calloc_called): New.
17817         (calloc): Allow to be called more than once.
17818         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
17820 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
17822         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
17823         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
17825 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
17827         * stdlib/monetary.h: Fix comment.
17829 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
17831         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
17832         Avoid using variables in #defines that might cause shadowing.
17833         (INTERNAL_VSYSCALL_CALL): Likewise.
17835 2015-05-26  Roland McGrath  <roland@hack.frob.com>
17837         * sysdeps/nacl/lll_timedlock_wait.c: New file.
17839         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
17840         * nptl/lll_timedlock_wait.c: ... to this new file.
17841         * nptl/Makefile (libpthread-routines): Add it.
17842         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
17843         * nptl/lll_timedwait_tid.c: ... to this new file.
17844         * nptl/Makefile (libpthread-routines): Add it.
17845         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
17846         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
17847         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
17848         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
17849         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
17850         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
17851         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
17852         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
17853         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
17854         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
17856 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17858         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
17859         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17860         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17861         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
17862         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17863         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17864         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17865         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17866         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17867         * sysdeps/unix/sysv/linux/tile/sysdep.h
17868         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17869         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
17870         using vDSO syscall macro.
17872 2015-05-26  Andriy Rysin  <arysin@gmail.com>
17874         [BZ #17293]
17875         * uk_UA: Fix sorting order for Ukrainian locale
17877 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
17879         * stdlib/monetary.h: Fix comment.
17881 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17883         [BZ #18234]
17884         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
17885         st_mtim and st_ctim members.
17886         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
17887         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
17888         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
17889         (struct stat64): Likewise.
17890         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
17891         (struct stat64): Likewise.
17892         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
17893         (struct stat64): Likewise.
17895 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17897         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
17898         Define and include sysdep-vdso.h.
17899         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
17900         Likewise.
17901         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
17902         Likewise.
17903         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
17904         Define with VDSO_SYMBOL and use PTR_MANGLE.
17905         (__vdso_clock_gettime): Likewise.
17906         (__vdso_clock_getres): Likewise.
17907         (_libc_vdso_platform_setup): Likewise.
17908         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17909         Likewise.
17910         (_libc_vdso_platform_setup): Likewise.
17911         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
17912         Likewise.
17913         (__vdso_clock_gettime): Likewise.
17914         (__vdso_clock_getres): Likewise.
17915         (__vdso_get_tbfreq): Likewise.
17916         (__vdso_getcpu): Likewise.
17917         (__vdso_time): Likewise.
17918         (__vdso_sigtramp_rt64): Likewise.
17919         (__vdso_signtramp32): Likewise.
17920         (__vdso_sigtramp_rt32): Likewise.
17921         (_libc_vdso_platform_setup): Likewise.
17922         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
17923         Likewise.
17924         (__vdso_clock_gettime): Likewise.
17925         (__vdso_clock_getres): Likewise.
17926         (_libc_vdso_platform_setup): Likewise.
17927         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
17928         Likewise.
17929         (__vdso_clock_gettime): Likewise.
17930         (_libc_vdso_platform_setup): Likewise.
17931         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17932         Likewise.
17933         (__vdso_getcpu): Likewise.
17934         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
17935         Use VDSO_SYMBOL macro to define.
17936         (__vdso_clock_gettime): Likewise.
17937         (__vdso_clock_getres): Likewise.
17938         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
17939         Likewise.
17940         (__vdso_clock_gettime): Likewise.
17941         (__vdso_clock_getres): Likewise.
17942         (__vdso_get_tbfreq): Likewise.
17943         (__vdso_getcpu): Likewise.
17944         (__vdso_time): Likewise.
17945         (__vdso_sigtramp_rt64): Likewise.
17946         (__vdso_signtramp32): Likewise.
17947         (__vdso_sigtramp_rt32): Likewise.
17948         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
17949         Likewise.
17950         (__vdso_clock_gettime): Likewise.
17951         (__vdso_clock_getres): Likewise.
17952         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
17953         Likewise.
17954         (__vdso_clock_gettime): Likewise.
17955         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17956         Likewise.
17957         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
17958         macro.
17959         (INTERNAL_VSYSCALL): Likewise.
17960         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
17961         Remove macro.
17962         (INTERNAL_VSYSCALL): Likewise.
17963         (INTERNAL_VSYSCALL_NCS): Likewise.
17964         (INTERNAL_VSYSCALL_CALL): New macro.
17965         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17966         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
17967         Likewise.
17968         (INTERNAL_VSYSCALL): Likewise.
17969         (INTERNAL_VSYSCALL_NCS): Likewise.
17970         (INTERNAL_VSYSCALL_CALL): New macro.
17971         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17973         (INLINE_VSYSCALL): Remove macro.
17974         (INTERNAL_VSYSCALL): Remove macro.
17975         (INTERNAL_VSYSCALL_NCS): Remove macro.
17976         (INTERNAL_VSYSCALL_CALL): New macro.
17977         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
17978         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
17979         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17980         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
17981         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17983         (INLINE_VSYSCALL): Remove macro.
17984         (INTERNAL_VSYSCALL): Likewise.
17985         (INTERNAL_VSYSCALL_NCS): Likewise.
17986         (INTERNAL_VSYSCALL_CALL): New macro.
17987         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
17988         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
17989         PTR_DEMANGLE on vDSO pointer.
17990         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17991         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
17992         macro.
17993         (INTERNAL_SYSCALL): Likewise.
17994         (INTERNAL_VSYSCALL_NCS): Remove macro.
17995         (INTERNAL_VSYSCALL_CALL): New macro.
17996         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
17997         Remove macro.
17998         (INTERNAL_VSYSCALL): Likewise.
17999         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
18000         sysdep-vdso.h instead of libc-vdso.h.
18001         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
18002         definition.
18003         (INLINE_VSYSCALL): Likewise.
18004         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
18005         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
18006         definition.
18007         (INLINE_VSYSCALL): Likewise.
18008         (INTERNAL_VSYSCALL): Likewise.
18009         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18010         * sysdeps/unix/sysv/linux/timespec_get.c
18011         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18012         (timespec_get): Use ANSI prototype.
18013         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
18014         and definition for Linux.
18016 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18018         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
18019         * include/libc-symbols.h: libmvec_hidden_* macro series added.
18021 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18023         [BZ #2981]
18024         [BZ #18410]
18025         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
18026         for missing DT_PLTRELSZ.
18028 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18030         Remove obsolete aliases that broke 'locale -a'
18031         [BZ #18412]
18032         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
18033         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
18034         breaking some applications that use 'locale -a' output.
18035         Change the encoding of this file from Latin-1 to ASCII to avoid
18036         other potential problems with people grepping this file.
18038 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18040         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
18041         -fasynchronous-unwind-tables.
18042         (CFLAGS-sendto.c): Likewise.
18043         (CFLAGS-sendmsg.c): Likewise.
18044         (CFLAGS-connect.c): Likewise.
18045         (CFLAGS-recvmsg.c): Likewise.
18046         (CFLAGS-recvfrom.c): Likewise.
18047         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
18048         (SOCKETCALL): New macro: non-cancellable socketcall.
18049         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
18050         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
18051         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
18052         * sysdeps/unix/sysv/linux/accept.c: New file.
18053         * sysdeps/unix/sysv/linux/bind.c: Likewise.
18054         * sysdeps/unix/sysv/linux/connect.c: Likewise.
18055         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
18056         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
18057         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
18058         * sysdeps/unix/sysv/linux/listen.c: Likewise.
18059         * sysdeps/unix/sysv/linux/recv.c: Likewise.
18060         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
18061         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18062         * sysdeps/unix/sysv/linux/send.c: Likewise.
18063         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18064         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
18065         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
18066         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
18067         * sysdeps/unix/sysv/linux/socket.c: Likewise.
18068         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
18069         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
18070         prototype.
18071         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
18072         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18073         instead of __internal_xxx function.
18074         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
18075         prototype.
18076         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
18077         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18078         instead of __internal_xxx function.
18079         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
18080         prototype.
18081         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
18082         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18083         instead of __internal_xxx function.
18084         * sysdeps/unix/sysv/linux/accept.S: Remove file.
18085         * sysdeps/unix/sysv/linux/bind.S: Likewise.
18086         * sysdeps/unix/sysv/linux/connect.S: Likewise.
18087         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
18088         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
18089         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
18090         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
18091         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
18092         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
18093         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
18094         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
18095         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18096         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
18097         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
18098         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
18099         * sysdeps/unix/sysv/linux/listen.S: Likewise.
18100         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
18101         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
18102         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
18103         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
18104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
18105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
18106         * sysdeps/unix/sysv/linux/recv.S: Likewise.
18107         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
18108         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
18109         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
18110         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18111         * sysdeps/unix/sysv/linux/send.S: Likewise.
18112         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
18113         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
18114         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
18115         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
18116         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
18117         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
18118         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
18119         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
18120         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
18121         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
18122         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
18123         socketcall is implemented in GLIBC.
18125 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18127         * soft-fp/fmadf4.c: Include <libc-internal.h>.
18128         (__fma): Ignore uninitialized warnings around packing.
18129         * soft-fp/fmasf4.c: Include <libc-internal.h>.
18130         (__fmaf): Ignore uninitialized warnings around packing.
18131         * soft-fp/fmatf4.c: Include <libc-internal.h>.
18132         (__fmal): Ignore uninitialized warnings around packing.
18134         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
18135         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18136         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
18137         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18139         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
18140         switch statement into default case.
18141         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
18143         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
18144         a conditional in forcing "inexact".
18145         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18146         Likewise.
18148 2015-05-22  Roland McGrath  <roland@hack.frob.com>
18150         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18151         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
18152         for each INTERNAL_SYSCALL use.
18154 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18156         [BZ #438]
18157         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
18158         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
18159         variable.
18161         [BZ #18444]
18162         * string/basename.c (basename): Rename to __basename and define as
18163         weak alias of __basename.  Use libc_hidden_weak.
18164         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
18165         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
18166         __basename instead of basename.
18167         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
18168         Remove variable.
18169         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18171 2015-05-18  Florian Weimer  <fweimer@redhat.com>
18173         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
18174         (_IO_JUMPS_FILE_plus): New.
18175         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
18176         _IO_CAST_FIELD_ACCESS.
18177         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18178         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18179         * libio/freopen.c (freopen): Likewise.
18180         * libio/freopen64.c (freopen64): Likewise.
18181         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18182         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18183         * libio/iofwide.c (_IO_fwide): Likewise.
18184         * libio/memstream.c (open_memstream): Likewise.
18185         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18186         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18187         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18189 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
18191         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18192         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18193         NADJ.
18194         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18195         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18196         NADJ.
18197         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18198         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18199         NADJ.
18201         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18202         (p == 4) case.
18204         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18205         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18206         Remove variable.
18207         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18208         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18209         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18211 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18213         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
18214         Adjust jump table label generation macros.
18216 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18218         * stdio-common/vfprintf.c (vfprintf): Move local variables
18219         args_malloced, specs, specs_malloced, and the code after
18220         do_positional to the printf_positional function.
18221         (printf_positional): New function.
18223 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18225         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
18226         function.
18227         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
18228         STEP4_TABLE, process_arg): Move macro definitions
18229         out of the vfprintf function.  (Cosmetic change only.)
18231 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
18233         * benchtests/Makefile (stdio-common-bench): Define.
18234         (benchset): Add stdio-common-bench.
18235         * sprintf-inputs: New file.
18236         * sprintf-source.c: New file.
18238 2015-05-21  Andreas Schwab  <schwab@suse.de>
18240         [BZ #13028]
18241         [BZ #17053]
18242         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
18243         of struct __res_state.
18244         * resolv/res_send.c (__libc_res_nsend): Likewise.
18245         (get_nsaddr): New function.
18246         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
18247         statp directly.
18249 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
18251         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
18252         -D_POSIX_C_SOURCE=199506L.
18254         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
18256         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
18257         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
18258         Do not mention otherwise.
18259         [POSIX] (_XOPEN_VERSION): Do not expect.
18260         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
18261         [POSIX] (_POSIX2_C_BIND): Likewise.
18262         [POSIX] (_POSIX2_VERSION): Likewise.
18263         [POSIX] (_XOPEN_XPG2): Likewise.
18264         [POSIX] (_XOPEN_XPG3): Likewise.
18265         [POSIX] (_XOPEN_XPG4): Likewise.
18266         [POSIX] (_XOPEN_UNIX): Likewise.
18267         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
18268         [POSIX] (_POSIX_BARRIERS): Likewise.
18269         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
18270         [POSIX] (_POSIX_CPUTIME): Likewise.
18271         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
18272         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
18273         [POSIX] (_POSIX_SHELL): Likewise.
18274         [POSIX] (_POSIX_SPAWN): Likewise.
18275         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
18276         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
18277         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
18278         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
18279         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
18280         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
18281         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
18282         [POSIX] (_XBS5_LP64_OFF64): Likewise.
18283         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
18284         [POSIX] (_POSIX_TIMEOUTS): Likewise.
18285         [POSIX] (_POSIX2_PBS): Likewise.
18286         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
18287         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
18288         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
18289         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
18290         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18291         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18292         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18293         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18294         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18295         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18296         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18297         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18298         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18299         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18300         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18301         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18302         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18303         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18304         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18305         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18306         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18307         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18308         [POSIX] (_SC_2_C_BIND): Likewise.
18309         [POSIX] (_SC_2_C_VERSION): Likewise.
18310         [POSIX] (_SC_2_PBS): Likewise.
18311         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18312         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18313         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18314         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18315         [POSIX] (_SC_2_PBS_TRACK): Likewise.
18316         [POSIX] (_SC_ATEXIT_MAX): Likewise.
18317         [POSIX] (_SC_BARRIERS): Likewise.
18318         [POSIX] (_SC_BASE): Likewise.
18319         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18320         [POSIX] (_SC_DEVICE_IO): Likewise.
18321         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18322         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18323         [POSIX] (_SC_FD_MGMT): Likewise.
18324         [POSIX] (_SC_FIFO): Likewise.
18325         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18326         [POSIX] (_SC_FILE_LOCKING): Likewise.
18327         [POSIX] (_SC_FILE_SYSTEM): Likewise.
18328         [POSIX] (_SC_IOV_MAX): Likewise.
18329         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18330         [POSIX] (_SC_NETWORKING): Likewise.
18331         [POSIX] (_SC_PAGE_SIZE): Likewise.
18332         [POSIX] (_SC_PASS_MAX): Likewise.
18333         [POSIX] (_SC_PIPE): Likewise.
18334         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18335         [POSIX] (_SC_REGEXP): Likewise.
18336         [POSIX] (_SC_SHELL): Likewise.
18337         [POSIX] (_SC_SIGNALS): Likewise.
18338         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18339         [POSIX] (_SC_SPIN_LOCKS): Likewise.
18340         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18341         [POSIX] (_SC_USER_GROUPS): Likewise.
18342         [POSIX] (_SC_USER_GROUPS_R): Likewise.
18343         [POSIX] (_SC_STREAMS): Likewise.
18344         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18345         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18346         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18347         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18348         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18349         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18350         [POSIX] (_PC_FILESIZEBITS): Likewise.
18351         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18352         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18353         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18354         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18355         [POSIX] (uid_t): Likewise.
18356         [POSIX] (gid_t): Likewise.
18357         [POSIX] (off_t): Likewise.
18358         [POSIX] (pid_t): Likewise.
18359         [POSIX] (cuserid): Allow.
18360         (_SC_2_CHAR_TERM): Require constant.
18361         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18362         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18363         variable.
18365 2015-05-20  Roland McGrath  <roland@hack.frob.com>
18367         * sysdeps/nacl/pthread-pids.h: New file.
18368         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18369         (create_thread): Use __nacl_get_tid to initialize PD->tid.
18371         * nptl/pthread-pids.h: New file.
18372         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
18373         * nptl/nptl-init.c: Include <pthread-pids.h>.
18374         (__pthread_initialize_minimal_internal):
18375         Call __pthread_initialize_pids instead of set_tid_address syscall.
18377         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
18378         * sysdeps/posix/usleep.c: ... here.
18380 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18382         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
18383         call_pselect6 object.
18384         [$(subdir) = io]: Remove call_sync_file_range object.
18385         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
18386         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
18387         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
18388         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
18390 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
18392         * math/s_cproj.c: Add include "math_private.h".
18393         * math/s_cprojf.c: Likewise.
18394         * math/s_cprojl.c: Likewise.
18396 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
18398         [BZ #18244]
18399         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
18400         high mantissa bit when testing whether P is a NaN.
18401         * math/libm-test.inc (remainder_test_data): Add more tests.
18402         (remquo_test_data): Likewise.
18404         [BZ #18049]
18405         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
18406         below -32, return the argument, with underflow if subnormal.
18407         * math/auto-libm-test-in: Add more tests of atanh.
18408         * math/auto-libm-test-out: Regenerated.
18410 2015-05-19  Roland McGrath  <roland@hack.frob.com>
18412         [BZ #18434]
18413         * nptl/tst-sem15.c: New file.
18414         * nptl/Makefile (tests): Add it.
18415         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
18416         s/<</>>/ to fix typo in EOVERFLOW check.
18417         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18419 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18421         * manual/strings.texi (envz_remove): Fix typo in safety
18422         annotations.
18424 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
18425             Steve Ellcey  <sellcey@imgtec.com>
18427         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
18428         in order to avoid strict alias warnings.
18429         (iruserok_af): Ditto for ra.
18431 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
18433         [BZ #17581]
18434         * malloc/hooks.c
18435         (magicbyte): Convert to a function and avoid returning 0x01.
18436         (mem2mem_check): Avoid using a length byte equal to the magic byte.
18437         (mem2chunk_check): Fix unsigned comparisons to zero.
18438         Hoist defs of sz and magic.
18440 2015-05-19  Richard Henderson  <rth@redhat.com>
18442         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
18444         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18446 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18448         [BZ #16159]
18449         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
18450         * malloc/arena.c (arena_lock): Check if arena is corrupt.
18451         (reused_arena): Find a non-corrupt arena.
18452         (heap_trim): Pass arena to unlink.
18453         * malloc/hooks.c (malloc_check_get_size): Pass arena to
18454         malloc_printerr.
18455         (top_check): Likewise.
18456         (free_check): Likewise.
18457         (realloc_check): Likewise.
18458         * malloc/malloc.c (malloc_printerr): Add arena argument.
18459         (unlink): Likewise.
18460         (munmap_chunk): Adjust.
18461         (ARENA_CORRUPTION_BIT): New macro.
18462         (arena_is_corrupt): Likewise.
18463         (set_arena_corrupt): Likewise.
18464         (sysmalloc): Use mmap if there are no usable arenas.
18465         (_int_malloc): Likewise.
18466         (__libc_malloc): Don't fail if arena_get returns NULL.
18467         (_mid_memalign): Likewise.
18468         (__libc_calloc): Likewise.
18469         (__libc_realloc): Adjust for additional argument to
18470         malloc_printerr.
18471         (_int_free): Likewise.
18472         (malloc_consolidate): Likewise.
18473         (_int_realloc): Likewise.
18474         (_int_memalign): Don't touch corrupt arenas.
18475         * malloc/tst-malloc-backtrace.c: New test case.
18477         * Makefile (summarize-tests): Fix return value on success.
18479         * manual/string.texi (Envz Functions): Add envz_remove.
18481 2015-05-18  Roland McGrath  <roland@hack.frob.com>
18483         * sysdeps/posix/opendir.c: Include <stdbool.h>.
18484         (invalid_name): New function, broken out of ...
18485         (__opendirat): ... here.  Call it.
18486         (need_isdir_precheck): New function, broken out of ...
18487         (__opendirat): ... here.  Call it.
18488         Use __fxstatat64, not __xstatat64.
18489         (opendir_oflags): New function, broken out of ...
18490         (__opendirat): ... here.  Call it.
18491         (opendir_tail): New function, broken out of ...
18492         (__opendirat): ... here.  Call it.
18493         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
18494         opendir_tail, rather than punting to __opendirat.
18495         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
18497 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18499         * .gitignore: Ignore generated *.pyc.
18501 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
18503         * include/stdio.h: Define __need_wint_t.
18504         * test-skeleton.c: Avoid `for' loop initial declaration.
18505         * nptl/tst-initializers1.c: Use test-skeleton.c.
18507 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18509         [BZ #18418]
18510         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
18512 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18514         [BZ #16352]
18515         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
18516         (__ieee754_atanh): Force underflow exception for results with
18517         small absolute value.
18518         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
18519         (__ieee754_atanhf): Force underflow exception for results with
18520         small absolute value.
18521         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
18522         (__ieee754_atanh): Force underflow exception for results with
18523         small absolute value.
18524         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
18525         (__ieee754_atanhf): Force underflow exception for results with
18526         small absolute value.
18527         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
18528         (__ieee754_atanhl): Force underflow exception for results with
18529         small absolute value.
18530         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
18531         (__ieee754_atanhl): Force underflow exception for results with
18532         small absolute value.
18533         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
18534         (__ieee754_atanhl): Force underflow exception for results with
18535         small absolute value.
18536         * math/auto-libm-test-in: Do not allow missing underflow
18537         exceptions from atanh.
18538         * math/auto-libm-test-out: Regenerated.
18540         [BZ #18221]
18541         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
18542         2**-28 as threshold for returning x or +/- 1/x.
18543         * math/auto-libm-test-in: Add more tests of tan.
18544         * math/auto-libm-test-out: Regenerated.
18546         [BZ #18220]
18547         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18548         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
18549         * math/auto-libm-test-in: Add another test of lgamma.
18550         * math/auto-libm-test-out: Regenerated.
18552 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
18554         * stdio-common/printf_fp.c (___printf_fp): Use abs.
18555         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
18556         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
18557         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
18558         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
18559         (ADD2A): Use fabs.  (SUB2A): Use fabs.
18560         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
18561         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
18562         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
18563         (log1): Use fabs.  (my_log2): Use fabs.
18564         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
18565         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
18566         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
18567         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
18568         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
18569         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
18570         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
18571         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
18572         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
18573         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
18574         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
18576 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18578         [BZ #18217]
18579         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
18580         as threshold for returning 1 - x.
18581         * math/auto-libm-test-in: Add more tests of erfc.
18582         * math/auto-libm-test-out: Regenerated.
18584 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
18586         [BZ #18196]
18587         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
18588         threshold for large arguments.
18589         * math/auto-libm-test-in: Add another test of atan.
18590         * math/auto-libm-test-out: Regenerated.
18592         [BZ #16339]
18593         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
18594         (__log1p): Force underflow exception for results with small
18595         absolute value.
18596         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
18597         (__log1pf): Force underflow exception for results with small
18598         absolute value.
18599         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
18600         (__log1p): Force underflow exception for results with small
18601         absolute value.
18602         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
18603         (__log1pf): Force underflow exception for results with small
18604         absolute value.
18605         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
18606         (__log1pl): Force underflow exception for results with small
18607         absolute value.
18608         * math/auto-libm-test-in: Do not allow missing underflow
18609         exceptions from log1p.
18610         * math/auto-libm-test-out: Regenerated.
18612 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
18613             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18615         [BZ #16704]
18616         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
18618 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
18620         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
18621         (libmvec): New variable.
18622         * configure.ac: Added option for mathvec build.
18623         * configure: Regenerated.
18624         * mathvec/Depend: New file.
18625         * mathvec/Makefile: New file.
18626         * shlib-versions: Added libmvec.
18627         * math/Makefile: Added rule for libm.so installation.
18629         * bits/math-vector.h: New file.
18630         * bits/libm-simd-decl-stubs.h: New header.
18631         * math/Makefile (headers): Added new header
18632         libm-simd-decl-stubs.h.
18633         * math/math.h (__MATHCALL_VEC): New macro.
18635         * math/gen-libm-have-vector-test.sh: Script generates series of macros
18636         for conditions in testing functions.
18637         * math/Makefile: Added call of libm-have-vector-test.sh.
18638         * math/libm-test.inc (HAVE_VECTOR): New macros.
18640         * math/libm-test.inc: START refactored.
18641         * math/test-double.c (TEST_MATHVEC): Add define.
18642         * math/test-float.c: Likewise.
18643         * math/test-idouble.c: Likewise.
18644         * math/test-ifloat.c: Likewise.
18645         * math/test-ildoubl.c: Likewise.
18646         * math/test-ldouble.c: Likewise.
18647         * sysdeps/generic/math-tests-arch.h
18648         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
18649         architecture check.
18651         * math/test-double.c (FUNC_TEST): New macro.
18652         * math/test-float.c: Likewise.
18653         * math/test-idouble.c: Likewise.
18654         * math/test-ifloat.c: Likewise.
18655         * math/test-ildoubl.c: Likewise.
18656         * math/test-ldouble.c: Likewise.
18657         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
18659 2015-05-13  Roland McGrath  <roland@hack.frob.com>
18661         * sysdeps/nacl/fdopendir.c: New file.
18663         * dirent/scandir-tail.c: New file.
18664         * dirent/scandir64-tail.c: New file.
18665         * dirent/Makefile (routines): Add them.
18666         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
18667         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
18668         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
18669         [!SCANDIR] (SCANDIR_TAIL): New macro.
18670         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
18671         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
18672         (SCANDIRAT): Macro removed.
18673         (SCANDIR_TAIL): New macro.
18674         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
18675         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
18676         (SCANDIRAT): Just call __opendirat and __scandir_tail.
18677         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
18678         (READDIR): Macro removed.
18679         (SCANDIR_TAIL): New macro.
18680         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
18681         (SCANDIR_TAIL): New macro.
18683         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
18684         * dirent/scandir-cancel.c: ... to this new file.
18685         * dirent/Makefile (routines): Add it.
18686         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
18687         * sysdeps/unix/sysv/linux/i386/scandir64.c
18688         (SKIP_SCANDIR_CANCEL): Macro removed.
18689         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
18691         * dirent/tst-scandir.c: New file.
18692         * dirent/tst-scandir64.c: New file.
18693         * dirent/Makefile (tests): Add them.
18695 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18697         [BZ #18409]
18698         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
18700 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18702         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
18703         list.
18705 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
18707         * benchtests/bench-strcoll.c: New benchmark.
18708         * benchtests/Makefile: Generate locales and run benchmark.
18709         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
18710         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18711         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
18712         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
18713         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
18714         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
18715         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
18716         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
18717         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
18718         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
18719         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
18720         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
18721         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
18722         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
18723         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
18724         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
18725         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
18726         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
18727         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
18728         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
18729         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
18730         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
18731         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
18732         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
18734 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
18736         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
18737         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18739 2015-05-12  Roland McGrath  <roland@hack.frob.com>
18741         * posix/uname-values.h: New file.
18742         * posix/uname.c: Include that instead of <config-name.h>.
18743         * sysdeps/nacl/uname-values.h: New file.
18744         * sysdeps/arm/nacl/uname-values.h: New file.
18746 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
18748         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
18749         splitting into fields.
18751 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
18753         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
18754         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
18755         * locale/localeinfo.h: Add enum collation_encoding_type.
18756         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
18757         * programs/ld-collate.c (collate_output): Add encoding type info.
18758         * string/strcoll_l.c (STRDIFF): New function.
18759         * (STRCOLL): Use STRDIFF to skip over equal prefix.
18760         * wcsmbs/wcscoll_l.c: Define STRDIFF.
18762 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
18764         [BZ #18397]
18765         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
18766         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
18767         <fpu_control.h> instead of <math/fpu_control.c>.
18768         * sysdeps/mips/mips32/fpu/Makefile: New file.
18770 2015-05-11  Andreas Schwab  <schwab@suse.de>
18772         [BZ #18007]
18773         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
18774         nss_endgrent.
18775         (_nss_compat_endgrent): Call nss_endgrent.
18776         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
18777         nss_endpwent.
18778         (_nss_compat_endpwent): Call nss_endpwent.
18779         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
18780         needent, call nss_setspent only if non-zero.
18781         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
18782         (internal_endspent): Don't call nss_endspent.
18783         (_nss_compat_endspent): Call nss_endspent.
18784         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
18785         Remove.  All uses removed.
18786         (internal_setent): Remove parameter stayopen, add parameter
18787         stream.  Use it instead of global variable.
18788         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
18789         (internal_endent, internal_getent): Add parameter stream.  Use it
18790         instead of global variable.
18791         (CONCAT(_nss_files_end,ENTNAME))
18792         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
18793         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
18794         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
18795         uses removed.
18796         (internal_setent, internal_endent): Add parameter stream.  Use it
18797         instead of global variable.
18798         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
18799         stream.
18800         (get_next_alias): Add parameter stream.
18801         (_nss_files_getaliasent_r): Pass global stream.
18802         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
18803         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
18804         (_nss_files_gethostbyname4_r): Pass local stream to
18805         internal_setent, internal_getent and internal_endent.  Remove
18806         locking.
18808 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18810         * tst-strfmon1.c (tests): Update expected currency symbol.
18812 2015-05-08  Roland McGrath  <roland@hack.frob.com>
18814         * sysdeps/nacl/gethostname.c: New file.
18816 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
18818         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
18819         and sinh.
18820         * math/auto-libm-test-out: Regenerated.
18821         * sysdeps/i386/fpu/libm-test-ulps: Update.
18822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18824 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
18826         [BZ #18125]
18827         * stdlib/tst-setcontext3.c: New file.
18828         * stdlib/tst-setcontext3.sh: New file.
18829         * stdlib/Makefile (tests): Add tst-setcontext3.
18830         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
18831         to verify test program created output file.
18832         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
18833         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
18834         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
18835         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
18837 2015-05-06  Roland McGrath  <roland@hack.frob.com>
18839         [BZ #18383]
18840         * elf/tst-tlsalign.c: New file.
18841         * elf/tst-tlsalign-static.c: New file.
18842         * elf/tst-tlsalign-lib.c: New file.
18843         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
18844         (tests-static): Add tst-tlsalign-static.
18845         (modules-names): Add tst-tlsalign-lib.
18846         (test-xfail-tst-tlsalign): New variable.
18847         (test-xfail-tst-tlsalign-static): New variable.
18849         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
18850         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
18852 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
18854         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
18855         csqrt, erfc, sin and sincos.
18856         * math/auto-libm-test-out: Regenerated.
18857         * sysdeps/i386/fpu/libm-test-ulps: Update.
18858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18860 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18862         * sysdeps/aarch64/libm-test-ulps: Update.
18864 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
18866         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
18867         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
18868         * math/auto-libm-test-out: Regenerated.
18869         * sysdeps/i386/fpu/libm-test-ulps: Update.
18870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18872 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18874         [BZ #18265]
18875         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
18876         (wcsncpy): Likewise.
18878 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18880         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18881         Assume __ASSUME_FALLOCATE is always true.
18882         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18883         (__posix_fallocate64_l64): Likweise.
18884         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
18885         (posix_fallocate): Likewise.
18886         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
18887         (__posix_fallocate64_l64): Likewise.
18888         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18889         [!__ASSUME_FALLOCATE]: Add comment.
18891 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18893         * sysdeps/unix/sysv/linux/i386/Makefile
18894         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
18895         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
18896         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
18897         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18898         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18899         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
18900         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
18902 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
18904         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
18905         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
18906         tgamma.
18907         * math/auto-libm-test-out: Regenerated.
18908         * sysdeps/i386/fpu/libm-test-ulps: Update.
18909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18911 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18913         * math/auto-libm-test-in: Add more tests of tgamma.
18914         * math/auto-libm-test-out: Regenerated.
18915         * sysdeps/i386/fpu/libm-test-ulps: Update.
18916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18918         * math/auto-libm-test-in: Add more tests of tanh.
18919         * math/auto-libm-test-out: Regenerated.
18920         * sysdeps/i386/fpu/libm-test-ulps: Update.
18921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18923         * math/auto-libm-test-in: Add more tests of tan.
18924         * math/auto-libm-test-out: Regenerated.
18925         * sysdeps/i386/fpu/libm-test-ulps: Update.
18926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18928         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
18929         * math/auto-libm-test-out: Regenerated.
18930         * sysdeps/i386/fpu/libm-test-ulps: Update.
18931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18933         * math/auto-libm-test-in: Add another test of pow.
18934         * math/auto-libm-test-out: Regenerated.
18935         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18937         * math/auto-libm-test-in: Add more tests of lgamma.
18938         * math/auto-libm-test-out: Regenerated.
18939         * sysdeps/i386/fpu/libm-test-ulps: Update.
18940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18942         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
18943         log1p.
18944         * math/auto-libm-test-out: Regenerated.
18945         * sysdeps/i386/fpu/libm-test-ulps: Update.
18946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18948 2015-05-01  Mark Wielaard  <mjw@redhat.com>
18950         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
18951         Elf64_Chdr structs and ELFCOMPRESS constants.
18953 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18955         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
18956         expm1.
18957         * math/auto-libm-test-out: Regenerated.
18958         * sysdeps/i386/fpu/libm-test-ulps: Update.
18959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18961         * math/auto-libm-test-in: Add more tests of erf and erfc.
18962         * math/auto-libm-test-out: Regenerated.
18963         * sysdeps/i386/fpu/libm-test-ulps: Update.
18964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18966 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18968         * config.h.in (HAVE_AARCH64_BE): Add.
18970 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
18972         * math/auto-libm-test-in: Add more tests of csqrt.
18973         * math/auto-libm-test-out: Regenerated.
18974         * sysdeps/i386/fpu/libm-test-ulps: Update.
18975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18977         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18978         * math/auto-libm-test-out: Regenerated.
18979         * sysdeps/i386/fpu/libm-test-ulps: Update.
18980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18982         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
18984 2015-04-29  Roland McGrath  <roland@hack.frob.com>
18986         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
18987         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
18989         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
18990         (euidaccess, eaccess): Define as weak aliases.
18992         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
18993         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
18994         but __suseconds_t is often 'long int' so some sources assume that
18995         type is being used (e.g. they use %ld to print tv_usec).
18997 2015-04-29  Florian Weimer  <fweimer@redhat.com>
18999         [BZ #18007]
19000         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
19001         (CVE-2014-8121)
19002         * nss/tst-nss-getpwent.c: New file.
19003         * nss/Makefile (tests): Add new test.
19005 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
19007         [BZ #18346]
19008         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
19009         exponents less than 48 as cases where high part of mantissa needs
19010         examining to determine whether argument is integral.
19011         * math/libm-test.inc (round_test_data): Add more tests.
19013 2015-04-28  Mark Wielaard  <mjw@redhat.com>
19015         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
19017 2015-04-27  David S. Miller  <davem@davemloft.net>
19019         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
19020         __tls_get_addr.
19021         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19023 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
19025         [BZ#18333]
19026         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
19028 2015-04-27  Florian Weimer  <fweimer@redhat.com>
19030         [BZ#18333]
19031         * time/tzset.c (parse_tzname): Return error on memory allocation
19032         failure.
19033         * test-skeleton.c (struct temp_name_list): Change type of name
19034         member to non-const.
19035         (add_temp_file): Create a copy of the file name.
19036         (delete_temp_files): Deallocate memory.
19037         (create_temp_file): Add comment.
19039 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19041         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
19042         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
19044 2015-04-24  Roland McGrath  <roland@hack.frob.com>
19046         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
19047         * sysdeps/arm/configure: Regenerated.
19049 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19051         [BZ #17715]
19052         * time/tzfile.c (__tzfile_read): Check for large values of
19053         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
19054         * time/tzset.c (__tzstring_len): New function, based on the old
19055         __tzstring function.
19056         (__tzstring): Call __tzstring_len.
19057         (parse_tzname): New helper function extracted from
19058         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
19059         the input string.
19060         (parse_offset): New helper function extracted from
19061         __tzset_parse_tz.  Replace switch with fallthrough with
19062         initialization before sscanf.
19063         (parse_rule): Likewise.
19064         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
19065         new-style function definition.
19066         * timezone/Makefile (tests): Add tst-tzset.
19067         (tst-tzset.out): Dependencies on time zone files.
19068         (tst-tzset-ENV): Set TZDIR.
19069         (testdata/XT%): Copy crafted time zone files.
19070         * timezone/README: Mention crafted time zone files.
19071         * timezone/testdata/XT1, timezone/testdata/XT2,
19072         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
19073         files.
19074         * timezone/tst-tzset.c: New test.
19076 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19078         * Makeconfig (+gccwarn): Remove -Winline.
19080 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19082         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
19084 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19086         * NEWS: Mention sysconf() cache information support for s390.
19087         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
19089 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
19091         * math/k_casinh.c (__kernel_casinh): Use __copysign.
19092         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
19093         (__nearbyint): Likewise.
19094         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
19095         (copysignl): Likewise.
19097 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
19099         [BZ #18287]
19100         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
19101         based on padding.  (CVE-2015-1781)
19103 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19105         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
19106         libc-vdso.h.
19107         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
19108         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
19109         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
19110         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19111         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19112         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
19113         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
19114         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19115         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19116         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
19117         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19118         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19119         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19120         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
19121         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19122         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
19123         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
19124         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
19125         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
19126         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
19127         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
19128         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
19129         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
19131 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
19133         * stdlib/setenv.c (__add_to_environ):
19134         Dump core quickly if setenv (..., NULL, ...) is called.
19135         This time, do it the right way, and pacify GCC with a pragma.
19137 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19139         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
19140         IMAP->l_prev cannot be null, and #if out the code for the contrary
19141         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
19142         believe that NS (&_dl_ns[NSID]) could point outside the array.
19144         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
19145         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
19146         before using NSID as an index.
19148 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
19150         [BZ #17825]
19151         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
19152         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
19153         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19155 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19157         Add preliminary port to Google Native Client on ARM.
19158         * abi-tags (.*-.*-nacl.*): New entry.
19159         * sysdeps/arm/nacl: New directory.
19160         * sysdeps/nacl: New directory.
19162 2015-04-16  David S. Miller  <davem@davemloft.net>
19164         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
19165         lowlevellock-futex.h
19167 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
19169         * sysdeps/tile/configure.ac: New file.
19170         * sysdeps/tile/configure: Regenerated.
19172 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19174         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
19175         conditionals for weak_alias and libc_hidden_weak.
19176         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
19177         libc_hidden_weak and weak_alias.
19178         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19179         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19180         and weak_alias for static one.
19182 2015-04-15  David S. Miller  <davem@davemloft.net>
19184         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19186 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19188         [BZ #18206]
19189         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19190           Use signed comparision instead of substraction to avoid
19191           overflow bug.
19192         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19193           Take the sign of ret.
19194         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19195           Do not expect precise return values. Only the sign matters.
19196         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19197         * wcsmbs/test-wcsncmp.c: New File.
19198         * string/test-strncmp.c: Add wcsncmp support.
19200 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19202         [BZ #6792]
19203         * math/w_log1p.c: New file.
19204         * math/w_log1pf.c: Likewise.
19205         * math/w_log1pl.c: Likewise.
19206         * math/Makefile (libm-calls): Add w_log1p.
19207         * math/s_log1pl.c (log1pl): Remove weak_alias.
19208         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19209         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19210         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19211         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19212         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19213         [NO_LONG_DOUBLE] (log1pl): Likewise.
19214         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
19215         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
19216         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
19217         (log1p): Remove long_double_symbol.
19218         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
19219         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
19220         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
19221         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
19222         remove weak_alias for corresponding log1p function.
19223         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
19224         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
19225         * sysdeps/ia64/fpu/w_log1p.c: New file.
19226         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
19227         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
19228         * math/libm-test.inc (log1p_test_data): Add errno expectations.
19230 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
19232         [BZ #18247]
19233         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
19234         decimal exponent by 1.
19235         * stdlib/tst-strtod-round-data: Add more tests.
19236         * stdlib/tst-strtod-round.c (tests): Regenerated.
19238 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
19240         * math/auto-libm-test-in: Add more tests of clog and clog10.
19241         * math/auto-libm-test-out: Regenerated.
19242         * sysdeps/i386/fpu/libm-test-ulps: Update.
19243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19245 2015-04-09  Roland McGrath  <roland@hack.frob.com>
19247         * Makeconfig (module-cppflags): Exclude all .v.i files.
19248         (skip-module-cppflags): Variable removed.
19250         * configure.ac (libc_config_ok): Initialize before reading
19251         preconfigure scripts, not after.
19252         * configure: Regenerated.
19254         * test-skeleton.c (TIMEOUT): Move #define to top level.
19255         (main): Grok environment variable TEST_DIRECT.  If set, print
19256         test expectation details into that file and then behave as if
19257         given --direct.
19259 2015-04-09  Florian Weimer  <fweimer@redhat.com>
19261         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
19262         warning on 32-bit.
19264 2015-04-08  David S. Miller  <davem@davemloft.net>
19266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19268 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19270         * math/auto-libm-test-in: Add more tests of atanh.
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         * math/auto-libm-test-in: Add more tests of atan.
19276         * math/auto-libm-test-out: Regenerated.
19277         * sysdeps/i386/fpu/libm-test-ulps: Update.
19278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19280 2015-04-08  Florian Weimer  <fweimer@redhat.com>
19282         * elf/pldd.c (main): Rewrite to use struct
19283         scratch_buffer instead of extend_alloca.
19284         * elf/pldd-xx.c (find_maps): Likewise.
19285         * grp/initgroups.c: Include <scratch_buffer.h> instead of
19286         <alloca.h>.
19287         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
19288         scratch_buffer instead of extend_alloca.
19289         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
19290         grp/compat-initgroups.c.
19291         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19292         Rewrite to use struct scratch_buffer instead of extend_alloca.
19293         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19294         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19296 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19298         * math/auto-libm-test-in: Add more tests of cbrt.
19299         * math/auto-libm-test-out: Regenerated.
19300         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19302         * math/auto-libm-test-in: Add more tests of cabs.
19303         * math/auto-libm-test-out: Regenerated.
19304         * sysdeps/i386/fpu/libm-test-ulps: Update.
19305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19307         [BZ #18210]
19308         [BZ #18211]
19309         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19310         (__ieee754_atan2): Set FE_TONEAREST mode for internal
19311         computations.
19312         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19313         clog10.
19314         * math/auto-libm-test-out: Regenerated.
19315         * sysdeps/i386/fpu/libm-test-ulps: Update.
19316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19318         [BZ #18197]
19319         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19320         (atan): Set FE_TONEAREST mode for internal computations.
19321         * math/auto-libm-test-in: Add more tests of atan.
19322         * math/auto-libm-test-out: Regenerated.
19324 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
19326         [BZ #17930]
19327         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19329 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19331         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19333 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19335         * include/scratch_buffer.h: New file.
19336         * malloc/scratch_buffer_grow.c: Likewise.
19337         * malloc/scratch_buffer_grow_preserve.c: Likewise.
19338         * malloc/scratch_buffer_set_array_size.c: Likewise.
19339         * malloc/tst-scratch_buffer.c: Likewise.
19340         * malloc/Makefile (routines): Add scratch_buffer_grow.
19341         (tests): Add test case.
19342         * malloc/Versions (GLIBC_PRIVATE): Export
19343         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19344         __libc_scratch_buffer_set_array_size.
19346 2015-04-06  Richard Henderson  <rth@redhat.com>
19348         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19349         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19351         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19352         unsigned int before printing.
19354 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19356         [BZ #17596]
19357         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19358         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19360 2015-04-02  Florian Weimer  <fweimer@redhat.com>
19362         * include/libc-internal.h (libc_max_align_t): Define.
19364 2015-04-02  Andreas Schwab  <schwab@suse.de>
19366         [BZ #16850]
19367         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19369 2015-04-02  Mel Gorman  <mgorman@suse.de>
19371         [BZ #17195]
19372         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
19373         as well as the main arena.
19375 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19377         [BZ #18185]
19378         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
19379         sharing L2 cache to 2 for Silvermont/Knights Landing.
19381 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19383         [BZ #17711]
19384         * config.make.in (have-protected-data): New.
19385         * configure.ac: Check linker support for protected data symbol.
19386         * configure: Regenerated.
19387         * elf/Makefile (modules-names): Add tst-protected1moda and
19388         tst-protected1modb if $(have-protected-data) is yes.
19389         (tests): Add tst-protected1a and tst-protected1b if
19390         $(have-protected-data) is yes.
19391         ($(objpfx)tst-protected1a): New.
19392         ($(objpfx)tst-protected1b): Likewise.
19393         (tst-protected1modb.so-no-z-defs): Likewise.
19394         * elf/tst-protected1a.c: New file.
19395         * elf/tst-protected1b.c: Likewise.
19396         * elf/tst-protected1mod.h: Likewise.
19397         * elf/tst-protected1moda.c: Likewise.
19398         * elf/tst-protected1modb.c: Likewise.
19400 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19402         [BZ #17711]
19403         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
19404         indicates it is called from do_lookup_x on relocation against
19405         protected data, skip the data definion in the executable from
19406         copy reloc.
19407         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
19408         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
19409         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
19410         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
19411         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
19412         otherwise to 0.
19413         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19414         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
19415         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
19416         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19417         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
19418         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
19420 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
19422         * sysdeps/nptl/pthread.h: Remove duplicate definition of
19423         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
19425 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
19427         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
19428         THREAD_SETMEM_NC.
19429         * sysdeps/x86_64/nptl/tls.h: Ditto.
19431 2015-03-27  Roland McGrath  <roland@hack.frob.com>
19433         * dlfcn/tststatic.c (main): Converted to ...
19434         (do_test): ... this.
19435         (TEST_FUNCTION): New macro.
19436         Include test-skeleton.c.
19438 2015-03-26  Alan Modra  <amodra@gmail.com>
19440         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
19441         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
19442         zero for undefined weak.
19443         (elf_machine_plt_conflict): Similarly.
19445 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19447         * math/auto-libm-test-in: Add more tests of acosh, asinh and
19448         atanh.
19449         * math/auto-libm-test-out: Regenerated.
19450         * sysdeps/i386/fpu/libm-test-ulps: Update.
19451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19453         * math/auto-libm-test-in: Add another test of asin.
19454         * math/auto-libm-test-out: Regenerated.
19455         * sysdeps/i386/fpu/libm-test-ulps: Update.
19456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19458         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
19459         Remove macro.
19460         (LLL_EBX_REG): Likewise.
19461         (LLL_ENTER_KERNEL): Likewise.
19463         * math/auto-libm-test-in: Add more tests of asin.
19464         * math/auto-libm-test-out: Regenerated.
19465         * sysdeps/i386/fpu/libm-test-ulps: Update.
19466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19468         [BZ #18138]
19469         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
19470         libc_do_syscall_args): New structure.
19471         (INTERNAL_SYSCALL_MAIN_0): New macro.
19472         (INTERNAL_SYSCALL_MAIN_1): Likewise.
19473         (INTERNAL_SYSCALL_MAIN_2): Likewise.
19474         (INTERNAL_SYSCALL_MAIN_3): Likewise.
19475         (INTERNAL_SYSCALL_MAIN_4): Likewise.
19476         (INTERNAL_SYSCALL_MAIN_5): Likewise.
19477         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
19478         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
19479         Replace conditional definitions by conditional definitions of ....
19480         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
19481         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
19482         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
19483         (libpthread-sysdep_routines): Add libc-do-syscall.
19484         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
19485         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
19486         to __NR_futex not 240.
19488 2015-03-25  Alan Modra  <amodra@gmail.com>
19490         * NEWS: Advertise TLS optimization.
19491         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
19492         (DT_PPC_NUM): Increment.
19493         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
19494         (CHECK_STATIC_TLS): Use here.
19495         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
19496         TLS descriptors.
19497         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19498         * sysdeps/powerpc/dl-tls.c: New file.
19499         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
19500         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
19501         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
19502         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
19503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
19504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
19505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
19507 2015-03-25  Alan Modra  <amodra@gmail.com>
19509         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
19510         for overlapping .opd entries" to "support...".
19511         * sysdeps/powerpc/powerpc64/configure: Regenerate
19513 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19515         * math/auto-libm-test-in: Add more tests of acos.
19516         * math/auto-libm-test-out: Regenerated.
19517         * sysdeps/i386/fpu/libm-test-ulps: Update.
19518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19520         * math/auto-libm-test-in: Add more tests of expm1.
19521         * math/auto-libm-test-out: Regenerated.
19522         * sysdeps/i386/fpu/libm-test-ulps: Update.
19523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19525 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
19527         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19528         * math/auto-libm-test-out: Regenerated.
19529         * sysdeps/i386/fpu/libm-test-ulps: Update.
19530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19532         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19535         * math/auto-libm-test-in: Add more tests of log2.
19536         * math/auto-libm-test-out: Regenerated.
19537         * sysdeps/i386/fpu/libm-test-ulps: Update.
19538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19540 2015-03-23  Roland McGrath  <roland@hack.frob.com>
19542         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
19543         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
19544         _IO_IS_APPENDING bit in READ_WRITE instead.
19546 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19548         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19549         (__determine_cpumask_size): Replace extend_alloca with a
19550         variable-length array.  Do not treat res == 0 as an error.
19552 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19554         [BZ #18100]
19555         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
19556         and integer overflow.
19557         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
19558         (main): Add integer overflow tests.
19559         * manual/pattern.texi (Calling Wordexp): Document additional use
19560         for WRDE_SYNTAX.
19562 2015-03-23  Alan Modra  <amodra@gmail.com>
19564         * config.h.in: Remove HAVE_ASM_PPC_REL16.
19565         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
19566         and false branch of conditional.
19567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19568         Likewise.
19570 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
19572         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
19573         libc-modules.h
19574         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
19575         unused declaration of _hurd_intr_rpc_msg_in_trap.
19576         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
19577         defined instead of whether it is non-zero.
19578         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
19579         input constraint instead of both input and output constraint.  Use ecx
19580         clobber instead of %ecx.
19581         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
19582         mutex_unlock): Use a statement expression instead of an expression list.
19583         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
19584         type to vm_size_t instead of vm_address_t.
19585         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
19586         defined instead of whether it is non-zero.
19587         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
19588         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
19589         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
19590         comparisons with mapaddr.
19591         * nscd/nscd-client.h: Include <time.h>.
19592         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
19593         9th parameter to __vm_region instead of int.
19594         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
19595         * scripts/check-local-headers.sh (exclude): Add device/,
19596         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
19597         cthreads.h.
19599 2015-03-19  Roland McGrath  <roland@hack.frob.com>
19601         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
19602         to account for alignment padding.
19603         * sysdeps/arm/memmove.S: Likewise.
19605 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
19607         * sysdeps/unix/sysv/linux/generic/README: New file.
19609 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
19611         [BZ #18138]
19612         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
19613         (futex_abstimed_wait)
19614         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
19615         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
19616         of lll_futex_timed_wait.
19618 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
19620         [BZ #17542]
19621         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
19623 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
19625         [BZ #17090]
19626         [BZ #17620]
19627         [BZ #17621]
19628         [BZ #17628]
19629         * NEWS: Update.
19630         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
19631         entries with Static TLS too.  Skip entries past the end of the
19632         allocated DTV, from Alan Modra.
19633         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
19634         Static TLS DTV entry set up from...
19635         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
19636         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
19637         * nptl/allocatestack.c (init_one_static_tls): ... and here...
19638         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
19639         for Static TLS.
19640         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
19641         that the slot we find is associated with the given map before
19642         using its generation count.
19643         * nptl_db/db_info.c: Include ldsodefs.h.
19644         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
19645         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
19646         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
19647         (link_map::l_tls_offset): New struct field.
19648         (dtv_t::counter): Likewise.
19649         (rtld_global): New struct.
19650         (_rtld_global): New rtld variable.
19651         (dl_tls_dtv_slotinfo_list): New rtld global field.
19652         (dtv_slotinfo_list): New struct.
19653         (dtv_slotinfo): Likewise.
19654         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
19655         (td_lookup): Rename to...
19656         (td_mod_lookup): ... this.  Use new mod parameter instead of
19657         LIBPTHREAD_SO.
19658         * nptl_db/td_thr_tlsbase.c: Include link.h.
19659         (dtv_slotinfo_list, dtv_slotinfo): New functions.
19660         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
19661         addresses even if the DTV is out of date or missing them.
19662         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
19663         index zero-length arrays.
19664         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
19665         (td_lookup): Make it a macro implemented in terms of...
19666         (td_mod_lookup): ... this declaration.
19667         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
19668         (DB_MAIN_VARIABLE): Likewise.
19670 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19672         [BZ #18134]
19673         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19675 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
19677         * stdlib/setenv.c (__add_to_environ): Revert previous change.
19679 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19681         [BZ #18128]
19682         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
19683         (atomic_add, atomic_increment_and_test)
19684         (atomic_decrement_and_test): Fix 64-bit arithmetic.
19686 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
19688         * stdlib/setenv.c (__add_to_environ):
19689         Dump core quickly if setenv (..., NULL, ...) is called.
19691 2015-03-13  Roland McGrath  <roland@hack.frob.com>
19693         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
19694         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
19695         all the necessary asm magic in one place.
19696         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
19697         using those.
19699 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
19701         [BZ #14906]
19702         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
19703         traced file mtime. Use consistent log message.
19704         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
19705         (register_traced_file): Call install_watches. Always set mtime.
19706         (invalidate_cache): Iterate over all trace files. Call install_watches.
19707         (inotify_check_files): Don't inline. Handle watching parent
19708         directories and configuration file movement in and out.
19709         (handle_inotify_events): New function.
19710         (main_loop_poll): Call handle_inotify_events.
19711         (main_loop_epoll): Likewise.
19712         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
19713         (struct traced_file): Use array of inotify fds. Add parent directory,
19714         and basename.
19715         (struct database_dyn): Remove unused file_mtime.
19716         (init_traced_file): New inline function.
19717         (define_traced_file): New macro.
19718         * nss/nss_db/db-init.c: Use define_traced_file.
19719         (_nss_db_init): Use init_traced_file.
19720         * nss/nss_files/files-init.c: Use define_traced_file.
19721         (_nss_files_init): Use init_traced_file.
19723 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
19725         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
19726         [_LIBC]: Do not include <stdlib.h>.
19727         [!_LIBC] (abort): Remove declaration.
19728         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
19729         _FP_STATIC_ASSERT instead of conditionally calling abort.
19730         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
19731         (_FP_EXTEND_CNAN): Likewise.
19732         (FP_TRUNC): Likewise.
19733         (__FP_CLZ): Likewise.
19734         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
19736 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
19738         * manual/string.texi (XPG basename): Fix prototype.
19740 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19742         [BZ #18080]
19743         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
19744         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19745         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
19746         (__setcontext): Likewise.
19747         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
19748         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19749         Call rt_sigprocmask syscall one time to set new signal mask
19750         and retrieve the current signal mask instead of two calls.
19751         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
19752         (__swapcontext): Likewise.
19753         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
19754         * stdlib/tst-setcontext2.c: New file.
19756 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19758         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19760 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
19762         [BZ #18093]
19763         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
19764         the wrong size.
19766 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19768         [BZ #18043]
19769         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
19771 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19773         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
19774         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
19775         Remove define.
19776         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
19777         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
19778         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
19779         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
19780         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
19781         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
19782         define.
19783         * nptl_db/td_symbol_list.c (td_lookup): Remove
19784         HAVE_ASM_GLOBAL_DOT_NAME code.
19785         * sysdeps/powerpc/powerpc64/configure.ac: Remove
19786         HAVE_ASM_GLOBAL_DOT_NAME check.
19787         * sysdeps/powerpc/powerpc64/configure: Regenerate.
19788         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
19789         (DOT_LABEL): Remove define.
19790         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
19791         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
19792         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
19793         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
19794         (__TLS_GET_ADDR): Likewise.
19795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
19796         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
19798 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
19800         [BZ #18111]
19801         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
19802         (_FPU_SETCW): Initialize cw from fpsr before storing.
19803         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
19804         (fesetexceptflag): Rewrite using fpu_control.h.
19805         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
19807 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
19809         [BZ #18110]
19810         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
19811         asms.
19812         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19814 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
19816         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
19817         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
19818         abort.
19819         (_FP_FMA): Likewise.
19820         (_FP_DIV): Likewise.
19822 2015-03-10  Roland McGrath  <roland@hack.frob.com>
19824         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
19825         with 0 in that case.
19826         * Makefile (summarize-tests): New canned sequence, factored out of
19827         commands for targets tests and xtests.  Display summary lines that
19828         don't start with PASS: or XFAIL: rather than ones that do start with
19829         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
19830         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
19831         do start with ERROR: or FAIL:.
19832         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
19833         (except for [$(build-shared) = yes]).
19834         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
19835         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
19836         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
19837         * nptl/Makefile: Revert 2015-03-04 changes.
19838         [$(CXX) empty] (tests-unsupported): New variable.
19839         * debug/Makefile: Likewise.
19841         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
19842         gnulib file.  Replace __attribute with __attribute__ throughout.
19844 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
19846         * sysdeps/hppa/fpu/libm-test-ulps: Update.
19848 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19850         [BZ #18104]
19851         * math/auto-libm-test-in: Add another test of pow.
19852         * math/auto-libm-test-out: Regenerated.
19854 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19856         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
19857         $(config-cflags-nofma).
19859 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19861         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
19862         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
19863         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
19864         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
19865         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
19866         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
19867         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
19868         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
19869         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
19870         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
19871         Add comment on closing #endif.
19873 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19875         * posix/wordexp.c (CHAR_IN_SET): New macro.
19876         (parse_param): Use it.
19878 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19880         * sysdeps/powerpc/fpu/libm-test-ulps: update.
19882 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19884         [BZ #18043]
19885         * posix/wordexp.c (parse_param): Fix buffer overflow.
19886         * posix/wordexp-test.c (test_case): Add test case.
19888 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19890         [BZ #18042]
19891         * posix/wordexp.c (parse_backtick): Fix off-by-one.
19892         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
19894 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19896         [BZ #18043]
19897         * posix/wordexp-test.c (test_case): Add test for BZ #18043
19898         (do_bz18043): Delete.
19899         (at_page_end): New.
19900         (testit): Refactor to have words at the edge of unreadable page.
19902 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19904         [BZ #16734]
19905         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
19906         Cleanup read-only streams as well.
19907         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
19909 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19911         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
19912         <bits/libc-lockP.h>
19914 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
19916         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
19917         on [__KERNEL__].
19918         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
19919         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
19920         * soft-fp/op-common.h (_FP_DECL): Likewise.
19922 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19924         * elf/ifuncdep2.c (global): Replace
19925         __attribute__((visibility("protected"))) with
19926         asm (".protected global").
19927         * elf/ifuncmod1.c (global): Likewise.
19928         * elf/ifuncmod5.c (global): Likewise.
19930 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
19932         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
19933         <asm/sfp-machine.h> instead of <sfp-machine.h>.
19935 2015-03-06  Roland McGrath  <roland@hack.frob.com>
19937         * manual/install.texi (Configuring and compiling):
19938         Document test-wrapper-env-only.
19939         * INSTALL: Regenerated.
19941 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19943         [BZ #18043]
19944         * posix/wordexp.c (parse_param): Fix buffer overflow.
19945         * posix/wordexp-test.c (do_bz18043): Add test case.
19947 2015-03-06  Vincent Bernat  <vincent@bernat.im>
19949         * time/tst-strptime2.c (do_test): Ensure failing tests are
19950         reported correctly.
19951         * time/tst-strptime3.c (do_test): Likewise.
19953 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
19955         Fix aio_error thread-safety.
19956         * sysdeps/pthread/aio_error.c: New file
19957         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
19958         synchronization.
19960 2015-03-06  Florian Weimer  <fweimer@redhat.com>
19962         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
19963         (group_number, vfprintf): Use it.
19964         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
19965         (JUMP, REF): Use it.
19966         (WORK_BUFFER_SIZE): New enum constant.
19967         (process_arg, vfprintf): Use it.
19969 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
19971         * manual/errno.texi (Error Messages): Complete example function
19972         by adding missing #define.
19973         (program_invocation_name): Add statement indicating GNU
19974         extension and reference which header file declares the variable.
19975         (program_invocation_short_name): Likewise.
19977 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
19979         * manual/errno.texi (Error Messages): Delete strerror ISO C89
19980         compatibility note.
19982 2015-03-05  Roland McGrath  <roland@hack.frob.com>
19984         * Makeconfig (test-wrapper-env-only): New variable.
19985         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
19986         then use that with $(test-wrapper-env-only) rather than using
19987         $(test-wrapper-env) $(run-program-env) $($*-ENV).
19989 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19991         [BZ #18082]
19992         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
19993         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
19994         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
19995         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
19996         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
19997         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
19998         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
19999         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
20000         Likewise.
20001         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
20002         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
20003         Likewise.
20004         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
20005         Likewise.
20006         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
20007         Likewise.
20008         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
20009         Likewise.
20010         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
20011         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
20012         Likewise.
20013         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
20014         Likewise.
20015         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
20016         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
20018 2015-03-04  Roland McGrath  <roland@hack.frob.com>
20020         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
20021         (ETH_ALEN): New macro.
20022         (struct ether_addr): Use it for length of ether_addr_octet.
20024         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
20025         (setdb): Don't call __nss_configure_lookup for "rpc".
20026         (do_test): Don't call test_rpc.
20027         (output_rpcent, test_rpc): Functions moved ...
20028         * sunrpc/test-rpcent.c: ... to this new file.
20029         * sunrpc/Makefile (tests): Add it.
20031         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
20032         __xpg_sigpause.
20033         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
20034         * nptl/tst-signal6.c: Likewise.
20035         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
20036         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
20038         * configure.ac (libc_cv_cxx_link_ok): New check.
20039         Reset CXX to empty if it fails to link.
20040         * configure: Regenerated.
20041         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
20042         bug-atexit3-lib only if $(CXX) is nonempty.
20043         * nptl/Makefile (tests): Likewise for tst-cancel24.
20044         (tests, tests-static): Likewise for tst-cancel24-static.
20045         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
20046         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
20047         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
20048         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
20050 2015-03-04  Andreas Schwab  <schwab@suse.de>
20052         [BZ #17631]
20053         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
20054         for non-GCC compilers.
20055         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20056         Likewise.
20058 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20060         [BZ #17776]
20061         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
20062         integer before bitwise and assembly operations.
20063         (feclearexcept): Likewise.
20064         * math/test-fenvinline.c: New file.
20065         * math/Makefile: Add test-fenvinline test.
20067 2015-03-03  Alan Modra  <amodra@gmail.com>
20069         [BZ #16512]
20070         * scripts/localplt.awk: Strip off symbol version.
20071         * NEWS: Mention bug fix.
20073 2015-03-02  Roland McGrath  <roland@hack.frob.com>
20075         * sysdeps/pthread/timer_routines.c
20076         (timer_free_list, thread_free_list, thread_active_list): Make static.
20078 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
20080         [BZ #17779]
20081         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20082         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20083         Undefine.
20084         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20085         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20086         Likewise.
20087         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20088         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20089         Likewise.
20091 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20093         [BZ #18036]
20094         * posix/fnmatch_loop.c (END): Detect invalid pattern.
20095         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
20097 2015-03-02  Andreas Schwab  <schwab@suse.de>
20099         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
20100         variable name.
20102 2015-03-02  Florian Weimer  <fweimer@redhat.com>
20104         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
20105         Return error status.
20107 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
20109         [BZ #15969]
20110         * locale/findlocale.c (_nl_find_locale): Introduce const
20111         version of loc_name and drop unsafe type casts.
20113 2015-02-27  Roland McGrath  <roland@hack.frob.com>
20115         * dlfcn/tststatic2.c (main): Converted to ...
20116         (do_test): ... this.
20117         (TEST_FUNCTION): New macro.
20118         Include test-skeleton.c.
20120 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
20122         [BZ #17711]
20123         * elf/Makefile (tests): Add vismain only if PIE is enabled.
20124         (tests-pie): Add vismain.
20125         (CFLAGS-vismain.c): New.
20126         * elf/vismain.c: Add comments for PIE requirement.
20128 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20130         [BZ #18046]
20131         [BZ #18047]
20132         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
20133         0x1p-56L as threshold for just returning the argument.
20134         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
20135         0x1p-32L as threshold for just returning the argument.
20136         * math/auto-libm-test-in: Add more tests of atanh.
20137         * math/auto-libm-test-out: Regenerated.
20138         * sysdeps/i386/fpu/libm-test-ulps: Update.
20139         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
20141 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20143         * string/bcopy.c (bcopy): Call memmove for performance.
20145 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20147         * string/bzero.c (__bzero): Call memset for performance.
20149 2015-02-27  John David Anglin  <dave.anglin@bell.net>
20151         [BZ #18068]
20152         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
20153         to 00100000.
20155 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20157         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
20159 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20161         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
20162         (__kernel_standard): Use CSTR macro when setting exc.name.
20163         * sysdeps/ieee754/Makefile [$(subdir) = math]
20164         (CFLAGS-k_standard.c): Remove variable.
20166         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
20167         setting p and q from "else if" to "else".
20168         (qzero): Likewise.
20169         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
20170         (qone): Likewise.
20171         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
20172         (qzerof): Likewise.
20173         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
20174         (qonef): Likewise.
20175         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
20176         (qzero): Likewise.
20177         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20178         (qone): Likewise.
20180         [BZ #18038]
20181         [BZ #18039]
20182         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20183         return pi/2 for arguments below 0x1p-113L.
20184         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20185         return pi/2 for arguments below 0x1p-106L.
20186         * math/auto-libm-test-in: Add more tests of acos.
20187         * math/auto-libm-test-out: Regenerated.
20189         [BZ #16351]
20190         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20191         (MO): New macro.
20192         (__ieee754_asin): Force underflow exception for results with small
20193         absolute value.
20194         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20195         (MO): New macro.
20196         (__ieee754_asinf): Force underflow exception for results with
20197         small absolute value.
20198         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20199         (__ieee754_asin): Force underflow exception for results with small
20200         absolute value.
20201         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20202         (__ieee754_asinf): Force underflow exception for results with
20203         small absolute value.
20204         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20205         (__ieee754_asinl): Force underflow exception for results with
20206         small absolute value.
20207         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20208         (__ieee754_asinl): Force underflow exception for results with
20209         small absolute value.
20210         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20211         (__ieee754_asinl): Force underflow exception for results with
20212         small absolute value.
20213         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20214         Include <math.h>.
20215         * math/auto-libm-test-in: Do not mark underflow exceptions as
20216         possibly missing for bug 16351.
20217         * math/auto-libm-test-out: Regenerated.
20219         [BZ #18030]
20220         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
20221         of power of 2 down when low part has opposite sign.
20222         * math/libm-test.inc (logb_test_data): Add more tests.
20224 2015-02-26  Andreas Schwab  <schwab@suse.de>
20226         [BZ #18032]
20227         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
20228         over collating symbol inside a bracket expression.  Minor cleanup.
20229         * posix/tst-fnmatch3.c (do_test): Add test case.
20231 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20233         [BZ #18029]
20234         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
20235         Adjust exponent of power of 2 down when low part has opposite
20236         sign.
20237         * math/libm-test.inc (ilogb_test_data): Add more tests.
20239 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
20241         [BZ #15969]
20242         * locale/findlocale.c (_nl_find_locale): Fix constness error in
20243         the previous change.
20245         [BZ #15969]
20246         * locale/findlocale.c (_nl_find_locale): Retry archive search
20247         after alias expansion.
20249 2015-02-25  Roland McGrath  <roland@hack.frob.com>
20251         * iconv/tst-iconv3.c (main): Converted to ...
20252         (do_test): ... this.
20253         (TEST_FUNCTION): New macro.
20254         Include test-skeleton.c.
20256         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
20257         (convert): Make function static.
20258         (test_unalign): Likewise.  Add const to argument pointee types.
20259         (main): Replace with static function do_test.
20260         Print "Succeeded." only if RET is zero.
20261         (TEST_FUNCTION): New macro.
20262         Include test-skeleton.c.
20264         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
20265         returns a null pointer.
20267 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20269         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
20270         to __memcpy_ppc only for static builds.
20272 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
20274         [BZ #18020]
20275         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
20276         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
20277         * math/auto-libm-test-in: Add more tests of asinh.
20278         * math/auto-libm-test-out: Regenerated.
20279         * sysdeps/i386/fpu/libm-test-ulps: Update.
20280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20282 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
20284         [BZ #15850]
20285         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
20286         and ip6_mtuinfo definitions here.
20287         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
20288         in this define too.  Update comment.
20290 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
20292         * elf/sprof.c (load_shobj): Tweak error message to match others.
20294 2015-02-24  Kevin Easton  <kevin@guarana.org>
20296         [BZ #16145] (partial fix)
20297         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20298         to reduce lock contention.
20300 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
20302         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20303         (struct timex): Update time comment.
20304         (ADJ_SETOFFSET): Define.
20306 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20308         [BZ #18019]
20309         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20310         2**56 not 2**28 as threshold for log (2x) formula.
20311         * math/auto-libm-test-in: Add more tests of acosh.
20312         * math/auto-libm-test-out: Regenerated.
20313         * sysdeps/i386/fpu/libm-test-ulps: Update.
20314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20316 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20318         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20319         parenthesis around the buf assignment.
20320         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20322 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20324         [BZ #16783]
20325         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20326         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20327         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20328         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20329         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20330         * math/libm-test.inc (scalb_test_data): Add more tests.
20332 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20334         [BZ #17916]
20335         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20336         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20338 2015-02-24  Eric Rannaud  <e@nanocritical.com>
20340         [BZ #17523]
20341         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20342         * io/bits/fcntl2.h (open): Use it.
20343         (openat): Likewise.
20344         * io/open.c (__libc_open): Likewise.
20345         * io/open64.c (__libc_open64): Likewise.
20346         * io/open64_2.c (__open64_2): Likewise.
20347         * io/open_2.c (__open_2): Likewise.
20348         * io/openat.c (__openat): Likewise.
20349         * io/openat64.c (__openat64): Likewise.
20350         * io/openat64_2.c (__openat64_2): Likewise.
20351         * io/openat_2.c (__openat_2): Likewise.
20352         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20353         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20354         * sysdeps/posix/open64.c (__libc_open64): Likewise.
20355         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20356         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20357         (__open_nocancel): Likewise.
20358         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20359         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20360         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20362 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20364         [BZ #14841]
20365         * resolv/gethnamaddr.c (getanswer): Skip logging if
20366         RES_USE_DNSSEC is set.
20367         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20369 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20371         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
20373 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
20375         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20376         201304L, for Unicode 7.
20378 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
20380         [BZ #17836]
20381         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
20382         shared library.  Add gmon-start.os otherwise.
20383         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
20384         $(objpfx)gmon-start.os if builing shared library.
20385         ($(objpfx)g$(static-start-installed-name)): Likewise.
20387 2015-02-23  Andreas Schwab  <schwab@suse.de>
20389         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
20391 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20393         [BZ #17269]
20394         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
20395         (enlarge_userbuf): Likewise.
20397 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
20399         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
20400         * math/atest-exp.c (TIMEOUT): Adjust to 200.
20401         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
20402         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
20404 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
20406         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
20407         expression inside statement expression.
20409 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20411         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
20412         <sysdeps/nptl/lowlevellock.h> and remove macros and
20413         functions that are now defined there.
20414         (SYS_futex): Remove.
20415         (lll_compare_and_swap): Remove.
20416         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
20418 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
20420         [BZ #17999]
20421         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
20422         instead of scandirat.
20423         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
20424         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
20425         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
20426         __scandirat.
20427         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
20428         (__scandirat): Declare.  Use libc_hidden_proto.
20429         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
20430         Remove variable.
20431         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20433 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20435         [BZ #15319]
20436         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
20437         (MO): New macro.
20438         (__ieee754_atan2): For results with small absolute value, force
20439         underflow exception and remove excess range and precision from
20440         return value.
20441         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
20442         (MO): New macro.
20443         (__ieee754_atan2f): For results with small absolute value, force
20444         underflow exception and remove excess range and precision from
20445         return value.
20446         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
20447         (MO): New macro.
20448         (__atan): For results with small absolute value, force underflow
20449         exception and remove excess range and precision from return value.
20450         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
20451         (MO): New macro.
20452         (__atanf): For results with small absolute value, force underflow
20453         exception and remove excess range and precision from return value.
20454         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
20455         <math.h>.
20456         (__ieee754_atan2): Force underflow exception for results with
20457         small absolute value.
20458         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
20459         <math_private.h>.
20460         (atan): Force underflow exception for results with small absolute
20461         value.
20462         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
20463         (__atanf): Force underflow exception for results with small
20464         absolute value.
20465         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
20466         <math.h>.
20467         (__atanl): Force underflow exception for results with small
20468         absolute value.
20469         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
20470         (__atanl): Force underflow exception for results with small
20471         absolute value.
20472         * sysdeps/x86/fpu/bits/mathinline.h
20473         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
20474         (__ieee754_atan2): Only define inline for long double.
20475         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20476         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
20477         * math/auto-libm-test-in: Do not mark underflow exceptions as
20478         possibly missing for bug 15319.  Add more tests of atan2.
20479         * math/auto-libm-test-out: Regenerated.
20480         * math/libm-test.inc (casin_test_data): Do not mark underflow
20481         exceptions as possibly missing for bug 15319.
20482         (casinh_test_data): Likewise.
20483         * sysdeps/i386/fpu/libm-test-ulps: Update.
20485 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
20487         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
20488         * sysdeps/mips/bits/endian.h: Fix comments.
20490 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20492         [BZ #17996]
20493         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
20494         (hdestroy_r): Likewise.
20495         (hsearch_r): Likewise.
20496         (__hcreate_r): Declare and use libc_hidden_proto.
20497         (__hdestroy_r): Likewise.
20498         (__hsearch_r): Likewise.
20499         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
20500         (hcreate): Call __hcreate_r instead of hcreate_r.
20501         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
20502         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
20503         as weak alias of __hcreate_r.
20504         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
20505         __hdestroy_r.
20506         (hsearch_r): Rename to __hsearch_r and define as weak alias of
20507         __hsearch_r.
20508         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
20509         Remove variable.
20510         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20511         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20512         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20513         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20515 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20517         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
20518         arena_lock into a single arena_get.
20520 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
20522         * dl-reloc.c: Inlucde libc-internal.h.
20523         (_dl_try_allocate_static_tls): Call ALIGN_UP.
20524         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
20525         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
20526         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
20527         (grow_heap): Likewise.
20528         * malloc/malloc.c: Include libc-internal.h.
20529         (do_check_malloc): Call powerof2.
20530         (sysmalloc): Use pagesize. Call ALIGN_UP.
20531         (systrim): Use pagesize.
20532         (mremap_chunk): Use pagesize. Call ALIGN_UP.
20533         (__libc_valloc): Use pagesize.
20534         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
20536 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20538         [BZ #17991]
20539         * include/sys/resource.h (__getrlimit64): Declare.  Use
20540         libc_hidden_proto.
20541         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
20542         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
20543         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
20544         getrlimit64.
20545         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
20546         __getrlimit64.
20547         [!getrlimit64] (getrlimit64): Define as weak alias of
20548         __getrlimit64.  Use libc_hidden_weak.
20549         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
20550         using __getrlimit64 not __new_getrlimit64.
20551         (__GI_getrlimit64): Likewise.
20552         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
20553         Likewise.
20554         (__GI_getrlimit64): Likewise.
20555         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
20556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
20557         (getrlimit): Add __getrlimit64 alias.
20558         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
20559         Likewise.
20560         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
20561         Remove variable.
20562         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20563         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20565 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
20567         * libio/fileops.c: Add missing sys/mman.h
20568         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
20570 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20572         * manual/math.texi (Errors in Math Functions): Clarify goals
20573         regarding inexact and underflow exceptions.
20575 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20577         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
20578         * sysdeps/mips/memset.S: Ditto.
20580 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20582         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
20584 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20586         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
20587         (__v1longjmp): Remove versioned symbol.
20588         (__v1siglongjmp): Remove alias and versioned symbol.
20589         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
20590         (__v2siglongjmp): Likewise.
20592 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20594         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
20596 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
20598         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
20600 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20602         [BZ #17987]
20603         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
20604         zero result does not depend on the sign resulting from
20605         subtraction.
20606         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20607         Likewise.
20608         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20609         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20610         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20611         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20612         * math/libm-test.inc (remquo_test_data): Add more tests.
20614 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
20616         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
20617         Problem reported by J William Piggott.
20619 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20621         [BZ #17978]
20622         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
20623         products 4 * y and 2 * y where those would overflow.
20624         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20625         Likewise.
20626         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20627         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20628         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20629         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20630         * math/libm-test.inc (remquo_test_data): Add more tests.
20632         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
20634         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
20635         [defined _COMPILING_NEWLIB].
20636         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
20637         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
20639         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
20640         [!defined __mips_isa_rev || __mips_isa_rev < 6].
20642 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20644         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
20645         acquired.
20647 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
20649         [BZ #17792]
20650         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
20651         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
20652         HOST_STACK_END_ADDR): Likewise.
20654 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
20656         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
20657         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
20658         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
20660 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20662         * sysdeps/generic/c++-types.data: New file.
20663         * sysdeps/generic/ld.abilist: New file.
20664         * sysdeps/generic/libBrokenLocale.abilist: New file.
20665         * sysdeps/generic/libanl.abilist: New file.
20666         * sysdeps/generic/libc.abilist: New file.
20667         * sysdeps/generic/libcrypt.abilist: New file.
20668         * sysdeps/generic/libdl.abilist: New file.
20669         * sysdeps/generic/libm.abilist: New file.
20670         * sysdeps/generic/libpthread.abilist: New file.
20671         * sysdeps/generic/libresolv.abilist: New file.
20672         * sysdeps/generic/librt.abilist: New file.
20674 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20676         [BZ #17569]
20677         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20678         Compute absolute value of x as modified by fmod, not original
20679         value of x.
20680         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
20681         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
20682         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
20683         RUN_TEST_ffI_f1_mod8.
20684         (remquo_test_data): Add more tests.
20686 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20688         * sysdeps/init_array/pt-crti.S: New file.
20690 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20692         [BZ #17967]
20693         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
20694         __builtin_fmaf instead of relying on contraction of a * b + c.
20696 2015-02-12  J William Piggott  <elseifthen@gmx.com>
20698         [BZ #17969]
20699         * manual/time.texi: correct the zoneinfo path in the TZ Variable
20700         node.
20702 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20704         [BZ #17964]
20705         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
20706         __builtin_fma instead of relying on contraction of a * b + c.
20708 2015-02-12  Roland McGrath  <roland@hack.frob.com>
20710         * Makeconfig (ASFLAGS): Add -Werror=undef.
20711         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
20712         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
20713         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
20715         * Makeconfig (after-link): New variable.
20716         (+link-pie, +link-pie-tests): Use it.
20717         (+link-static, +link-static-tests): Likewise.
20718         (+link, +link-tests): Likewise.
20719         * Makerules (build-module, build-module-asneeded): Likewise.
20720         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
20721         Likewise.
20722         * elf/Makefile ($(objpfx)ld.so): Likewise.
20724 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
20726         [BZ #17965]
20727         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
20728         both struct timeval and struct timespec.
20730 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20732         [BZ #16560]
20733         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20734         and redefine.
20735         (__ieee754_exp2l): Do not multiply small fractional parts by
20736         M_LN2l.
20737         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
20738         small argument.
20739         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20740         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20741         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
20742         * math/auto-libm-test-in: Add more tests of exp2.
20743         * math/auto-libm-test-out: Regenerated.
20745 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20747         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
20748         unaligned path.
20750 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20752         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
20753         little endian.
20755 2015-02-12  Andreas Schwab  <schwab@suse.de>
20757         [BZ #15790]
20758         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20759         Filter out elision flags from value returned in kind.
20760         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
20761         * nptl/tst-pthread-mutexattr.c: New file.
20763 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20765         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
20766         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
20767         into gnu-gnu, and update comment to refer to abi-tags.
20769 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
20771         [BZ #15467]
20772         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
20773         (__sincos): Set errno to EDOM for infinite argument.
20774         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
20775         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
20776         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
20777         (__sincosl): Set errno to EDOM for infinite argument.
20778         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
20779         (__sincosl): Set errno to EDOM for infinite argument.
20780         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
20781         (__sincosl): Set errno to EDOM for infinite argument.
20782         * math/libm-test.inc (sincos_test_data): Test errno setting.
20784 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
20786         * string/strxfrm_l.c: Remove #define STRCMP.
20787         * string/strcoll_l.c: Remove #define STRLEN.
20788         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
20789         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
20791 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
20793         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
20794         * sysdeps/mips/mips32/sfp-machine.h: ... here.
20795         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
20796         * sysdeps/mips/mips64/Makefile: ... here.
20797         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
20798         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
20799         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
20800         * sysdeps/mips/mips64/sfp-machine.h: ... here.
20801         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
20802         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
20803         * sysdeps/mips/mips64/n64/Implies: Likewise.
20805 2015-02-10  Roland McGrath  <roland@hack.frob.com>
20807         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
20808         <sys/time.h>, <string.h>, and <errno.h>.
20809         (dest_offset, dest_address, value, zero): Remove unused variables.
20810         (ldouble): Remove typedef.
20811         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
20812         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
20813         1).  Fix code style.
20814         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
20815         (check): Function removed.
20816         (CHECK): New macro.
20817         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
20818         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
20819         Don't call set_sigaction_FP and remove_sigaction_FP here.
20820         (ldouble_test): Just use 'long double' as macro argument, no need for
20821         the 'ldouble' typedef.
20822         (do_test): Set up SIGFPE handler at start, using plain signal rather
20823         than sigaction.  Fix code style.
20825 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
20827         [BZ #17949]
20828         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
20829         jump label.
20831 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20833         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
20834         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20836         * sysdeps/powerpc/configure.ac: Remove file.
20837         * sysdeps/powerpc/configure: Likewise.
20839         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20840         [sysdep_routines]: Remove wordcopy-power6 object.
20841         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20842         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
20843         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
20844         (__memmove_ppc32): Likewise.
20845         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
20846         file.
20847         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
20848         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
20849         Remove preprocessor.
20851         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20852         [sysdep_routines]: Remove wide chars objects.
20853         [wcsmbs]: New rule for wide char objects.
20855         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20856         Remove wordcopy-power6 obejct.
20857         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
20858         Use local call for wordcopy and memcpy symbols.
20859         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
20860         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
20861         implementation for loader.
20862         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
20864         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20865         Remove wordcopy-power7 object.
20866         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
20867         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
20868         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
20869         (_wordcopy_fwd_dest_aligned): Likewise.
20870         (_wordcopy_bwd_aligned): Likewise.
20871         (_wordcopy_bwd_dest_aligned): Likewise.
20873         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
20874         Rewrite to call __memmove_ppc instead of include default
20875         implementation.
20877         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20878         Remove wide chars objects.
20879         [wcsmbs]: New rule for wide char objects.
20881 2015-02-09  Andreas Schwab  <schwab@suse.de>
20883         [BZ #17912]
20884         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20885         in terms of __O_DIRECTORY.
20887 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20889         * time/getdate.c: Include <stdbool.h>.
20890         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
20891         call PTR_MANGLE.
20892         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
20893         PTR_DEMANGLE.
20895 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
20897         Add ersatz _Static_assert on older C hosts
20898         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
20899         pre-C11 C platform that is not known to support _Static_assert.
20901 2015-02-07  Richard Braun  <rbraun@sceen.net>
20903         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
20904         sigstate.
20905         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
20907 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20909         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
20910         priority against unexistent AIO_PRIO_DELTA_MAX.
20911         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
20912         instead of int.
20913         * misc/fchflags.c (fchflags): Likewise.
20914         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
20915         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
20916         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
20917         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
20918         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
20919         Declare macros.
20920         [__USE_MISC] (chflags, fchflags): Declare functions.
20921         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
20922         EINVAL when nfds is greater than FD_SETSIZE.
20923         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
20924         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
20925         45.
20926         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
20927         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
20928         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
20929         MACH_RCV_TIMED_OUT.
20930         * hurd/hurd/signal.h (_hurd_self_sigstate,
20931         _hurd_critical_section_lock, _hurd_critical_section_unlock):
20932         Explicit casts from void *.
20933         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
20934         * abi-tags: Rename gnu-gnu os into gnu.
20936         [BZ #4719]
20937         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
20938         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
20939         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
20940         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
20941         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
20942         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
20944         [BZ #17944]
20945         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
20946         duplicates ADDR->sun_path with sockaddr LEN limitation.
20947         * sysdeps/mach/hurd/connect.c: Include <string.h>
20948         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
20949         * sysdeps/mach/hurd/sendmsg.c: Likewise.
20950         * sysdeps/mach/hurd/sendto.c: Likewise.
20951         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
20952         implementing it by hand.
20954 2015-02-06  Roland McGrath  <roland@hack.frob.com>
20956         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
20957         Use sfi_breg on ldr.
20958         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
20959         Likewise.
20961         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
20962         it's defined.
20963         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
20964         Test SIGSETXID only if it's defined.
20966         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
20968         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
20969         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
20971         * nptl/tst-align2.c: Moved ...
20972         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
20973         * nptl/Makefile (tests): Remove tst-align2.
20974         * sysdeps/unix/sysv/linux/Makefile
20975         [$(subdir) = nptl] (tests): Add tst-align-clone.
20976         * nptl/tst-getpid1.c: Moved ...
20977         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
20978         * nptl/tst-getpid2.c: Moved ...
20979         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
20980         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
20981         * sysdeps/unix/sysv/linux/Makefile
20982         [$(subdir) = nptl] (tests): ... here.
20983         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
20984         * sysdeps/unix/sysv/linux/Makefile
20985         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
20987         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
20988         Drop trailing \n from perror argument.  Use return rather than exit.
20990         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
20991         on [SA_SIGINFO].
20992         * nptl/tst-cancel21.c (do_test): Likewise.
20993         * debug/tst-backtrace6.c: Include <signal.h> first thing.
20994         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
20995         [!SA_SIGINFO]: Make it a stub test.
20997         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
20998         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
21000         * posix/tst-getlogin.c: Move to ...
21001         * login/tst-getlogin.c: ... here.
21002         * posix/Makefile (tests): Move tst-getlogin to ...
21003         * login/Makefile (tests): ... here.
21005         * libio/tst-atime.c (do_test): Move local variables SV and E
21006         inside [ST_NOATIME] conditional.
21008         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
21010         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
21012         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
21013         (wait_code): New function replaces macro.
21014         Call nanosleep rather than syscall.
21016         * nptl/pt-system.c: Rewritten.  Put everything under
21017         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21018         Use IFUNC to redirect when possible.
21020         * nptl/pt-longjmp.c: Rewritten.  Put everything under
21021         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21022         Use IFUNC to redirect when possible.
21024         * nptl/pt-fork.c: Rewritten.  Put everything under
21025         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21026         Use IFUNC to redirect when possible.
21027         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
21029         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
21030         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
21031         unconditionally nowadays.  This included the only reference to
21032         __vdso_clock_gettime that appears outside libc proper.
21033         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
21034         Remove version set (containing only __vdso_clock_gettime).
21035         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21036         Add attribute_hidden.
21037         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21038         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
21039         libc_hidden_data_def.
21040         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21041         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21043         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
21044         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
21045         setrpcent, and getrpcport to ...
21046         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
21047         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
21048         getrpcbynumber_r, and getrpcent_r to ...
21049         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
21050         * inet/getrpcbyname.c: Moved ...
21051         * sunrpc/getrpcbyname.c: ... here.
21052         * inet/getrpcbyname_r.c: Moved ...
21053         * sunrpc/getrpcbyname_r.c: ... here.
21054         * inet/getrpcbynumber.c: Moved ...
21055         * sunrpc/getrpcbynumber.c: ... here.
21056         * inet/getrpcbynumber_r.c: Moved ...
21057         * sunrpc/getrpcbynumber_r.c: ... here.
21058         * inet/getrpcent.c: Moved ...
21059         * sunrpc/getrpcent.c: ... here.
21060         * inet/getrpcent_r.c: Moved ...
21061         * sunrpc/getrpcent_r.c: ... here.
21062         * inet/Makefile (routines): Move those to ...
21063         * sunrpc/Makefile (routines): ... here.
21064         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
21065         the $(subdirs) list.
21066         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
21067         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
21068         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
21069         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
21071         * elf/Makefile (routines): Include $(all-dl-routines), not just
21072         $(dl-routines).
21073         (rtld-routines): Likewise.  Use = rather than :=.
21074         * sysdeps/aarch64/Makefile [$(subdir) = elf]
21075         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
21076         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
21077         * sysdeps/arm/Makefile: Likewise.
21078         * sysdeps/i386/Makefile: Likewise.
21079         * sysdeps/x86_64/Makefile: Likewise.
21080         * sysdeps/hppa/Makefile [$(subdir) = elf]
21081         (sysdep_routines, sysdep-rtld-routines): Don't add
21082         $(sysdep-dl-routines) to these.
21083         * sysdeps/ia64/Makefile: Likewise.
21084         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
21085         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
21086         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
21087         Don't add dl-static to these; sysdep-dl-routines alone is enough.
21088         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
21089         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
21090         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
21091         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
21092         * sysdeps/powerpc/Makefile [$(subdir) = elf]
21093         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
21094         these; sysdep-dl-routines alone is enough.
21096 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
21098         [BZ #17932]
21099         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
21100         where multiplication results in zero and third argument is finite
21101         and nonzero.
21102         * math/auto-libm-test-in: Add more tests of fma.
21103         * math/auto-libm-test-out: Regenerated.
21105         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
21106         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
21107         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
21108         (_FP_CMP_EQ): Likewise.
21109         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
21111         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
21112         extra argument CHECK_NAN.  Redefine as wrapper around
21113         _FP_EXTEND_CNAN.
21115 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
21117         * version.h (RELEASE): Set to "stable".
21118         (VERSION): Set to "2.21"
21119         * include/features.h (__GLIBC_MINOR__): Set to 21.
21121         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
21123 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21124             Paul Eggert  <eggert@cs.ucla.edu>
21126         [BZ #16618]
21127         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
21128         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21129         size in bytes. Store needed elements in wpmax. Use needed size
21130         in bytes for extend_alloca.
21132 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
21134         * manual/install.texi: Latest tested versions are GCC 4.9.2,
21135         binutls 2.25, and texinfo 5.2.
21136         * INSTALL: Regenerate.
21137         * sysdeps/nios2/configure: Regenerate.
21138         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
21139         * manual/contrib.texi: Update.
21140         * po/be.po: Update.
21141         * po/bg.po: Update.
21142         * po/ca.po: Update.
21143         * po/cs.po: Update.
21144         * po/da.po: Update.
21145         * po/de.po: Update.
21146         * po/el.po: Update.
21147         * po/eo.po: Update.
21148         * po/es.po: Update.
21149         * po/fi.po: Update.
21150         * po/fr.po: Update.
21151         * po/gl.po: Update.
21152         * po/hr.po: Update.
21153         * po/hu.po: Update.
21154         * po/ia.po: Update.
21155         * po/id.po: Update.
21156         * po/it.po: Update.
21157         * po/ja.po: Update.
21158         * po/ko.po: Update.
21159         * po/lt.po: Update.
21160         * po/nb.po: Update.
21161         * po/nl.po: Update.
21162         * po/pl.po: Update.
21163         * po/pt_BR.po: Update.
21164         * po/ru.po: Update.
21165         * po/rw.po: Update.
21166         * po/sk.po: Update.
21167         * po/sl.po: Update.
21168         * po/sv.po: Update.
21169         * po/tr.po: Update.
21170         * po/uk.po: Update.
21171         * po/vi.po: Update.
21172         * po/zh_CN.po: Update.
21173         * po/zh_TW.po: Update.
21175         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
21176         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
21177         * sysdeps/hppa/dl-irel.h: Remove #warning.
21178         * sysdeps/hppa/entry.h: Provide prototype for
21179         __canonicalize_funcptr_for_compare and cast argument.
21180         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21181         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21182         * sysdeps/hppa/sotruss-lib.c: New file.
21183         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21184         (atomic_compare_and_exchange_val_acq): Use __typeof__.
21185         (atomic_compare_and_exchange_bool_acq): Likewise.
21186         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21187         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21189         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21190         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21191         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21193 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
21195         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21196         called function in non-PIC case.
21198 2015-01-31  David S. Miller  <davem@davemloft.net>
21200         * sysdeps/sparc/sparc32/bits/atomic.h
21201         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21202         unlock not after it.
21203         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21204         volatile register usage warnings from the compiler.
21206         * sysdeps/sparc/nptl/sem_init.c: Delete.
21207         * sysdeps/sparc/nptl/sem_post.c: Delete.
21208         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21209         * sysdeps/sparc/nptl/sem_wait.c: Delete.
21210         * sysdeps/sparc/sparc32/sem_init.c: New file.
21211         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21212         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21213         padding explicitly initialized.
21214         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
21215         padding for in-semaphore spinlock.
21216         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
21217         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21218         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
21219         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
21220         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
21221         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
21222         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
21223         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
21224         version.
21225         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
21226         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
21228 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
21230         [BZ #17801]
21231         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21232         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
21233         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
21234         New.
21235         (index_AVX_Fast_Unaligned_Load): Likewise.
21236         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
21237         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
21238         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
21239         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
21240         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
21241         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
21242         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
21243         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
21244         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
21246 2015-01-29  Andreas Schwab  <schwab@suse.de>
21248         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
21250 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
21252         [BZ #17892]
21253         * nscd/nscd_stat.c (send_stats): Initialize DATA.
21255 2015-01-28  Martin Sebor  <msebor@redhat.com>
21257         * math/README.libm-test: Clarify. Add "How to read the test output."
21259 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
21261         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
21262         Define to 0.
21264 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
21266         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
21267         (__HAVE_64B_ATOMICS): Define to 0.
21269 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21271         [BZ #17885]
21272         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
21273         value to set as new flag.
21275         [BZ #16576]
21276         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
21277         and use _ARCH_PPCSQ instead.
21278         (__ieee754_sqrt): Likewise.
21279         (__ieee754_sqrtf): Likewise.
21280         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
21281         _ARCH_PPCSQ is defined.
21282         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
21283         fsqrt instruction.
21284         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
21285         _ARCH_PPCSQ is defined.
21286         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
21287         fsqrts instruction.
21288         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21290 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21292         * iconv/loop.c: Suppress array out of bound warning caused by GCC
21293         bug (GCC BZ #64739).
21295 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
21297         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21298         Mark _retval as used.
21299         (lll_futex_wake_unlock): Likewise.
21300         (lll_futex_timed_wait_requeue_pi): Likewise.
21302         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21303         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21304         register variables.
21306         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21307         libm_hidden_def.
21309         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21310         (__bswap_64): Mark as __always_inline.
21312 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
21314         [BZ #15378]
21315         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21316         when none of the search directories exist.
21318 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21320         [BZ #17869]
21321         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21322         power8 in .machine directive.
21324         [BZ #17868]
21325         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21326         set dependency from opd value.
21328 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21330         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21331         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21332         architecture.
21334 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21336         [BZ #17870]
21337         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21338         with uint64_t.
21339         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21340         (uint64_t) 1.
21341         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21342         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21343         Replace 1UL with (uint64_t) 1.
21344         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21345         int with uint64_t.
21347 2015-01-23  Roland McGrath  <roland@hack.frob.com>
21349         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21350         (if_freenameindex): Likewise.
21352         * resource/getrlimit64.c: Add missing libc_hidden_def.
21354 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
21356         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21357         __label__.
21358         (_FP_FMA): Likewise.
21359         (_FP_TO_INT_ROUND): Likewise.
21360         (_FP_FROM_INT): Likewise.
21362 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21364         [BZ #16418]
21365         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21366         Make code racy and cancel safe.
21368 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
21370         * sysdeps/arm/unwind-resume.h: Fix copyright year.
21371         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
21372         attribution.
21374         * pwd/tst-getpw.c: Rewrite.
21376         [BZ #17702]
21377         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
21378         (modules-names): Add moddummy1 and moddummy2.
21379         ($(objpfx)tst-rec-dlopen): Define.
21380         * dlfcn/moddummy1.c: New file.
21381         * dlfcn/moddummy2.c: New file.
21382         * dlfcn/tst-rec-dlopen.c: New file.
21383         * elf/dl-cache.c (_dl_load_cache_lookup):
21384         Return char*. Copy result with alloca/strcpy/strdup.
21385         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
21386         returns char*. Free cached. If not saving realname
21387         free cached.
21388         * elf/dl-open.c (dl_open_worker): Do not assert that
21389         _r_debug->r_state is RT_CONSISTENT.
21390         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
21391         returns char*.
21393 2015-01-21  Torvald Riegel  <triegel@redhat.com>
21394             Carlos O'Donell  <carlos@redhat.com>
21396         [BZ #12674]
21397         * nptl/sem_waitcommon.c: New file.
21398         * nptl/sem_wait.c: Include sem_waitcommon.c.
21399         (__sem_wait_cleanup, do_futex_wait): Remove.
21400         (__new_sem_wait): Adapt.
21401         (__new_sem_trywait): New function.
21402         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
21403         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
21404         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
21405         (sem_timedwait): Adapt.
21406         * nptl/sem_post.c (__new_sem_post): Adapt.
21407         (futex_wake): New function.
21408         (__old_sem_post): Add release MO fence.
21409         * nptl/sem_open.c (sem_open): Adapt.
21410         * nptl/sem_init.c (__new_sem_init): Adapt.
21411         (futex_private_if_supported): New function.
21412         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21413         (__old_sem_getvalue): Add using previous code.
21414         * sysdeps/nptl/internaltypes.h: Adapt.
21415         * nptl/tst-sem13.c (do_test): Adapt.
21416         * nptl/tst-sem11.c (main): Adapt.
21417         * nptl/sem_trywait.c: Remove.
21418         * nptl/DESIGN-sem.txt: Remove.
21419         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
21420         (gen-as-const-headers): Remove structsem.sym.
21421         * nptl/structsem.sym: Remove.
21422         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
21423         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
21424         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
21425         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
21426         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
21427         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
21428         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
21429         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
21430         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
21431         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
21432         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
21433         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
21434         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
21435         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
21436         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
21437         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
21438         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
21439         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
21440         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
21441         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
21442         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
21443         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
21445 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
21447         * INSTALL: Regenerated.
21449         * po/libc.pot: Regenerated.
21451 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
21452             Sandra Loosemore  <sandra@codesourcery.com>
21453             Andrew Jenner  <andrew@codesourcery.com>
21454             Joseph Myers  <joseph@codesourcery.com>
21455             Nathan Sidwell  <nathan@codesourcery.com>
21457         * NEWS: Mention new Nios II port.
21458         * sysdeps/nios2/Implies: New file.
21459         * sysdeps/nios2/Makefile: New file.
21460         * sysdeps/nios2/Subdirs: New file.
21461         * sysdeps/nios2/Versions: New file.
21462         * sysdeps/nios2/__longjmp.S: New file.
21463         * sysdeps/nios2/abort-instr.h: New file.
21464         * sysdeps/nios2/backtrace.c: New file.
21465         * sysdeps/nios2/bits/endian.h: New file.
21466         * sysdeps/nios2/bits/fenv.h: New file.
21467         * sysdeps/nios2/bits/link.h: New file.
21468         * sysdeps/nios2/bits/setjmp.h: New file.
21469         * sysdeps/nios2/bsd-_setjmp.S: New file.
21470         * sysdeps/nios2/bsd-setjmp.S: New file.
21471         * sysdeps/nios2/configure: New generated file.
21472         * sysdeps/nios2/configure.ac: New file.
21473         * sysdeps/nios2/crti.S: New file.
21474         * sysdeps/nios2/crtn.S: New file.
21475         * sysdeps/nios2/dl-init.c: New file.
21476         * sysdeps/nios2/dl-machine.h: New file.
21477         * sysdeps/nios2/dl-sysdep.h: New file.
21478         * sysdeps/nios2/dl-tls.h: New file.
21479         * sysdeps/nios2/dl-trampoline.S: New file.
21480         * sysdeps/nios2/gccframe.h: New file.
21481         * sysdeps/nios2/gmp-mparam.h: New file.
21482         * sysdeps/nios2/jmpbuf-offsets.h: New file.
21483         * sysdeps/nios2/jmpbuf-unwind.h: New file.
21484         * sysdeps/nios2/ldsodefs.h: New file.
21485         * sysdeps/nios2/libc-tls.c: New file.
21486         * sysdeps/nios2/libm-test-ulps: New file.
21487         * sysdeps/nios2/machine-gmon.h: New file.
21488         * sysdeps/nios2/math-tests.h: New file.
21489         * sysdeps/nios2/math_private.h: New file.
21490         * sysdeps/nios2/memusage.h: New file.
21491         * sysdeps/nios2/nptl/Makefile: New file.
21492         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
21493         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
21494         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
21495         * sysdeps/nios2/nptl/pthreaddef.h: New file.
21496         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
21497         * sysdeps/nios2/nptl/tls.h: New file.
21498         * sysdeps/nios2/preconfigure: New file.
21499         * sysdeps/nios2/s_fma.c: New file.
21500         * sysdeps/nios2/s_fmaf.c: New file.
21501         * sysdeps/nios2/setjmp.S: New file.
21502         * sysdeps/nios2/sfp-machine.h: New file.
21503         * sysdeps/nios2/sotruss-lib.c: New file.
21504         * sysdeps/nios2/stackguard-macros.h: New file.
21505         * sysdeps/nios2/stackinfo.h: New file.
21506         * sysdeps/nios2/start.S: New file.
21507         * sysdeps/nios2/sysdep.h: New file.
21508         * sysdeps/nios2/tls-macros.h: New file.
21509         * sysdeps/nios2/tst-audit.h: New file.
21510         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
21511         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
21512         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
21513         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
21514         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
21515         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
21516         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
21517         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
21518         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
21519         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
21520         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
21521         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
21522         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
21523         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
21524         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
21525         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
21526         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
21527         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
21528         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
21529         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
21530         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
21531         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
21532         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
21533         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
21534         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
21535         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
21536         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
21537         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
21538         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
21539         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
21540         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
21541         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
21542         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
21543         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
21544         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
21545         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
21546         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
21547         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
21548         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
21549         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
21550         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
21551         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
21552         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
21553         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
21555 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21557         [BZ #17844]
21558         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
21559         (getutent): Use weak_alias in non SHARED case
21560         and default_symbol_version in SHARED case.
21561         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
21562         (getutent_r, pututline): Likewise.
21563         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
21564         (getutid): Likewise.
21565         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
21566         (getutid_r): Likewise.
21567         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
21568         (getutline): Likewise.
21569         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
21570         (getutline_r): Likewise.
21571         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
21572         (updwtmp): Likewise.
21574 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21576         [BZ #17848]
21577         * sysdeps/s390/s390-32/memcmp.S
21578         (memcmp_g5): Rename to __memcmp_g5.
21579         * sysdeps/s390/s390-32/memcpy.S
21580         (memcpy_g5): Rename to __memcpy_g5.
21581         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21582         (memcpy_mvcle) Rename to __memcpy_mvcle.
21583         * sysdeps/s390/s390-32/memset.S
21584         (memset_g5): Rename to __memset_g5.
21585         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21586         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21587         and use prefixed functions.
21588         * sysdeps/s390/s390-32/multiarch/memcmp.S
21589         (memcmp_z196): Rename to __memcmp_z196.
21590         (memcmp_z10): Rename to __memcmp_z10.
21591         (memcmp): Set alias to __memcmp_g5.
21592         (bcmp): Set alias to __memcmp_g5.
21593         * sysdeps/s390/s390-32/multiarch/memcpy.S
21594         (memcpy_z196): Rename to __memcpy_z196.
21595         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21596         (memcpy_z10): Rename to __memcpy_z10.
21597         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21598         (memcpy): Set alias to __memcpy_g5.
21599         * sysdeps/s390/s390-32/multiarch/memset.S
21600         (memset_z196): Rename to __memset_z196.
21601         Jump to __memset_mvcle instead of memset_mvcle.
21602         (memset_z10): Rename to __memset_z10.
21603         Jump to __memset_mvcle instead of memset_mvcle.
21604         (memset_mvcle) Rename to __memset_mvcle.
21605         (memset): Set alias to __memset_g5.
21606         * sysdeps/s390/s390-64/memcmp.S
21607         (memcmp_z900): Rename to __memcmp_z900.
21608         * sysdeps/s390/s390-64/memcpy.S
21609         (memcpy_z900): Rename to __memcpy_z900.
21610         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21611         (memcpy_mvcle) Rename to __memcpy_mvcle.
21612         * sysdeps/s390/s390-64/memset.S
21613         (memset_z900): Rename to __memset_z900.
21614         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
21615         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21616         and use prefixed functions.
21617         * sysdeps/s390/s390-64/multiarch/memcmp.S
21618         (memcmp_z196): Rename to __memcmp_z196.
21619         (memcmp_z10): Rename to __memcmp_z10.
21620         (memcmp): Set alias to __memcmp_z900.
21621         (bcmp): Set alias to __memcmp_z900.
21622         * sysdeps/s390/s390-64/multiarch/memcpy.S
21623         (memcpy_z196): Rename to __memcpy_z196.
21624         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21625         (memcpy_z10): Rename to __memcpy_z10.
21626         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21627         (memcpy): Set alias to __memcpy_z900.
21628         * sysdeps/s390/s390-64/multiarch/memset.S
21629         (memset_z196): Rename to __memset_z196.
21630         Jump to __memset_mvcle instead of memset_mvcle.
21631         (memset_z10): Rename to __memset_z10.
21632         Jump to __memset_mvcle instead of memset_mvcle.
21633         (memset_mvcle) Rename to __memset_mvcle.
21634         (memset): Set alias to __memset_z900.
21636 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
21638         [BZ #17748]
21639         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
21640         __fesetenv instead of fesetenv.
21642 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21644         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
21645         macro.
21647 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21649         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
21650         regression on LE.
21652         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
21653         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
21654         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21655         strncmp-power8 object.
21656         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21657         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
21658         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
21659         * NEWS: Update.
21661 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21662             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21664         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
21665         trailing byte check.
21667 2015-01-13  David S. Miller  <davem@davemloft.net>
21669         * include/signal.h (__sigreturn): Guard with __USE_MISC.
21671 2015-01-13  Roland McGrath  <roland@hack.frob.com>
21673         * login/logout.c (logout): Use memset rather than bzero.
21674         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
21675         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
21676         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
21677         (_gethtbyaddr): Likewise.
21678         * locale/programs/simple-hash.c (bcopy): Macro removed.
21680 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21682         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21683         Add strcmp-power8 object.
21684         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21685         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
21686         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
21687         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
21688         __strcmp_power8 implementation.
21689         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
21690         * NEWS: Update.
21692         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21693         Add strncpy-power8 and stpncpy-power8 objects.
21694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21695         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
21696         implementations.
21697         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
21698         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
21699         __stpncpy_power8 implementation.
21700         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
21701         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
21702         __strncpy_power8 implementation.
21703         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
21704         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
21705         * NEWS: Update.
21707         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
21708         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
21709         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
21711         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21712         strncat-power8 object.
21713         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
21714         __strcat_power8 implementation.
21715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21716         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
21717         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
21718         optimized strcat for power8.
21720         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21721         strcpy-power8 and stpcpy-power8 objects.
21722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21723         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
21724         implementations.
21725         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
21726         multiarch stpcpy implementation for POWER8.
21727         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
21728         multiarch strcpy implementation for POWER8.
21729         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
21730         __strcpy_power8 function.
21731         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
21732         stpcpy for POWER8.
21733         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
21734         strcpy for POWER8.
21735         * NEWS: Update.
21737 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
21739         [BZ #16009]
21740         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
21741         weights and rules. Use do_xfrm_cached if data fits in cache,
21742         do_xfrm otherwise.  Moved former main loop to...
21743         * (do_xfrm_cached): New function.
21744         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
21745         find_idx, find_position and stack_push.
21746         * (find_idx): New function.
21747         * (find_position): Likewise.
21748         * localedata/sort-test.sh: Added test run for do_xfrm.
21749         * localedata/xfrm-test.c (main): Added command line option
21750         -nocache to run the test with strings that are too large for
21751         the STRXFRM cache.
21753 2015-01-13  Torvald Riegel  <triegel@redhat.com>
21755         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
21756         variable to lll_futex_wake call, not the value itself.
21758 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
21760         [BZ #17803]
21761         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
21762         twom64.  Adjust value to 0x1p-64L.
21763         (__scalblnl): Only return standard underflowing result for K <=
21764         -64 not K <= -63; adjust exponent for underflowing result by 64
21765         not 63.
21766         * math/libm-test.inc (scalbn_test_data): Add more tests.
21767         (scalbln_test_data): Likewise.
21769         [BZ #17834]
21770         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
21771         0x1p63L.
21772         (__scalblnl): Get new exponent of adjusted subnormal value from ES
21773         not HX.
21774         * math/libm-test.inc (scalbn_test_data): Add more tests.
21775         (scalbln_test_data): Likewise.
21777 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21778             Stefani Seibold  <stefani@seibold.net>
21780         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
21781         (sysdep_routines): Add dl-vdso here, ...
21782         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
21783         (sysdep_routines): ... not here.
21784         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
21785         fallback when vDSO is not presented.
21786         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21787         Define with libc_hidden_proto/libc_hidden_data_def definitions.
21788         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
21789         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
21790         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
21791         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
21792         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
21793         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
21794         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
21795         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
21796         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
21797         fallback configurable symbol when vDSO is not available.
21798         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
21799         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
21800         be able to redefine fallback symbol when vDSO is not available.
21801         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
21802         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
21804 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21806         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
21807         (TLS_INIT_TP): Add tm_capable initialization.
21808         (TLS_DEFINE_INIT_TP): Likewise.
21809         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
21810         TCB.
21811         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
21812         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
21813         calculation.
21814         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
21815         transactoion is lock elision is built and TCB tm_capable is set.
21816         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
21817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21818         (INTERNAL_SYSCALL_NCS): Likewise.
21819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21820         (INTERNAL_SYSCALL_NCS): Likewise.
21821         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
21823         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
21824         for powerpc.
21825         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21826         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
21827         and remove it for 32 bits case.
21828         [pthread_rwlock_t] (__rwelision): New field for lock elision.
21829         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
21830         initialization.
21831         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
21832         Disable lock elision with rdlocks if elision is not available.
21834         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
21835         (sysdep_routines): Add lock elision objects.
21836         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21837         [pthread_mutex_t] (__spins): Rework to add lock elision field.
21838         [pthread_mutex_t] (__elision): Add field.
21839         [__PTHREAD_SPINS]: Adjust to init lock elision field.
21840         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
21841         elision definitions for powerpc.
21842         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
21843         implementation of lock elision for powerpc.
21844         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
21845         implementation of timed lock elision for powerpc.
21846         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
21847         implementation of trylock with lock elision for powerpc.
21848         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
21849         implementaion of unlock for lock elision for powerpc.
21850         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
21851         automatic enable lock elision for mutexes.
21852         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
21853         transaction execution definitions for powerpc.
21854         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
21855         definitions.
21856         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
21857         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
21858         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
21859         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
21860         * NEWS: Update.
21862 2015-01-09  Roland McGrath  <roland@hack.frob.com>
21864         * sysdeps/posix/shm-directory.c: Use <> rather than ""
21865         for #include of <shm-directory.h>.
21867 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
21869         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
21870         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
21872 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
21874         [BZ #17791]
21875         * NEWS: Mention bug fix.
21876         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
21877         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
21878         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
21880 2015-01-09  Torvald Riegel <triegel@redhat.com>
21882         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
21884 2015-01-09  Torvald Riegel <triegel@redhat.com>
21886         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
21888 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21890         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
21891         pointer and cast to uintptr_t.
21893 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21895         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
21896         removed.
21897         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
21899 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21901         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
21902         of 0.
21904 2015-01-08  Roland McGrath  <roland@hack.frob.com>
21906         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
21907         <nptl/pthreadP.h> instead.
21908         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
21910         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
21911         already defined.
21912         [__SIGRTMIN] (init): Function removed.
21913         [__SIGRTMIN] (initialized): Variable removed.
21914         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
21915         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
21916         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
21917         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
21918         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
21919         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
21920         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
21921         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
21922         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
21923         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
21924         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
21925         * sysdeps/nptl/allocrtsig.c: New file.
21926         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
21927         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
21928         * sysdeps/generic/testrtsig.h: File removed.
21930         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
21931         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
21933         * nptl/nptl-init.c (pthread_functions): Conditionalize
21934         .ptr__nptl_setxid initialization on [SIGSETXID].
21936         * sysdeps/nptl/sys/procfs.h: New file.
21937         * nptl_db/Makefile (headers): Add it.
21938         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
21940         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
21941         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
21942         * nptl/pthread_attr_setaffinity.c: Include it.
21943         * nptl/pthread_setattr_default_np.c: Likewise.
21944         * nptl/check-cpuset.h: New file.
21946 2015-01-08  Richard Henderson  <rth@redhat.com>
21948         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
21949         (CFLAGS-tst-execstack-prog.c): Likewise.
21950         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
21952 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
21953             Sandra Loosemore  <sandra@codesourcery.com>
21954             Andrew Jenner  <andrew@codesourcery.com>
21955             Joseph Myers  <joseph@codesourcery.com>
21956             Nathan Sidwell  <nathan@codesourcery.com>
21958         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
21959         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
21960         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
21961         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
21962         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
21963         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
21964         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
21965         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
21966         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
21967         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
21968         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
21969         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
21970         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
21971         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
21972         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
21973         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
21974         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
21976 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21978         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
21979         timespec struct member in syscall macro.
21980         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21981         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
21982         first timeval struct member in syscall macro.
21983         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
21985 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
21987         [BZ #17748]
21988         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
21989         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
21990         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
21991         __feupdateenv and define as weak alias of __feupdateenv.  Use
21992         libm_hidden_weak.
21993         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
21994         libm_hidden_def.
21995         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
21996         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
21997         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21998         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
21999         libm_hidden_def.
22000         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
22001         __feupdateenv and define as weak alias of __feupdateenv.  Use
22002         libm_hidden_weak.
22003         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
22004         libm_hidden_def.
22005         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
22006         __feupdateenv and define as weak alias of __feupdateenv.  Use
22007         libm_hidden_weak.
22008         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
22009         libm_hidden_def.
22010         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22011         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22012         (__feupdateenv): Likewise.
22013         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
22014         __feupdateenv and define as weak alias of __feupdateenv.  Use
22015         libm_hidden_weak.
22016         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22017         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
22018         libm_hidden_def.
22019         * sysdeps/tile/math_private.h (__feupdateenv): New inline
22020         function.
22021         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
22022         libm_hidden_def.
22023         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
22024         __feupdateenv instead of feupdateenv.
22025         (default_libc_feupdateenv_test): Likewise.
22026         (libc_feresetround_ctx): Likewise.
22028 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22030         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
22031         prototype.
22033 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
22035         * posix/regcomp.c (parse_bracket_exp): Initialize type to
22036         COLL_SYM in a couple of places to avoid uninitialized variable
22037         wanings on tilegx gcc 4.8.2.
22039 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22041         * sysdeps/aarch64/strcpy.S: New file.
22042         * sysdeps/aarch64/stpcpy.S: New file.
22043         * NEWS: Updated.
22045 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22047         * sysdeps/aarch64/strrchr.S: New file.
22048         * NEWS: Updated.
22050 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
22052         [BZ #17658]
22053         * stdlib/setenv.c: Fix memory leak when setting large,
22054         duplicate string.
22056 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
22058         [BZ #17273]
22059         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
22060         and tabs from buffer before parsing fstab entry.
22061         * misc/tst-mntent.c (main): Add test for mount entry with
22062         trailing spaces and tabs.
22064 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
22066         [BZ #17748]
22067         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
22068         * math/fesetround.c (fesetround): Rename to __fesetround and
22069         define as weak alias of __fesetround.  Use libm_hidden_weak.
22070         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
22071         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
22072         * sysdeps/arm/fesetround.c (fesetround): Likewise.
22073         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
22074         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
22075         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
22076         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
22077         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
22078         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
22079         __fesetround_inline.
22080         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
22081         __fesetround_inline instead of __fesetround.
22082         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
22083         __fesetround and define as weak alias of __fesetround.  Use
22084         libm_hidden_weak.  Call __fesetround_inline instead of
22085         __fesetround.
22086         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
22087         __fesetround and define as weak alias of __fesetround.  Use
22088         libm_hidden_weak.
22089         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
22090         Likewise.
22091         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
22092         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22093         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
22094         * sysdeps/tile/math_private.h (__fesetround): New inline function.
22095         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
22096         __fesetround and define as weak alias of __fesetround.  Use
22097         libm_hidden_weak.
22098         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
22099         __fesetround instead of fesetround.
22100         (default_libc_feholdexcept_setround): Likewise.
22101         (libc_feholdsetround_ctx): Likewise.
22102         (libc_feholdsetround_noex_ctx): Likewise.
22104         [BZ #17748]
22105         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
22106         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
22107         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22108         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22109         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22110         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
22111         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22112         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22113         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22114         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22115         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22116         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22117         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22118         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22119         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
22120         libm_hidden_def.
22121         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
22122         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22123         Likewise.
22124         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22125         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22126         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22127         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22128         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
22129         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22130         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22131         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
22132         __fesetenv instead of fesetenv.
22133         (libc_feresetround_noex_ctx): Likewise.
22134         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22135         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22136         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
22137         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22138         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22139         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22140         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22141         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22142         (__feupdateenv): Likewise.
22143         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22144         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22145         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22146         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
22148 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22150         [BZ #17806]
22151         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
22152         addresses have been freed.
22154 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22156         * resolv/res_init.c (__res_vinit): Improve comments about nserv
22157         and nservall.
22159 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
22161         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
22162         Clean up check_pf allocation pattern. addresses
22164 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22166         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
22167         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
22168         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22169         * nptl/pthread_exit.c (__pthread_exit): Likewise.
22170         * nptl/pthread_join.c (pthread_join): Likewise.
22171         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22172         * sysdeps/posix/waitid.c (__waitid): Likewise.
22173         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22174         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22175         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22176         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22177         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22178         Likewise.
22179         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22180         (__libc_pread64): Likewise.
22181         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22182         (__libc_pwrite): Likewise.
22183         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22184         (__libc_pwrite64): Likewsie.
22185         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22186         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22187         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22188         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22189         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22190         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22191         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22193         Likewise.
22194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22195         (__libc_pread64): Likewise.
22196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22197         Likewise.
22198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22199         (__libc_pwrite64): Likewise.
22200         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22201         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22202         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22203         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22204         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22205         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22206         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22207         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22208         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22209         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22210         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22211         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22212         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22213         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
22214         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22215         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22216         Likewise.
22218 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22220         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
22221         (CFLAGS-test-double.c): Likewise.
22222         (CFLAGS-test-ldouble.c): Likewise.
22223         (CPPFLAGS-test-ifloat.c): Likewise.
22224         (CPPFLAGS-test-idouble.c): Likewise.
22225         (CPPFLAGS-test-ildoubl.c): Likewise.
22226         (CFLAGS-test-test-fenv.c): Remove variable.
22227         (CFLAGS-test-misc.c): Likewise.
22229 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
22231         [BZ #17797]
22232         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
22233         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
22234         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
22235         CLOCKS_PER_SEC == 1000000.
22236         * time/clocktest.c (main): Replace %ld with %jd and cast to
22237         intmax_t.
22239 2015-01-05  Roland McGrath  <roland@hack.frob.com>
22241         * sysdeps/generic/unwind-resume.h: New file.
22242         * sysdeps/gnu/unwind-resume.c: Include it.
22243         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
22244         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
22245         argument list.
22246         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
22247         global rather than static.
22248         (_Unwind_Resume): Update user.
22249         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
22250         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
22251         rather than static.  Add __attribute__ ((cold)).
22252         (_Unwind_Resume, __gcc_personality_v0): Update callers.
22253         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
22254         * sysdeps/arm/arm-unwind-resume.S: New file.
22255         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
22256         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
22257         * sysdeps/arm/Makefile [$(subdir) = csu]
22258         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
22259         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22260         Add rt-arm-unwind-resume.
22261         [$(subdir) = nptl]
22262         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22263         Add pt-arm-unwind-resume.
22264         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
22265         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
22267 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22269         [BZ #17748]
22270         * include/fenv.h (__feholdexcept): Declare.  Use
22271         libm_hidden_proto.
22272         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
22273         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
22274         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22275         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
22276         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
22277         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
22278         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
22279         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22280         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
22281         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
22282         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22283         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
22284         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
22285         (feholdexcept): Likewise.
22286         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22287         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22288         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22289         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22290         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22291         __feholdexcept instead of feholdexcept.
22292         (default_libc_feholdexcept_setround): Likewise.
22294 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22296         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22297         to avoid using stl/str to align destination.
22299 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22301         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22303 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22305         [BZ #17796]
22306         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22307         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22308         Define as weak alias not strong alias.
22310 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22312         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22313         bltzal with addiupc.
22314         (RTLD_START): Ditto.
22316 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
22318         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22319         for __vdso_* functions in declarations.
22320         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22321         definitions.
22322         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22323         INTERNAL_VSYSCALL): Use struct return types to check for error.
22325         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22326         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22327         function with cast from llround().
22328         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22329         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22330         Define.
22332 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22334         [BZ #17793]
22335         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22336         Define as weak alias not strong alias.
22338         [BZ #17635]
22339         * ctype/ctype-c99.c: New file.  isblank implementation moved from
22340         ...
22341         * ctype/ctype-extn.c: ... here.
22342         (__isblank_l): Move to ...
22343         * ctype/ctype-c99_l.c: ... here.  New file.
22344         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22345         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22346         Remove variable.
22347         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22348         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22349         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22350         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22351         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22353         [BZ #17777]
22354         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22355         (posix_fadvise64): Define as weak alias not strong alias.
22356         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22357         (posix_fallocate64): Likewise.
22358         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22359         Remove variable.
22360         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22361         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22362         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22363         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22364         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22366 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
22368         [BZ #16191]
22369         * NEWS: Mention bug fix.
22370         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
22371         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
22372         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
22373         (HOST_STACK_END_ADDR): Likewise.
22375 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22377         [BZ #17748]
22378         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
22379         * math/fegetround.c (fegetround): Rename to __fegetround and
22380         define as weak alias of __fegetround.  Use libm_hidden_weak.
22381         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
22382         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
22383         * sysdeps/arm/fegetround.c (fegetround): Likewise.
22384         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
22385         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22386         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
22387         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
22388         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
22389         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22390         Undefine after rather than before function definition; use
22391         parentheses around function name in definition.
22392         (__fegetround): Also undefine macro after function definition.
22393         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
22394         __fegetround and define as weak alias of __fegetround.  Use
22395         libm_hidden_weak.  Do not undefine as macro.
22396         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22397         Likewise.
22398         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
22399         __fegetround and define as weak alias of __fegetround.  Use
22400         libm_hidden_weak.
22401         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22402         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22403         * sysdeps/tile/math_private.h (__fegetround): New inline function.
22404         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
22405         __fegetround and define as weak alias of __fegetround.  Use
22406         libm_hidden_weak.
22407         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
22408         __fegetround instead of fegetround.
22410         [BZ #17782]
22411         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
22412         Condition macro definition on [__USE_MISC].
22414         [BZ #17781]
22415         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22416         (struct sigaction): Change type of sa_flags field to int.
22418         [BZ #17780]
22419         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
22420         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
22421         __glibc_reserved0.
22423         * nptl/version.c (banner): Use single year in copyright notice.
22425         * NEWS: Update copyright dates.
22426         * catgets/gencat.c (print_version): Likewise.
22427         * csu/version.c (banner): Likewise.
22428         * debug/catchsegv.sh: Likewise.
22429         * debug/pcprofiledump.c (print_version): Likewise.
22430         * debug/xtrace.sh (do_version): Likewise.
22431         * elf/ldconfig.c (print_version): Likewise.
22432         * elf/ldd.bash.in: Likewise.
22433         * elf/pldd.c (print_version): Likewise.
22434         * elf/sotruss.sh: Likewise.
22435         * elf/sprof.c (print_version): Likewise.
22436         * iconv/iconv_prog.c (print_version): Likewise.
22437         * iconv/iconvconfig.c (print_version): Likewise.
22438         * locale/programs/locale.c (print_version): Likewise.
22439         * locale/programs/localedef.c (print_version): Likewise.
22440         * login/programs/pt_chown.c (print_version): Likewise.
22441         * malloc/memusage.sh (do_version): Likewise.
22442         * malloc/memusagestat.c (print_version): Likewise.
22443         * malloc/mtrace.pl: Likewise.
22444         * manual/libc.texinfo: Likewise.
22445         * nptl/version.c (banner): Likewise.
22446         * nscd/nscd.c (print_version): Likewise.
22447         * nss/getent.c (print_version): Likewise.
22448         * nss/makedb.c (print_version): Likewise.
22449         * posix/getconf.c (main): Likewise.
22450         * scripts/test-installation.pl: Likewise.
22451         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22453 2015-01-02  Will Newton  <will.newton@linaro.org>
22455         * sysdeps/arm/armv7/configure: Removed.
22456         * sysdeps/arm/armv7/configure.ac: Likewise.
22458 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22460         * All files with FSF copyright notices: Update copyright dates
22461         using scripts/update-copyrights.
22462         * intl/plural.c: Regenerated.
22463         * locale/programs/charmap-kw.h: Likewise.
22464         * locale/programs/locfile-kw.h: Likewise.
22466 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22468         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
22470 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22472         [BZ #17748]
22473         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
22474         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
22475         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22476         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22477         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22478         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22479         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22480         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
22481         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22482         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22483         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22484         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22485         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22486         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22487         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
22488         libm_hidden_def.
22489         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
22490         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
22491         Likewise.
22492         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22493         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22494         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22495         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22496         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
22497         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22498         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22499         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
22500         __fegetenv instead of fegetenv.
22501         (libc_feholdsetround_noex_ctx): Likewise.
22503 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22505         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
22506         (Elf_MIPS_ABIFlags_v0): New structure.
22507         (EF_MIPS_FP64): Define.
22508         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
22509         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
22510         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
22511         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
22512         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
22513         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
22514         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
22515         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
22516         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
22517         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
22518         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
22519         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
22520         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
22521         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
22522         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
22523         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
22524         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
22525         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
22526         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
22527         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
22528         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
22529         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
22530         field.
22531         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
22532         EF_MIPS_FP64.
22533         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
22534         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
22535         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
22536         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
22537         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
22538         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
22539         * sysdeps/mips/tst-abi-interlink.c: Likewise.
22540         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
22541         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
22542         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
22543         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
22544         record the current FP ABI extension.
22545         (mips-mode-switch): Define to show if kernel headers support mode
22546         switching.
22547         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22548         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
22549         supported SYSV ABI version to 3.
22550         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
22551         feature.
22553 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22554             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22556         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
22557         path.
22558         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
22560 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22562         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
22563         __fegetround and redefine to call __fegetround.  Remove condition
22564         on [!__NO_MATH_INLINES].
22565         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
22566         function.
22567         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
22568         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22569         Remove macro.
22570         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
22571         instead of <fenv_libc.h>.
22572         (__llrintl): Call fegetround instead of __fegetround.
22573         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
22574         instead of <fenv_libc.h>.
22575         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22576         (__lrintl): Call fegetround instead of __fegetround.
22577         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
22578         instead of <fenv_libc.h>.
22579         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22580         (__rintl): Call fegetround instead of __fegetround.
22582 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22584         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
22585         arrays.
22587 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22589         [BZ #17775]
22590         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
22591         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
22592         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
22594 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22596         * sysdeps/i386/tls-macros.h: Include <features.h>.
22597         (TLS_LE): Use non-PIC version for GCC >= 5.0.
22598         (TLS_IE): Likewise.
22599         (TLS_LD): Likewise.
22600         (TLS_GD): Likewise.
22601         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
22602         define for GCC >= 5.0.
22604 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
22606         * math/test-fenv.c (test_single_exception, set_single_exc,
22607         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
22608         feexcp_mask_test, feenable_test, fe_single_test): Add
22609         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
22610         case where they are not used.
22611         * math/libm-test.inc: Likewise.
22612         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
22613         unused in the absence of FP rounding/exception support.
22614         * stdio-common/tst-printf-round.c: Likewise.
22615         * stdlib/tst-strtod-round.c: Likewise.
22616         * stdlib/tst-strtod-underflow.c: Likewise.
22618 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
22620         [BZ #17723]
22621         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
22622         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
22623         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22624         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22625         libm_hidden_weak.
22626         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
22627         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22628         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
22629         libm_hidden_def.
22630         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22631         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22632         libm_hidden_weak.
22633         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
22634         Likewise.
22635         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
22636         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22637         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22638         libm_hidden_weak.
22639         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22640         libm_hidden_def.
22641         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22642         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
22643         (__feraiseexcept): Likewise.
22644         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22645         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22646         libm_hidden_weak.
22647         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22648         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22649         libm_hidden_def.
22650         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
22651         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
22652         Use libm_hidden_def.
22653         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
22654         libm_hidden_def.
22655         (feraiseexcept): Define as weak not strong alias.  Use
22656         libm_hidden_weak.
22657         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
22658         New inline function.  Factored out of ...
22659         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
22660         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
22661         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
22662         feraiseexcept.
22663         * math/w_acos.c (__acos): Likewise.
22664         * math/w_asin.c (__asin): Likewise.
22665         * math/w_ilogb.c (__ilogb): Likewise.
22666         * math/w_j0.c (y0): Likewise.
22667         * math/w_j1.c (y1): Likewise.
22668         * math/w_jn.c (yn): Likewise.
22669         * math/w_log.c (__log): Likewise.
22670         * math/w_log10.c (__log10): Likewise.
22671         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
22672         * sysdeps/aarch64/fpu/math_private.h
22673         (libc_feupdateenv_test_aarch64): Likewise.
22674         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22675         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
22676         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
22677         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22678         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22679         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22680         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
22681         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22682         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22683         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22685 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22687         [BZ #17732]
22688         * io/test-utime.c (main): Replace %ld with %jd and cast to
22689         intmax_t.
22690         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
22691         * nptl/tst-mutex5.c: Include <stdint.h>.
22692         (do_test): Replace %ld with %jd and cast to intmax_t.
22693         * posix/tst-regex.c (run_test): Likewise.
22694         (run_test_backwards): Likewise.
22695         * rt/tst-clock.c: Include <stdint.h>.
22696         (clock_test): Replace %ld with %jd and cast to intmax_t.
22697         * rt/tst-cpuclock1.c: Include <stdint.h>.
22698         (do_test): Replace %lu with %ju and cast to uintmax_t.
22699         * rt/tst-cpuclock2.c: Include <stdint.h>.
22700         (do_test): Replace %lu with %ju and cast to uintmax_t.
22701         * rt/tst-mqueue1.c: Include <stdint.h>.
22702         (check_attrs): Replace %ld with %jd and cast to intmax_t.
22703         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
22704         intmax_t.
22705         * rt/tst-mqueue4.c (do_test): Likewise.
22706         * rt/tst-timer4.c: Include <stdint.h>.
22707         (check_ts): Replace %ld with %jd and cast to intmax_t.
22708         (do_test): Likewise.
22709         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
22710         and cast to intmax_t.
22711         * sysdeps/pthread/tst-timer.c (main): Likewise.
22712         * time/clocktest.c (main): Likewise.
22713         * time/tst-posixtz.c (do_test): Likewise.
22714         * timezone/tst-timezone.c (main): Likewise.
22716 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22717             H.J. Lu  <hongjiu.lu@intel.com>
22719         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
22720         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
22721         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
22722         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
22723         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
22724         version if bit_Fast_Unaligned_Load is set.
22725         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22726         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22727         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22728         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22729         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22730         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22731         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22732         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
22733         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
22734         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
22735         to 4.
22736         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
22737         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
22738         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
22739         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
22741 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
22743         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
22744         instead of #if to avoid a Wundef warning.
22745         * stdlib/tst-limits.c (do_test): Likewise.
22747         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
22748         parallel other exception macros.
22749         (fegetenv): Convert from macro to extern inline so that it applies
22750         retroactively to inline functions already seen by the compiler.
22751         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
22753         * posix/Makefile (before-compile): Use $(objpfx) for
22754         posix-conf-vars-def.h.
22756 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22758         * posix/getconf.c (main): Use size_t for type of I.
22759         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
22760         NSPEC.
22762         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
22763         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
22764         * posix/posix-envs.def: Likewise.
22765         * sysdeps/posix/sysconf.c: Likewise.
22766         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
22767         (specs): Remove array.
22768         * scripts/gen-posix-conf-vars.awk: Support generation of specs
22769         array.
22771         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
22772         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
22773         (__sysconf): Use CONF_IS_* macros.
22775         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
22776         ($(objpfx)posix-conf-vars-def.h): New target.
22777         * posix/posix-conf-vars.list: New file.
22778         * posix/posix-conf-vars.h: New file.
22779         * posix/confstr.c: Include posix-conf-vars.h.
22780         (confstr): Use CONF_IS_* macros.
22781         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
22782         CONF_IS_* macros.
22783         * scripts/gen-posix-conf-vars.awk: New file.
22785 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
22787         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
22788         fegetround): Add no-op macros to avoid linknamespace issues.
22790         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
22791         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
22793         * sysdeps/unix/sysv/linux/tile/sysdep.h
22794         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
22795         assembly-specific section to avoid a redefinition warning.
22797         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
22798         long before casting to pointer to avoid a cast warning.
22800 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
22802         * sysdeps/tile/tilegx/Implies: New file.
22804 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
22806         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
22808 2014-12-23  Florian Weimer  <fweimer@redhat.com>
22810         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
22812 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22814         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
22815         not define.
22816         * sysdeps/unix/sysv/linux/utimes.c: Do not include
22817         <kernel-features.h>.
22818         (__utimes) [__NR_utimes]: Make code unconditional.
22819         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
22820         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22821         (__ASSUME_UTIMES): Do not undefine.
22822         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22823         (__ASSUME_UTIMES): Likewise.
22824         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22825         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
22826         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
22827         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
22829 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22831         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
22833 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
22835         [BZ #17747]
22836         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
22837         alias to weak alias for j0l, y0l.
22838         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
22839         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
22841         [BZ #17746]
22842         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
22843         conversion.
22845 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22847         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
22848         to zero if not already defined.
22850 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22852         [BZ #17724]
22853         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
22854         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
22855         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
22856         (char *) casts added.
22857         * sysdeps/ieee754/k_standardf.c: New file.
22858         * sysdeps/ieee754/k_standardl.c: Likewise.
22859         * math/Makefile (libm-support): Remove k_standard.
22860         (libm-calls): Add k_standard.
22862 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22864         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22865         Optimize to avoid an unnecessary FPCR read.
22867 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22869         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22870         Optimize to reduce FPCR/FPSR accesses.
22872 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22874         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
22875         Call libc_fetestexcept_aarch64.
22877 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22879         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
22880         Call libc_fesetround_aarch64.
22882 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22884         [BZ #17733]
22885         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
22886         (__bind): Do not define as weak alias.
22887         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
22888         define.
22889         (__getsockname): Do not define as weak alias.
22891 2014-12-22  Will Newton  <will.newton@linaro.org>
22893         * manual/install.texi: Document that we require bison 2.7
22894         or above.
22895         * INSTALL: Regenerate.
22896         * configure.ac: Use AC_CHECK_PROG_VER instead of
22897         AC_PATH_PROG when checking for bison and check for
22898         version 2.7 or above.
22899         * configure: Regenerate.
22901 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
22903         [BZ #17745]
22904         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
22905         * sysdeps/tile/ffsll.c (ffsll): To here.
22907         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
22909 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22911         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
22912         if not defined.
22913         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
22914         definition.
22915         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22916         hidden ___tls_get_addr.
22917         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22918         hidden __tls_get_addr.
22919         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
22920         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
22921         Likewise.
22923 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
22925         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
22926         _dl_init call.
22928 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22930         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
22931         from "call _dl_init@PLT".
22932         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
22934 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
22936         * manual/search.texi: (Array Sort Function): Clarify stable sorting
22937         guarantees.
22939 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
22941         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
22943 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22945         [BZ #17744]
22946         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
22947         strnlen.
22949 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22951         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
22952         of multu on MIPSr6.
22953         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
22954         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
22955         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
22956         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
22957         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
22959 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22961         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
22962         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
22963         (PTR_SUBU): Use subu for mips32r6/mips64r6.
22964         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
22965         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
22966         mips32r6/mips64r6.
22967         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
22969 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
22971         * string/strncat.c (STRNCAT): Simplify implementation.
22973 2014-12-19  David S. Miller  <davem@davemloft.net>
22975         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
22976         access the quad as both a long double and as a series of 4 words.
22978         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
22979         link_map->l_info array access.
22981 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22983         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
22985         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
22986         * math/atest-exp2.c (TIMEOUT): Likewise.
22987         * math/atest-sincos.c (TIMEOUT): Likewise.
22989 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22991         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
22992         -Wno-error with -fno-builtin-lround.
22994 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22996         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
22997         Contains futex constants and functions moved over from ...
22998         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
22999         <lowlevellock-futex.h>.
23000         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23001         (lll_timedwait_tid): Add comments and parentheses around macro
23002         arguments.
23004 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23006         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
23007         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
23008         (__lll_private_flag): Remove.
23009         (lll_futex_wait): Likewise.
23010         (lll_futex_timed_wait): Likewise.
23011         (lll_futex_wake): Likewise.
23012         (lll_futex_requeue): Likewise.
23013         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23014         (__lll_timedwait_tid): Spell out argument names.
23015         (lll_timedwait_tid): Add comments and parentheses around macro
23016         arguments.
23017         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
23018         LLL_SHARED and LLL_PRIVATE usable from assembly code.
23020 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23022         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
23023         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23024         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23025         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
23026         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
23027         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
23028         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
23029         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
23030         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
23031         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
23032         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
23033         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
23034         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
23035         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
23036         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
23037         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
23038         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
23039         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
23040         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
23042 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23044         * sysdeps/x86_64/x32/Makefile: New file.
23046 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23048         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
23049         1L with (mp_limb_t) 1.
23051 2014-12-17  Roland McGrath  <roland@hack.frob.com>
23053         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
23054         * nptl/libc_pthread_init.c: ... here.
23055         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
23056         * nptl/register-atfork.c: ... here.
23058         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
23059         Use pthread_sigmask rather than INTERNAL_SYSCALL.
23060         Use assert_perror to check its return value.
23061         (__gai_create_helper_thread): Likewise.
23063         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
23065         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
23067 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
23069         [BZ #17725]
23070         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
23071         __profil_counter.
23072         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
23073         Likewise.
23074         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
23075         Likewise.
23076         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
23077         Likewise.
23078         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
23079         (profil_counter): Likewise.
23080         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
23081         (profil_counter): Likewise.
23082         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
23083         Likewise.
23084         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
23085         Likewise.
23086         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
23087         (profil_counter): Likewise.
23088         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
23089         Likewise.
23090         [!__profil_counter] (profil_counter): Define as weak alias of
23091         __profil_counter.
23092         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
23093         (profil_counter): Rename to __profil_counter.
23094         [!__profil_counter] (profil_counter): Define as weak alias of
23095         __profil_counter.
23096         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
23097         (profil_counter): Rename to __profil_counter.
23098         [!__profil_counter] (profil_counter): Define as weak alias of
23099         __profil_counter.
23100         * sysdeps/posix/profil.c: Update comment referring to
23101         profil_counter.
23102         (__profil): Use __profil_counter instead of profil_counter.
23103         * sysdeps/posix/sprofil.c (profil_counter): Rename to
23104         __profil_counter.  Use __profil_counter_ushort and
23105         __profil_counter_uint in definitions.
23106         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
23107         instead of profil_counter_uint and profil_counter_ushort.
23109         [BZ #17722]
23110         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
23111         define as weak alias of __inet_makeaddr.
23112         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
23113         as weak alias of __inet_addr.
23114         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
23115         as weak alias of __inet_pton.  Use libc_hidden_weak.
23116         * include/arpa/inet.h (__inet_pton): Declare.  Use
23117         libc_hidden_proto.
23118         (inet_makeaddr): Don't use libc_hidden_proto.
23119         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
23120         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
23121         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
23122         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
23123         Remove variable.
23124         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23125         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23127 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
23129         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
23131 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23133         * stdio-common/bug-vfprintf-nargs.c (do_test):
23134         Cast value to intptr_t to avoid format warning
23135         for usage with PRIdPTR printing macro.
23137 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23139         * libio/tst-widetext.c (do_test):
23140         Use format type %td instead of %Zd for ptrdiff_t
23141         in order to avoid format warning.
23143 2014-12-17  Andreas Schwab  <schwab@suse.de>
23145         * nscd/mem.c (gc): Add size_t cast to match printf format.
23147 2014-12-16  Roland McGrath  <roland@hack.frob.com>
23149         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
23150         (init): Apply PTR_MANGLE to pointers before storing them.
23151         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
23152         before using them.
23154 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
23156         [BZ #17719]
23157         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
23158         define as weak alias of __memrchr.
23159         (__memrchr): Do not define as strong alias of memrchr.
23160         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
23161         Remove variable.
23162         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23163         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23164         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23166         [BZ #17717]
23167         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
23168         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
23169         (if_indextoname): Rename to __if_indextoname and define as weak
23170         alias of __if_indextoname.  Use libc_hidden_weak.
23171         (if_freenameindex): Rename to __if_freenameindex and define as
23172         weak alias of __if_freenameindex.
23173         (if_nameindex): Rename to __if_nameindex and define as weak alias
23174         of __if_nameindex.
23175         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23176         __if_nametoindex and define as weak alias of __if_nametoindex.
23177         Use libc_hidden_weak.
23178         (if_freenameindex): Rename to __if_freenameindex and define as
23179         weak alias of __if_freenameindex.
23180         (if_nameindex): Rename to __if_nameindex and define as weak alias
23181         of __if_nameindex.
23182         (if_indextoname): Rename to __if_indextoname and define as weak
23183         alias of __if_indextoname.  Use libc_hidden_weak.
23184         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23185         __if_nametoindex and define as weak alias of __if_nametoindex.
23186         Use libc_hidden_weak.
23187         (if_freenameindex): Rename to __if_freenameindex and define as
23188         weak alias of __if_freenameindex.  Use libc_hidden_weak.
23189         (if_nameindex_netlink): Use __if_freenameindex instead of
23190         if_freenameindex.
23191         (if_nameindex): Rename to __if_nameindex and define as weak alias
23192         of __if_nameindex.  Use libc_hidden_weak.
23193         (if_indextoname): Rename to __if_indextoname and define as weak
23194         alias of __if_indextoname.  Use libc_hidden_weak.
23195         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23196         libc_hidden_proto.
23197         [!_ISOMAC] (__if_freenameindex): Likewise.
23198         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23199         if_nametoindex.
23200         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23201         variable.
23202         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23203         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23204         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23205         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23206         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23207         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23208         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23210         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23211         Remove variable.
23212         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23213         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23215 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23217         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
23218         subscript above bounds'
23220         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
23221         bounds.
23223 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
23225         * libio/tst-fopenloc.c: Use test-skeleton.c.
23227         * stdlib/tst-bsearch.c: Use test-skeleton.c.
23228         (entry): Rename to ITEM.
23229         (do_test, comp): Adjust.
23231         * stdio-common/tst-fseek.c: Use test-skeleton.c.
23233 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23235         * string/tester.c: Include <libc-internal.h>.
23236         (test_memset): Ignore -Wmemset-transposed-args.
23238 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23240         * misc/tst-mntent2.c (do_test): Fix warning.
23242 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23244         * elf/tst-unique4lib.cc(a): Mark as used.
23246 2014-12-16  Florian Weimer  <fweimer@redhat.com>
23248         [BZ #17630]
23249         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
23250         names.
23252 2014-12-16  Allan McRae  <allan@archlinux.org>
23254         * stdio-common/Makefile (tests): Re-add bug26.
23256 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
23258         [BZ #17657]
23259         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
23260         static array.
23262 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
23264         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
23265         (__lll_lock_wait): Likewise.
23266         (__lll_timedlock_wait): Likewise.
23267         (__lll_timedwait_tid): Likewise.
23268         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
23269         (__lll_robust_timedlock_wait): Likewise.
23270         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
23271         (lll_cond_trylock): Likewise.
23272         (__lll_lock): Likewise.
23273         (__lll_robust_lock): Likewise.
23274         (__lll_cond_lock): Likewise.
23275         (lll_robust_cond_lock): Likewise.
23276         (__lll_timedlock): Likewise.
23277         (__lll_robust_timedlock): Likewise.
23278         (__lll_unlock): Likewise.
23279         (__lll_robust_unlock): Likewise.
23280         (lll_wait_tid): Likewise.
23281         (lll_timedwait_tid): Likewise.
23283 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23285         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
23287 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23289         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23291 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23293         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23294         * stdio-common/tst-sprintf.c: Likewise.
23296 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23298         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23300 2014-12-15  Jeff Law  <law@redhat.com>
23302         [BZ #16617]
23303         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23304         on the heap.  (CVE-2012-3406)
23305         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23306         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
23307         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23309 2014-12-15  Will Newton  <will.newton@linaro.org>
23311         * manual/install.texi: Bump required version of texinfo
23312         to 4.7 from 4.5.
23313         * INSTALL: Regenerated.
23314         * configure.ac: Check for makeinfo version 4.7 and above.
23315         * configure: Regenerated.
23317 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23319         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23320         PREFIX, string constant to insert between directory and name.
23321         * sysdeps/posix/shm_open.c: Update caller.
23322         * sysdeps/posix/shm_unlink.c: Likewise.
23323         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23324         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23325         (SEM_SHM_PREFIX): New macro.
23326         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23327         [$(have-thread-library) = no].
23328         * nptl/Makefile (libpthread-routines): Add shm-directory.
23329         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23330         * sysdeps/nptl/shm-directory.h: New file.
23331         * sysdeps/posix/shm-directory.c
23332         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23333         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23334         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23335         INTERNAL_SYSCALL.
23336         (__where_is_shmfs): Function removed.
23337         (mountpoint, defaultmount, defaultdir, __namedsem_once):
23338         Variables removed.
23339         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23340         Use SHM_GET_NAME.
23341         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
23343         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23344         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23345         unconditional for use inside libpthread.
23346         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23348 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23350         * nptl/pthread_getaffinity.c: New file.
23351         * nptl/pthread_setaffinity.c: New file.
23352         * nptl/pthread_getname.c: New file.
23353         * nptl/pthread_setname.c: New file.
23355         * nptl/pthread_create.c (START_THREAD_DEFN)
23356         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23358 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23359             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23361         * resolv/res_send.c (send_vc): Disable warning resplen may
23362         be used uninitialized.
23364 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23366         * nptl/tst-mutex6.c
23367         (ATTR_NULL): New define checks ATTR against NULL.
23368         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23369         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
23371 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
23373         [BZ #17581]
23374         * malloc/hooks.c
23375         (mem2mem_check): Revert my previous change.
23376         (malloc_check_get_size): Revert my previous change.
23377         (mem2chunk_check): Revert my previous change.
23379 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23381         * sysdeps/posix/shm-directory.c: New file.
23382         * sysdeps/posix/shm-directory.h: New file.
23383         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
23384         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
23385         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
23386         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
23387         Transmute EPERM to EACCES.
23388         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
23389         from ...
23390         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
23391         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
23393 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23395         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
23396         pointer and cast to uintptr_t.
23397         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
23398         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
23399         Add cast to avoid warning.
23400         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
23402 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23404         * nptl/semaphore.h: Move to ...
23405         * sysdeps/pthread/semaphore.h: ... here.
23406         * Makefile (installed-headers): Change nptl/semaphore.h to
23407         sysdeps/pthread/semaphore.h.
23409 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23411         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
23412         generated error format strings.
23414         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
23415         -Wformat-extra-args warnings for scanf formats.
23416         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
23417         test of zero-length format (duh).
23418         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
23419         corner-case scanf format test.
23420         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
23421         generated fprintf format string.
23422         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
23423         corner-case sprintf format tests.
23424         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
23425         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
23426         -Wformat-extra-args warnings throughout.
23427         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
23428         (CFLAGS-scanf4.c): Likewise.
23429         (CFLAGS-scanf7.c): Likewise.
23430         (CFLAGS-tst-sprintf.c): Likewise.
23431         (CFLAGS-tst-printf.c): Likewise.
23432         (CFLAGS-tst-printfsz.c): Likewise.
23434 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23436         * include/cpio.h: New file.
23437         * include/fmtmsg.h: Likewise.
23439         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
23440         corresponding format argument to size_t.
23441         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
23442         arguments.
23443         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
23444         corresponding format argument to size_t.
23445         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
23446         arguments.
23447         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
23448         corresponding format argument to size_t.
23449         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
23450         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
23451         (CFLAGS-tst-mbswcs2.c): Likewise.
23452         (CFLAGS-tst-mbswcs3.c): Likewise.
23453         (CFLAGS-tst-mbswcs4.c): Likewise.
23454         (CFLAGS-tst-mbswcs5.c): Likewise.
23455         (CFLAGS-tst-trans.c): Likewise.
23457 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23459         * posix/regexbug1.c (main): Use "%s" format with regerror results,
23460         rather than assuming they won't contain any '%'s.
23462 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
23464         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
23465         inhibit_loop_to_libcall to avoid recursive calls.
23466         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
23467         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
23469 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23471         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
23472         prototype.
23474 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23476         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
23477         integer value instead of boolean.
23479 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23481         * malloc/malloc.c: Fix powerof2 check.
23483 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23485         * locale/programs/locfile.h (maybe_swap_uint32):
23486         Remove inline and add unused attribute.
23488 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23490         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23491         Truncating assembler expression to a .long expression.
23493 2014-12-11  Andreas Schwab  <schwab@suse.de>
23495         * elf/rtld.c (struct map_args): Constify str member.
23496         (do_preload): Constify fname argument.
23498 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23500         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
23501         constants definition.
23503 2014-12-11  Andreas Schwab  <schwab@suse.de>
23505         [BZ #16657]
23506         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
23507         FORCE_ELISION instead of DO_ELISION.
23508         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
23509         Remove.
23510         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
23511         Likewise.
23513         * iconvdata/gconv-modules: Remove duplicate entry.
23515 2014-12-11  Will Newton  <will.newton@linaro.org>
23517         Merge gettext 0.19.3 into intl/.
23519         This involves a number of cosmetic changes to comments
23520         and ANSI function definitions and prototypes throughout
23521         all the files. The gettext copyright header is used but
23522         with the date ranges taken from the glibc copy.
23524         * NEWS: Add gettext merge to 2.21.
23525         * intl/bindtextdom.c: Switch to gettext copyright.
23526         Use ANSI definitions and prototypes.
23527         Use gl_* locking primitives rather than __libc_* ones.
23528         Use __builtin_expect rather than __glibc_likely/unlikely.
23529         * intl/dcgettext.c: Switch to gettext copyright.
23530         Use ANSI definitions and prototypes.
23531         * intl/dcigettext.c: Switch to gettext copyright.
23532         Use ANSI definitions and prototypes.
23533         (INTDIV0_RAISES_SIGFPE): New define.
23534         Use gl_* locking primitives rather than __libc_* ones.
23535         Include eval-plural.h instead of plural-eval.c.
23536         Use __builtin_expect rather than __glibc_likely/unlikely.
23537         * intl/dcngettext.c: Switch to gettext copyright.
23538         Use ANSI definitions and prototypes.
23539         * intl/dgettext.c: Likewise.
23540         * intl/dngettext.c: Likewise.
23541         * intl/plural-eval.c: Renamed to...
23542         * intl/eval-plural.h: ...this.
23543         * intl/explodename.c: Switch to gettext copyright.
23544         Use ANSI definitions and prototypes.
23545         (_nl_explode_name): Use strchr instead of __rawmemchr.
23546         * intl/finddomain.c: Switch to gettext copyright.
23547         Use ANSI definitions and prototypes.
23548         Use gl_* locking primitives rather than __libc_* ones.
23549         (_nl_find_domain): Use malloc rather than alloca for
23550         allocation of temporary locale name.
23551         * intl/gettext.c: Switch to gettext copyright.
23552         Use ANSI definitions and prototypes.
23553         * intl/gettextP.h: Switch to gettext copyright.
23554         Use ANSI definitions and prototypes.
23555         Use gl_* locking primitives rather than __libc_* ones.
23556         * intl/gmo.h: Switch to gettext copyright.
23557         (struct sysdep_string): Move struct segment_pair outside of
23558         struct definition.
23559         * intl/hash-string.c: Use ANSI definitions and prototypes.
23560         * intl/hash-string.h: Switch to gettext copyright.
23561         Use ANSI definitions and prototypes.
23562         * intl/l10nflist.c: Switch to gettext copyright.
23563         Use ANSI definitions and prototypes.
23564         (_nl_normalize_codeset): Avoid integer overflow.
23565         * intl/loadinfo.h: Switch to gettext copyright.
23566         Use ANSI definitions and prototypes.
23567         (LIBINTL_DLL_EXPORTED): New define.
23568         (PATH_SEPARATOR): New define.
23569         * intl/loadmsgcat.c: Switch to gettext copyright.
23570         * intl/localealias.c: Switch to gettext copyright.
23571         Use ANSI definitions and prototypes.
23572         (_nl_expand_alias): Use PATH_SEPARATOR.
23573         * intl/ngettext.c: Switch to gettext copyright.
23574         Use ANSI definitions and prototypes.
23575         * intl/plural-exp.c: Likewise.
23576         * intl/plural-exp.h: Switch to gettext copyright.
23577         Use ANSI definitions and prototypes.
23578         (struct expression): Move definition of enum operator outside
23579         of struct definition.
23580         * intl/plural.c: Regenerate.
23581         * intl/plural.y: Switch to gettext copyright.
23582         Use ANSI definitions and prototypes.
23583         Port to bison 3.0.
23584         * intl/textdomain.c: Switch to gettext copyright.
23585         Use ANSI definitions and prototypes.
23586         Use gl_* locking primitives rather than __libc_* ones.
23588 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
23590         * debug/warning-nop.c: Add used atrribute.
23592 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23594         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
23596         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
23597         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
23598         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
23600 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23601             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23603         [BZ #17634]
23604         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
23605         Undefine after defining function.  Define as weak alias of
23606         __wcschr.  Use libc_hidden_weak.
23607         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
23608         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
23609         (libc_hidden_def): Also define __GI___wcschr alias.
23610         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
23611         __wcschr and define as weak alias of __wcschr.
23612         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
23613         __wcschr.
23614         [!WCSCHR] (DEFAULT_WCSCHR): Define.
23615         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
23616         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
23617         libc_hidden_weak.  Do not use libc_hidden_def.
23618         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
23619         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
23620         __GI___wcschr alias.
23621         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
23622         [IS_IN (libc)] (wcschr): Define as macro expanding to
23623         __redirect_wcschr.
23624         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
23625         [IS_IN (libc)] (__wcschr_power6): Likewise.
23626         [IS_IN (libc)] (__wcschr_power7): Likewise.
23627         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
23628         instead of wcschr.
23629         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
23630         __libc_wcschr.
23631         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
23632         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
23633         __wcschr and define as weak alias of __wcschr.  Use
23634         libc_hidden_builtin_def.
23635         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
23636         as weak alias of __wcschr.  Use libc_hidden_weak.
23637         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
23638         wcschr.
23639         * time/era.c (_nl_init_era_entries): Likewise.
23640         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
23641         variable.
23642         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23643         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23645 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23647         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
23648         format for long int variable.
23650 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
23652         [BZ #10672]
23653         * manual/search.texi: (Array Sort Function): Remove claim how to make
23654         qsort stable.
23656 2014-12-10  Andreas Schwab  <schwab@suse.de>
23658         [BZ #12847]
23659         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
23660         user-controlled locks.
23662 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
23664         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
23665         register.
23667 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23669         * configure.ac (--disable-werror): New configure option.
23670         (enable_werror): New AC_SUBST.
23671         * configure: Regenerated.
23672         * config.make.in (enable-werror): New variable.
23673         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
23674         -Wno-error=undef.
23675         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
23676         * manual/install.texi (Configuring and compiling): Document
23677         --disable-werror.
23678         * INSTALL: Regenerated.
23679         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
23680         (CFLAGS-tst-chk2.c): Likewise.
23681         (CFLAGS-tst-chk3.c): Likewise.
23682         (CFLAGS-tst-chk4.cc): Likewise.
23683         (CFLAGS-tst-chk5.cc): Likewise.
23684         (CFLAGS-tst-chk6.cc): Likewise.
23685         (CFLAGS-tst-lfschk1.c): Likewise.
23686         (CFLAGS-tst-lfschk2.c): Likewise.
23687         (CFLAGS-tst-lfschk3.c): Likewise.
23688         (CFLAGS-tst-lfschk4.cc): Likewise.
23689         (CFLAGS-tst-lfschk5.cc): Likewise.
23690         (CFLAGS-tst-lfschk6.cc): Likewise.
23692         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
23693         (main): Disable -Wdeprecated-declarations around calls to
23694         register_printf_function.
23696         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
23697         (do_test): Disable -Wdiv-by-zero around some calls to
23698         fwrite_unlocked and fread_unlocked.
23700         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
23701         (DIAG_POP_NEEDS_COMMENT): Likewise.
23702         (_DIAG_STR1): Likewise.
23703         (_DIAG_STR): Likewise.
23704         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
23705         * stdio-common/bug21.c: Include <libc-internal.h>.
23706         (do_test): Disable -Wformat around call to sscanf.
23707         * stdio-common/scanf14.c: Include <libc-internal.h>.
23708         (main): Disable -Wformat around some calls to scanf functions.
23710 2014-12-09  Torvald Riegel  <triegel@redhat.com>
23712         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
23714 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23716         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
23717         stack variable alignment.
23719 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
23721         [BZ #17682]
23722         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
23723         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
23724         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
23725         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
23726         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
23727         __getrlimit instead of getrlimit.
23728         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
23729         __gettimeofday instead of gettimeofday.
23730         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23731         Likewise.
23732         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23733         Likewise.
23734         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23735         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
23736         Remove variable.
23737         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23738         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23740 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23742         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
23743         for wide-character tests.
23745 2014-12-04  Roland McGrath  <roland@hack.frob.com>
23747         * io/openat64.c: #include <libc-internal.h>
23748         (__openat64): Prototypify.  Use ignore_value on MODE.
23749         * io/openat.c: Likewise.
23750         * misc/reboot.c: #include <libc-internal.h>
23751         (reboot): Prototypify.  Use ignore_value on HOWTO.
23752         * misc/ptrace.c: #include <libc-internal.h>
23753         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
23755 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
23757         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
23758         XPG4, UNIX98 and XOPEN2K.
23759         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
23760         Remove variable.
23761         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23763 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23765         * libio/fileops.c: Use ISO C style for function definitions.
23766         * libio/iofopen.c: Likewise.
23767         * libio/wfileops.c: Likewise.
23769         [BZ #17653]
23770         * libio/fileops.c (_IO_new_file_underflow): Unset cached
23771         offset on EOF.
23772         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
23773         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
23774         (fgets_func): Function pointer to fgets and fgetws.
23775         (do_ftell_test): Add test to verify ftell value after read
23776         EOF.
23777         (do_test): Set fgets_func.
23779         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
23780         O_TRUNC flag for w and w+ modes.
23781         (do_rewind_test): Likewise.
23782         (do_ftell_test): Likewise.
23783         (do_write_test): Likewise.
23785         [BZ #17647]
23786         * libio/fileops.c (do_ftell): Seek only when there are
23787         unflushed writes.
23788         * libio/wfileops.c (do_ftell_wide): Likewise.
23789         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
23790         test case.
23791         (do_one_test): Call it.
23793 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
23795         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
23796         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
23797         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
23798         Remove variable.
23799         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23800         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23801         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23803 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23805         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
23806         Remove variable.
23807         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23809         [BZ #17668]
23810         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
23811         as weak alias of __getifaddrs.  Use libc_hidden_weak.
23812         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23813         __freeifaddrs.  Use libc_hidden_weak.
23814         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
23815         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
23816         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23817         __freeifaddrs.  Use libc_hidden_weak.
23818         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
23819         __getifaddrs and define as weak alias of __getifaddrs.  Use
23820         libc_hidden_weak.
23821         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23822         __freeifaddrs.  Use libc_hidden_weak.
23823         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
23824         Remove variable.
23825         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23826         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23828 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
23830         [BZ #17601]
23831         * sysdeps/mips/start.S (__start): Use indirect jump to call
23832         __libc_start_main.
23834 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23836         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
23838         * nptl/tst-mutex1.c: Include <stdbool.h>.
23839         [!ATTR] (ATTR_NULL): New macro.
23840         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
23841         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
23842         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
23844         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
23845         to char *.
23847         [BZ #17665]
23848         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
23849         Change conditional to [__USE_MISC].
23851         [BZ #17664]
23852         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
23853         fgets_unlocked.
23854         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
23855         __fgets_unlocked.
23856         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
23857         fgets_unlocked.
23858         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
23859         Remove variable.
23860         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23861         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23862         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23863         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23864         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23865         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23866         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23867         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23868         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23870         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
23872 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23874         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23875         Remove strpbrk objects.
23876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23877         (__libc_ifunc_impl_list): Remove strpbrk implementation.
23878         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
23879         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
23880         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
23881         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
23883         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23884         Remove strcspn objects.
23885         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23886         (__libc_ifunc_impl_list): Remove strcspn implementation.
23887         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
23888         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
23889         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
23890         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
23892         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23893         Remove strspn objetcs.
23894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23895         (__libc_ifunc_impl_list): Remove strspn implementation.
23896         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
23897         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23898         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
23899         * sysdeps/powerpc/powerpc64/strspn.S: New file.
23901 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
23903         [BZ #17581]
23904         * malloc/hooks.c
23905         (mem2mem_check): Add a terminator to the chain of checking blocks.
23906         (malloc_check_get_size): Use it here.
23907         (mem2chunk_check): Ditto.
23909 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23911         * sysdeps/powerpc/powerpc64/strtok.S: New file.
23912         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
23914 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
23916         * bits/ioctl-types.h: Indent preprocessor directives correctly.
23918         * nptl/nptl-init.c: Include libc-internal.h.
23919         (__pthread_initialize_minimal_internal): Use ROUND_UP.
23921         * elf/ldconfig.c (search_dir): Expand comment.
23923 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
23925         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
23926         variable.
23927         (linknamespace-symlist-stdlibs-tests): Likewise.
23928         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
23929         instead of $(objpfx)symlist-stdlibs.
23930         (linknamespace-libs-isoc): New variable.
23931         (linknamespace-libs): Use $(linknamespace-libs-isoc).
23932         (linknamespace-libs-ISO): New variable.
23933         (linknamespace-libs-ISO99): Likewise.
23934         (linknamespace-libs-ISO11): Likewise.
23935         (linknamespace-libs-XPG3): Likewise.
23936         (linknamespace-libs-XPG4): Likewise.
23937         (linknamespace-libs-POSIX): Likewise.
23938         (linknamespace-libs-UNIX98): Likewise.
23939         (linknamespace-libs-XOPEN2K): Likewise.
23940         (linknamespace-libs-POSIX2008): Likewise.
23941         (linknamespace-libs-XOPEN2K8): Likewise.
23942         ($(objpfx)symlist-stdlibs): Replace by
23943         $(linknamespace-symlist-stdlibs-tests).  Use
23944         $(linknamespace-libs-$*) as set of libraries.
23945         ($(linknamespace-header-tests)): Update dependencies.  Use
23946         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
23947         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
23948         * conform/linknamespace.pl: Remove comment about considering
23949         definitions of symbols from irrelevant libraries.
23951 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
23953         [BZ #13862]
23954         * elf/dl-tls.c: Include <atomic.h>.
23955         (oom): Remove #ifdef SHARED/#endif.
23956         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
23957         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
23958         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
23959         big enough.
23960         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
23961         * nptl/Makefile (tests): Add tst-stack4.
23962         (modules-names): Add tst-stack4mod.
23963         ($(objpfx)tst-stack4): New.
23964         (tst-stack4mod.sos): Likewise.
23965         ($(objpfx)tst-stack4.out): Likewise.
23966         ($(tst-stack4mod.sos)): Likewise.
23967         (clean): Likewise.
23968         * nptl/tst-stack4.c: New file.
23969         * nptl/tst-stack4mod.c: Likewise.
23971 2014-11-27  J. Brown  <jb999@gmx.de>
23973         * sysdeps/x86/bits/string.h: Add recent CPUs.
23975 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23977         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
23978         sigblock.
23980         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
23981         feof.
23983         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
23984         variable.
23986 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
23988         * nscd/connections.c: Include libc-internal.h because of macro
23989         usage ignore_value.
23991 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23993         * string/bits/string3.h (__warn_memset_zero_len): Don't
23994         declare for gcc newer than 5.0.
23995         (memset): Don't test for zero-length __LEN for gcc newer than
23996         5.0.
23998 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24000         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
24001         size_t for %zu format.
24003         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
24004         difference, not %ju.
24006 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24008         * include/libc-internal.h (ignore_value): New macro.
24009         * nscd/connections.c (restart): Wrap calls to setuid and setgid
24010         with ignore_value.
24012         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
24013         definition.
24015         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
24016         pthread_cleanup_push to void *.
24018         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
24019         Undefine.
24021         [BZ #16619]
24022         [BZ #16740]
24023         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
24024         instead of 1L << 52.
24026         * libio/bug-rewind.c (do_test): Check fwscanf return values.
24027         * libio/bug-rewind2.c (do_test): Likewise.
24029         * debug/test-stpcpy_chk-ifunc.c: Remove file.
24030         * debug/test-strcpy_chk-ifunc.c: Likewise.
24031         * wcsmbs/test-wcschr-ifunc.c: Likewise.
24032         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24033         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24034         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24035         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24036         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24037         * Rules [$(multi-arch) = no] (tests): Do not filter out
24038         $(tests-ifunc).
24039         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
24040         * debug/Makefile (tests-ifunc): Remove variable.
24041         (tests): Do not add $(tests-ifunc).
24042         * wcsmbs/Makefile (tests-ifunc): Remove variable.
24043         (tests): Do not add $(tests-ifunc).
24044         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
24045         [TEST_IFUNC]: Remove conditionals.
24046         * string/test-string.h (TEST_IFUNC): Remove macro.
24047         [TEST_IFUNC]: Remove conditionals.
24049         * string/test-strchr.c [!WIDE] (L): New macro.
24050         [WIDE] (L): Likewise.
24051         (check1): Use CHAR instead of char.  Use L on string and character
24052         constants.
24054 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
24056         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
24057         tests.
24058         * sysdeps/powerpc/bits/atomic.h
24059         (__arch_atomic_exchange_and_add_32_acq): Add definition.
24060         (__arch_atomic_exchange_and_add_32_rel): Likewise.
24061         (atomic_exchange_and_add_acq): Likewise.
24062         (atomic_exchange_and_add_rel): Likewise.
24063         * sysdeps/powerpc/powerpc32/bits/atomic.h
24064         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24065         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24066         * sysdeps/powerpc/powerpc64/bits/atomic.h
24067         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24068         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24070 2014-11-26  Torvald Riegel  <triegel@redhat.com>
24072         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
24073         Change synchronization of __sched_fifo_min_prio and
24074         __sched_fifo_max_prio.
24075         * nptl/pthread_mutexattr_getprioceiling.c
24076         (pthread_mutexattr_getprioceiling): Likewise.
24077         * nptl/pthread_mutexattr_setprioceiling.c
24078         (pthread_mutexattr_setprioceiling): Likewise.
24079         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24080         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
24081         Likewise.
24083 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24085         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
24086         void.
24088 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24090         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
24091         third argument const.
24093 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
24095         fnmatch: work around GCC compiler warning bug with uninit var
24096         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
24097         This works around a bug with x86-64 GCC 4.9.2 and earlier
24098         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
24099         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
24100         used uninitialized in this function [-Wmaybe-uninitialized]".
24102 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24104         * posix/bug-regex31.c (main): Return RES not 0.
24106 2014-11-25  Anton Blanchard <anton@samba.org>
24108         * sysdeps/powerpc/bits/atomic.h
24109         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24111 2014-11-24  Sterling Augustine  <saugustine@google.com>
24113         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
24115 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
24117         [BZ #17608]
24118         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
24120 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
24122         [BZ #17633]
24123         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
24124         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
24125         variable.
24126         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24127         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24129 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24131         * string/strncpy.c (strncpy): Improve performance by using memset.
24133 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24135         * string/strcpy.c (strcpy):
24136         Improve performance by using strlen and memcpy.
24138 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
24140         * string/strcoll_l.c (get_next_seq): __always_inline.
24141         * string/strcoll_l.c (do_compare): __always_inline.
24143 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24145         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
24146         defined.
24147         * include/mqueue.h: Likewise.
24148         * include/stdlib.h: Likewise.
24150         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
24151         (get_null_defines): Adjust.
24152         * sunrpc/Makefile: Adjust comment.
24153         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
24154         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
24155         (CFLAGS-interp.c): Likewise.
24156         (CFLAGS-ldconfig.c): Likewise.
24157         (CPPFLAGS-.os): Likewise.
24158         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24159         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24160         * extra-modules.mk (extra-modules.mk): Likewise.
24161         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
24162         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
24163         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
24164         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
24165         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
24166         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
24167         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
24168         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
24169         * iconvdata/Makefile (CPPFLAGS): Likewise.
24170         (cpp-srcs-left): Add libof for all iconvdata routines.
24171         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
24172         * include/assert.h: Likewise.
24173         * include/ctype.h: Likewise.
24174         * include/errno.h: Likewise.
24175         * include/libc-symbols.h: Likewise.
24176         * include/math.h: Likewise.
24177         * include/netdb.h: Likewise.
24178         * include/resolv.h: Likewise.
24179         * include/stdio.h: Likewise.
24180         * include/stdlib.h: Likewise.
24181         * include/string.h: Likewise.
24182         * include/sys/stat.h: Likewise.
24183         * include/wctype.h: Likewise.
24184         * intl/l10nflist.c: Likewise.
24185         * libidn/idn-stub.c: Likewise.
24186         * libio/libioP.h: Likewise.
24187         * nptl/libc_multiple_threads.c: Likewise.
24188         * nptl/pthreadP.h: Likewise.
24189         * posix/regex_internal.h: Likewise.
24190         * resolv/res_hconf.c: Likewise.
24191         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24192         * sysdeps/arm/memmove.S: Likewise.
24193         * sysdeps/arm/sysdep.h: Likewise.
24194         * sysdeps/generic/_itoa.h: Likewise.
24195         * sysdeps/generic/symbol-hacks.h: Likewise.
24196         * sysdeps/gnu/errlist.awk: Likewise.
24197         * sysdeps/gnu/errlist.c: Likewise.
24198         * sysdeps/i386/i586/memcpy.S: Likewise.
24199         * sysdeps/i386/i586/memset.S: Likewise.
24200         * sysdeps/i386/i686/memcpy.S: Likewise.
24201         * sysdeps/i386/i686/memmove.S: Likewise.
24202         * sysdeps/i386/i686/mempcpy.S: Likewise.
24203         * sysdeps/i386/i686/memset.S: Likewise.
24204         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24205         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24206         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24207         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24208         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24209         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24210         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24211         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24212         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24213         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24214         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24215         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24216         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24217         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24218         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24219         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24220         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
24221         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
24222         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
24223         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24224         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24225         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24226         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24227         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24228         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24229         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24230         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
24231         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24232         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
24233         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24234         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24235         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24236         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24237         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24238         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24239         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24240         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24241         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24242         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24243         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24244         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24245         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24246         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24247         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24248         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24249         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24250         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
24251         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
24252         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24253         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24254         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24255         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
24256         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
24257         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24258         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24259         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
24260         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24261         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
24262         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
24263         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24264         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24265         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24266         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
24267         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24268         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24269         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
24270         * sysdeps/posix/closedir.c: Likewise.
24271         * sysdeps/posix/opendir.c: Likewise.
24272         * sysdeps/posix/readdir.c: Likewise.
24273         * sysdeps/posix/rewinddir.c: Likewise.
24274         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
24275         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
24276         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24277         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24278         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24279         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
24280         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
24281         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
24282         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
24283         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
24284         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
24285         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
24286         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
24287         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
24288         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
24289         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
24290         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24291         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24292         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24293         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24294         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24295         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24296         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24297         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24298         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24299         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24300         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24301         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24302         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24303         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24304         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24305         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24306         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24307         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24308         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24309         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24310         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24311         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24312         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24313         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24314         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24315         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24316         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24317         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24318         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24319         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24320         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24321         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24322         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24323         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24324         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24325         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24326         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24327         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24328         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24329         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24330         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24331         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24332         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24333         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24334         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24335         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24336         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24337         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24338         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24339         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24340         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24341         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24342         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24343         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24344         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24345         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24346         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24347         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24348         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24349         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24350         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24351         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24352         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24353         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24354         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24355         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24356         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24357         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24358         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24359         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24360         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24361         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24362         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24363         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24364         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24365         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24366         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24367         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24368         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24369         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
24370         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24371         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24372         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
24373         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
24374         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24375         * sysdeps/unix/alpha/sysdep.S: Likewise.
24376         * sysdeps/unix/alpha/sysdep.h: Likewise.
24377         * sysdeps/unix/make-syscalls.sh: Likewise.
24378         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24379         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24380         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24381         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
24382         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24383         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24384         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
24385         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24386         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24387         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
24388         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24389         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24390         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24391         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24392         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24393         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24394         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24395         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24396         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24397         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24398         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24399         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24400         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24401         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24402         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24403         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24404         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24407         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
24408         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24409         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24410         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24411         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24412         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24413         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24414         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24415         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24416         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24417         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24418         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24419         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24420         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24421         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24422         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24423         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24424         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24425         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24426         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24427         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24428         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24429         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24430         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24431         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24432         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
24433         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24434         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24435         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24436         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
24437         * sysdeps/x86_64/memcpy.S: Likewise.
24438         * sysdeps/x86_64/memmove.c: Likewise.
24439         * sysdeps/x86_64/memset.S: Likewise.
24440         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
24441         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24442         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24443         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
24444         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
24445         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24446         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24447         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24448         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24449         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24450         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24451         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24452         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
24453         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24454         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24455         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
24456         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24457         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24458         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24459         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24460         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
24461         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24462         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24463         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24464         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24465         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24466         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24467         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
24468         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24469         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24470         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
24471         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24472         * sysdeps/x86_64/strcmp.S: Likewise.
24474         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
24476         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
24477         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
24478         * elf/rtld-Rules: Likewise.
24479         * elf/setup-vdso.h: Likewise.
24480         * include/assert.h: Likewise.
24481         * include/bits/stdlib-float.h: Likewise.
24482         * include/errno.h: Likewise.
24483         * include/sys/stat.h: Likewise.
24484         * include/unistd.h: Likewise.
24485         * sysdeps/aarch64/setjmp.S: Likewise.
24486         * sysdeps/alpha/setjmp.S: Likewise.
24487         * sysdeps/arm/__longjmp.S: Likewise.
24488         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
24489         * sysdeps/arm/setjmp.S: Likewise.
24490         * sysdeps/arm/sysdep.h: Likewise.
24491         * sysdeps/generic/_itoa.h: Likewise.
24492         * sysdeps/generic/dl-sysdep.h: Likewise.
24493         * sysdeps/generic/ldsodefs.h: Likewise.
24494         * sysdeps/i386/dl-tls.h: Likewise.
24495         * sysdeps/i386/setjmp.S: Likewise.
24496         * sysdeps/m68k/setjmp.c: Likewise.
24497         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
24498         * sysdeps/mach/hurd/opendir.c: Likewise.
24499         * sysdeps/posix/getcwd.c: Likewise.
24500         * sysdeps/posix/opendir.c: Likewise.
24501         * sysdeps/posix/profil.c: Likewise.
24502         * sysdeps/powerpc/dl-procinfo.h: Likewise.
24503         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24504         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24505         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24506         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24507         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
24508         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24509         * sysdeps/s390/dl-tls.h: Likewise.
24510         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24511         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24512         * sysdeps/sh/sh3/setjmp.S: Likewise.
24513         * sysdeps/sh/sh4/setjmp.S: Likewise.
24514         * sysdeps/unix/alpha/sysdep.h: Likewise.
24515         * sysdeps/unix/arm/sysdep.S: Likewise.
24516         * sysdeps/unix/i386/sysdep.S: Likewise.
24517         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24518         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24519         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24520         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24521         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24522         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24523         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24524         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24525         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24526         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24527         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24528         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24529         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24532         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24533         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24534         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24535         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24536         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24537         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24538         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24539         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24540         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24541         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24542         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24543         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24544         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24545         * sysdeps/x86_64/setjmp.S: Likewise.
24547         * include/math.h: Use IS_IN instead of IS_IN_libm.
24548         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
24549         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24550         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24551         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
24552         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24553         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24554         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24555         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24556         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24557         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24558         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
24559         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
24560         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
24561         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
24562         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
24563         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
24564         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24565         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
24566         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24567         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
24568         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
24569         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
24570         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
24571         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
24572         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
24573         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
24574         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
24575         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24576         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24577         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
24578         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
24579         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24580         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24582         Likewise.
24583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
24584         Likewise.
24585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
24586         Likewise.
24587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
24588         Likewise.
24589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
24590         Likewise.
24591         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24592         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
24593         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24594         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24595         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24596         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
24598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
24599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
24600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
24601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
24602         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
24603         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
24604         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24605         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24606         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24607         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24608         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24609         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24610         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24611         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
24612         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
24613         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
24614         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
24615         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
24616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24617         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
24619         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
24620         * nptl/pthreadP.h: Likewise.
24621         * nptl_db/structs.def: Likewise.
24622         * sysdeps/arm/sysdep.h: Likewise.
24623         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24624         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24625         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
24626         * sysdeps/unix/alpha/sysdep.h: Likewise.
24627         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24628         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24629         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24630         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24631         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24632         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24633         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24634         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24635         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24636         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24637         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24638         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24639         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24640         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24643         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24644         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24645         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24646         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24647         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24648         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24649         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24650         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24651         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
24652         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24654         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
24655         * nptl/pthreadP.h: Likewise.
24656         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24657         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24658         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24659         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24660         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24661         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24662         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24663         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24664         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24665         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24666         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24667         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24669         Likewise.
24670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24671         Likewise.
24672         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24673         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24674         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24675         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24676         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24677         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24678         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24679         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24681         * dlfcn/dladdr.c: Use IS_IN.
24682         * dlfcn/dladdr1.c: Likewise.
24683         * dlfcn/dlclose.c: Likewise.
24684         * dlfcn/dlerror.c: Likewise.
24685         * dlfcn/dlinfo.c: Likewise.
24686         * dlfcn/dlmopen.c: Likewise.
24687         * dlfcn/dlopen.c: Likewise.
24688         * dlfcn/dlsym.c: Likewise.
24689         * dlfcn/dlvsym.c: Likewise.
24691         * include/ifaddrs.h: Use IS_IN.
24692         * inet/check_pf.c: Likewise.
24693         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24694         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
24696         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
24697         IS_IN_ldconfig.
24698         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
24699         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
24701         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
24702         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
24703         IS_IN (libc).
24705         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
24707         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
24708         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24709         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24710         * include/libc-symbols.h (IS_IN_LIB): New macro.
24711         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
24712         * include/netdb.h: Likewise.
24713         * include/stap-probe.h: Remove all uses of IN_LIB.
24715         * Makeconfig (module-cppflags-real): Define MODULE_NAME
24716         instead of IN_MODULE.
24717         * include/libc-symbols.h (IN_MODULE): Define using
24718         MODULE_NAME.
24719         (PASTE_NAME, PASTE_NAME1): New macros.
24720         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
24721         of IN_LIB.
24722         (STAP_PROBE_ASM): Likewise.
24724 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24726         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
24727         __mach_init in dlopened libc.
24729 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
24731         * sysdeps/arm/preconfigure.ac: Delete EABI check.
24732         * sysdeps/arm/preconfigure: Regenerate.
24734 2014-11-21  Roland McGrath  <roland@hack.frob.com>
24736         * nptl/pthread_create.c (__pthread_create_2_1): Set
24737         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
24738         when copying values from IATTR into PD.
24740 2014-11-21  Will Newton  <will.newton@linaro.org>
24741             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
24743         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
24744         Refactor inline-asm.  Also add comment.
24746         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
24747         ElfW macro instead of hardcoded Elf64 types.
24748         (la_aarch64_gnu_pltenter): Likewise.
24749         * sysdeps/aarch64/dl-machine.h
24750         (elf_machine_runtime_setup): Use ElfW(Addr).
24752         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
24753         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
24754         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
24755         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
24756         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
24757         (R_AARCH64_TLS_DTPMOD64): Rename to ..
24758         (R_AARCH64_TLS_DTPMOD): This.
24759         (R_AARCH64_TLS_DTPREL64): Rename to ...
24760         (R_AARCH64_TLS_DTPREL): This.
24761         (R_AARCH64_TLS_TPREL64): Rename to ...
24762         (R_AARCH64_TLS_TPREL): This.
24763         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
24764         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
24765         R_AARCH64_TLS_TPREL64.
24766         (elf_machine_rela): Likewise.
24768 2014-11-21  Torvald Riegel  <triegel@redhat.com>
24770         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
24771         by setting it to 0.  64b atomics are not supported currently.
24773 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24775         [BZ #16469]
24776         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
24777         search domain names.
24779 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24781         [BZ #16469]
24782         * NEWS: Update.
24783         * resolv/res_query.c (__libc_res_nquerydomain): Retain
24784         trailing dot.
24785         * posix/tst-getaddrinfo5.c: New.
24786         * posix/Makefile (tests): Add it.
24788 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24790         [BZ #14498]
24791         * NEWS: Fixed.
24792         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
24793         after parsing line but before break_if_match.
24794         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
24795         if there is a protocol mismatch.
24797 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
24799         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
24800         because the potential race is on the user-supplied stream.
24802 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24804         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
24805         string literal if not passed a buffer.
24806         * manual/job.texi (ctermid): Update reasoning, note deviation
24807         from posix, suggest mtasurace when not passed a buffer, for
24808         future non-preliminary safety notes.
24810 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24812         * manual/users.texi (cuserid): Fix MT-Safety note for the case
24813         of not passing it a buffer.
24814         Reported by Peng Haitao.
24816 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24818         * manual/Makefile ($(objpfx)stamp-summary): Require
24819         check-safety.sh to pass.
24820         * manual/check-safety.sh: Wish for verification that every
24821         @deftypefn and @deftypefun is followed by a @safety remark.
24823 2014-11-20  Roland McGrath  <roland@hack.frob.com>
24825         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
24827         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
24828         PTHREAD_CANCEL_ASYNCHRONOUS.
24829         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
24830         send SIGCANCEL.
24832         * nptl/default-sched.h: New file.
24833         * sysdeps/unix/sysv/linux/default-sched.h: New file.
24834         * nptl/pthread_create.c: Include it.
24835         (__pthread_create_2_1): Use collect_default_sched instead of making
24836         Linux syscalls here directly.
24838 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24840         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
24841         __pthread_once): Use C11 atomics.
24843 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24845         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
24847 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24849         * include/atomic.h (__atomic_link_error, __atomic_check_size,
24850         atomic_thread_fence_acquire, atomic_thread_fence_release,
24851         atomic_thread_fence_seq_cst, atomic_load_relaxed,
24852         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
24853         atomic_compare_exchange_weak_relaxed,
24854         atomic_compare_exchange_weak_acquire,
24855         atomic_compare_exchange_weak_release,
24856         atomic_exchange_acquire, atomic_exchange_release,
24857         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
24858         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
24859         atomic_fetch_and_acquire,
24860         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
24862 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24864         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
24865         USE_ATOMIC_COMPILER_BUILTINS): Define.
24866         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
24867         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24868         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
24869         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24870         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
24871         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24872         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
24873         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24874         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
24875         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24876         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
24877         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24878         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
24879         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24880         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
24881         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24882         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24883         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24884         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24885         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24886         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
24887         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24888         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24889         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24890         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
24891         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24892         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24893         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24894         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
24895         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24896         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
24897         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24898         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
24899         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24900         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24901         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24902         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
24903         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24904         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
24905         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24907 2014-11-19  Roland McGrath  <roland@hack.frob.com>
24909         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
24910         the sched_priority value here.  It was already checked when the user
24911         called pthread_attr_setschedparam.
24913         * nptl/tst-bad-schedattr.c: New file.
24914         * nptl/Makefile (tests): Add it.
24916 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
24917             Florian Weimer  <fweimer@redhat.com>
24918             Joseph Myers  <joseph@codesourcery.com>
24919             Adam Conrad  <adconrad@0c3.net>
24920             Andreas Schwab  <schwab@suse.de>
24921             Brooks  <bmoses@google.com>
24923         [BZ #17625]
24924         * wordexp-test.c (__dso_handle): Add prototype.
24925         (__register_atfork): Likewise.
24926         (__app_register_atfork): New function.
24927         (registered_forks): New global.
24928         (register_fork): New function.
24929         (test_case): Add 3 new tests for WRDE_CMDSUB.
24930         (main): Call __app_register_atfork.
24931         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
24932         fork count is non-zero fail the test.
24933         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
24934         is set.
24935         (parse_dollars): Remove check for WRDE_NOCMD.
24936         (parse_dquote): Likewise.
24938 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24940         * Makeconfig (built-modules): List non-library modules to be
24941         built.
24942         (module-cppflags): Include libc-modules.h for
24943         everything except shlib-versions.v.i.
24944         (CPPFLAGS): Use it.
24945         (before-compile): Add libc-modules.h.
24946         ($(common-objpfx)libc-modules.h,
24947         $(common-objpfx)libc-modules.stmp): New targets.
24948         (common-generated): Add libc-modules.h and libc-modules.stmp.
24949         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
24950         * include/libc-symbols.h: Don't include libc-modules.h.
24951         * include/libc-modules.h: Remove file.
24952         * scripts/gen-libc-modules.awk: New script to generate
24953         libc-modules.h.
24954         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
24955         Depend on libc-modules.stmp.
24957         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
24959         * Makeconfig (in-module): Get value of libof set for the
24960         translation unit.
24961         (CPPFLAGS): Use $(in-module).
24962         * Makerules: Don't suffix routine names for nonlib.
24963         * include/libc-modules.h: New file.
24964         * include/libc-symbols.h: Include libc-modules.h
24965         (IS_IN): New macro to replace IS_IN_* macros.
24966         * elf/Makefile: Set libof-* for each routine.
24967         * elf/rtld-Rules: Likewise.
24968         * extra-modules.mk: Likewise.
24969         * iconv/Makefile: Likewise.
24970         * iconvdata/Makefile: Likewise.
24971         * locale/Makefile: Likewise.
24972         * malloc/Makefile: Likewise.
24973         * nss/Makefile: Likewise.
24974         * sysdeps/gnu/Makefile: Likewise.
24975         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
24976         * sysdeps/unix/sysv/linux/Makefile: Likewise.
24977         * sysdeps/s390/s390-64/Makefile: Likewise.
24978         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
24979         CPPFLAGS for nscd instead of nonlib.
24981 2014-11-18  Roland McGrath  <roland@hack.frob.com>
24983         * nptl/createthread.c: New file.
24985         * nptl/createthread.c: Moved ...
24986         * sysdeps/unix/sysv/linux/createthread.c: ... here.
24988         * nptl/createthread.c: Add proper top-line comment.
24989         (do_clone): Folded into ...
24990         (create_thread): ... here.  Take new arguments STOPPED_START and
24991         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
24992         increment __nptl_threads, do event-reporting logic, do
24993         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
24994         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
24995         resource cleanup if sched_setaffinity or sched_setscheduler fails,
24996         just send SIGCANCEL.
24997         * nptl/pthread_create.c: Forward-declare create_thread before
24998         including createthread.c.
24999         (start_thread): Use new macro START_THREAD_DEFN to replace defining
25000         declaration, and new macro START_THREAD_SELF to replace argument.
25001         Remove return statement.
25002         (report_thread_creation): New function.
25003         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
25004         synchronization logic, and __nptl_nthreads increment here, around
25005         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
25006         PD->parent_cancelhandling here, before create_thread.  When
25007         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
25008         __deallocate_stack, and ENOMEM translation here.
25010 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
25012         [BZ #17616]
25013         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
25014         (mptwo): Rename to __mptwo.
25015         (__inv): Use __mptwo instead of mptwo.
25016         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
25017         (mptwo): Rename to __mptwo.
25018         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
25019         of mpone and __mptwo instead of mptwo.
25020         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
25021         instead of mpone.
25022         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25023         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
25024         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
25025         of mpone and __mptwo instead of mptwo.
25026         (__mpranred): Use __mpone instead of mpone.
25027         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
25028         variable.
25029         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25030         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25031         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25032         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25033         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25034         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25035         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25036         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25037         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25038         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25039         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25040         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25041         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25042         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25043         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25044         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25045         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25046         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25047         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25049 2014-11-18  Tom de Vries  <tom@codesoucery.com>
25051         * manual/signal.texi (Primitives Interrupted by Signals): In section,
25052         replace BSD Handler xref with BSD Signal Handling.
25054 2014-11-17  Richard Henderson  <rth@redhat.com>
25056         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
25057         (_FP_PACK_RAW_2): Remove.
25058         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
25059         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
25060         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
25061         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
25062         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
25063         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
25064         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
25065         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
25066         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
25067         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
25068         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
25069         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
25070         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
25071         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
25072         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25073         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
25075 2014-11-14  Roland McGrath  <roland@hack.frob.com>
25077         * signal/signal.h [__USE_MISC]
25078         (struct sigvec): Remove type.
25079         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
25080         (sigvec): Remove declaration.
25081         * sysdeps/posix/sigvec.c: Moved ...
25082         * signal/sigvec.c: ... here, replacing old file.
25083         (struct sigvec): New type, copied from old signal.h definition.
25084         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
25085         (__sigvec): Convert definition to prototype.
25086         (sigvec): Replace weak_alias with compat_symbol.
25087         * signal/Versions (libc: GLIBC_2.21): New version set.
25088         * include/signal.h: Remove __sigvec declaration.
25089         * sysdeps/unix/bsd/sigvec.c: Remove file.
25090         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
25091         * manual/signal.texi (BSD Handler): Remove subsection.
25092         Move siginterrupt up to ...
25093         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
25094         (Blocking in BSD): Fold subsection into its parent.
25095         * NEWS: Mention sigvec removal.
25097 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25099         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
25100         (DLA_FMS): Make definition conditional only on [__FMA4__].
25101         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
25102         definition.
25104         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
25105         Make definition conditional only on [PROF].
25106         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
25107         definition.
25108         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
25109         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
25111         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
25112         !__GNUC__].
25113         * include/signal.h (__sigpause): Move declaration above call to
25114         libc_hidden_proto.
25115         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
25116         variable.
25117         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25118         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25120 2014-11-14  David S. Miller  <davem@davemloft.net>
25122         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
25123         Define before including <string/memcpy.c> and <string/mempcpy.c>.
25125 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25127         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
25128         * configure: Regenerated.
25129         * manual/install.texi (Tools for Compilation): Document a
25130         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
25131         compiler verified to work.
25132         * INSTALL: Regenerated.
25134         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
25135         redeclare with asm name.
25136         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
25137         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
25138         including <string.h>.
25139         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25140         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
25141         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25142         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
25143         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25144         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25145         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25147 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
25149         * stdlib/strtol.c (__strtol): Use prototype definition.
25151         [BZ #17594]
25152         * stdlib/strtol.c (SYM__): New macro.
25153         (SYM__1): Likewise.
25154         (__strtol): Likewise.
25155         (strtol): Rename to __strtol and define as weak alias of
25156         __strtol.  Use libc_hidden_weak.
25158 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25160         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
25161         Use numbered labels in inline assembly.
25163 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25165         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
25166         Add setjmp LIBC_PROBE.
25167         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
25168         Likewise.
25169         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
25170         Add longjmp, longjmp_target LIBC_PROBE.
25171         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
25172         Likewise.
25174 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25176         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25177         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25178         to get rid of unused variable warning.
25180 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25182         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25183         Check for unwind_backtrace ==  NULL only in SHARED case.
25184         (__backchain_backtrace): Compile only in SHARED case.
25185         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25186         Likewise.
25187         (__backchain_backtrace): Declare as static.
25189 2014-11-12  Roland McGrath  <roland@hack.frob.com>
25191         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25192         (__libc_multiple_threads_ptr): Variable moved ...
25193         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25195 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
25197         * conform/GlibcConform.pm: New file.
25198         * conform/conformtest.pl: Use GlibcConform module.
25199         * conform/linknamespace.pl: New file.
25200         * conform/list-header-symbols.pl: Likewise.
25201         * conform/Makefile (linknamespace-symlists-base): New variable.
25202         (linknamespace-symlists-tests): Likewise.
25203         (linknamespace-header-base): Likewise.
25204         (linknamespace-header-tests): Likewise.
25205         (tests-special): Add new tests.
25206         ($(linknamespace-symlists-tests)): New rule.
25207         (linknamespace-libs): New variable.
25208         ($(objpfx)symlist-stdlibs): New rule.
25209         ($(linknamespace-header-tests)): Likewise.
25210         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25211         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25212         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25213         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
25214         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
25215         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
25216         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
25217         (test-xfail-ISO/math.h/linknamespace): Likewise.
25218         (test-xfail-ISO/signal.h/linknamespace): Likewise.
25219         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
25220         (test-xfail-ISO/time.h/linknamespace): Likewise.
25221         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25222         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
25223         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25224         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25225         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25226         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25227         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25228         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25229         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25230         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25231         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25232         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25233         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25234         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
25235         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
25236         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25237         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
25238         (test-xfail-XPG3/search.h/linknamespace): Likewise.
25239         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
25240         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25241         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
25242         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25243         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25244         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
25245         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25246         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25247         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
25248         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
25249         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25250         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
25251         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25252         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25253         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25254         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25255         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
25256         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
25257         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
25258         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
25259         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25260         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
25261         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25262         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
25263         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25264         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25265         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25266         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
25267         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
25268         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25269         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25270         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
25271         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25272         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25273         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
25274         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25275         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25276         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25277         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25278         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25279         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25280         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25281         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25282         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25283         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
25284         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25285         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25286         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25287         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
25288         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25289         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25290         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25291         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25292         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25293         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25294         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25295         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25296         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25297         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25298         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25299         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25300         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25301         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25302         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25303         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25304         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25305         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25306         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25307         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25308         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25309         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25310         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25311         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25312         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25313         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25314         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25315         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25316         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25317         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25318         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25319         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25320         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25321         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25322         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25323         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25324         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25325         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25326         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25327         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25328         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25329         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25330         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25331         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25332         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25333         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25334         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25335         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25336         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25337         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25338         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25339         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25340         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25341         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25342         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25343         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25344         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25345         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25346         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25347         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25348         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25349         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25350         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25351         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25352         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25353         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25354         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25355         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25356         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25357         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25358         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25359         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25360         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25361         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25362         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25363         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25364         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25365         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25366         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25367         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25368         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25369         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25370         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25372         [BZ #17589]
25373         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
25374         of fgets_unlocked.
25376         [BZ #17585]
25377         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
25378         (memmem): Rename to __memmem and define as weak alias of
25379         __memmem.  Use libc_hidden_weak.
25380         (__memmem): Use libc_hidden_def.
25381         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
25382         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
25383         memmem.
25385         [BZ #17582]
25386         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
25387         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
25388         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
25389         and define as weak alias of __fgets_unlocked.  Use
25390         libc_hidden_weak.
25391         (__fgets_unlocked): Use libc_hidden_def.
25392         * include/stdio.h (__fgets_unlocked): Declare.  Use
25393         libc_hidden_proto.
25394         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
25395         __fgets_unlocked instead of fgets_unlocked.
25396         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
25397         (GET_NPROCS_CONF_PARSER): Likewise.
25398         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
25399         (GET_NPROCS_CONF_PARSER): Likewise.
25401         [BZ #17574]
25402         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
25403         weak alias of __wmemset.  Use libc_hidden_weak.
25404         (__wmemset): Use libc_hidden_def.
25405         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
25406         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
25407         of wmemset.
25409         [BZ #17573]
25410         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
25411         with asm name __mempcpy.
25412         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
25414         [BZ #17572]
25415         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
25416         and define as weak alias of __rawmemchr.
25417         (__rawmemchr): Do not define as strong alias of rawmemchr.
25419         [BZ #17571]
25420         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
25421         alias of __qsort_r.
25422         (qsort): Call __qsort_r instead of qsort_r.
25423         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
25424         (__qsort_r): Declare.  Call libc_hidden_proto.
25425         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
25426         instead of qsort_r.
25427         * nscd/gai.c (__qsort_r): Define to qsort_r.
25428         * posix/tst-rfc3484.c (__qsort_r): Likewise.
25429         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
25430         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25432         [BZ #17570]
25433         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
25434         define as weak alias of __malloc_info.
25436         [BZ #17584]
25437         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
25438         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25439         (__rewinddir): Use libc_hidden_def.
25440         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25441         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25442         (__rewinddir): Use libc_hidden_def.
25443         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
25444         weak alias of __rewinddir.  Don't use libc_hidden_def.
25445         (__rewinddir): Use libc_hidden_def.
25446         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
25447         (__rewinddir): Use libc_hidden_proto.
25448         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
25449         rewinddir.
25450         (__getcwd): Use __rewinddir instead of rewinddir.
25452         [BZ #17583]
25453         * libio/fileno.c (fileno): Rename to __fileno and define as weak
25454         alias of __fileno.  Use libc_hidden_weak.
25455         (__fileno): Use libc_hidden_def.
25456         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
25457         * libio/ftello.c (ftello): Rename to __ftello and define as weak
25458         alias of __ftello.
25459         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
25460         __ftello.
25461         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
25462         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
25463         libc_hidden_def.
25464         (fread_unlocked): Don't use libc_hidden_ver.
25465         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
25466         and define as weak alias of __fread_unlocked.  Don't use
25467         libc_hidden_def.
25468         (__fread_unlocked): Use libc_hidden_def.
25469         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
25470         (ftello): Don't use libc_hidden_proto.
25471         (__ftello): Declare.  Use libc_hidden_proto.
25472         (fread_unlocked): Don't use libc_hidden_proto.
25473         (__fread_unlocked): Declare.  Use libc_hidden_proto.
25474         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
25475         and __ftello instead of fileno, fread_unlocked and ftello.
25477 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25479         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
25480         GOT12.
25481         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25482         Likewise.
25483         (_dl_start_user): Likewise.
25484         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
25486 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
25487             Siddhesh Poyarekar  <siddhesh@redhat.com>
25489         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
25490         Move argv and envp down instead of moving argc up.
25491         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
25493 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
25495         [BZ #17506]
25496         * test-skeleton.c (main): Return successful if one of
25497         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
25498         * string/tst-strcoll-overflow.c: Define expected status.
25500 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
25502         [BZ #17475]
25503         * locale/iso-639.def: Define Bhili and Tulu language codes.
25505 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
25507         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
25509 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
25511         [BZ #17555]
25512         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
25514 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25516         * configure.ac: Updated check of minimal required version to
25517         2.22.
25518         * manual/install.texi (Tools for Compilation): Updated version
25519         number.
25520         * configure: Regenerated.
25521         * INSTALL: Likewise.
25523 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
25525         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
25526         __tls_get_addr.
25528 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
25530         * include/sys/wait.h (__libc_waitpid): Remove declaration.
25531         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
25532         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25533         libc_hidden_weak.
25534         (waitpid): Define as alias of __waitpid.
25535         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
25536         __waitpid.
25537         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25538         libc_hidden_weak.
25539         (waitpid): Define as alias of __waitpid.
25540         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
25541         __libc_waitpid alias.
25542         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
25543         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
25544         Likewise.
25545         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
25546         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
25547         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
25548         alias.
25549         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
25550         __waitpid.
25551         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25552         libc_hidden_weak.
25553         (waitpid): Define as alias of __waitpid.
25555 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
25557         * manual/llio.texi: Add comment that write safety has been
25558         fixed in Linux.
25560         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
25561         (localplt-build-dso): Add elf/ld.so.
25562         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
25563         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
25564         and free for ld.so.
25565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
25566         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
25567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
25568         Likewise.
25569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25570         Likewise.
25571         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
25572         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
25573         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
25574         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
25575         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25576         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
25577         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
25578         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
25579         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25580         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
25581         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25583 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
25585         [BZ #14132]
25586         * include/libc-symbols.h (INTUSE): Remove macro.
25587         (INTDEF): Likewise.
25588         (INTVARDEF): Likewise.
25589         (_INTVARDEF): Likewise.
25590         (INTDEF2): Likewise.
25591         (INTVARDEF2): Likewise.
25592         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
25593         rtld_hidden_def instead of INTVARDEF.
25594         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
25595         (_dl_starting_up_internal): Remove declaration.
25596         (_dl_starting_up): Use rtld_hidden_proto.
25597         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
25598         declaration.
25599         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
25600         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
25601         _dl_starting_up.
25602         * elf/dl-writev.h (_dl_writev): Likewise.
25603         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
25604         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
25605         _dl_starting_up_internal.
25607 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25609         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25610         test-skeleton.c.
25612 2014-11-05  Will Newton  <will.newton@linaro.org>
25614         * benchtests/Makefile: (bench-malloc): Add malloc thread
25615         scalability benchmark.
25616         * benchtests/bench-malloc-threads.c: New file.
25618 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
25620         * sysdeps/aarch64/strchrnul.S: New file.
25622 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25624         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
25625         definition.
25626         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25627         Likwise.
25628         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25629         Likewise.
25630         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25631         Likewise.
25632         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25633         Likewise.
25634         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25635         Likewise.
25637 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
25639         * catgets/test-gencat.c: Use test-skeleton.c.
25640         * catgets/tst-catgets.c: Likewise.
25641         * csu/tst-empty.c: Likewise.
25642         * elf/tst-audit2.c: Likewise.
25643         * elf/tst-global1.c: Likewise.
25644         * elf/tst-pathopt.c: Likewise.
25645         * elf/tst-piemod1.c: Likewise.
25646         * elf/tst-tls10.c: Likewise.
25647         * elf/tst-tls11.c: Likewise.
25648         * elf/tst-tls12.c: Likewise.
25649         * gnulib/tst-gcc.c: Likewise.
25650         * iconvdata/tst-e2big.c: Likewise.
25651         * iconvdata/tst-loading.c: Likewise.
25652         * iconv/tst-iconv1.c: Likewise.
25653         * iconv/tst-iconv2.c: Likewise.
25654         * inet/test-inet6_opt.c: Likewise.
25655         * inet/tst-gethnm.c: Likewise.
25656         * inet/tst-network.c: Likewise.
25657         * inet/tst-ntoa.c: Likewise.
25658         * intl/tst-codeset.c: Likewise.
25659         * intl/tst-gettext2.c: Likewise.
25660         * intl/tst-gettext3.c: Likewise.
25661         * intl/tst-ngettext.c: Likewise.
25662         * intl/tst-translit.c: Likewise.
25663         * io/test-stat.c: Likewise.
25664         * libio/test-fmemopen.c: Likewise.
25665         * libio/tst-freopen.c: Likewise.
25666         * libio/tst-sscanf.c: Likewise.
25667         * libio/tst-ungetwc1.c: Likewise.
25668         * libio/tst-ungetwc2.c: Likewise.
25669         * libio/tst-widetext.c: Likewise.
25670         * localedata/tst-ctype.c: Likewise.
25671         * localedata/tst-digits.c: Likewise.
25672         * localedata/tst-leaks.c: Likewise.
25673         * localedata/tst-mbswcs1.c: Likewise.
25674         * localedata/tst-mbswcs2.c: Likewise.
25675         * localedata/tst-mbswcs3.c: Likewise.
25676         * localedata/tst-mbswcs4.c: Likewise.
25677         * localedata/tst-mbswcs5.c: Likewise.
25678         * localedata/tst-setlocale.c: Likewise.
25679         * localedata/tst-trans.c: Likewise.
25680         * localedata/tst-wctype.c: Likewise.
25681         * localedata/tst-xlocale1.c: Likewise.
25682         * login/tst-grantpt.c: Likewise.
25683         * malloc/tst-calloc.c: Likewise.
25684         * malloc/tst-malloc.c: Likewise.
25685         * malloc/tst-mallocstate.c: Likewise.
25686         * malloc/tst-mcheck.c: Likewise.
25687         * malloc/tst-mtrace.c: Likewise.
25688         * malloc/tst-obstack.c: Likewise.
25689         * math/atest-exp2.c: Likewise.
25690         * math/atest-exp.c: Likewise.
25691         * math/atest-sincos.c: Likewise.
25692         * math/test-matherr.c: Likewise.
25693         * math/test-misc.c: Likewise.
25694         * math/test-powl.c: Likewise.
25695         * math/tst-definitions.c: Likewise.
25696         * misc/tst-dirname.c: Likewise.
25697         * misc/tst-efgcvt.c: Likewise.
25698         * misc/tst-fdset.c: Likewise.
25699         * misc/tst-hsearch.c: Likewise.
25700         * misc/tst-mntent2.c: Likewise.
25701         * nptl/tst-sem7.c: Likewise.
25702         * nptl/tst-sem8.c: Likewise.
25703         * nptl/tst-sem9.c: Likewise.
25704         * nss/test-netdb.c: Likewise.
25705         * posix/tst-fnmatch.c: Likewise.
25706         * posix/tst-getlogin.c: Likewise.
25707         * posix/tst-gnuglob.c: Likewise.
25708         * posix/tst-mmap.c: Likewise.
25709         * pwd/tst-getpw.c: Likewise.
25710         * resolv/tst-inet_ntop.c: Likewise.
25711         * rt/tst-timer.c: Likewise.
25712         * stdio-common/test-fseek.c: Likewise.
25713         * stdio-common/test-popen.c: Likewise.
25714         * stdio-common/test-vfprintf.c: Likewise.
25715         * stdio-common/tst-cookie.c: Likewise.
25716         * stdio-common/tst-fileno.c: Likewise.
25717         * stdio-common/tst-gets.c: Likewise.
25718         * stdio-common/tst-obprintf.c: Likewise.
25719         * stdio-common/tst-perror.c: Likewise.
25720         * stdio-common/tst-sprintf2.c: Likewise.
25721         * stdio-common/tst-sprintf3.c: Likewise.
25722         * stdio-common/tst-sprintf.c: Likewise.
25723         * stdio-common/tst-swprintf.c: Likewise.
25724         * stdio-common/tst-tmpnam.c: Likewise.
25725         * stdio-common/tst-unbputc.c: Likewise.
25726         * stdio-common/tst-wc-printf.c: Likewise.
25727         * stdlib/tst-environ.c: Likewise.
25728         * stdlib/tst-fmtmsg.c: Likewise.
25729         * stdlib/tst-limits.c: Likewise.
25730         * stdlib/tst-rand48-2.c: Likewise.
25731         * stdlib/tst-rand48.c: Likewise.
25732         * stdlib/tst-random2.c: Likewise.
25733         * stdlib/tst-random.c: Likewise.
25734         * stdlib/tst-strtol.c: Likewise.
25735         * stdlib/tst-strtoll.c: Likewise.
25736         * stdlib/tst-tls-atexit.c: Likewise.
25737         * stdlib/tst-xpg-basename.c: Likewise.
25738         * string/test-ffs.c: Likewise.
25739         * string/tst-bswap.c: Likewise.
25740         * string/tst-inlcall.c: Likewise.
25741         * string/tst-strtok.c: Likewise.
25742         * string/tst-strxfrm.c: Likewise.
25743         * sysdeps/x86_64/tst-audit10.c: Likewise.
25744         * sysdeps/x86_64/tst-audit3.c: Likewise.
25745         * sysdeps/x86_64/tst-audit4.c: Likewise.
25746         * sysdeps/x86_64/tst-audit5.c: Likewise.
25747         * time/tst-ftime_l.c: Likewise.
25748         * time/tst-getdate.c: Likewise.
25749         * time/tst-mktime3.c: Likewise.
25750         * time/tst-mktime.c: Likewise.
25751         * time/tst-posixtz.c: Likewise.
25752         * time/tst-strptime2.c: Likewise.
25753         * time/tst-strptime3.c: Likewise.
25754         * wcsmbs/tst-btowc.c: Likewise.
25755         * wcsmbs/tst-mbrtowc.c: Likewise.
25756         * wcsmbs/tst-mbsrtowcs.c: Likewise.
25757         * wcsmbs/tst-wchar-h.c: Likewise.
25758         * wcsmbs/tst-wcpncpy.c: Likewise.
25759         * wcsmbs/tst-wcrtomb.c: Likewise.
25760         * wcsmbs/tst-wcsnlen.c: Likewise.
25761         * wcsmbs/tst-wcstof.c: Likewise.
25763 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
25765         [BZ #14132]
25766         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
25767         INTDEF.
25768         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
25769         declaration.
25770         (_dl_mcount): Use rtld_hidden_proto.
25771         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
25772         _dl_mcount.
25773         * elf/rtld.c (_rtld_global_ro): Likewise.
25775         [BZ #14132]
25776         * elf/dl-init.c (_dl_init): Don't use INTDEF.
25777         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
25778         of _dl_init_internal.
25779         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
25780         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
25781         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
25782         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
25783         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
25784         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
25785         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
25786         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
25787         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
25788         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
25789         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
25790         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
25791         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25792         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25793         * sysdeps/tile/dl-start.S (_start): Likewise.
25794         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
25795         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
25797         [BZ #14132]
25798         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
25799         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
25800         (rtld_progname): Make macro definition unconditional.
25801         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
25802         INTDEF.
25803         (dlmopen_doit): Do not use INTUSE with _dl_argv.
25804         (dl_main): Likewise.
25805         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25806         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
25807         instead of _dl_argv_internal.
25808         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25809         __GI__dl_argv instead of INTUSE(_dl_argv).
25810         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
25811         __GI__dl_argv instead of _dl_argv_internal.
25813         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
25814         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
25815         macro.
25816         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
25817         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
25818         New macro.
25819         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
25820         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
25821         macro.
25822         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
25823         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
25825 2014-11-04  Andreas Schwab  <schwab@suse.de>
25827         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
25829 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25831         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
25832         mtvsrd instruction in binary form.
25834 2014-11-03  Andreas Schwab  <schwab@suse.de>
25836         [BZ #17522]
25837         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
25838         for less than MB_LEN_MAX use a local buffer of that size.
25839         * libio/tst-fputws.c: New file.
25840         * libio/Makefile (tests): Add tst-fputws.
25842 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
25844         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
25845         the size of the fpu_fr.fpu_dregs[] array.
25847 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
25849         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
25850         (__nanosleep): Do not define as alias.
25851         (nanosleep): Define as alias of __nanosleep.
25852         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
25853         __libc_nanosleep name.
25855 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25857         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
25858         install.texi in comment.
25860 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25862         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
25863         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
25864         ... add here and use lwsync or sync ...
25865         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
25866         ... and add here using lwsync.
25868 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25870         * elf/dl-machine-reject-phdr.h: New file.
25871         * elf/dl-load.c: #include that.
25872         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
25873         if that returned true.
25875 2014-10-31  Roland McGrath  <roland@hack.frob.com>
25877         [BZ #17496]
25878         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
25879         gen-as-const-headers chunk.  Add a big scare comment after the last
25880         safe place to touch before-compile.
25882 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25884         * manual/install.texi (Tools for Compilation): Update autoconf
25885         version requirements.
25886         * INSTALL: Regenerated.
25888         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
25889         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
25890         (__libc_pselect): Likewise.
25892         [BZ #14138]
25893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
25894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25898 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25900         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
25901         correct barrier instruction.
25902         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
25903         Likewise.
25904         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
25905         Likewise.
25907 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25909         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
25910         after defining inlines.  Instead, just use parens to defeat macro
25911         expansion of __isctype in its declaration.
25913 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25915         * include/sys/uio.h (__libc_readv): Remove declaration.
25916         (__libc_writev): Likewise.
25917         * misc/readv.c (__libc_readv): Rename to __readv.
25918         (__readv): Do not define as alias.
25919         (readv): Define as alias of __readv.
25920         * misc/writev.c (__libc_writev): Rename to __writev.
25921         (__writev): Do not define as alias.
25922         (writev): Define as alias of __writev.
25923         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
25924         (__readv): Do not define as alias.
25925         (readv): Define unconditionally as alias of __readv.
25926         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
25927         (__writev): Do not define as alias.
25928         (writev): Define unconditionally as alias of __writev.
25929         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
25930         name.
25931         (writev): Do not define __libc_writev name.
25933 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25935         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
25936         (convert_charseq): New function, broken out of ...
25937         (use_from_charmap): ... here.  Call it.
25938         (use_to_charmap): Use convert_charseq and free instead of duplicating
25939         its code with a variable-length stack struct.
25941 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25943         * include/fcntl.h (__libc_creat): Remove declaration.
25944         * io/creat.c (__libc_creat): Rename to creat.
25945         (creat): Do not define as alias.
25946         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
25947         of creat instead of __libc_creat.
25948         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
25949         to creat.
25950         (creat): Do not define as alias.
25951         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
25952         __libc_creat.
25953         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
25954         __libc_creat name.
25955         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
25956         Likewise.
25958 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
25960         * manual/llio.texi: Add comments discussing why write() may be
25961         considered MT-unsafe on Linux.
25963 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
25965         * dl-load.c (local_strdup): Remove.
25966         (expand_dynamic_string_token): Use __strdup.
25967         (decompose_rpath): Likewise.
25968         (_dl_map_object): Likewise.
25970 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
25972         [BZ #14132]
25973         * sysdeps/generic/unwind-dw2-fde.c
25974         (__register_frame_info_bases_internal): Do not declare.
25975         (__register_frame_info_table_bases_internal): Likewise.
25976         (__deregister_frame_info_bases_internal): Likewise.
25977         (__register_frame_info_bases): Declare and use hidden_proto before
25978         definition.  Use hidden_def instead of INTDEF.
25979         (__register_frame_info_table_bases): Likewise.
25980         (__deregister_frame_info_bases): Likewise.
25981         (__register_frame_info): Do not use INTUSE.
25982         (__register_frame): Likewise.
25983         (__register_frame_info_table): Likewise.
25984         (__register_frame_table): Likewise.
25985         (__deregister_frame_info): Likewise.
25986         (__deregister_frame): Likewise.
25988 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
25990         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25991         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
25992         not undefine.
25993         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
25994         Likewise.
25995         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
25996         Likewise.
25998 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
26000         [BZ #14138]
26001         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
26002         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
26003         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
26004         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
26005         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
26006         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
26007         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
26008         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
26009         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
26010         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
26011         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
26012         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
26013         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
26014         syscall.
26015         (setfsuid): Likewise.
26016         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
26017         (setfsuid): Likewise.
26018         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
26019         (setfsuid): Likewise.
26020         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
26021         Likewise.
26022         (setfsuid): Likewise.
26023         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
26024         (setfsuid): Likewise.
26025         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
26026         Likewise.
26027         (setfsuid): Likewise.
26029 2014-10-27  Andreas Schwab  <schwab@suse.de>
26031         [BZ #17501]
26032         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
26033         check for Slow_SSE4_2 feature bit.
26034         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
26035         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26036         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
26037         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
26039 2014-10-24  Roland McGrath  <roland@hack.frob.com>
26041         * configure.ac: Validate compiler version with a empirical test of
26042         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
26043         $CC -v output.
26044         * configure: Regenerated.
26046         * inet/htons.c (htons): Prototypify.
26047         * inet/htonl.c (htonl): Likewise.
26049 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26051         * string/strncat.c (strncat): Improve performance by using strlen.
26053 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26055         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
26057 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26059         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
26060         Call libc_fetestexcept_aarch64.
26062 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26064         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
26065         Call libc_feholdexcept_aarch64.
26067 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26069         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
26070         Call get_rounding_mode.
26072 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26074         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26075         Simplify logic.
26077 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26079         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
26080         Simplify logic.
26082 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
26084         [BZ #14138]
26085         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
26086         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
26087         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
26088         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
26089         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
26090         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
26091         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
26092         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
26093         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
26094         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
26095         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26096         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
26097         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
26098         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
26099         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
26100         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
26101         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
26102         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
26103         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
26104         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
26105         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
26106         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
26107         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
26108         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
26109         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
26110         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
26111         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
26112         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
26113         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
26114         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
26115         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
26116         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
26117         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
26118         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
26119         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
26120         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
26121         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
26122         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
26123         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
26124         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
26125         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
26126         syscall.
26127         (geteuid): Likewise.
26128         (getgid): Likewise.
26129         (getuid): Likewise.
26130         (getresgid): Likewise.
26131         (getresuid): Likewise.
26132         (getgroups): Likewise.
26133         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
26134         (geteuid): Likewise.
26135         (getgid): Likewise.
26136         (getuid): Likewise.
26137         (getresgid): Likewise.
26138         (getresuid): Likewise.
26139         (getgroups): Likewise.
26140         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
26141         (geteuid): Likewise.
26142         (getgid): Likewise.
26143         (getuid): Likewise.
26144         (getresgid): Likewise.
26145         (getresuid): Likewise.
26146         (getgroups): Likewise.
26147         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
26148         Likewise.
26149         (geteuid): Likewise.
26150         (getgid): Likewise.
26151         (getuid): Likewise.
26152         (getresgid): Likewise.
26153         (getresuid): Likewise.
26154         (getgroups): Likewise.
26155         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
26156         (geteuid): Likewise.
26157         (getgid): Likewise.
26158         (getuid): Likewise.
26159         (getresgid): Likewise.
26160         (getresuid): Likewise.
26161         (getgroups): Likewise.
26162         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
26163         Likewise.
26164         (geteuid): Likewise.
26165         (getgid): Likewise.
26166         (getuid): Likewise.
26167         (getgroups): Likewise.
26169         [BZ #14138]
26170         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
26171         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
26172         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
26173         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26174         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
26175         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
26176         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
26177         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26178         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26179         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26180         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26181         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26182         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26183         __chown.
26184         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26185         (lchown): Likewise.
26186         (fchown): Likewise.
26187         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26188         Likewise.
26189         (lchown): Likewise.
26190         (fchown): Likewise.
26191         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26192         (lchown): Likewise.
26193         (fchown): Likewise.
26194         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26195         Likewise.
26196         (lchown): Likewise.
26197         (fchown): Likewise.
26199 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26201         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26202         Simplify logic.
26204 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26206         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26207         Cleanup logic.
26209 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26211         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26212         Remove unused include.
26214 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26216         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
26217         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
26218         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
26219         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
26221 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
26222             Helge Deller <deller@gmx.de>
26224         [BZ #17508]
26225         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
26226         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
26227         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
26229 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
26231         [BZ #14132]
26232         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
26233         Remove macro definition.
26234         (__ashrdi3_v_glibc20): Likewise.
26235         (__lshrdi3_v_glibc20): Likewise.
26236         (__cmpdi2_v_glibc20): Likewise.
26237         (__ucmpdi2_v_glibc20): Likewise.
26238         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26239         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26240         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26241         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26242         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26243         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
26245 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26247         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
26248         old GNU extension [0] syntax.
26249         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
26250         alloca rather than an array member with variable length.
26251         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
26252         * nscd/nscd.c (invalidate_db): New function, broken out of ...
26253         (parse_opt): ... here.  Likewise use alloca there.
26254         Validate the -i argument before checking for rootness.
26255         (send_shutdown): New function, broken out of ...
26256         (parse_opt): ... here.
26258 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26260         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
26261         macro to get at the _rt_local_ro field.
26262         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
26263         ([PIC] case) or _dl_hwcap ([!PIC] case).
26264         * sysdeps/arm/setjmp.S: Likewise.
26266         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
26267         * sysdeps/arm/configure.ac: New check to define it.
26268         * sysdeps/arm/configure: Regenerated.
26269         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
26270         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
26271         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
26272         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
26273         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
26274         Use move/movt pair instead of a load.
26275         (LDST_GLOBAL): Macro removed.
26276         (LDR_GLOBAL): New macro replaces it.
26277         (LDR_HIDDEN): New macro.
26278         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
26279         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
26281         * setjmp/tst-setjmp-static.c: New file.
26282         * setjmp/Makefile (tests): Add it.
26283         (tests-static): New variable.
26285 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
26287         [BZ #17485]
26288         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
26290 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
26292         [BZ #14132]
26293         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26295 2014-10-21  Roland McGrath  <roland@hack.frob.com>
26297         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26299 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26301         * io/fts.c (dirent_not_directory): New function.
26302         (fts_build): Call it.
26304 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26306         * nptl/version.c (__nptl_main): Use normal __write rather than
26307         INTERNAL_SYSCALL.
26308         (banner): Update copyright years.
26310         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26311         gettimeofday.
26312         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26313         * nptl/pthread_cond_timedwait.c: Likewise.
26314         * nptl/pthread_mutex_timedlock.c: Likewise.
26315         * nptl/sem_timedwait.c: Likewise.
26317         * sysdeps/nptl/bits/libc-lock.h
26318         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26319         (__libc_lock_init_recursive): Return void, not 0.
26320         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26321         (__libc_rwlock_init): Likewise.
26322         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26324 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26326         [BZ #15215]
26327         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26328         (__pthread_once_slow): ... here.
26329         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26330         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26332 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26334         [BZ #15215]
26335         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26336         __PTHREAD_ONCE_FORK_GEN_INCR): New.
26337         * sysdeps/nptl/fork.c (__libc_fork): Use them.
26338         * nptl/pthread_once.c (__pthread_once): Likewise.
26339         Update comments.
26341 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
26343         [BZ #14138]
26344         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26345         name.
26346         (writev): Use __libc_writev as strong name.
26347         * sysdeps/unix/sysv/linux/readv.c: Remove file.
26348         * sysdeps/unix/sysv/linux/writev.c: Likewise.
26350 2014-10-17  Roland McGrath  <roland@hack.frob.com>
26352         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26354         * sysdeps/i386/nptl/tls.h
26355         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26356         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26357         New macros.
26358         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26359         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26360         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26361         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26362         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26363         Call CHECK_THREAD_SYSINFO instead of doing an assert.
26365         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26366         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26367         on [__NR_futex].
26368         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26369         broken out of ...
26370         (__pthread_mutex_init): ... here.  Call it.
26371         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
26372         Conditionalize PI cases on [__NR_futex].
26373         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26374         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
26375         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
26377         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
26378         conditional on [SIGSETXID].
26379         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
26380         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
26381         is defined.  Likewise for SIGSETXID.
26382         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
26383         Conditionalize definitions on [SIGSETXID].
26384         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
26385         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
26386         unblocking on [SIGCANCEL].
26388         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
26389         [__NR_set_robust_list].
26391 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26393         * string/strcoll_l.c (get_next_seq): Fix up formatting.
26394         (do_compare): Likewise.
26396 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
26398         [BZ #15884]
26399         * string/strcoll_l.c: Don't include stdio.h.
26400         (coll_seq): Remove members idxarr and rulearr.
26401         (get_next_seq_cached): Remove function.
26402         (get_next_seq): Likewise.
26403         (get_next_seq_nocache): Rename to get_next_seq.
26404         (do_compare): Remove function.
26405         (do_compare_nocache): Rename to do_compare.
26406         (STRCOLL): Remove weight and rules cache.
26408 2014-10-16  Roland McGrath  <roland@hack.frob.com>
26410         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
26411         * sysdeps/arm/sfp-machine.h: ... to here.
26412         * sysdeps/arm/Implies: Remove arm/soft-fp.
26414 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
26416         * conform/data/sys/utsname.h-data (*_t): Allow.
26417         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
26418         [POSIX] (WEXITED): Do not expect constant.
26419         [POSIX] (WSTOPPED): Likewise.
26420         [POSIX] (WNOHANG): Likewise.
26421         [POSIX] (WNOWAIT): Likewise.
26422         [POSIX] (siginfo_t): Do not expect type or elements.
26423         [POSIX] (pid_t): Do not expect type.
26424         [POSIX] (signal.h): Do not allow header.
26425         [POSIX] (sys/resource.h): Likewise.
26426         [POSIX] (si_*): Do not allow pattern.
26427         [POSIX] (W*): Likewise.
26428         [POSIX] (P_*): Likewise.
26429         [POSIX] (BUS_*): Likewise.
26430         [POSIX] (CLD_*): Likewise.
26431         [POSIX] (FPE_*): Likewise.
26432         [POSIX] (ILL_*): Likewise.
26433         [POSIX] (POLL_*): Likewise.
26434         [POSIX] (SEGV_*): Likewise.
26435         [POSIX] (SI_*): Likewise.
26436         [POSIX] (TRAP_*): Likewise.
26437         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
26438         variable.
26440 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26442         [BZ #12926]
26443         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
26444         infinite loop when __recvmsg returns 0.
26446 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
26448         * CANCEL-FCT-WAIVE: Remove file.
26449         * CANCEL-FILE-WAIVE: Likewise.
26451         [BZ #14132]
26452         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
26453         instead of INTVARDEF.
26454         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26455         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
26456         rtld_hidden_data_def instead of INTVARDEF.
26457         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26458         * elf/dl-deps.c (expand_dst): Likewise.
26459         * elf/dl-load.c (_dl_dst_count): Likewise.
26460         (_dl_dst_substitute): Likewise.
26461         (decompose_rpath): Likewise.
26462         (_dl_init_paths): Likewise.
26463         (open_path): Likewise.
26464         (_dl_map_object): Likewise.
26465         * elf/rtld.c (dl_main): Likewise.
26466         (process_dl_audit): Likewise.
26467         (process_envvars): Likewise.
26468         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
26469         Remove declaration.
26470         (__libc_enable_secure): Use rtld_hidden_proto.
26472 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26474         * elf/dl-load.c
26475         (add_path): New function broken out of _dl_rtld_di_serinfo.
26476         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
26478 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26480         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
26481         parentheses around macro arguments.
26482         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
26483         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
26484         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
26485         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
26486         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
26487         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26488         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26489         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
26490         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
26491         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
26492         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
26493         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
26494         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
26495         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
26496         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
26497         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
26498         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
26499         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
26500         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
26501         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
26502         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
26503         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
26504         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
26505         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26506         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26507         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
26508         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
26509         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
26510         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
26511         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
26512         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
26513         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
26514         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
26515         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
26516         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
26517         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
26518         Likewise.
26519         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
26520         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26521         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26522         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
26523         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
26524         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
26525         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
26526         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
26527         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
26528         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
26529         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
26530         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
26531         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
26532         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
26533         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
26534         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26535         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26536         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
26537         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
26538         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
26539         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
26540         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
26541         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
26542         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
26543         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
26544         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
26545         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
26546         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
26547         (_FP_FRAC_SRS_1): Likewise.
26548         (_FP_FRAC_CLZ_1): Likewise.
26549         (_FP_MUL_MEAT_1_imm): Likewise.
26550         (_FP_MUL_MEAT_1_wide): Likewise.
26551         (_FP_MUL_MEAT_1_hard): Likewise.
26552         (_FP_SQRT_MEAT_1): Likewise.
26553         (_FP_FRAC_ASSEMBLE_1): Likewise.
26554         (_FP_FRAC_DISASSEMBLE_1): Likewise.
26555         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
26556         (__FP_CLZ_2): Likewise.
26557         (_FP_MUL_MEAT_2_wide): Likewise.
26558         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26559         (_FP_MUL_MEAT_2_gmp): Likewise.
26560         (_FP_MUL_MEAT_2_120_240_double): Likewise.
26561         (_FP_SQRT_MEAT_2): Likewise.
26562         (_FP_FRAC_ASSEMBLE_2): Likewise.
26563         (_FP_FRAC_DISASSEMBLE_2): Likewise.
26564         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
26565         (_FP_FRAC_CLZ_4): Likewise.
26566         (_FP_MUL_MEAT_4_wide): Likewise.
26567         (_FP_MUL_MEAT_4_gmp): Likewise.
26568         (_FP_SQRT_MEAT_4): Likewise.
26569         (_FP_FRAC_ASSEMBLE_4): Likewise.
26570         (_FP_FRAC_DISASSEMBLE_4): Likewise.
26571         * soft-fp/op-common.h (_FP_CMP): Likewise.
26572         (_FP_CMP_EQ): Likewise.
26573         (_FP_CMP_UNORD): Likewise.
26574         (_FP_TO_INT): Likewise.
26575         (_FP_FROM_INT): Likewise.
26576         [!__FP_CLZ] (__FP_CLZ): Likewise.
26577         (_FP_DIV_HELP_imm): Likewise.
26578         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
26579         Likewise.
26580         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
26581         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
26582         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
26583         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
26584         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
26585         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26586         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26587         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
26588         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
26589         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
26590         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
26591         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
26592         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
26593         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
26594         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
26595         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
26596         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
26597         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
26598         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
26599         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
26600         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
26601         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
26602         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
26603         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26604         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26605         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
26606         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
26607         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
26608         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
26609         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
26610         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
26611         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
26612         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
26613         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
26614         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
26615         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
26616         (FP_UNPACK_RAW_SP): Likewise.
26617         (FP_PACK_RAW_S): Likewise.
26618         (FP_PACK_RAW_SP): Likewise.
26619         (FP_UNPACK_S): Likewise.
26620         (FP_UNPACK_SP): Likewise.
26621         (FP_UNPACK_SEMIRAW_S): Likewise.
26622         (FP_UNPACK_SEMIRAW_SP): Likewise.
26623         (FP_PACK_S): Likewise.
26624         (FP_PACK_SP): Likewise.
26625         (FP_PACK_SEMIRAW_S): Likewise.
26626         (FP_PACK_SEMIRAW_SP): Likewise.
26627         (_FP_SQRT_MEAT_S): Likewise.
26628         (FP_CMP_S): Likewise.
26629         (FP_CMP_EQ_S): Likewise.
26630         (FP_CMP_UNORD_S): Likewise.
26631         (FP_TO_INT_S): Likewise.
26632         (FP_FROM_INT_S): Likewise.
26634         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
26636         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
26637         (FP_EX_INVALID_IMZ): Likewise.
26638         (FP_EX_INVALID_IMZ_FMA): Likewise.
26639         (FP_EX_INVALID_ISI): Likewise.
26640         (FP_EX_INVALID_ZDZ): Likewise.
26641         (FP_EX_INVALID_IDI): Likewise.
26642         (FP_EX_INVALID_SQRT): Likewise.
26643         (FP_EX_INVALID_CVI): Likewise.
26644         (FP_EX_INVALID_VC): Likewise.
26645         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
26646         "invalid" exceptions.
26647         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
26648         (_FP_ADD_INTERNAL): Likewise.
26649         (_FP_MUL): Likewise.
26650         (_FP_FMA): Likewise.
26651         (_FP_DIV): Likewise.
26652         (_FP_CMP_CHECK_NAN): Likewise.
26653         (_FP_SQRT): Likewise.
26654         (_FP_TO_INT): Likewise.
26655         (FP_EXTEND): Likewise.
26657 2014-10-09  Allan McRae  <allan@archlinux.org>
26659         * po/fr.po: Update French translation from translation project.
26661 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26663         [BZ #14132]
26664         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
26665         of INTDEF.
26666         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
26667         (__cxa_atexit): Use libc_hidden_proto.
26668         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
26670         [BZ #14132]
26671         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
26672         declaration.
26673         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
26674         [!_ISOMAC] (__iswspace_l_internal): Likewise.
26675         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
26676         [!_ISOMAC] (__iswctype_internal): Likewise.
26677         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
26678         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
26679         alias.
26680         (fcntl): Remove __fcntl_internal alias.
26681         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
26682         __connect_internal alias.
26683         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
26684         Likewise.
26686         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
26687         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
26688         FP_DENORM_ZERO.
26689         (_FP_CHECK_FLUSH_ZERO): New macro.
26690         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
26691         (_FP_CMP): Likewise.
26692         (_FP_CMP_EQ): Likewise.
26693         (_FP_TO_INT): Do not set inexact for subnormal arguments if
26694         FP_DENORM_ZERO.
26695         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
26696         (FP_TRUNC): Likewise.
26698         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
26699         treated as invalid conversion, not as normal exponent.
26701         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
26702         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
26703         (_FP_CMP_EQ): Likewise.
26704         (_FP_CMP_UNORD): Likewise.
26705         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
26706         (FP_CMP_EQ_D): Likewise.
26707         (FP_CMP_UNORD_D): Likewise.
26708         * soft-fp/extended.h (FP_CMP_E): Likewise.
26709         (FP_CMP_EQ_E): Likewise.
26710         (FP_CMP_UNORD_E): Likewise.
26711         * soft-fp/quad.h (FP_CMP_Q): Likewise.
26712         (FP_CMP_EQ_Q): Likewise.
26713         (FP_CMP_UNORD_Q): Likewise.
26714         * soft-fp/single.h (FP_CMP_S): Likewise.
26715         (FP_CMP_EQ_S): Likewise.
26716         (FP_CMP_UNORD_S): Likewise.
26717         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
26718         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
26719         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
26720         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
26721         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
26722         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
26723         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
26724         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
26725         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
26726         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
26727         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
26728         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
26729         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
26730         to FP_CMP_Q.
26731         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
26732         FP_CMP_Q.
26733         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
26734         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
26735         FP_CMP_EQ_Q.
26736         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
26737         FP_CMP_Q.
26738         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
26739         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
26740         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
26741         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
26742         FP_CMP_EQ_Q.
26743         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
26744         FP_CMP_Q.
26745         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
26746         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
26747         FP_CMP_EQ_Q.
26748         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
26749         FP_CMP_Q.
26750         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
26751         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
26752         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
26753         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
26754         FP_CMP_EQ_Q.
26756         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
26757         a subnormal result, set the underflow exception if trapping on
26758         underflow is enabled.
26759         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
26760         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
26761         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
26762         redefine to 0.
26763         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
26764         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26765         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26766         * soft-fp/extendxftf2.c (__extendxftf2): Use
26767         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
26769         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
26770         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
26771         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26772         FP_HANDLE_EXCEPTIONS.
26773         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
26774         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26775         FP_HANDLE_EXCEPTIONS.
26776         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
26777         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26778         FP_HANDLE_EXCEPTIONS.
26779         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
26780         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26781         FP_HANDLE_EXCEPTIONS.
26783 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
26785         [BZ #14132]
26786         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
26787         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
26788         use INTUSE.
26789         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
26790         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
26791         Remove alias.
26792         (__adjtimex): Define using libc_hidden_ver.
26793         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
26794         Remove declaration.
26795         (ntp_gettime): Call __adjtimex directly.
26796         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
26797         Remove declaration.
26798         (ntp_gettimex): Call __adjtimex directly.
26799         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
26800         __adjtimex_internal alias.
26802 2014-10-08  Roland McGrath  <roland@hack.frob.com>
26804         [BZ #17460]
26805         * nscd/nscd.c (more_help): Rewrite list of tables collection
26806         using xstrdup and asprintf.
26808         * nscd/nscd_conf.c: Remove local xstrdup declaration.
26810 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26811             Roland McGrath  <roland@hack.frob.com>
26813         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
26814         (do_lookup_unique): ... local function 'enter' here; update callers.
26816 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
26818         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
26819         compat_symbol calls on [SHARED].
26820         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
26821         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
26822         Remove.
26823         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26824         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
26825         (oldsetrlimit): Remove.
26826         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26828         (lchown): New syscall entry.
26829         (oldsetrlimit): Remove.
26830         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26831         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
26832         (oldsetrlimit): Remove.
26833         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26835         [BZ #14138]
26836         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
26837         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
26838         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
26839         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
26840         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26841         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
26842         (fchown): Likewise.
26843         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
26844         (fchown): Likewise.
26845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
26846         Likewise.
26848 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26850         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
26851         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
26852         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
26853         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
26854         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
26855         Likewise.
26856         (__old_sem_post): Likewise.
26858 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
26860         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
26861         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
26862         HAVE_CLOCK_GETTIME_VSYSCALL macros.
26863         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
26864         Use INLINE_VSYSCALL macro.
26865         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
26866         __vdso_clock_gettime.
26867         * sysdeps/unix/sysv/linux/tile/init-first.c
26868         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
26869         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
26870         __vdso_clock_gettime.
26872         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
26873         to set up frame more cleanly.
26875         * sysdeps/tile/memcmp.c: New file.
26877         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
26879         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
26880         * sysdeps/tile/tilegx/strcasestr.c: New file.
26881         * sysdeps/tile/tilegx/strnlen.c: New file.
26882         * sysdeps/tile/tilegx/strstr.c: New file.
26884         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
26886 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
26888         * nptl/tst-setuid3.c: Write errors to stdout.
26890 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26892         * elf/dl-deps.c
26893         (preload): New functions broken out of _dl_map_object_deps.
26894         (_dl_map_object_deps):  Remove a nested function. Update call sites.
26896 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
26898         [BZ #14138]
26899         * sysdeps/unix/sysv/linux/execve.c: Remove file.
26900         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
26902 2014-10-01  Steve Ellcey  <sellcey@mips.com>
26904         * sysdeps/mips/strcmp.S: New.
26906 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
26908         [BZ #14138]
26909         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
26910         (linkat): Likewise.
26911         (mkdirat): Likewise.
26912         (readlinkat): Likewise.
26913         (renameat): Likewise.
26914         (symlinkat): Likewise.
26915         (unlinkat): Likewise.
26916         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
26917         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
26918         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
26919         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
26920         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
26921         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
26922         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
26924 2014-09-30  Will Newton  <will.newton@linaro.org>
26926         * math/math.h: Define long double math functions if
26927         _LIBC_TEST is defined.
26928         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
26930         * localedata/Makefile: Move assignment to tests-special
26931         into an ifdef testing run-built-tests.
26932         * timezone/Makefile: Likewise.
26934 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
26936         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
26937         with $(BASH) not $(SHELL).
26939 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
26940             Matthew LeGendre  <legendre1@llnl.gov>
26942         [BZ #17411]
26943         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
26944         l_reloc_result.
26946 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26948         * stdio-common/printf_fp.c
26949         (hack_digit): New function, broken out of ...
26950         (__printf_fp): ... local function here.  Update call sites.
26951         hack_digit now takes an additional parameter that is a pointer
26952         to a struct of the referenced locals.  Those locals moved inside
26953         the struct and references updated.
26955 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
26957         * aclocal.m4: Require autoconf 2.69.
26958         * configure: Regenerated.
26959         * sysdeps/aarch64/configure: Likewise.
26960         * sysdeps/alpha/configure: Likewise.
26961         * sysdeps/arm/armv7/configure: Likewise.
26962         * sysdeps/arm/configure: Likewise.
26963         * sysdeps/ia64/configure: Likewise.
26964         * sysdeps/mach/configure: Likewise.
26965         * sysdeps/mips/configure: Likewise.
26966         * sysdeps/s390/configure: Likewise.
26967         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
26968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
26970         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
26971         file.
26972         * sysdeps/ia64/configure.ac: Likewise.
26974 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
26976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
26977         specify symbol version for ld.so.  Do not include entry for
26978         libpthread.
26979         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26980         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26981         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26983         [BZ #14171]
26984         * Makeconfig [$(build-shared) = yes]
26985         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
26986         makefiles.
26987         [$(build-shared) = yes && $(soversions.mk-done) = t]
26988         ($(common-objpfx)gnu/lib-names.h): Remove rule.
26989         [$(build-shared) = yes && $(soversions.mk-done) = t]
26990         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
26991         to Makerules.
26992         [$(build-shared) = yes && $(soversions.mk-done) = t]
26993         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
26994         here.
26995         [$(build-shared) = yes && $(soversions.mk-done) = t]
26996         (common-generated): Don't append gnu/lib-names.h and
26997         gnu/lib-names.stmp here.
26998         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
26999         (lib-names-h-abi): New variable.
27000         [$(build-shared) = yes && $(soversions.mk-done) = t]
27001         (lib-names-stmp-abi): Likewise.
27002         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27003         abi-variants] (before-compile): Append
27004         $(common-objpfx)$(lib-names-h-abi).
27005         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27006         abi-variants] (common-generated): Append gnu/lib-names.h.
27007         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27008         abi-variants] (install-others-nosubdir): Depend on
27009         $(inst_includedir)/$(lib-names-h-abi).
27010         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27011         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
27012         [$(build-shared) = yes && $(soversions.mk-done) = t]
27013         ($(common-objpfx)$(lib-names-h-abi)): New rule.
27014         [$(build-shared) = yes && $(soversions.mk-done) = t]
27015         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
27016         [$(build-shared) = yes && $(soversions.mk-done) = t]
27017         (common-generated): Append $(lib-names-h-abi) and
27018         $(lib-names-stmp-abi).
27019         * scripts/lib-names.awk: Do not handle multi being set.
27020         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
27021         Remove variable.
27022         (abi-lp64_be-ld-soname): Likewise.
27023         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
27024         Likewise.
27025         (abi-hard-ld-soname): Likewise.
27026         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
27027         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
27028         Remove variable.
27029         (abi-o32_hard-ld-soname): Likewise.
27030         (abi-o32_soft_2008-ld-soname): Likewise.
27031         (abi-o32_hard_2008-ld-soname): Likewise.
27032         (abi-n32_soft-ld-soname): Likewise.
27033         (abi-n32_hard-ld-soname): Likewise.
27034         (abi-n32_soft_2008-ld-soname): Likewise.
27035         (abi-n32_hard_2008-ld-soname): Likewise.
27036         (abi-n64_soft-ld-soname): Likewise.
27037         (abi-n64_hard-ld-soname): Likewise.
27038         (abi-n64_soft_2008-ld-soname): Likewise.
27039         (abi-n64_hard_2008-ld-soname): Likewise.
27040         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
27041         Likewise.
27042         (abi-64-v2-ld-soname): Likewise.
27043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
27044         ld.so entries.
27045         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
27046         variable.
27047         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
27048         entry.
27049         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
27050         variable.
27051         (abi-64-ld-soname): Likewise.
27052         (abi-x32-ld-soname): Likewise.
27053         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
27054         entry.
27055         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27057 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
27059         [BZ #14138]
27060         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
27061         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
27062         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
27063         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
27064         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
27065         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
27066         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
27067         syscall entry for GLIBC_2.2 symbol version.
27068         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
27069         Likewise.
27070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27071         (setrlimit): Likewise.
27072         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
27073         Likewise.
27075 2014-09-23  Will Newton  <will.newton@linaro.org>
27077         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
27078         _LINUX_ARM_SYSDEP_H include guard too.
27079         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
27080         define.
27082 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27084         * sysdeps/unix/sysv/linux/eventfd.c:
27085         Make first argument unsigned.
27086         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
27087         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
27089 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
27091         [BZ #16852]
27092         * socket/recvmmsg.c (recvmmsg): Drop const argument.
27093         * socket/sys/socket.h: Likewise.
27094         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
27096 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27098         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
27100 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
27102         * time/tst-ftime.c: New test.
27103         * time/Makefile (tests): Add tst-ftime.
27105 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
27107         * soft-fp/extended.h: Fix comment formatting.
27108         * soft-fp/op-1.h: Likewise.
27109         * soft-fp/op-2.h: Likewise.
27110         * soft-fp/op-4.h: Likewise.
27111         * soft-fp/op-8.h: Likewise.
27112         * soft-fp/op-common.h: Likewise.
27113         * soft-fp/soft-fp.h: Likewise.
27115         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
27117 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
27119         [BZ #6652]
27120         * Makeconfig (soversions-default-setname): Remove variable.
27121         ($(common-objpfx)soversions.i): Don't pass default_setname to
27122         soversions.awk.
27123         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
27124         oldest_abi to abi-versions.awk.
27125         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
27126         * config.make.in (oldest-abi): Remove variable.
27127         * configure.ac (--enable-oldest-abi): Remove configure option.
27128         * configure: Regenerated.
27129         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
27130         text.
27131         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
27132         * scripts/soversions.awk: Do not handle default_setname variable.
27133         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
27134         variable.
27135         * sysdeps/mach/hurd/configure: Regenerated.
27136         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
27137         variable.
27138         * sysdeps/unix/sysv/linux/configure: Regenerated.
27140 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27142         * elf/Makefile (CFLAGS-interp.c): Remove.
27143         ($(elf-objpfx)runtime-linker.h): Generate header with linker
27144         path string.
27145         * elf/interp.c: Include generated runtime-linker.h
27147         * Makerules (lib%.so): Don't include $(+interp) in
27148         prerequisites.
27149         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
27150         * dlfcn/eval.c: Remove file.
27152         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
27153         macros.
27155         [BZ #17266]
27156         * misc/sys/cdefs.h: Define __extern_always_inline for clang
27157         4.2 and newer.
27159         [BZ #17370]
27160         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
27162 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27163             Jakub Jelinek  <jakub@redhat.com>
27165         [BZ #17266]
27166         * libio/stdio.h: Check definition of __fortify_function
27167         instead of __extern_always_inline to include bits/stdio2.h.
27168         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
27169         check if __extern_always_inline is defined.
27170         [__USE_MISC || __USE_XOPEN]: Likewise.
27171         [__USE_ISOC99] Likewise.
27172         * misc/sys/cdefs.h (__fortify_function): Define only if
27173         __extern_always_inline is defined.
27174         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
27175         __extern_always_inline and __extern_inline only for g++-4.3
27176         and newer or a compatible gcc.
27178 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
27180         [BZ #17371]
27181         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27182         last change to handle zero prefix length.
27184 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27186         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27187         _SC_REGEX_VERSION.
27189         * posix/getconf.c (vars): Add _POSIX_IPV6 and
27190         _POSIX_RAW_SOCKETS.
27192 2014-09-13  Allan McRae  <allan@archlinux.org>
27194         * po/ru.po: Update Russian translation from translation project.
27196 2014-09-12  Roland McGrath  <roland@hack.frob.com>
27198         * locale/programs/locale.c (show_locale_vars): Inline local function
27199         into its sole call site.  Clean up some style nits.
27200         (print_item): New function, broken out of ...
27201         (show_info): ... local function here.  Clean up style nits.
27203         * locale/programs/ld-ctype.c (set_one_default): New function, broken
27204         out of ...
27205         (set_class_defaults): ... local function set_default here.
27206         Define set_default as a macro locally to pass constant parameters.
27207         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27208         rather than a shared local.
27210         * stdlib/rpmatch.c (try): New function, broken out of ...
27211         (rpmatch): ... local function here.  Also, prototypify definition.
27213 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
27215         * scripts/soversions.awk: Do not handle configuration names.
27216         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
27217         vendor and os variables to soversions.awk.
27218         * configure.ac: Do not modify gnu-* host_os.
27219         * configure: Regenerated
27220         * shlib-versions: Remove first column with configuration names.
27221         * nptl/shlib-versions: Likewise.
27222         * nptl_db/shlib-versions: Likewise.
27223         * sysdeps/hppa/shlib-versions: Likewise.
27224         * sysdeps/m68k/shlib-versions: Likewise.
27225         * sysdeps/mach/hurd/shlib-versions: Likewise.
27226         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
27227         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
27228         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
27229         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
27230         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
27231         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
27232         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
27233         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27235         Likewise.
27236         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27237         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27238         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27239         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27240         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27241         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
27242         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27243         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27246         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
27247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27248         Regenerated.
27249         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
27250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27251         Condition symbol version definitions on [HAVE_ELFV2_ABI].
27253         * shlib-versions: Remove OS-specific entries.  Moved to files in
27254         sysdeps.
27255         * sysdeps/mach/hurd/shlib-versions: New file.
27256         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27258         * nptl/shlib-versions: Remove architecture-specific entries.
27259         Moved to files in sysdeps.
27260         * shlib-versions: Likewise.
27261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
27262         file.
27263         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27264         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27265         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27266         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27268         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
27269         (UDP_NO_CHECK6_RX): Likewise.
27271 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27273         * sysdeps/posix/sysconf.c (__sysconf): Spell
27274         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
27276 2014-08-12  Florian Weimer  <fweimer@redhat.com>
27278         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
27279         loading.
27280         * iconv/Versions (__gconv_transliterate): Export for use from
27281         gconv modules.
27282         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
27283         (struct __gconv_trans_data, __gconv_trans_fct,
27284         __gconv_trans_context_fct, __gconv_trans_query_fct,
27285         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
27286         definitions.
27287         (struct __gconv_step_data): Remove __trans member.
27288         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
27289         longer hidden.  Remove unused trans_data argument.
27290         * iconv/gconv_int.h (struct trans_struct): Remove definition.
27291         (__gconv_translit_find): Remove declaration.
27292         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
27293         prototype.
27294         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27295         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27296         trans_data argument.  Add hidden definition.
27297         (__gconv_translit_find): Remove.
27298         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27299         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27300         * iconv/skeleton.c: Remove transliteration initialization.
27301         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27302         __gconv_step_data initialization.
27303         * libio/iofwide.c (__libio_translit_): Remove.
27304         (_IO_fwide): Adjust struct __gconv_step_data initialization.
27305         * wcsmbs/btowc.c (__btowc): Likewise.
27306         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27307         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27308         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27309         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27310         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27311         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27312         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27313         * wcsmbs/wctob.c (wctob): Likewise.
27315 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27317         [BZ #16194]
27318         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27319         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
27320         register usage.
27321         * sysdeps/x86/Makefile: Adjust.
27323 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27324             Roland McGrath  <roland@hack.frob.com>
27326         * locale/weight.h: Add include guard.
27327         (findidx): Make static rather than auto; take new parameters
27328         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27329         * locale/weightwc.h: Likewise.
27330         * posix/fnmatch_loop.c
27331         (FCT): Change type of EXTRA from int32_t to wint_t.
27332         Don't include either header inside the function.
27333         Call FINDIDX rather than findidx, and pass new arguments.
27334         #undef FINDIDX at the end of the file.
27335         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27336         FINDIDX before including fnmatch_loop.c for the non-wide version.
27337         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27338         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27339         for the wide version.
27340         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27341         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27342         Pass new arguments to findidx.
27343         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27344         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27345         Don't #include it inside the function.  Pass new arguments to findidx.
27346         * posix/regex_internal.h
27347         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27348         (re_string_elem_size_at): Don't #include it inside the function.
27349         Pass new arguments to findidx.
27350         * string/strcoll_l.c: #include WEIGHT_H at top level.
27351         (get_next_seq): Don't #include it inside the function.
27352         Pass new arguments to findidx.
27353         (get_next_seq_nocache): Likewise.
27354         * string/strxfrm_l.c: #include WEIGHT_H at top level.
27355         (STRXFRM): Don't #include it inside the function.
27356         Pass new arguments to findidx.
27358 2014-09-11  Florian Weimer  <fweimer@redhat.com>
27360         [BZ #17344]
27361         * malloc/malloc.c (unlink): Turn asserts into a call to
27362         malloc_printerr.
27364 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
27366         [BZ #17370]
27367         * libio/wfileops (do_ftell_wide): Free OUT.
27369 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
27371         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
27373 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27375         [BZ #17363]
27376         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
27377         group if the current group is empty.
27379 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27381         * benchtests/bench-memset.c (test_main): Add more test from size
27382         from 32 to 512 bytes.
27383         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27384         Add POWER8 memset object.
27385         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27386         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
27387         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
27388         implementation.
27389         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
27390         Likewise.
27391         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
27392         multiarch POWER8 memset optimization.
27393         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
27394         POWER8 memset optimization.
27396         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27397         Remove bzero multiarch objects.
27398         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
27399         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
27400         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
27401         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
27402         Remove define.
27403         [__bzero]: Redefine to specific name.
27404         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27405         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27406         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
27407         define.
27408         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27409         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27411 2014-09-10  Florian Weimer  <fweimer@redhat.com>
27413         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
27414         warnings into errors.
27416         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
27417         __cxa_thread_atexit_impl prototype.
27419 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27421         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
27422         Fix capitalization of error message.
27424 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27426         * sysdeps/mips/preconfigure: Modify ABI tests.
27428 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
27430         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
27432 2014-09-07  Roland McGrath  <roland@hack.frob.com>
27433             Carlos O'Donell  <carlos@systemhalted.org>
27435         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
27436         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
27437         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
27438         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
27439         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
27440         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
27441         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
27442         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
27443         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
27444         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
27445         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
27446         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
27447         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
27448         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
27449         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
27450         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
27451         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
27452         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
27453         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
27454         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
27455         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
27456         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
27457         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
27458         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
27459         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
27460         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
27461         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
27462         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
27463         Deconditionalize the code that was previously under [RESET_PID].
27464         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
27465         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
27466         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
27467         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
27468         include sysdep.h.
27470 2014-09-08  Allan McRae  <allan@archlinux.org>
27472         * version.h (RELEASE): Set to "development".
27473         (VERSION): Set to "2.20.90"
27475 2014-09-07  Allan McRae  <allan@archlinux.org
27477         * version.h (RELEASE): Set to "stable".
27478         (VERSION): Set to "2.20"
27479         * include/features.h (__GLIBC_MINOR__): Set to 20.
27481         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
27482         Liebler.
27484         * po/ko.po: Update Korean translation from translation project.
27486 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
27488         [BZ #17354]
27489         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
27490         macro for handling signed relocations.
27492 2014-09-03  Florian Weimer  <fweimer@redhat.com>
27494         [BZ #17325]
27495         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
27496         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
27497         assert.
27498         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
27499         * iconvdata/ibm935.c (BODY): Likewise.
27500         * iconvdata/ibm937.c (BODY): Likewise.
27501         * iconvdata/ibm939.c (BODY): Likewise.
27502         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
27503         assert.
27504         * iconvdata/Makefile (iconv-test.out): Pass module list to test
27505         script.
27506         * iconvdata/run-iconv-test.sh: New test loop for checking for
27507         decoder crashers.
27509 2014-09-02  Khem Raj  <raj.khem@gmail.com>
27511         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
27512         libm_hidden_ver.
27514 2014-09-01  Allan McRae  <allan@archlinux.org>
27516         * po/eo.po: Update Esperanto translation from translation project.
27518         * po/ca.po: Update Catalan translation from translation project.
27520 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27522         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
27523         __proc_dostop call.
27525 2014-08-27  Mark Wielaard  <mjw@redhat.com>
27527         [BZ #17319]
27528         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
27529         to call set_thread_area instead of hand written asm.
27530         (__NR_set_thread_area): Removed define.
27531         (TLS_FLAG_WRITABLE): Likewise.
27532         (__ASSUME_SET_THREAD_AREA): Remove check.
27533         (TLS_EBX_ARG): Remove define.
27534         (TLS_LOAD_EBX): Likewise.
27536 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27538         Simplify atomicity of socket creation in bind.
27540         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
27541         looking up the name after linking the file.
27543 2014-08-27  Allan McRae  <allan@archlinux.org>
27545         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27547 2014-08-26  Florian Weimer  <fweimer@redhat.com>
27549         [BZ #17187]
27550         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
27551         trans_compare, open_translit, __gconv_translit_find):
27552         Remove module loading code.
27554 2014-08-26  Allan McRae  <allan@archlinux.org>
27556         * po/vi.po: Update Vietnamese translation from translation project.
27558         * po/uk.po: Update Ukrainian translation from translation project.
27560         * po/fr.po: Update French translation from translation project.
27562         * po/ru.po: Update Russian translation from translation project.
27564         * po/pl.po: Update Polish translation from translation project.
27566         * po/cs.po: Update Czech translation from translation project.
27568         * po/de.po: Update German translation from translation project.
27570         * po/bg.po: Update Bulgarian translation from translation project.
27572         * po/sv.po: Update Sweedish translation from translation project.
27574         * po/nl.po: Update Dutch translation from translation project.
27576         * po/es.po: Update Spanish translation from translation project.
27578 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27580         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
27582         * catgets/Makefile (CPPFLAGS-gencat): Remove.
27583         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
27584         (CPPFLAGS-iconvconfig): Likewise.
27585         * timezone/Makefile (CPPFLAGS-zic): Likewise.
27587         * include/libc-symbols.h: Remove unnecessary check for
27588         NOT_IN_libc.
27589         * nptl/pthreadP.h: Likewise.
27590         * sysdeps/aarch64/setjmp.S: Likewise.
27591         * sysdeps/alpha/setjmp.S: Likewise.
27592         * sysdeps/arm/sysdep.h: Likewise.
27593         * sysdeps/i386/setjmp.S: Likewise.
27594         * sysdeps/m68k/setjmp.c: Likewise.
27595         * sysdeps/posix/getcwd.c: Likewise.
27596         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27597         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27598         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27599         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27600         * sysdeps/sh/sh3/setjmp.S: Likewise.
27601         * sysdeps/sh/sh4/setjmp.S: Likewise.
27602         * sysdeps/unix/alpha/sysdep.h: Likewise.
27603         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27604         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27605         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27606         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27609         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27610         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27611         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27612         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27613         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27614         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27615         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27616         * sysdeps/x86_64/setjmp.S: Likewise.
27618 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
27620         [BZ #17263]
27621         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
27622         <stdint.h>.
27623         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
27624         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
27626 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27628         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
27630         [BZ #17262]
27631         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
27632         and __x86_64__ when disabling x87 inline functions.
27634 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27636         [BZ #17259]
27637         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
27638         asm statement with __cpuid_count.
27640 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
27642         * configure.ac: Change __ehdr_start code to dereference the struct.
27643         Run readelf on the output to look for relocations.
27644         * configure: Regenerated.
27646 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
27648         [BZ #17261]
27649         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
27650         value to 0.
27651         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
27653 2014-08-12  Roland McGrath  <roland@hack.frob.com>
27655         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
27657 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
27659         [BZ #16892]
27660         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
27661         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
27663 2014-08-12  Sean Anderson  <seanga2@gmail.com>
27665         * malloc/malloc.c: Fix typo in comment.
27667 2014-08-09  Allan McRae  <allan@archlinux.org>
27669         * Regenerate libc.po.
27671 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
27673         * intl/tst-gettext2.sh: Check every lang file for creation.
27675 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27677         * sysdeps/aarch64/fpu/math_private.h
27678         (libc_feholdsetround_noex_aarch64_ctx): New function.
27680 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27682         * sysdeps/arm/armv6/strcpy.S (strcpy):
27683         Fix performance issue in misaligned cases.
27685 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27687         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
27688         Move definition from termios.h.
27689         (struct termio): Likewise.
27690         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27691         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27692         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27693         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27694         Likewise.
27695         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
27696         Move definition to ioctl-types.h
27697         (struct termio): Likewise.
27698         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27699         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27700         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27701         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27702         Likewise.
27704 2014-08-05  Richard Henderson  <rth@redhat.com>
27706         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
27707         exceptions.
27708         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
27709         Add fraiseexcpt.
27710         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
27711         Use __feraiseexcept.
27712         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
27713         Protect libm symbols with IS_IN_libm.
27715         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
27717 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
27719         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
27721 2014-08-04  Will Newton  <will.newton@linaro.org>
27723         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
27724         file.
27726 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
27728         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
27729         variants for each function.
27731 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27733         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
27734         appended ...
27735         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
27736         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
27737         appended ...
27738         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
27739         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
27740         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
27741         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
27742         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
27743         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
27744         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
27745         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
27746         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
27747         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
27748         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
27749         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
27750         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
27751         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
27752         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
27753         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
27754         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
27755         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
27756         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
27757         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
27758         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
27759         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
27760         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
27761         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
27762         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
27763         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
27764         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
27765         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
27766         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
27767         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
27768         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
27769         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
27770         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
27771         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
27772         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
27773         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
27774         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
27775         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
27776         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
27777         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
27778         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
27779         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
27780         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
27781         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
27782         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
27783         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
27784         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
27785         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
27786         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
27787         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
27788         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
27789         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
27790         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
27791         Update #include.
27792         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
27793         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
27795 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27797         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
27798         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
27799         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
27800         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
27801         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
27802         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
27804 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27806         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
27807         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
27808         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27809         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
27811 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27813         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
27814         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
27815         (__libc_vfork): Define function under this name.
27816         (__vfork): Define as an alias.
27817         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
27818         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
27820 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27822         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
27823         that was previously under [RESET_PID].
27824         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
27826 2014-08-04  Andreas Schwab  <schwab@suse.de>
27828         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
27830 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
27832         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
27833         (main): Likewise.
27835 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27837         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
27839 2014-08-01  Richard Henderon  <rth@redhat.com>
27841         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
27842         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
27843         typo in exact zero test.
27844         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27845         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27846         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27848 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27850         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
27851         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
27852         * sysdeps/arm/sysdep.h: ... here.
27853         [!__ASSEMBLER__]: Include <stdint.h>.
27855 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27857         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
27858         (HAVE_WCTYPE_H): Likewise.
27859         (HAVE_ISWCTYPE): Likewise.
27860         (ENABLE_NLS): Likewise.
27861         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
27862         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
27864         * posix/regex_internal.c: Check if DEBUG is defined and is
27865         set.
27867         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
27868         (HAVE_MBSRTOWCS): Likewise.
27869         * posix/fnmatch.c: Include string.h unconditionally.
27871 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27873         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
27874         reversal.
27876 2014-07-31  Roland McGrath  <roland@hack.frob.com>
27878         * sysdeps/generic/safe-fatal.h: New file.
27879         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
27880         * nptl/forward.c: Include it.
27881         (__pthread_unwind): Use __safe_fatal as default action, rather
27882         than a bogus use of INTERNAL_SYSCALL that could never work.
27884         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
27885         * configure.ac (libc_cv_builtin_trap): New test.
27886         * configure: Regenerated.
27887         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
27888         (ABORT_INSTRUCTION): Define using __builtin_trap.
27890         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
27891         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
27892         * sysdeps/nptl/nptl-signals.h: New file.
27893         * nptl/pthreadP.h: Include <nptl-signals.h>.
27895 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27897         * sysdeps/s390/s390-64/utf16-utf32-z9.c
27898         (ONE_DIRECTION): Define.
27899         * sysdeps/s390/s390-64/utf8-utf16-z9.c
27900         (ONE_DIRECTION): Define.
27901         * sysdeps/s390/s390-64/utf8-utf32-z9.c
27902         (ONE_DIRECTION): Define.
27904 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27906         * sysdeps/s390/Makefile: Delete file.
27907         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
27908         * sysdeps/s390/__longjmp.c: Delete file.
27909         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
27910         Remove fields __flags and __reserved.
27911         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
27912         and add versioning.
27913         * sysdeps/s390/rtld-__longjmp.c: Delete file.
27914         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
27915         * sysdeps/s390/rtld-setjmp.S: Likewise.
27916         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
27917         * sysdeps/s390/s390-32/__longjmp.c: ... here.
27918         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
27919         * sysdeps/s390/s390-32/setjmp.S: ... here.
27920         Add versioning.
27921         (__sigsetjmp): Remove setting __flags field.
27922         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
27923         * sysdeps/s390/s390-64/__longjmp.c: ... here.
27924         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
27925         * sysdeps/s390/s390-64/setjmp.S: ... here.
27926         Add versioning.
27927         (__sigsetjmp): Remove setting __flags field.
27928         * sysdeps/s390/setjmp.S: Delete file.
27929         * sysdeps/s390/sigjmp.c: Likewise.
27930         * sysdeps/s390/v1-longjmp.c: Likewise.
27931         * sysdeps/s390/v1-setjmp.h: Likewise.
27932         * sysdeps/s390/v1-sigjmp.c: Likewise.
27933         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
27934         Remove v1-longjmp_chk.
27935         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
27936         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
27937         Include debug/longjmp_chk.c and add versioning.
27938         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
27939         Include nptl/pt-longjmp.c and add versioning.
27940         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
27941         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
27942         Include __longjmp.c.
27943         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27944         Move to ...
27945         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
27946         (__getcontext): Remove setting __flags field.
27947         Add versioning.
27948         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27949         Don't restore upper high grps.
27950         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
27951         Likewise.
27952         (__swapcontext): Remove setting uc_flags field.
27953         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
27954         Delete file.
27955         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27956         Include __longjmp.c.
27957         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27958         Move to ...
27959         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
27960         (__getcontext): Remove setting __flags field.
27961         Add versioning.
27962         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
27963         (__swapcontext): Remove setting uc_flags field.
27964         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
27965         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
27966         Remove fields uc_high_gprs and __reserved.
27967         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
27968         New file with reverted content.
27969         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
27970         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
27971         Regenerated.
27972         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
27973         Regenerated.
27975 2014-07-31  Andreas Schwab  <schwab@suse.de>
27977         * config.h.in (HAVE_IFUNC): Define to 0.
27978         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
27979         definedness.
27981 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
27983         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27984         memmove-avx-unaligned, memcpy-avx-unaligned and
27985         mempcpy-avx-unaligned.
27986         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27987         Add tests for AVX memcpy functions.
27988         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
27989         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
27990         memcpy_chk.
27991         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
27992         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
27993         memmove_chk.
27994         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
27995         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
27996         mempcpy_chk.
27997         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
27998         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
27999         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
28001 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28003         [BZ #17213]
28004         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
28005         powerpc64le.
28007 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
28009         [BZ #16839]
28010         * manual/llio.texi: Add section about open file description locks.
28011         * manual/examples/ofdlocks.c: Example of open file description
28012         lock usage.
28013         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
28014         F_OFD_SETLK, and F_OFD_SETLKW.
28016 2014-07-23  Allan McRae  <allan@archlinux.org>
28018         * po/es.po: Update Spanish translation from translation project.
28020 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
28022         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
28024 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
28026         [BZ #17078]
28027         * sysdeps/arm/dl-machine.h (elf_machine_rela)
28028         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
28029         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
28031 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
28033         [BZ #17088]
28034         * math/fesetenv.c (__fesetenv)
28035         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
28036         * math/feupdateenv.c (__feupdateenv)
28037         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
28039         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
28040         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28041         (__ASSUME_SOCKETCALL): Do not define.
28043         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
28044         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
28045         (__ASSUME_SOCKETCALL): Do not define.
28046         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
28047         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28048         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28049         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28050         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28051         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
28052         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28053         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28055         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
28056         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
28057         (__ASSUME_SOCKETCALL): Do not define.
28058         (__ASSUME_IPC64): Define unconditionally.
28059         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28060         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28061         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28062         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28063         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
28064         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28065         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
28066         Likewise.
28068         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
28069         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
28070         (__ASSUME_SOCKETCALL): Do not define.
28071         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
28072         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28073         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28074         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28075         (__ASSUME_REQUEUE_PI): Define unconditionally.
28076         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
28077         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
28078         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28079         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
28080         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28081         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28083         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
28084         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
28085         (__ASSUME_SOCKETCALL): Do not define.
28086         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
28087         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28088         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28089         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
28090         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28091         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28093         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
28094         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
28095         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28096         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
28097         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28098         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
28099         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28100         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
28101         (__ASSUME_GETCPU_SYSCALL): Likewise.
28103         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
28104         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
28105         cases for individual architectures.
28106         * sysdeps/gnu/configure: Regenerated.
28107         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28108         LIBC_SLIBDIR_RTLDDIR.
28109         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
28110         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
28111         LIBC_SLIBDIR_RTLDDIR.
28112         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
28113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
28114         LIBC_SLIBDIR_RTLDDIR.
28115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28116         Regenerated.
28117         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
28118         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
28119         file.
28120         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
28121         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
28122         file.
28123         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
28124         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
28125         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
28126         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28128         * sysdeps/aarch64/shlib-versions: Move to ...
28129         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
28130         * sysdeps/alpha/shlib-versions: Move to ...
28131         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
28132         * sysdeps/arm/shlib-versions: Move to ...
28133         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
28134         * sysdeps/hppa/shlib-versions: Move all contents except for
28135         libgcc_s entry to ...
28136         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
28137         entry from ...
28138         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
28139         * sysdeps/ia64/shlib-versions: Move to ...
28140         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
28141         entry from ...
28142         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
28143         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
28144         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
28145         * sysdeps/microblaze/shlib-versions: Move to ...
28146         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
28147         * sysdeps/mips/shlib-versions: Move to ...
28148         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
28149         entry from ...
28150         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
28151         * sysdeps/tile/shlib-versions: Move to ...
28152         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
28153         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
28154         from ...
28155         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
28156         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
28157         entry from ...
28158         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
28160 2014-07-17  Will Newton  <will.newton@linaro.org>
28162         * sysdeps/arm/bits/atomic.h
28163         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
28164         (__arch_compare_and_exchange_bool_16_int): Likewise.
28165         (__arch_compare_and_exchange_bool_64_int): Likewise.
28167         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
28168         into an #else block.
28170 2014-07-16  Roland McGrath  <roland@hack.frob.com>
28172         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
28173         just Linux configurations.  Test empirically that the compiler sets
28174         __ARM_EABI__, rather than using the tuple to decide.
28175         * sysdeps/arm/preconfigure: Regenerated.
28176         * sysdeps/unix/sysv/linux/arm/configure: File removed.
28177         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28178         contents appended ...
28179         * sysdeps/arm/configure.ac: ... here.
28180         * sysdeps/arm/configure: Regenerated.
28182 2014-07-15  Roland McGrath  <roland@hack.frob.com>
28184         * nptl/pthread_kill.c: New file.
28185         * nptl/pthread_sigmask.c: New file.
28186         * nptl/pthread_sigqueue.c: New file.
28188         * sysdeps/nptl/lowlevellock.h: New file.
28189         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28190         * sysdeps/nptl/lowlevellock-futex.h: New file.
28192         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28193         Remove dead declarations.
28195 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
28197         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28198         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28199         config-cflags-avx2.
28200         * sysdeps/x86_64/configure.ac: Likewise.
28201         * sysdeps/i386/configure: Regenerated.
28202         * sysdeps/x86_64/configure: Likewise.
28203         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28204         memset-avx2 only if config-cflags-avx2 is yes.
28205         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28206         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28207         defined.
28208         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28209         only if HAVE_AVX2_SUPPORT is defined.
28210         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28212 2014-07-14  Alan Modra  <amodra@gmail.com>
28214         [BZ #17153]
28215         * elf/elf.h (DT_PPC64_NUM): Correct value.
28216         * NEWS: Add to fixed bug list.
28218 2014-07-13  Jim Meyering  <meyering@fb.com>
28220         [BZ 17150]
28221         regex: don't deref NULL upon heap allocation failure
28222         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
28223         failure in one more place.
28224         To trigger the segfault, configure grep -with-included-regex,
28225         build it, and run these commands:
28226         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
28228 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
28230         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28232 2014-07-11  Richard Henderson  <rth@redhat.com>
28234         * sysdeps/aarch64/libm-test-ulps: Update.
28236 2014-07-10  Florian Weimer  <fweimer@redhat.com>
28238         [BZ #17135]
28239         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
28240         * nptl/allocatestack.c (__nptl_setxid_error): New function.
28241         (__nptl_setxid): Initialize error member.  Call
28242         __nptl_setxid_error.
28243         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
28244         * nptl/descr.h (struct xid_command): Add error member.
28245         * nptl/tst-setuid3.c: New file.
28246         * nptl/Makefile (tests): Add it.
28248 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28250         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
28251         New define.
28252         (__lll_trylock): Use __lll_base_trylock.
28253         (__lll_cond_trylock): Likewise.
28255 2014-07-10  Roland McGrath  <roland@hack.frob.com>
28257         * nptl/pthread_create.c (start_thread): Use atomic_or and
28258         lll_futex_wake directly rather than lll_robust_dead.
28259         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28260         (lll_robust_dead): Macro removed.
28261         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
28262         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28263         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28264         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28265         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28266         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28267         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28268         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28269         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28270         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28271         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28272         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28273         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28274         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28275         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28277         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
28278         Use atomic_compare_and_exchange_val_acq directly rather than
28279         lll_robust_trylock.
28280         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28281         (__lll_robust_trylock, lll_robust_trylock): Removed.
28282         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28283         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28284         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28285         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28286         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28287         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28288         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28289         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28290         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28291         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28292         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28293         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28294         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28295         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28297 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28299         * manual/locale.texi (Locale Names): New section documenting
28300         locale name syntax.  Adjust menu and node chaining accordingly.
28301         (Choosing Locale): Reference Locale Names, Locale Categories.
28302         Mention setting LC_ALL=C.  Reflect that name syntax is now
28303         documented.
28304         (Locale Categories): New section title.  Reference Locale Names.
28305         LC_ALL is an environment variable, but not a category.
28306         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28307         description, now in Locale Name.  Reference that section.  Locale
28308         name syntax is now documented.
28310 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28312         [BZ #17137]
28313         * locale/findlocale.c (name_present, valid_locale_name): New
28314         functions.
28315         (_nl_find_locale): Use the loc_name variable to store name
28316         candidates.  Call name_present and valid_locale_name to check and
28317         validate locale names.  Return an error if the locale is invalid.
28319 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28321         * locale/setlocale.c (setlocale): Use strdup for allocating
28322         composite name copy.
28324 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28326         Sync up with gnulib.
28327         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28328         [!_LIBC && ENABLE_NLS]: Include gettext.h.
28329         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28330         and _GL_ARG_NONNULL.
28331         [USE_UNLOCKED_IO]: Include unlocked-io.h.
28332         [!_LIBC]: Include code for Windows and Cygwin.
28333         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28334         Include prototype for int strerror_r.
28335         [!_LIBC] (is_open): New function.
28336         (flush_stdout): New function.
28337         (print_errno_message): Use it.
28338         (error): Likewise.
28339         (error_at_line): Likewise.
28340         (error_tail) Add function attribute macros.  Use
28341         __builtin_expect.
28343         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28345         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28347         * io/ftw.c: Include sys/param.h unconditionally.
28349         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28351         [BZ #17125]
28352         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28353         libc_freeres_ptr.
28354         (freecache): New function to free CACHE on exit.
28356         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28357         initialization.
28359 2014-07-09  David S. Miller  <davem@davemloft.net>
28361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28363         * sysdeps/sparc/nptl/internaltypes.h: Delete.
28364         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28365         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28366         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28367         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28368         * sysdeps/sparc/nptl/sem_init.c: Likewise.
28369         * sysdeps/sparc/nptl/sem_post.c: Likewise.
28370         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
28371         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
28372         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
28373         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28374         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
28375         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
28377 2014-07-09  Andreas Schwab  <schwab@suse.de>
28379         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
28380         output.
28381         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
28382         (do_test): Likewise.
28384         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28386 2014-07-09  Will Newton  <will.newton@linaro.org>
28388         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
28389         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
28390         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28391         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28392         * sysdeps/hppa/start.S (_start): Likewise.
28394 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28396         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
28398         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
28399         defined.
28401 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28403         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
28404         after checking that it is non-NULL.
28406         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
28408 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28410         * sysdeps/powerpc/memmove.c: Remove file.
28411         * sysdeps/powerpc/powerpc32/power4/memcopy.h
28412         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28413         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28414         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
28415         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
28416         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
28417         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
28418         string memmove instead of removed powerpc one.
28420         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28421         [weak_alias]: Fix compiler warning due trailing data.
28422         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28423         [weak_alias]: Likewise.
28424         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
28425         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
28427         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28428         (__libc_ifunc_impl_list): Add memmove functions.
28430 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28432         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
28433         Remove code.
28434         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
28435         Likewise.
28436         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
28437         Likewise.
28438         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
28439         Likewise.
28440         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
28441         Likewise.
28442         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
28443         Likewise.
28444         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28445         Likewise.
28446         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
28447         Likewise.
28448         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
28449         Likewise.
28450         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
28451         Likewise.
28452         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
28453         Likewise.
28454         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
28455         Likewise.
28456         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
28457         Likewise.
28458         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
28459         Likewise.
28460         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
28461         Likewise.
28462         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
28463         Likewise.
28464         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
28465         Likewise.
28467 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28469         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
28470         to avoid alignment traps in non-cacheable memory.
28471         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28473         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
28474         multiarch objects.
28475         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
28476         file: multiarch power7 memmove.
28477         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
28478         multiarch default memmove.
28479         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
28480         multiarch memove for powerpc32/power4.
28482         * string/bcopy.c: Use full path to include memmove.c.
28483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
28484         multiarch objects.
28485         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
28486         bcopy for powerpc64.
28487         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
28488         bcopy for powerpc64.
28489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
28490         and memmove implementations.
28491         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
28492         optimized multiarch memmove for POWER7/powerpc64.
28493         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
28494         default multiarch memmove for powerpc64.
28495         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
28496         multiarch for powerpc64.
28497         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
28498         for POWER7/powerpc64.
28499         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
28500         memmove for POWER7/powerpc64.
28502         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
28503         glibc default one.
28505         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
28506         __ELF_NATIVE_CLASS equal to 64.
28508 2014-07-07  Roland McGrath  <roland@hack.frob.com>
28510         * sysdeps/nptl/lowlevellock.h: File removed.
28512         * NEWS: NPTL is no longer an add-on!
28513         * nptl/internaltypes.h: Moved ...
28514         * sysdeps/nptl/internaltypes.h: ... here.
28515         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
28516         * sysdeps/nptl/fork.c: Likewise.
28517         * sysdeps/nptl/gai_misc.h: Likewise.
28518         * sysdeps/nptl/librt-cancellation.c: Likewise.
28519         * sysdeps/nptl/jmp-unwind.c: Likewise.
28520         * sysdeps/nptl/setxid.h: Likewise.
28521         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
28522         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
28523         * sysdeps/unix/sysv/linux/arm/Implies: New file.
28524         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
28525         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
28526         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
28527         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
28528         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
28529         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
28530         * sysdeps/unix/sysv/linux/mips/Implies: New file.
28531         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
28532         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
28533         * sysdeps/unix/sysv/linux/sh/Implies: New file.
28534         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
28535         * sysdeps/unix/sysv/linux/tile/Implies: New file.
28536         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
28537         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
28538         * nptl/Makeconfig: Moved ...
28539         * sysdeps/nptl/Makeconfig: ... here.
28540         * nptl/configure: File removed.
28541         * nptl/ANNOUNCE: File removed.
28542         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
28543         * sysdeps/unix/sysv/linux/configure: Regenerated.
28545         * nptl/Makefile (routines): Add libc_pthread_init,
28546         libc_multiple_threads, register-atfork and unregister-atfork.
28547         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
28548         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
28549         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
28550         pthread-pi-defines.sym, structsem.sym.
28551         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
28552         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
28553         [$(subdir) = nptl] (tests): Add tst-setgetname.
28554         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
28555         * sysdeps/unix/sysv/linux/sigaction.c: Just include
28556         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
28557         [!LIBC_SIGACTION]: Remove aliases.
28558         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28559         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28560         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28561         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
28562         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28563         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
28564         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28565         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28566         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28567         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
28568         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
28569         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
28570         __libc_allocate_rtsig_private.
28571         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
28572         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
28573         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28574         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28575         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
28576         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
28577         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
28578         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
28579         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
28580         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
28581         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
28582         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
28583         * nptl/internaltypes.h: ... here.
28584         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
28585         * sysdeps/nptl/jmp-unwind.c: ... here.
28586         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
28587         * nptl/libc-lowlevellock.c: ... here.
28588         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
28589         * nptl/libc_multiple_threads.c: ... here.
28590         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
28591         * nptl/libc_pthread_init.c: ... here.
28592         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
28593         * nptl/lowlevelbarrier.sym: ... here.
28594         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
28595         * nptl/lowlevelcond.sym: ... here.
28596         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
28597         * nptl/lowlevellock.c: ... here.
28598         * nptl/lowlevellock.h: Moved ...
28599         * sysdeps/nptl/lowlevellock.h: ... here.
28600         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
28601         * nptl/lowlevelrobustlock.c: ... here.
28602         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
28603         * nptl/lowlevelrobustlock.sym: ... here.
28604         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
28605         * nptl/lowlevelrwlock.sym: ... here.
28606         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
28607         * nptl/pt-fork.c: ... here.
28608         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
28609         * nptl/pthread-pi-defines.sym: ... here.
28610         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
28611         * nptl/pthread_attr_getaffinity.c: ... here.
28612         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
28613         * nptl/pthread_attr_setaffinity.c: ... here.
28614         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
28615         * nptl/pthread_mutex_cond_lock.c: ... here.
28616         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28617         Update #include.
28618         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
28619         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
28620         * nptl/pthread_once.c: ... here, replacing old file.
28621         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
28622         * nptl/pthread_yield.c: ... here.
28623         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
28624         * nptl/register-atfork.c: ... here.
28625         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
28626         * nptl/sem_post.c: ... here.
28627         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
28628         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
28629         * nptl/sem_timedwait.c: ... here.
28630         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
28631         * nptl/sem_trywait.c: ... here.
28632         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
28633         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
28634         * nptl/sem_wait.c: ... here.
28635         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
28636         * nptl/structsem.sym: ... here.
28637         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
28638         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
28639         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
28640         * nptl/unregister-atfork.c: ... here.
28641         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
28642         * nptl/unwindbuf.sym: ... here.
28643         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
28644         * sysdeps/nptl/fork.c: ... here.
28645         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
28646         * sysdeps/nptl/fork.h: ... here.
28647         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
28648         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
28649         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
28650         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
28651         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
28652         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
28653         * sysdeps/unix/sysv/linux/getpid.c: ... here.
28654         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
28655         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
28656         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
28657         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
28658         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
28659         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
28660         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
28661         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
28662         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
28663         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
28664         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
28665         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
28666         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
28667         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
28668         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
28669         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
28670         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
28671         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
28672         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
28673         * sysdeps/unix/sysv/linux/raise.c: ... here.
28674         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
28675         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
28676         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
28677         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
28678         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
28679         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
28680         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
28681         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
28682         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
28683         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
28684         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
28685         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
28686         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
28687         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
28688         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
28690 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28692         * sysdeps/generic/memcopy.h: Add comment for
28693         MEMCPY_OK_FOR_FWD_MEMMOVE.
28695 2014-07-04  Will Newton  <will.newton@linaro.org>
28697         * string/memchr.c: Merge from gnulib.
28698         [_LIBC]: Remove conditionals.
28699         (__ptr_t): Remove define.
28700         (LONG_MAX_32_BITS): Likewise.
28701         (LONG_MAX): Likewise.
28702         (MEMCHR): Use ANSI prototype and optimize algorithm.
28704         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
28706 2014-07-03  Roland McGrath  <roland@hack.frob.com>
28708         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
28709         (lll_futex_timed_wait_bitset): Fix syscall argument count.
28711         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
28712         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
28713         in a bare environment with no <stdlib.h> installed.
28714         * sysdeps/nptl/configure: Regenerated.
28716         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
28718         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
28719         AC_EGREP_CPP for kernel header checks, so they only succeed if
28720         including <linux/version.h> actually works right.
28721         * sysdeps/unix/sysv/linux/configure: Regenerated.
28723         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
28724         value so it's not diagnosed as unused.
28726         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
28727         thing) with "ifeq ($(subdir),rt)".
28729 2014-07-03  Richard Henderson  <rth@redhat.com>
28731         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
28732         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
28733         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
28735         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
28736         (math_force_eval): New.
28738         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
28739         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
28741         * sysdeps/alpha/fpu/s_round.c: Remove file.
28742         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
28744         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
28745         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
28746         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
28747         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
28748         (_dl_start, print_statistics): Likewise.
28749         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
28750         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
28752         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28753         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28754         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28755         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28756         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28757         (HP_SMALL_TIMING_AVAIL): Define.
28758         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28759         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28760         (HP_SMALL_TIMING_AVAIL): Define.
28761         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28762         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28764         * sysdeps/aarch64/hp-timing.h: New file.
28766         * sysdeps/generic/hp-timing.h: Remove dead comment.
28767         * sysdeps/generic/hp-timing-common.h: New file.
28768         * sysdeps/alpha/hp-timing.h: Include it.
28769         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
28770         * sysdeps/i386/i686/hp-timing.h: Likewise.
28771         * sysdeps/ia64/hp-timing.h: Likewise.
28772         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28773         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28774         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28775         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28776         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
28777         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
28778         (hp_timing_t): New.
28780         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
28781         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
28782         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
28783         * elf/rtld.c (_dl_start_final): Likewise.
28784         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
28785         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28786         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28787         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28788         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28789         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28790         (HP_TIMING_DIFF_INIT): Remove.
28791         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28792         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28793         (HP_TIMING_DIFF_INIT): Remove.
28794         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28795         * sysdeps/i386/i686/hp-timing.c: Remove file.
28796         * sysdeps/x86_64/hp-timing.c: Remove file.
28797         * sysdeps/ia64/hp-timing.c: Remove file.
28798         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
28799         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
28800         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
28801         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
28803         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
28804         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
28805         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
28806         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28807         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28808         (HP_TIMING_ACCUM): Remove.
28809         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28810         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
28811         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28813         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
28814         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
28815         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
28816         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
28817         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
28818         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28819         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
28820         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28822         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
28824 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
28826         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
28828 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28830         Sync up with gettext.
28831         * intl/loadmsgcat.c: Define O_BINARY if not defined.
28832         [_MSC_VER]: Include malloc.h
28833         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
28834         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
28835         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
28836         TEMP_FAILURE_RETRY.  Cast return of alloca.
28837         [!_LIBC] Call gl_rwlock_init.
28838         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
28840 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28842         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
28843         before checking its value.
28845 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28847         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
28849         * debug/memcpy_chk.c: Don't include pagecopy.h.
28850         * debug/mempcpy_chk.c: Likewise.
28851         * string/memcpy.c: Likewise.
28852         * string/memmove.c: Likewise.
28853         * sysdeps/powerpc/memmove.c: Likewise.
28854         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
28855         definition of PAGE_COPY_FWD_MAYBE here...
28856         * sysdeps/generic/pagecopy.h: ... from here.
28857         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
28859 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28860             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28862         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
28863         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
28864         optimizations.
28865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28866         (__libc_ifunc_impl_list): Likewise.
28867         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
28868         multiarch strcat for PPC64.
28869         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
28870         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
28872 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28874         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
28876 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28878         * intl/loadmsgcat.c: Remove declaration of
28879         get_sysdep_segment_value.
28880         (get_sysdep_segment_value): Use ISO C style.
28881         (_nl_load_domain): Use ISO C style.  Get rid of redundant
28882         semicolon.  Fix typo and formatting in comment.
28883         (_nl_unload_domain): Use ISO C style.
28885         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
28887 2014-07-02  Will Newton  <will.newton@linaro.org>
28889         * malloc/obstack.c: Merge from gnulib master.
28890         [HAVE_CONFIG_H]: Remove conditional code.
28891         [!_LIBC]: Include config.h.
28892         [!ELIDE_CODE]: Don't include inttypes.h, include
28893         stdint.h unconditionally.
28894         (print_and_abort): Mark as _Noreturn.
28895         (_obstack_allocated_p): Mark as __attribute_pure__.
28896         (obstack_free): Rename to __obstack_free.
28897         [!__attribute__]: Remove conditional code.
28898         * malloc/obstack.h: Merge from gnulib master.
28899         [__cplusplus]: Move conditional down.
28900         [!__attribute_pure__]: Define __attribute_pure__ here
28901         if it is not already defined.
28902         (_obstack_memory_used): Mark as __attribute_pure__.
28903         [!__obstack_free]: Define as obstack_free.
28904         [__GNUC__]: Remove check for ancient NeXT gcc.
28906 2014-07-02  Will Newton  <will.newton@linaro.org>
28907             Paul Eggert  <eggert@cs.ucla.edu>
28909         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
28911 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28913         * resolv/gethnamaddr.c: Add comment warning that the file is
28914         not maintained.
28916 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
28918         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
28919         entries.
28921         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
28922         entry for aio_cancel and aio_cancel64.
28923         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
28924         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
28925         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
28926         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
28927         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
28928         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
28929         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
28930         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
28931         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
28932         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
28933         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
28934         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
28935         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
28937 2014-07-01  Roland McGrath  <roland@hack.frob.com>
28939         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
28940         * nptl/pthread_mutex_lock.c: Likewise.
28941         * nptl/pthread_mutex_timedlock.c: Likewise.
28942         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
28944 2014-07-01  Richard henderson  <rth@redhat.com>
28946         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
28947         (__isnan, __isnanl): Remove.
28948         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
28950         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28952 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28954         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28956 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28958         * resolv/nss_dns/dns-host.c (getanswer_r)
28959         [MULTI_PTRS_ARE_ALIASES]: Remove code.
28961 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
28963         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28964         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
28965         undefine.
28966         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
28967         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
28969 2014-07-01  Roland McGrath <roland@hack.frob.com>
28971         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
28972         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
28974         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
28975         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
28977         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
28978         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
28979         ... here.
28980         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
28981         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
28983         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
28984         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
28985         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
28986         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
28988         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
28989         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
28990         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
28991         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
28992         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
28993         Moved ...
28994         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
28995         ... here.
28996         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
28997         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
28998         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
28999         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
29000         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
29001         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
29002         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
29003         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
29004         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
29005         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
29006         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
29007         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
29008         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
29009         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
29010         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
29011         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
29012         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
29013         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
29014         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
29015         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
29016         ... here.
29017         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
29018         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
29019         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
29020         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
29021         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
29022         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
29023         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
29024         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
29026 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
29028         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
29029         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
29030         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
29031         Add sysdep.
29033 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29037 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29039         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29040         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29042         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29044         * sysdeps/arm/libm-test-ulps: Regenerated.
29046 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29047             Roland McGrath <roland@hack.frob.com>
29049         * test-skeleton.c (signal_handler): Kill the whole process group
29050         before killing the child individually.
29051         (main): Report any failure on `setpgid'.
29053 2014-06-30  Roland McGrath  <roland@hack.frob.com>
29055         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
29056         from _TLS_H to _ARM_NPTL_TLS_H.
29057         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
29058         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
29060 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29062         [BZ #16539]
29063         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
29064         (__expm1l): Return argument unchanged when small but not
29065         subnormal.
29067         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
29068         include macro name.
29069         (_FP_UNPACK_RAW_1_P): Likewise.
29070         (_FP_PACK_RAW_1): Likewise.
29071         (_FP_PACK_RAW_1_P): Likewise.
29072         (_FP_MUL_MEAT_1_wide): Likewise.
29073         (_FP_MUL_MEAT_DW_1_hard): Likewise.
29074         (_FP_MUL_MEAT_1_hard): Likewise.
29075         (_FP_DIV_MEAT_1_imm): Likewise.
29076         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
29077         (_FP_DIV_MEAT_1_udiv): Likewise.
29078         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
29079         (_FP_UNPACK_RAW_2): Likewise.
29080         (_FP_UNPACK_RAW_2_P): Likewise.
29081         (_FP_PACK_RAW_2): Likewise.
29082         (_FP_PACK_RAW_2_P): Likewise.
29083         (_FP_MUL_MEAT_DW_2_wide): Likewise.
29084         (_FP_MUL_MEAT_2_wide): Likewise.
29085         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
29086         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29087         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
29088         (_FP_MUL_MEAT_2_gmp): Likewise.
29089         (_FP_DIV_MEAT_2_udiv): Likewise.
29090         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
29091         (_FP_FRAC_SRL_4): Likewise.
29092         (_FP_FRAC_SRST_4): Likewise.
29093         (_FP_FRAC_SRS_4): Likewise.
29094         (_FP_UNPACK_RAW_4): Likewise.
29095         (_FP_UNPACK_RAW_4_P): Likewise.
29096         (_FP_PACK_RAW_4): Likewise.
29097         (_FP_PACK_RAW_4_P): Likewise.
29098         (_FP_MUL_MEAT_DW_4_wide): Likewise.
29099         (_FP_MUL_MEAT_4_wide): Likewise.
29100         (_FP_MUL_MEAT_4_gmp): Likewise.
29101         (umul_ppppmnnn): Likewise.
29102         (_FP_DIV_MEAT_4_udiv): Likewise.
29103         (__FP_FRAC_ADD_4): Likewise.
29104         (__FP_FRAC_SUB_3): Likewise.
29105         (__FP_FRAC_SUB_4): Likewise.
29106         (__FP_FRAC_DEC_3): Likewise.
29107         (__FP_FRAC_DEC_4): Likewise.
29108         (__FP_FRAC_ADDI_4): Likewise.
29109         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
29110         (_FP_FRAC_SRL_8): Likewise.
29111         (_FP_FRAC_SRS_8): Likewise.
29113         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
29114         include macro name.
29115         (FP_UNPACK_RAW_EP): Likewise.
29116         (FP_PACK_RAW_E): Likewise.
29117         (FP_PACK_RAW_EP): Likewise.
29118         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
29119         (_FP_ISSIGNAN): Likewise.
29120         (_FP_ADD_INTERNAL): Likewise.
29121         (_FP_FMA): Likewise.
29122         (_FP_CMP): Likewise.
29123         (_FP_SQRT): Likewise.
29124         (_FP_TO_INT): Likewise.
29125         (_FP_FROM_INT): Likewise.
29126         (FP_EXTEND): Likewise.
29127         (_FP_DIV_MEAT_N_loop): Likewise.
29129 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29131         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
29132         throughout.
29134 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
29136         [BZ #17097]
29137         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
29138         result with correct sign in case of exponents that produce
29139         overflow except for X very close to 1.
29141 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
29143         mktime: merge #if/#ifdef usage from glibc
29144         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
29145         as that works with both Glibc's and Gnulib's style.
29146         See thread starting at Siddhesh Poyarekar's bug report at:
29147         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
29149 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29151         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
29152         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
29153         * sysdeps/tile/tilegx/memmove.c: Remove file.
29155 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29157         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
29158         abi-name definition.
29159         * scripts/soversions.awk: Do not handle or generate ABI lines.
29160         * shlib-versions: Remove ABI entries.
29161         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
29162         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
29164 2014-06-27  Roland McGrath  <roland@hack.frob.com>
29166         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
29167         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
29168         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
29169         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
29170         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
29171         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
29172         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
29173         Moved ...
29174         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
29175         ... here.
29176         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
29177         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29178         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29179         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29180         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29181         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29182         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29183         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29184         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29185         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29186         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29187         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29188         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29189         Moved ...
29190         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29191         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29192         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29193         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29194         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29195         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29196         Moved ...
29197         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29198         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29199         Moved ...
29200         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29201         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29202         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29203         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29204         Moved ...
29205         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29206         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29207         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29208         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29209         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29210         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29211         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29212         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29213         Moved ...
29214         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
29215         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
29216         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
29217         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
29218         Moved ...
29219         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
29220         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
29221         Moved ...
29222         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
29223         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
29224         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
29225         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
29226         Moved ...
29227         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
29228         ... here.
29229         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
29230         Identical file removed.
29231         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
29232         Moved ...
29233         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
29234         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
29235         Identical file removed.
29236         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
29237         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
29238         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
29239         Moved ...
29240         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
29241         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
29242         Identical file removed.
29243         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
29244         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
29245         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
29246         Identical file removed.
29247         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
29248         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
29249         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
29250         Identical file removed.
29251         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
29252         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
29253         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
29254         Identical file removed.
29255         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
29256         Moved ...
29257         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
29258         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
29259         Identical file removed.
29260         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
29261         Moved ...
29262         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
29263         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
29264         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
29265         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
29266         Identical file removed.
29267         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
29268         Moved ...
29269         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
29270         ... here.
29271         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
29272         Identical file removed.
29273         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
29274         Moved ...
29275         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
29276         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
29277         Identical file removed.
29278         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
29279         Moved ...
29280         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
29281         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
29282         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
29283         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
29284         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
29285         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
29286         Moved ...
29287         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
29288         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
29289         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29291         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29292         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29293         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29294         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29295         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29297 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
29299         [BZ #17092]
29300         * nscd/nscd.c (monitor_child): Return exit status of child
29301         instead of return value from wait syscall.
29303 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29305         * configure.ac (libc_commonpagesize): Remove variable.
29306         (libc_relro_required): Likewise.
29307         (libc_cv_z_relro): Remove configure test.
29308         * configure: Regenerated.
29309         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29310         variable.
29311         (libc_relro_required): Likewise.
29312         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29313         (libc_relro_required): Likewise.
29314         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29315         (libc_relro_required): Likewise.
29316         * sysdeps/arm/preconfigure: Regenerated.
29317         * sysdeps/ia64/preconfigure: Remove file.
29318         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29319         variable.
29320         (libc_relro_required): Likewise.
29322         [BZ #16561]
29323         [BZ #16562]
29324         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29325         (__ieee754_yn): Set FE_TONEAREST mode internally and then
29326         recompute overflowing results in original rounding mode.
29327         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29328         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29329         recompute overflowing results in original rounding mode.
29330         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29331         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29332         recompute overflowing results in original rounding mode.
29333         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29334         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29335         recompute overflowing results in original rounding mode.
29336         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29337         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29338         recompute overflowing results in original rounding mode.
29339         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29340         (libc_feholdsetround_ctx): New macro.
29341         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29342         * sysdeps/i386/fpu/libm-test-ulps: Update.
29343         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29345 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29347         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29348         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29349         corresponding .cpsetup call.
29351 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29353         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29354         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29355         * sysdeps/arm/Makefile [$(subdir) = csu]
29356         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29357         (static-only-routines): Add aeabi_read_tp here.
29358         (shared-only-routines): Add libc-aeabi_read_tp here.
29359         (CFLAGS-libc-start.c): Add -fexceptions here.
29360         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29361         (sysdep_routines, static-only-routines, shared-only-routines):
29362         Don't add to these here.
29363         (CFLAGS-libc-start.c): Likewise.
29365         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29366         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29367         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29368         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29369         * sysdeps/arm/Makefile [$(subdir) = rt]
29370         (librt-sysdep_routines, librt-shared-only-routines):
29371         Append rt-aeabi_unwind_cpp_pr1 here.
29372         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29373         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
29374         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
29375         (libpthread-sysdep_routines, libpthread-shared-only-routines):
29376         Append nptl-aeabi_unwind_cpp_pr1 here.
29377         (tests): Filter out tst-cleanupx4 here.
29378         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29379         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
29380         Don't do those here.
29382 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29384         * scripts/list-sources.sh: Do not handle ports specially.
29386 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29388         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
29389         * sysdeps/arm/feupdateenv.c: Likewise.
29391         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
29393 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29395         * manual/texinfo.tex: Update to version 2014-05-05.10 with
29396         trailing whitespace removed.
29397         * scripts/config.guess: Update to version 2014-03-23.
29398         * scripts/config.sub: Update to version 2014-05-01
29399         * scripts/install-sh: Update to version 2013-12-25.23.
29400         * scripts/move-if-change: Update from gnulib.
29402 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29404         * debug/memmove_chk.c: Remove pagecopy.h include.
29406 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
29408         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
29409         identical to gnulib mktime.
29411 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29413         * configure.ac: Do not test for machine being rs6000.  Do not test
29414         for powerpc*-*soft.
29415         * configure: Regenerated.
29417         [BZ #11505]
29418         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
29419         test.
29420         * configure: Regenerated.
29421         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
29422         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
29423         Remove configure test.
29424         * sysdeps/arm/configure: Regenerated.
29425         * sysdeps/nptl/configure.ac: Do not check
29426         libc_cv_asm_cfi_directives.
29427         * sysdeps/nptl/configure: Regenerated.
29428         * sysdeps/x86_64/nptl/configure.ac: Remove file.
29429         * sysdeps/x86_64/nptl/configure: Remove generated file.
29430         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29431         unconditional.
29432         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
29434 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29436         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
29437         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
29438         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
29439         it is defined.
29441         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
29442         instead of whether it is defined.
29443         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
29444         * sysdeps/hppa/dl-machine.h: Likewise.
29445         * sysdeps/ia64/dl-machine.h: Likewise.
29446         * sysdeps/m68k/dl-machine.h: Likewise.
29447         * sysdeps/microblaze/dl-machine.h: Likewise.
29448         * sysdeps/mips/dl-machine.: Likewise.
29449         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29450         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29451         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29452         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29453         * sysdeps/sh/dl-machine.h: Likewise.
29454         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29455         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29456         * sysdeps/tile/dl-machine.h: Likewise.
29457         * sysdeps/x86_64/dl-machine.h: Likewise.
29459         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
29460         code.
29461         (verify_persistent_db): Likewise.
29463 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
29466         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
29467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
29468         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
29469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29470         Moved ...
29471         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
29472         ... here.
29473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
29474         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
29475         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
29476         Identical file removed.
29477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
29478         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
29479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
29480         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
29481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
29482         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
29483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
29484         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
29485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
29486         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
29487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29488         Moved ...
29489         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
29490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
29491         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
29492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
29493         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
29494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29495         Moved ...
29496         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
29497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
29498         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
29499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
29500         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
29501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29502         Identical file removed.
29503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
29504         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
29505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
29506         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
29507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29508         Moved ...
29509         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
29510         ... here.
29511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
29512         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
29513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
29514         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
29515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
29516         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
29517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
29518         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
29519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
29520         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
29521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29522         Moved ...
29523         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
29524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
29525         Moved ...
29526         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
29527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
29528         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
29529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29530         Moved ...
29531         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
29532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
29533         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
29535         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
29536         folded into ...
29537         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
29538         * sysdeps/unix/sysv/linux/s390/Versions
29539         (libpthread: GLIBC_2.19): New version set.
29540         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
29541         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
29542         (librt: GLIBC_2.3.3): New version set.
29543         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
29544         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
29545         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
29546         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
29547         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
29548         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
29549         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
29550         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
29551         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
29552         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
29553         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
29554         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
29555         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
29556         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
29557         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
29558         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
29559         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
29560         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
29561         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
29562         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
29563         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
29564         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
29565         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
29566         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
29567         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
29568         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
29569         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
29570         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
29571         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
29572         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
29573         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
29574         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
29575         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
29576         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
29577         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
29578         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
29579         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
29580         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
29581         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
29582         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
29583         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
29584         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
29585         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
29586         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
29587         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
29589         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
29590         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
29591         (__libc_vfork): Define the function under this name.
29592         [!NOT_IN_libc] (__vfork): Make this an alias.
29593         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29594         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
29595         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
29596         (__libc_vfork): Define the function under this name.
29597         [!NOT_IN_libc] (__vfork): Make this an alias.
29598         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29599         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
29600         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
29601         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
29602         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
29603         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29605         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
29606         code that was previously under [RESET_PID].
29607         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
29608         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
29609         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
29611         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
29612         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
29613         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
29614         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
29615         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
29616         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
29617         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
29618         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
29619         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
29620         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
29621         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
29622         Moved ...
29623         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
29624         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
29625         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
29626         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
29627         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
29628         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
29629         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
29630         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
29631         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
29632         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
29633         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
29634         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
29635         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
29636         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
29637         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
29638         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
29639         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
29640         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
29641         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
29642         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
29643         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
29644         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
29645         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
29646         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
29647         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
29648         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
29649         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
29650         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
29651         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
29653 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29655         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
29656         that was previously under [RESET_PID].
29657         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
29659 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29661         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
29662         not undefine and redefine.
29663         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
29664         [O_CLOEXEC]: Make code unconditional.
29665         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
29666         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
29667         <kernel-features.h>.
29668         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
29669         conditional variable definition.
29670         (shm_open) [O_CLOEXEC]: Make code unconditional.
29671         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
29672         code.
29674         * configure.ac (USE_REGPARMS): Don't define here.
29675         * configure: Regenerated.
29676         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
29677         * sysdeps/i386/configure: Regenerated.
29679         * nptl/createthread.c: Don't include kernel-features.h.
29680         * nptl/pthread_cancel.c: Likewise.
29681         * nptl/pthread_condattr_setclock.c: Likewise.
29682         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
29683         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
29684         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
29685         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
29686         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
29687         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
29688         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29689         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
29690         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29691         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
29692         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
29693         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
29694         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
29695         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
29696         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
29697         * nscd/gai.c: Likewise.
29698         * nss/nss_db/db-open.c: Likewise.
29699         * sysdeps/generic/ldsodefs.h: Likewise.
29700         * sysdeps/sh/nptl/tls.h: Likewise.
29701         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29702         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
29703         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
29704         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
29705         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
29706         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29707         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
29708         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29709         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29710         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29711         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29712         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29713         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
29714         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
29715         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
29716         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
29717         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
29718         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
29719         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
29720         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
29721         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
29722         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
29723         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
29724         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
29725         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
29726         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
29727         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
29728         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
29729         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29730         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
29731         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
29732         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
29733         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
29734         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29735         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29736         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29737         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29738         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
29739         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
29740         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29741         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29742         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
29743         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
29744         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29745         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
29746         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
29747         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
29748         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
29749         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
29750         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
29751         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
29752         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
29753         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
29754         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29755         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
29756         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29757         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29758         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
29759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
29761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
29762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
29763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
29764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
29765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
29766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
29767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
29770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
29771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
29772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
29773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
29779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
29780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
29781         * sysdeps/unix/sysv/linux/pread.c: Likewise.
29782         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
29783         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
29784         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
29785         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
29786         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
29787         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
29788         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
29789         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
29790         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
29791         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
29792         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
29793         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
29794         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
29795         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
29796         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
29797         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29798         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
29799         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
29800         * sysdeps/unix/sysv/linux/system.c: Likewise.
29801         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
29802         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29803         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29804         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29805         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29806         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29807         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29809         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
29810         * configure: Regenerated.
29811         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
29813         * configure.ac (base_machine): Do not set specially for particular
29814         machines here.
29815         * configure: Regenerated.
29816         * sysdeps/powerpc/preconfigure: Move machine and base_machine
29817         settings from configure.ac.
29818         * sysdeps/i386/preconfigure: New file.
29819         * sysdeps/s390/preconfigure: Likewise.
29820         * sysdeps/sh/preconfigure: Likewise.
29821         * sysdeps/sparc/preconfigure: Likewise.
29823 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29825         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
29826         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
29827         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
29828         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
29829         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
29830         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
29831         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
29832         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
29833         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
29834         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
29835         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
29836         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
29837         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
29838         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
29839         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
29840         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
29841         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
29842         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
29843         * sysdeps/sparc/sparc64/Makefile: ... appended here.
29845         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
29846         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
29847         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
29848         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
29849         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
29850         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
29851         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
29852         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
29853         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
29854         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
29855         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
29856         * sysdeps/sparc/sparc32/sem_post.c: ... here.
29857         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
29858         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
29859         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
29860         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
29861         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
29862         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
29863         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
29864         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
29865         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
29866         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
29867         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
29868         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
29869         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
29870         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
29871         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
29872         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
29873         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
29874         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
29875         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
29876         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
29877         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
29878         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
29879         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
29880         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
29881         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
29882         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
29884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
29885         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
29886         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
29887         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
29888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29889         Moved ...
29890         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
29891         ... here.
29892         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
29893         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
29894         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
29895         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
29896         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
29897         Moved ...
29898         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
29899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
29900         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
29901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
29902         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
29903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
29904         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
29905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29906         Moved ...
29907         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
29908         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29909         Moved ...
29910         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
29911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
29912         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
29913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29914         Moved ...
29915         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
29916         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
29917         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
29918         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
29919         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
29920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
29921         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
29922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
29923         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
29924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29925         Moved ...
29926         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
29927         ... here.
29928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
29929         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
29930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
29931         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
29932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
29933         Moved ...
29934         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
29935         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
29936         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
29937         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
29938         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
29939         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
29940         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
29941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29942         Moved ...
29943         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
29944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29945         Moved ...
29946         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
29947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
29948         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
29949         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29950         Moved ...
29951         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
29952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
29953         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
29954         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
29955         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
29957 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29959         * timezone/checktab.awk: Update from tzcode 2014e.
29960         * timezone/private.h: Likewise.
29961         * timezone/tzfile.h: Likewise.
29962         * timezone/zdump.c: Likewise.
29963         * timezone/zic.c: Likewise.
29965         * sysdeps/unix/sysv/linux/kernel-features.h
29966         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
29967         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
29968         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
29969         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29970         Remove conditional code.
29972 2014-06-25  Will Newton  <will.newton@linaro.org>
29974         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
29975         (_dl_arm_cap_flags): Add HWCAP2 values.
29976         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
29977         (_DL_HWCAP_COUNT): Increase to 37.
29978         (_DL_HWCAP_LAST): New define.
29979         (_DL_HWCAP2_LAST): New define.
29980         (_dl_procinfo): Add support for printing
29981         AT_HWCAP2 entries.
29982         (_dl_string_hwcap): Use _dl_hwcap_string.
29984 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29988 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29990         * README: Do not mention ports directory.
29992         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
29993         Remove macro.
29994         * sysdeps/unix/sysv/linux/futimes.c: Do not include
29995         <kernel-features.h>.
29996         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
29997         conditional variable definition.
29998         (__futimes): Update comment.
29999         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
30000         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
30002         [BZ #16560]
30003         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
30004         arguments close to 0.
30005         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
30006         Likewise.
30007         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
30008         Likewise.
30009         * math/auto-libm-test-in: Add more tests of exp10.
30010         * math/auto-libm-test-out: Regenerated.
30011         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30013         * sysdeps/unix/sysv/linux/kernel-features.h
30014         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
30015         * sysdeps/unix/sysv/linux/readv.c: Do not include
30016         <kernel-features.h>.
30017         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30018         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30019         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30020         unconditional.
30021         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30022         conditional code.
30023         * sysdeps/unix/sysv/linux/writev.c: Do not include
30024         <kernel-features.h>.
30025         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30026         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30027         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30028         unconditional.
30029         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30030         conditional code.
30032 2014-06-25  Will Newton  <will.newton@linaro.org>
30034         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
30035         comment changes throughout the file.  Remove checks
30036         for HAVE_*_H definitions that are not required.
30037         (__gen_tempname): Call abort if an unknown kind value is
30038         passed.
30040 2014-06-25  Andreas Schwab  <schwab@suse.de>
30042         [BZ #17086]
30043         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
30044         scalbln, scalblnf, scalblnl in libc.
30046 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30048         [BZ #17086]
30049         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
30050         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30051         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30053 2014-06-24  Roland McGrath  <roland@hack.frob.com>
30055         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
30056         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
30057         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
30058         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
30059         Update #include.
30060         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
30061         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
30062         Update #include.
30063         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
30064         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
30065         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
30066         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
30067         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
30068         * sysdeps/x86/bits/pthreadtypes.h: ... here.
30069         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
30070         * sysdeps/x86/bits/semaphore.h: ... here.
30071         * sysdeps/x86/nptl/elide.h: Moved ...
30072         * sysdeps/x86/elide.h: ... here.
30073         * sysdeps/x86_64/nptl/Implies: File removed.
30074         * sysdeps/i386/nptl/Implies: File removed.
30076 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
30078         [BZ #16539]
30079         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
30080         return the argument for normal arguments with exponent below -64.
30081         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30082         Likewise.
30083         * math/auto-libm-test-in: Add another test of expm1.
30084         * math/auto-libm-test-out: Regenerated.
30086         [BZ #16287]
30087         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
30088         calling __erfcl for arguments at least 16.
30089         * math/auto-libm-test-in: Add more tests of erf.
30090         * math/auto-libm-test-out: Regenerated.
30092         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
30093         individual architectures.
30094         * sysdeps/unix/sysv/linux/configure: Regenerated.
30095         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
30096         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
30097         * sysdeps/unix/sysv/linux/powerpc/configure.ac
30098         (ldd_rewrite_script): Define variable.
30099         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
30101         file.
30102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
30103         generated file.
30104         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30105         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
30106         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
30107         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
30108         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
30109         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
30110         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
30111         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30113 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30115         [BZ #17084]
30116         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
30117         Rename member __data.d to __data.__elision_data.
30119 2014-06-24  Wilco  <wdijkstr@arm.com>
30121         * NEWS: Add 16918 to fixed bug list.
30123 2014-06-24  Wilco  <wdijkstr@arm.com>
30125         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
30127 2014-06-24  Wilco  <wdijkstr@arm.com>
30129         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
30130         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
30131         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
30132         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
30133         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
30134         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
30135         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
30136         Use _FPU_MASK_RM.
30138 2014-06-24  Wilco  <wdijkstr@arm.com>
30140         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30142 2014-06-24  Wilco  <wdijkstr@arm.com>
30144         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
30145         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
30146         * sysdeps/arm/fesetround.c (fesetround): Remove space.
30147         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30149 2014-06-24  Wilco  <wdijkstr@arm.com>
30151         [BZ #16918]
30152         * sysdeps/arm/feupdateenv.c (feupdateenv):
30153         Rewrite to reduce FPSCR accesses and fix return value.
30155 2014-06-24  Wilco  <wdijkstr@arm.com>
30157         * sysdeps/arm/fclrexcpt.c (feclearexcept):
30158         Optimize to avoid unnecessary FPSCR writes.
30159         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
30160         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
30161         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
30162         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
30164 2014-06-24  Wilco  <wdijkstr@arm.com>
30166         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
30167         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
30168         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
30169         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
30170         Call libc_fetestexcept_vfp.
30171         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
30172         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
30173         __SOFTFP__ ifdef so that they can be built for softfp.
30175 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30177         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30178         argument type signed char.
30180         * Makerules (check-abi): Dump diff of symlist if the test
30181         fails.
30183 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30185         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30186         using abort.
30188         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30189         Remove unused variable ST.
30191 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30193         [BZ #16354]
30194         [BZ #17061]
30195         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30196         small arguments before calling __expm1.
30197         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30198         small arguments before calling __expm1f.
30199         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30200         small arguments before calling __expm1l.
30201         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30202         Likewise.
30203         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30204         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
30205         spurious underflow for some cosh tests.
30206         * math/auto-libm-test-out: Regenerated.
30207         * sysdeps/i386/fpu/libm-test-ulps: Update.
30209         [BZ #17050]
30210         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30211         (__ieee754_y1): Set errno if return value overflows.
30212         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30213         (__ieee754_y1f): Set errno if return value overflows.
30214         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30215         (__ieee754_y1l): Set errno if return value overflows.
30216         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
30217         (__ieee754_y1l): Set errno if return value overflows.
30218         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
30219         * math/auto-libm-test-out: Regenerated.
30221         * math/gen-auto-libm-tests.c: Document use of
30222         ignore-zero-inf-sign.
30223         (input_flag_type): Add value flag_ignore_zero_inf_sign.
30224         (input_flags): Add ignore-zero-inf-sign.
30225         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
30226         * math/gen-libm-test.pl (generate_testfile): Handle
30227         ignore-zero-inf-sign.
30228         * math/auto-libm-test-in: Mark some cpow tests with
30229         ignore-zero-inf-sign and some with xfail-rounding.
30230         * math/auto-libm-test-out: Regenerated.
30231         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
30232         * sysdeps/i386/fpu/libm-test-ulps: Update.
30233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30235         [BZ #16315]
30236         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
30237         overflowing or underflowing operations take place with sign of
30238         result.
30239         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30240         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30241         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
30242         (__ieee754_pow): Recompute overflowing and underflowing results in
30243         original rounding mode.
30244         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
30245         (__powl_helper): Allow negative argument X and scale negated value
30246         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
30247         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
30248         overflowing or underflowing operations take place with sign of
30249         result.
30250         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
30251         Include <math.h>.
30252         * math/auto-libm-test-in: Add more tests of pow.
30253         * math/auto-libm-test-out: Regenerated.
30254         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
30255         (pow_tonearest_test_data): Remove.
30256         (pow_test_tonearest): Likewise.
30257         (pow_towardzero_test_data): Likewise.
30258         (pow_test_towardzero): Likewise.
30259         (pow_downward_test_data): Likewise.
30260         (pow_test_downward): Likewise.
30261         (pow_upward_test_data): Likewise.
30262         (pow_test_upward): Likewise.
30263         (main): Don't call removed functions.
30264         * sysdeps/i386/fpu/libm-test-ulps: Update.
30265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30267 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
30270         Moved ...
30271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
30272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30273         Moved ...
30274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
30275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30276         Moved ...
30277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
30278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30279         Moved ...
30280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
30281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30282         File removed.
30283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30284         File removed.
30285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
30286         File removed.
30287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
30288         File removed.
30289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30290         File removed.
30291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30292         File removed.
30293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30294         File removed.
30295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30296         File removed.
30297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30298         File removed.
30299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30300         File removed.
30301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30302         File removed.
30303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30304         File removed.
30305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30306         Moved ...
30307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30309         Moved ...
30310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30311         ... here.
30312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30313         Moved ...
30314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30316         Moved ...
30317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30319         Moved ...
30320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30322         Moved ...
30323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30325         Moved ...
30326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30328         Moved ...
30329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30331         Moved ...
30332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30335         ... here.
30336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30337         Moved ...
30338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30340         Moved ...
30341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30342         ... here.
30343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30344         Moved ...
30345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30346         ... here.
30347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30348         Moved ...
30349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30350         ... here.
30351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30352         Moved ...
30353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30355         Moved ...
30356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30360         Moved ...
30361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30362         ... here.
30363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30364         Moved ...
30365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30366         ... here.
30367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30368         Moved ...
30369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
30370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30371         Moved ...
30372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
30373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30374         Moved ...
30375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
30376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30377         Moved ...
30378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
30379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30380         Moved ...
30381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
30382         ... here.
30383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30384         Moved ...
30385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
30386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30387         Moved ...
30388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
30389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30390         Moved ...
30391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
30392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30393         Moved ...
30394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
30395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
30396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
30397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30398         Moved ...
30399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
30400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30401         Moved ...
30402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
30403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30404         Moved ...
30405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
30406         ... here.
30407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30408         Moved ...
30409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
30410         ... here.
30411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30412         Moved ...
30413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
30414         ... here.
30415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30416         Moved ...
30417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
30418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30419         Moved ...
30420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
30421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30422         Moved ...
30423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
30424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30425         Moved ...
30426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
30427         ... here.
30428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30429         Moved ...
30430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
30431         ... here.
30432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30433         Moved ...
30434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
30435         ... here.
30436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30437         Moved ...
30438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
30439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30440         Moved ...
30441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
30443 2014-06-23  Will Newton  <will.newton@linaro.org>
30444             Wilco  <wdijkstr@arm.com>
30446         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
30447         implementation.  Include get-rounding-mode.h.
30448         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
30449         [!libc_feholdsetround_noex_ctx]: Define
30450         libc_feholdsetround_noex_ctx.
30451         [!libc_feholdsetround_noexf_ctx]: Define
30452         libc_feholdsetround_noexf_ctx.
30453         [!libc_feholdsetround_noexl_ctx]: Define
30454         libc_feholdsetround_noexl_ctx.
30455         (libc_feholdsetround_ctx): New function.
30456         (libc_feresetround_ctx): New function.
30457         (libc_feholdsetround_noex_ctx): New function.
30458         (libc_feresetround_noex_ctx): New function.
30460 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30462         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
30463         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
30464         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
30465         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
30466         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
30467         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
30469         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
30470         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
30471         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
30472         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
30473         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
30474         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
30475         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
30476         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
30477         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
30478         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
30479         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
30480         Moved ...
30481         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
30482         ... here.
30483         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
30484         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
30485         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
30486         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
30487         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
30488         Moved ...
30489         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
30490         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
30491         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
30492         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
30493         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
30494         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
30495         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
30496         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
30497         Moved ...
30498         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
30499         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
30500         Moved ...
30501         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
30502         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
30503         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
30504         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
30505         Moved ...
30506         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
30507         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
30508         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
30509         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
30510         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
30511         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
30512         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
30513         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
30514         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
30515         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
30516         Moved ...
30517         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
30518         ... here.
30519         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
30520         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
30521         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
30522         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
30523         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
30524         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
30525         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
30526         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
30527         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
30528         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
30529         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
30530         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
30531         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
30532         Moved ...
30533         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
30534         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
30535         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
30536         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
30537         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
30538         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
30539         Moved ...
30540         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
30541         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
30542         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
30543         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
30544         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
30546         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
30547         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
30548         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
30549         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
30550         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
30551         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
30552         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
30553         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
30554         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
30555         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
30556         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
30557         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
30558         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
30559         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
30560         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
30561         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
30562         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
30563         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
30564         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
30565         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
30566         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
30567         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
30568         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
30569         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
30570         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
30571         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
30572         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
30573         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
30575 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30577         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30578         (FALLOC_FL_COLLAPSE_RANGE): New macro.
30579         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
30580         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
30581         (IPV6_PMTUDISC_INTERFACE): Likewise.
30582         (IPV6_PMTUDISC_OMIT): Likewise.
30584 2014-06-23  Andreas Schwab  <schwab@suse.de>
30586         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
30587         Remove unused errout label.
30589 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30591         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
30592         macro: hardware supports Vector Crypto instructions.
30594 2014-06-23  Will Newton  <will.newton@linaro.org>
30596         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
30597         rather than __builtin_expect.
30599         * elf/dl-lookup.c (undefined_msg): Remove variable.
30600         (_dl_lookup_symbol_x): Replace undefined_msg with string
30601         literal.
30603         * elf/dl-lookup.c (do_lookup_unique): New function.
30604         (do_lookup_x): Move STB_GNU_UNIQUE handling code
30605         to a separate function.
30607 2014-06-23  Andreas Schwab  <schwab@suse.de>
30609         [BZ #17079]
30610         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
30611         before reading the next line.
30613 2014-06-23  Will Newton  <will.newton@linaro.org>
30615         * test-skeleton.c (signal_handler): Use printf and %m
30616         rather than perror.  Use printf rather than fprintf to
30617         stderr.  Use puts rather than fputs to stderr.
30618         (main): Likewise.
30620 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
30622         * nscd/nscd.c (thread_info_t): Remove typedef.
30623         (thread_info): Remove variable.
30625 2014-06-21  Allan McRae  <allan@archlinux.org>
30627         * NEWS: Mention CVE-2014-4043.
30629 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30631         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
30632         * nptl/smp.h: ... here.
30634         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
30636         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
30637         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
30638         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
30639         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
30641         * nptl/allocatestack.c: Include <stack-aliasing.h>.
30642         * nptl/stack-aliasing.h: New file.
30643         * sysdeps/i386/i686/stack-aliasing.h: New file.
30644         * sysdeps/i386/i686/nptl/Makefile: File removed.
30645         * sysdeps/x86_64/stack-aliasing.h: New file.
30646         * sysdeps/x86_64/nptl/Makefile
30647         (CFLAGS-pthread_create.c): Variable removed.
30649         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
30650         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
30651         old file.
30652         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
30653         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
30654         old file.
30656 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
30658         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30659         (__ASSUME_SIGFRAME_V2): Remove macro.
30660         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
30661         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
30662         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
30663         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
30664         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
30665         Declare as function.  Remove conditional macro definitions.
30666         (__default_rt_sa_restorer): Likewise.
30667         (__default_sa_restorer_v1): Remove declaration.
30668         (__default_sa_restorer_v2): Likewise.
30669         (__default_rt_sa_restorer_v1): Likewise.
30670         (__default_rt_sa_restorer_v2): Likewise.
30671         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
30672         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
30673         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
30675 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30677         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
30678         (libpthread-routines): Add sysdep.
30679         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
30680         * sysdeps/unix/sysv/linux/sparc/Versions
30681         (libpthread: GLIBC_2.3.3): New version set.
30682         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
30683         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
30684         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
30685         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
30686         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
30687         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
30688         Moved ...
30689         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
30690         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
30691         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
30692         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
30693         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
30694         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
30695         * sysdeps/sparc/nptl/sem_init.c: ... here.
30696         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
30697         * sysdeps/sparc/nptl/sem_post.c: ... here.
30698         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
30699         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
30700         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
30701         * sysdeps/sparc/nptl/sem_wait.c: ... here.
30702         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
30703         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
30704         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
30705         (libpthread-routines): Add cpu_relax.
30706         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
30707         File removed.
30708         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
30709         (librt: GLIBC_2.3.3): New version set.
30710         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
30711         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
30712         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
30713         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
30714         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
30715         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
30716         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
30717         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
30718         Moved ...
30719         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
30720         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
30721         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
30722         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
30723         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
30724         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
30725         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
30726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
30727         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
30728         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
30729         Moved ...
30730         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
30731         Update #include.
30732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
30733         Moved ...
30734         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
30735         Update #include.
30736         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
30737         Moved ...
30738         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
30739         Update #include.
30740         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
30741         Moved ...
30742         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
30743         Update #include.
30744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
30745         Moved ...
30746         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
30747         Update #include.
30748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
30749         Moved ...
30750         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
30751         Update #include.
30752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
30753         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
30754         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
30755         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
30756         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
30757         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
30758         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
30759         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
30760         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
30761         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
30762         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30763         Moved ...
30764         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
30765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
30766         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
30767         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
30768         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
30770 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30772         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
30773         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
30774         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30775         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
30776         * nscd/nscd.c: Likewise.
30777         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
30778         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
30779         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
30780         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
30782         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
30783         <kernel-features.h>.
30784         (init_mq_netlink): Remove conditional have_sock_cloexec
30785         definitions.  Remove code conditional on have_sock_cloexec < 0.
30786         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
30787         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
30788         * sysdeps/unix/sysv/linux/opensock.c: Do not include
30789         <kernel-features.h>.
30790         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
30791         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
30793 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30795         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30796         Add tests for memset_chk and memset.
30798         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
30799         with AVX2_Usable.
30801 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30803         [BZ #16046]
30804         * elf/tst-dl-iter-static.c: New file.
30805         * elf/Makefile (tests-static): Add tst-dl-iter-static.
30807         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
30808         error.
30810 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30812         * sysdeps/unix/sysv/linux/kernel-features.h
30813         (__ASSUME_F_GETOWN_EX): Remove macro.
30814         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
30815         <kernel-features.h>.
30816         (miss_F_GETOWN_EX): Remove variable or macro.
30817         (do_fcntl): Do not check miss_F_GETOWN_EX.
30818         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
30820         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
30821         Remove macro.
30822         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
30823         [!__ASSUME_AT_RANDOM]: Remove conditional code.
30824         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
30826         * sysdeps/unix/sysv/linux/kernel-features.h
30827         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
30828         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
30829         [ADJ_OFFSET_SS_READ]: Make code unconditional.
30830         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
30832 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30834         [BZ #17075]
30835         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
30836         Fix calculation of the symbol's value.
30837         * sysdeps/arm/tst-armtlsdescloc.c: New file.
30838         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
30839         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
30840         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
30841         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
30842         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
30843         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
30844         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
30845         (modules-names): Add `tst-armtlsdescmod',
30846         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
30847         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
30848         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30849         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
30850         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
30851         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30852         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
30853         ($(objpfx)tst-armtlsdescloc): New dependency.
30854         ($(objpfx)tst-armtlsdescextnow): Likewise.
30855         ($(objpfx)tst-armtlsdescextlazy): Likewise.
30856         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
30857         TLS scheme support.
30858         * sysdeps/arm/configure: Regenerate.
30860 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30862         * include/fcntl.h (__atfct_seterrno): Remove prototype.
30863         (__atfct_seterrno_2): Likewise.
30864         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
30865         <kernel-features.h>.
30866         (__ASSUME_ATFCTS): Do not undefine and redefine.
30867         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
30868         (__have_atfcts): Remove conditional definition.
30869         (__fxstatat([__NR_fstatat64]: Make code unconditional.
30870         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
30871         unreachable if [__ASSUME_ATFCTS].
30872         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
30873         not undefine and redefine.
30874         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
30875         <kernel-features.h>.
30876         (faccessat) [__NR_faccessat]: Make code unconditional.
30877         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
30878         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
30879         <kernel-features.h>.
30880         (fchmodat) [__NR_fchmodat]: Make code unconditional.
30881         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30882         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
30883         <kernel-features.h>.
30884         (fchownat) [__NR_fchownat]: Make code unconditional.
30885         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
30886         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
30887         <kernel-features.h>.
30888         (futimesat) [__NR_futimesat]: Make code unconditional.
30889         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
30890         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30891         <kernel-features.h>.
30892         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30893         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30894         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30895         <kernel-features.h>.
30896         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
30897         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30898         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
30899         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30900         <kernel-features.h>.
30901         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
30902         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30903         * sysdeps/unix/sysv/linux/linkat.c: Do not include
30904         <kernel-features.h>.
30905         (linkat) [__NR_linkat]: Make code unconditional.
30906         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30907         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
30908         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
30909         <kernel-features.h>.
30910         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
30911         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30912         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
30913         <kernel-features.h>.
30914         (mkdirat) [__NR_mkdirat]: Make code unconditional.
30915         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
30916         * sysdeps/unix/sysv/linux/openat.c: Do not include
30917         <kernel-features.h>.
30918         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
30919         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
30920         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
30921         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
30922         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
30923         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
30924         <kernel-features.h>.
30925         (readlinkat) [__NR_readlinkat]: Make code unconditional.
30926         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
30927         result of INLINE_SYSCALL directly, not via int variable.
30928         * sysdeps/unix/sysv/linux/renameat.c: Do not include
30929         <kernel-features.h>.
30930         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
30931         (renameat) [__NR_renameat]: Make code unconditional.
30932         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
30933         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
30934         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
30935         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
30936         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
30937         (__ASSUME_ATFCTS): Do not undefine and redefine.
30938         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
30939         <kernel-features.h>.
30940         (symlinkat) [__NR_symlinkat]: Make code unconditional.
30941         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30942         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
30943         <kernel-features.h>.
30944         (unlinkat) [__NR_unlinkat]: Make code unconditional.
30945         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30946         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
30947         (__ASSUME_ATFCTS): Do not undefine and redefine.
30948         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30949         <kernel-features.h>.
30950         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30951         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30952         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30953         <kernel-features.h>.
30954         (__xmknodat) [__NR_mknodat]: Make code unconditional.
30955         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30957 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30959         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
30961 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
30963         [BZ #17069]
30964         * posix/regcomp.c (parse_reg_exp): Deallocate partially
30965         constructed tree before returning error.
30966         * posix/bug-regexp36.c: Expand test case.
30968 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30970         [BZ #6803]
30971         * math/libm-test.inc (scalbln_test_date):
30972         Add errno expectations.
30973         * math/w_scalblnf.c: New File.
30974         Add wrapper which checks for setting errno to ERANGE.
30975         Add weak_alias for corresponding scalbln function.
30976         * math/w_scalbln.c: Likewise.
30977         * math/w_scalblnl.c: Likewise.
30978         * math/Makefile (libm-calls): Add w_scalbln.
30979         * sysdeps/ieee754/flt-32/s_scalblnf.c:
30980         Remove weak_alias for corresponding scalbln function.
30981         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30982         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30983         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30984         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30985         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
30986         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30987         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
30988         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30989         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
30990         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
30991         Remove long_double_symbol for scalblnl function in libm, libc.
30992         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
30993         Add wrapper which checks for setting errno to ERANGE.
30994         Add long_double_symbol for scalblnl function in libm, libc.
30995         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
30996         Remove long_double_symbol for scalblnl in libm.
30997         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
30998         Add wrapper which checks for setting errno to ERANGE.
30999         Add long_double_symbol for scalblnl function in libm.
31000         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
31001         Do not use wrapper because of own implementation.
31003 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
31005         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
31006         3 bytes for __pad1 for x32.
31007         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
31009 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
31010             H.J. Lu  <hongjiu.lu@intel.com>
31012         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
31013         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
31014         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31015         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31016         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31018 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
31020         [BZ #17069]
31021         * posix/regcomp.c (parse_expression): Deallocate partially
31022         constructed tree before returning error.
31023         * posix/Makefile.c (tests): Add bug-regex36.
31024         (generated): Add bug-regex36.mtrace.
31025         (tests-special): Add $(objpfx)bug-regex36-mem.out
31026         (bug-regex36-ENV): New variable.
31027         ($(objpfx)bug-regex36-mem.out): New rule.
31028         * posix/bug-regex36.c: New file.
31030 2014-06-19  Will Newton  <will.newton@linaro.org>
31032         * malloc/malloc.c (systrim): If extra is zero then return
31033         early.
31035 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31037         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
31039 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
31041         * sysdeps/aarch64/strchr.S: New file.
31043 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31045         [BZ #17022]
31046         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
31047         from arguments -2 or below.
31048         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31049         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
31051 2014-06-18  Andreas Schwab  <schwab@suse.de>
31053         [BZ #17062]
31054         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
31055         of a bracket expr not to run off the end of the string.
31056         * posix/Makefile (tests): Add tst-fnmatch3.
31057         * posix/tst-fnmatch3.c: New file.
31059 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31061         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
31062         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31063         [$(cross-compiling) = no]: Likewise.
31064         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31065         [$(cross-compiling) = no]: Likewise.
31067 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31069         [BZ #17031]
31070         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
31071         double, adjusted for any remainder from the high double.
31072         * math/libm-test.inc (nearbyint): Add tests.
31073         (rint): Likewise.
31075 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31077         * nptl/sysdeps/powerpc/Makefile: Moved ...
31078         * sysdeps/powerpc/nptl/Makefile: ... here.
31079         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
31080         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
31081         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
31082         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
31083         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
31084         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
31085         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
31086         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
31087         * nptl/sysdeps/powerpc/tls.h: Moved ...
31088         * sysdeps/powerpc/nptl/tls.h: ... here.
31090 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
31092         [BZ #16681]
31093         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
31094         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
31095         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
31096         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
31097         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
31098         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
31099         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
31100         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
31101         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
31103 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
31105         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31107 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
31109         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
31110         defined operator.
31112         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
31113         $TIMEOUTFACTOR.
31115 2014-06-16  Florian Weimer  <fweimer@redhat.com>
31117         [BZ #17058]
31118         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
31119         non-executed part of the test.
31121 2014-06-16  Andreas Schwab  <schwab@suse.de>
31123         * string/bits/string2.h (strdup, strndup): Update feature guard.
31125 2014-06-14  David S. Miller  <davem@davemloft.net>
31127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31129 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
31131         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
31132         that was previously under [RESET_PID].
31133         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
31135         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
31136         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31137         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
31138         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31139         (__libc_vfork): New strong alias.
31140         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
31142 2014-06-14 Andi Kleen  <ak@linux.intel.com>
31144         * sysdeps/generic/elide.h: New file.
31146 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31148         * Makefile (installed-headers): Adjust path of pthread.h header.
31150 2014-06-13  Roland McGrath  <roland@hack.frob.com>
31152         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
31153         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
31154         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
31155         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
31157         * nptl/sysdeps/s390/Makefile: Moved ...
31158         * sysdeps/s390/nptl/Makefile: ... here.
31159         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
31160         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
31161         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
31162         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
31163         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
31164         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
31165         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
31166         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
31167         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
31168         * sysdeps/s390/nptl/pthreaddef.h: ... here.
31169         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
31170         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
31171         * nptl/sysdeps/s390/tls.h: Moved ...
31172         * sysdeps/s390/nptl/tls.h: ... here.
31174         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
31175         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31177 2014-06-13  David S. Miller  <davem@davemloft.net>
31179         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31180         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31181         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31182         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31183         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31184         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31185         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31186         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31187         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31188         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31189         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31190         Remove RESET_PID cpp guards.
31191         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31192         Remove RESET_PID cpp guards.
31193         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31195 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
31197         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31198         __sp to uintptr_t.
31200 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31202         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31203         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31204         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31205         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31206         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31207         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31208         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31209         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31210         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31211         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31212         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31213         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
31214         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
31215         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
31216         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
31217         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
31218         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
31219         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
31220         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
31221         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
31223         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
31224         (pthread_rwlock_rdlock): Add elision.
31225         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
31226         (pthread_rwlock_wrlock): Add elision.
31227         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31228         (pthread_rwlock_trywrlock): Add elision.
31229         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
31230         (pthread_rwlock_tryrdlock): Add elision.
31231         * nptl/pthread_rwlock_unlock.c: Include elide.h.
31232         (pthread_rwlock_tryrdlock): Add elision unlock.
31233         * nptl/sysdeps/pthread/pthread.h:
31234         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
31235         (PTHREAD_RWLOCK_INITIALIZER,
31236         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
31237         Handle new elision field.
31238         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
31239         * sysdeps/arm/nptl/bits/pthreadtypes.h
31240         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31241         * sysdeps/sh/nptl/bits/pthreadtypes.h
31242         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31243         * sysdeps/tile/nptl/bits/pthreadtypes.h
31244         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31245         * sysdeps/a/nptl/bits/pthreadtypes.h
31246         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31247         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31248         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31249         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31250         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31251         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
31252         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31253         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31254         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31255         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31256         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31257         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31258         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31259         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31260         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31261         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
31262         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31263         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
31264         (elision_init): Set try_xbegin to zero when no RTM.
31265         * sysdeps/x86/nptl/bits/pthreadtypes.h
31266         (pthread_rwlock_t): Change __pad1 to __rwelision.
31267         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31269 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31271         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
31272         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
31273         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
31274         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
31276 2014-06-13  Meador Inge  <meadori@codesourcery.com>
31278         [BZ #16996]
31279         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
31280         that the cached result has been set before returning it.
31282 2014-06-12  Roland McGrath  <roland@hack.frob.com>
31284         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
31285         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
31286         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
31287         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
31288         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
31289         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31291         * nptl/sysdeps/sparc/Makefile: Moved ...
31292         * sysdeps/sparc/nptl/Makefile: ... here.
31293         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31294         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31295         * nptl/sysdeps/sparc/tls.h: Moved ...
31296         * sysdeps/sparc/nptl/tls.h: ... here.
31297         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31298         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31299         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31300         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31301         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31302         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31303         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31304         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31305         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31306         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31307         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31308         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31309         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31310         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31311         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31312         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31313         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31314         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31315         Update #include.
31316         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31317         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31318         Update #include.
31319         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31320         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31321         Update #include.
31322         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31323         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31324         Update #include.
31326         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31328         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31329         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31331         * sysdeps/pthread/posix-timer.h: Include <list.h>.
31332         (struct list_links): Type removed.
31333         (struct thread_node, struct timer_node): Replace struct list_links
31334         with struct list_head.
31335         (list_unlink_ip): Likewise.
31336         * sysdeps/pthread/timer_routines.c
31337         (timer_free_list, thread_free_list, thread_active_list): Likewise.
31338         (list_append, list_insbefore): Likewise.
31339         (list_init): Function removed.
31340         (thread_init, init_module): Use INIT_LIST_HEAD instead.
31341         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31342         * sysdeps/pthread/Makefile: ... here, new file.
31344         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31345         * sysdeps/nptl/Implies: ... here.
31346         * sysdeps/unix/sysv/linux/Implies: Add nptl.
31347         * nptl/sysdeps/pthread/list.h: Moved ...
31348         * include/list.h: ... here.
31349         * nptl/sysdeps/pthread/createthread.c: Moved ...
31350         * nptl/createthread.c: ... here.
31351         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31352         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31353         * nptl/pt-longjmp.c: ... here.
31354         * nptl/sysdeps/pthread/Makefile: Moved ...
31355         * sysdeps/nptl/Makefile: ... here.
31356         * nptl/sysdeps/pthread/Subdirs: Moved ...
31357         * sysdeps/nptl/Subdirs: ... here.
31358         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31359         * sysdeps/nptl/aio_misc.h: ... here.
31360         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31361         * sysdeps/nptl/bits/libc-lock.h: ... here.
31362         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31363         * sysdeps/nptl/bits/libc-lockP.h: ... here.
31364         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31365         * sysdeps/nptl/bits/stdio-lock.h: ... here.
31366         * nptl/sysdeps/pthread/configure: Moved ...
31367         * sysdeps/nptl/configure: ... here.
31368         * nptl/sysdeps/pthread/configure.ac: Moved ...
31369         * sysdeps/nptl/configure.ac: ... here.
31370         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
31371         * sysdeps/nptl/gai_misc.h: ... here.
31372         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
31373         * sysdeps/nptl/librt-cancellation.c: ... here.
31374         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
31375         * sysdeps/nptl/malloc-machine.h: ... here.
31376         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
31377         * sysdeps/nptl/pthread-functions.h: ... here.
31378         * nptl/sysdeps/pthread/pthread.h: Moved ...
31379         * sysdeps/nptl/pthread.h: ... here.
31380         * nptl/sysdeps/pthread/setxid.h: Moved ...
31381         * sysdeps/nptl/setxid.h: ... here.
31382         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
31383         * sysdeps/nptl/sigfillset.c: ... here.
31384         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
31385         * sysdeps/nptl/tcb-offsets.h: ... here.
31386         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
31387         * sysdeps/nptl/tst-mqueue8x.c: ... here.
31388         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
31389         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
31390         * nptl/sysdeps/pthread/allocalim.h: Moved ...
31391         * sysdeps/pthread/allocalim.h: ... here.
31392         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
31393         * sysdeps/pthread/bits/sigthread.h: ... here.
31394         * nptl/sysdeps/pthread/flockfile.c: Moved ...
31395         * sysdeps/pthread/flockfile.c: ... here.
31396         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
31397         * sysdeps/pthread/ftrylockfile.c: ... here.
31398         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
31399         * sysdeps/pthread/funlockfile.c: ... here.
31400         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
31401         * sysdeps/pthread/posix-timer.h: ... here.
31402         * nptl/sysdeps/pthread/timer_create.c: Moved ...
31403         * sysdeps/pthread/timer_create.c: ... here.
31404         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
31405         * sysdeps/pthread/timer_delete.c: ... here.
31406         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
31407         * sysdeps/pthread/timer_getoverr.c: ... here.
31408         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
31409         * sysdeps/pthread/timer_gettime.c: ... here.
31410         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
31411         * sysdeps/pthread/timer_routines.c: ... here.
31412         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
31413         * sysdeps/pthread/timer_settime.c: ... here.
31414         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
31415         * sysdeps/pthread/tst-timer.c: ... here.
31416         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
31417         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
31419         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
31420         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
31422         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
31423         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
31424         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
31425         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
31426         Update #include target.
31427         * nptl/sysdeps/i386/i686/Makefile: Moved ...
31428         * sysdeps/i386/i686/nptl/Makefile: ... here.
31429         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
31430         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
31431         Update #include target.
31432         * nptl/sysdeps/i386/i686/tls.h: Moved ...
31433         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
31434         * nptl/sysdeps/i386/Makefile: Moved ...
31435         * sysdeps/i386/nptl/Makefile: ... here.
31436         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
31437         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
31438         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
31439         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
31440         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
31441         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
31442         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
31443         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
31444         * sysdeps/i386/nptl/pthreaddef.h: ... here.
31445         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
31446         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
31447         * nptl/sysdeps/i386/tls.h: Moved ...
31448         * sysdeps/i386/nptl/tls.h: ... here.
31450         * sysdeps/sh/Makefile [$(subdir) = csu]
31451         (gen-as-const-headers): Add tcb-offsets.sym.
31452         * nptl/sysdeps/sh/Makefile: File removed.
31453         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
31454         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
31455         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
31456         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
31457         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
31458         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
31459         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
31460         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
31461         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
31462         * sysdeps/sh/nptl/pthreaddef.h: ... here.
31463         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
31464         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
31465         * nptl/sysdeps/sh/tls.h: Moved ...
31466         * sysdeps/sh/nptl/tls.h: ... here.
31467         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
31468         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
31469         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
31470         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
31471         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
31472         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
31473         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
31474         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
31475         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
31476         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
31477         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
31478         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
31479         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
31480         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
31481         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
31482         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
31483         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
31484         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
31485         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
31486         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
31487         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
31488         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
31489         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
31490         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
31491         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
31492         Moved ...
31493         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
31494         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
31495         Moved ...
31496         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
31497         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
31498         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
31499         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
31500         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
31501         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
31502         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
31503         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
31504         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
31505         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
31506         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
31507         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
31508         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
31509         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
31510         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
31511         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
31512         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
31513         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
31514         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
31516 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31518         * posix/spawn_faction_addopen.c: Include string.h.
31520 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31522         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
31523         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
31524         * nptl/sysdeps/x86_64/Makefile: Moved ...
31525         * sysdeps/x86_64/nptl/Makefile: ... here.
31526         * nptl/sysdeps/x86_64/configure: Moved ...
31527         * sysdeps/x86_64/nptl/configure: ... here.
31528         * nptl/sysdeps/x86_64/configure.ac: Moved ...
31529         * sysdeps/x86_64/nptl/configure.ac: ... here.
31530         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
31531         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
31532         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
31533         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
31534         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
31535         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
31536         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
31537         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
31538         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
31539         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
31540         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
31541         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
31542         * nptl/sysdeps/x86_64/tls.h: Moved ...
31543         * sysdeps/x86_64/nptl/tls.h: ... here.
31544         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
31545         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
31546         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
31547         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
31549         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
31551 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31555 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
31557         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
31558         type.
31559         [POSIX] (off_t): Likewise.
31560         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
31561         [POSIX] (S_ISBLK): Require macro.
31562         [POSIX] (S_ISCHR): Likewise.
31563         [POSIX] (S_ISDIR): Likewise.
31564         [POSIX] (S_ISFIFO): Likewise.
31565         [POSIX] (S_ISREG): Likewise.
31566         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
31567         optional-macro.
31568         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
31569         type.
31570         [POSIX] (time_t): Likewise.
31571         [POSIX] (timer_t): Likewise.
31573 2014-06-11  Florian Weimer  <fweimer@redhat.com>
31575         [BZ #17048]
31576         * posix/spawn_int.h (struct __spawn_action): Make the path string
31577         non-const to support deallocation.
31578         * posix/spawn_faction_addopen.c
31579         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
31580         * posix/spawn_faction_destroy.c
31581         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
31582         path in all spawn_do_open actions.
31583         * posix/tst-spawn.c (do_test): Exercise the copy operation in
31584         posix_spawn_file_actions_addopen.
31586 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
31588         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
31589         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
31590         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
31591         conditional code always true.
31592         (__libc_vfork): New alias.
31594 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31596         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31597         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
31599         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
31601         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31602         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
31604         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31605         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
31607         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31608         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
31610 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31612         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
31613         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
31614         multiarch strcmp for PPC64.
31615         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
31616         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
31617         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
31618         multiarch optimizations.
31619         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31620         (__libc_ifunc_impl_list): Likewise.
31622 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31624         * benchtests/scripts/validate_benchout.py: New script.
31625         * benchtests/Makefile (bench-func): Call it.
31626         * benchtests/scripts/benchout.schema.json: New file.
31628 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
31630         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
31631         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
31632         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
31633         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
31634         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
31635         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
31636         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
31637         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
31638         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
31639         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
31640         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
31641         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
31642         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
31643         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
31644         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
31645         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
31646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
31647         Moved ...
31648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
31649         ... here.
31650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
31651         Moved ...
31652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
31653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
31654         Moved ...
31655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
31656         ... here.
31657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
31658         Moved ...
31659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
31660         ... here.
31661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
31662         Moved ...
31663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
31664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
31665         Moved ...
31666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
31667         ... here.
31668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
31669         Moved ...
31670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
31671         ... here.
31672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
31673         Moved ...
31674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
31675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
31676         Moved ...
31677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
31678         ... here.
31679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
31680         Moved ...
31681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
31682         ... here.
31683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
31684         Moved ...
31685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
31686         ... here.
31687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
31688         Moved ...
31689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
31690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
31691         Moved ...
31692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
31693         ... here.
31694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
31695         Moved ...
31696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
31697         ... here.
31698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
31699         Moved ...
31700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
31701         ... here.
31702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
31703         Moved ...
31704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
31705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
31706         Moved ...
31707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
31708         ... here.
31709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
31710         Moved ...
31711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
31712         ... here.
31713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
31714         Moved ...
31715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
31716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
31717         Moved ...
31718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
31719         ... here.
31720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
31721         Moved ...
31722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
31723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
31724         Moved ...
31725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
31726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
31727         Moved ...
31728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
31729         ... here.
31730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
31731         Moved ...
31732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
31733         ... here.
31734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
31735         Moved ...
31736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
31737         ... here.
31738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
31739         Moved ...
31740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
31741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
31742         Moved ...
31743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
31744         ... here.
31745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
31746         Moved ...
31747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
31748         ... here.
31749         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
31750         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
31751         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
31752         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
31753         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
31754         Moved ...
31755         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
31756         ... here.
31757         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
31758         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
31759         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
31760         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
31761         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
31762         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
31763         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
31764         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
31765         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
31766         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
31767         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
31768         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
31769         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
31770         Moved ...
31771         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
31772         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
31773         Moved ...
31774         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
31775         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
31776         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
31777         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
31778         Moved ...
31779         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
31780         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
31781         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
31782         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
31783         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
31784         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
31785         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
31787 2014-06-10  Wilco  <wdijkstr@arm.com>
31789         * math/test-fenv-return.c: New file.
31790         * math/Makefile: Add new test test-fenv-return.
31792 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
31794         [BZ #17042]
31795         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
31796         when x - 1 is zero.
31797         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
31798         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
31799         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
31800         0.0L for an argument of 1.0L.
31801         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
31802         Likewise.
31803         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
31804         value when x - 1 is zero.
31805         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
31806         * sysdeps/i386/fpu/libm-test-ulps: Update.
31807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31809 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
31811         [BZ #15119]
31812         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
31814 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31816         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
31817         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
31819 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31821         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31822         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
31824         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31825         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
31827         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31828         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
31830         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31831         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
31833         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
31834         if not already defined.
31835         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
31836         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
31837         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
31838         (TLS_INIT_TP): Use it.
31839         (TLS_DEFINE_INIT_TP): New macro.
31840         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
31842 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
31844         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
31845         constant.
31846         [POSIX] (IXANY): Likewise.
31847         [POSIX] (OLCUC): Likewise.
31848         [POSIX || POSIX2008] (CBAUD): Do not allow.
31849         [POSIX || POSIX2008] (DEFECHO): Likewise.
31850         [POSIX || POSIX2008] (ECHOCTL): Likewise.
31851         [POSIX || POSIX2008] (ECHOKE): Likewise.
31852         [POSIX || POSIX2008] (ECHOPRT): Likewise.
31853         [POSIX || POSIX2008] (EXTA): Likewise.
31854         [POSIX || POSIX2008] (EXTB): Likewise.
31855         [POSIX || POSIX2008] (FLUSHO): Likewise.
31856         [POSIX || POSIX2008] (LOBLK): Likewise.
31857         [POSIX || POSIX2008] (PENDIN): Likewise.
31858         [POSIX || POSIX2008] (SWTCH): Likewise.
31859         [POSIX || POSIX2008] (VDISCARD): Likewise.
31860         [POSIX || POSIX2008] (VDSUSP): Likewise.
31861         [POSIX || POSIX2008] (VLNEXT): Likewise.
31862         [POSIX || POSIX2008] (VREPRINT): Likewise.
31863         [POSIX || POSIX2008] (VSTATUS): Likewise.
31864         [POSIX || POSIX2008] (VWERASE): Likewise.
31865         (B*): Change to B[0123456789]*.
31866         * conform/data/time.h-data [POSIX || UNIX98]
31867         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
31868         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31869         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
31870         [POSIX] (tm_*): Do not allow.
31872 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
31874         * Makefile (install): Don't set LANGUAGE.
31875         * Makefile.in (install): Likewise.
31876         * assert/Makefile (test-assert-ENV): Remove variable.
31877         (test-assert-perr-ENV): Likewise.
31878         * elf/Makefile (neededtest4-ENV): Likewise.
31879         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31880         [$(cross-compiling) = no]: Don't set LANGUAGE.
31881         * io/ftwtest-sh (LANG): Remove variable.
31882         * libio/Makefile (tst-widetext-ENV): Likewise.
31883         * manual/install.texi (Running make install): Don't refer to
31884         environment settings for make install.
31885         * INSTALL: Regenerated.
31886         * nptl/tst-tls6.sh: Don't set LANG.
31887         * posix/globtest.sh (LANG): Remove variable.
31888         * string/Makefile (tester-ENV): Likewise.
31889         (inl-tester-ENV): Likewise.
31890         (noinl-tester-ENV): Likewise.
31891         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31892         [$(cross-compiling) = no]: Don't set LANGUAGE.
31893         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
31894         without explicit environment settings.
31896 2014-06-06  Roland McGrath  <roland@hack.frob.com>
31898         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
31899         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
31900         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
31901         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
31903 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
31905         * crypt/crypt-private.h [DOS]: Add some includes taken from the
31906         other files in the crypt directory.
31907         * crypt/crypt.c: Remove duplicate includes.
31908         * crypt/crypt-entry.c: Likewise.
31909         * crypt/crypt_util.c: Likewise.
31911 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
31913         * Makeconfig (run-program-env): New variable.
31914         (run-program-prefix-before-env): Likewise.
31915         (run-program-prefix-after-env): Likewise.
31916         (run-program-prefix): Define in terms of new variables.
31917         (built-program-cmd-before-env): New variable.
31918         (built-program-cmd-after-env): Likewise.
31919         (built-program-cmd): Define in terms of new variables.
31920         (test-program-prefix-before-env): New variable.
31921         (test-program-prefix-after-env): Likewise.
31922         (test-program-prefix): Define in terms of new variables.
31923         (test-program-cmd-before-env): New variable.
31924         (test-program-cmd-after-env): Likewise.
31925         (test-program-cmd): Define in terms of new variables.
31926         * Rules (make-test-out): Use $(run-program-env).
31927         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
31928         (help): Do not mention environment variables.  Mention
31929         --timeoutfactor option.
31930         (timeoutfactor): New variable.
31931         (blacklist_exports): Remove function.
31932         (exports): Remove variable.
31933         (command): Do not include ${exports}.
31934         * manual/install.texi (Configuring and compiling): Do not mention
31935         test wrappers preserving environment variables.  Mention that last
31936         assignment to a variable must take precedence.
31937         * INSTALL: Regenerated.
31938         * benchtests/Makefile (run-bench): Use $(run-program-env).
31939         * catgets/Makefile ($(objpfx)test1.cat): Use
31940         $(built-program-cmd-before-env), $(run-program-env) and
31941         $(built-program-cmd-after-env).
31942         ($(objpfx)test2.cat): Do not specify environment variables
31943         explicitly.
31944         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
31945         $(run-program-env) and $(built-program-cmd-after-env).
31946         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
31947         $(run-program-env) and $(test-program-cmd-after-env).
31948         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
31949         explicitly.
31950         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
31951         run_program_env and test_program_cmd_after_env arguments.
31952         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
31953         * elf/tst-pathopt.sh: Use run_program_env argument.
31954         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
31955         $(test-wrapper-env) and $(run-program-env).
31956         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
31957         run_program_env arguments.
31958         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
31959         * intl/Makefile ($(objpfx)tst-gettext.out): Use
31960         $(test-program-prefix-before-env), $(run-program-env) and
31961         $(test-program-prefix-after-env).
31962         ($(objpfx)tst-gettext2.out): Likewise.
31963         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
31964         run_program_env and test_program_prefix_after_env arguments.
31965         * intl/tst-gettext2.sh: Likewise.
31966         * intl/tst-gettext4.sh: Do not set environment variables
31967         explicitly.
31968         * intl/tst-gettext6.sh: Likewise.
31969         * intl/tst-translit.sh: Likewise.
31970         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
31971         $(test-program-prefix-before-env), $(run-program-env) and
31972         $(test-program-prefix-after-env).
31973         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
31974         run_program_env and test_program_prefix_after_env arguments.
31975         * math/Makefile (run-regen-ulps): Use $(run-program-env).
31976         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
31977         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
31978         explicitly with each use of ${test_wrapper_env}.
31979         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
31980         $(test-program-prefix-before-env), $(run-program-env) and
31981         $(test-program-prefix-after-env).
31982         * posix/tst-getconf.sh: Do not set environment variables
31983         explicitly.
31984         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
31985         run_program_env and test_program_prefix_after_env arguments.
31986         * stdio-common/tst-printf.sh: Do not set environment variables
31987         explicitly.
31988         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
31989         $(test-program-prefix-before-env), $(run-program-env) and
31990         $(test-program-prefix-after-env).
31991         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
31992         run_program_env and test_program_prefix_after_env arguments.
31993         Split $test calls into $test_pre and $test.
31994         * timezone/Makefile (build-testdata): Use
31995         $(built-program-cmd-before-env), $(run-program-env) and
31996         $(built-program-cmd-after-env).
31998 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32000         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
32001         strlen for non SHARED builds.
32003 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32005         * nptl/allocatestack.c (check_list): Inlined function...
32006         (__reclaim_stacks): ... here.
32008 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32010         [BZ #15698]
32011         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32012         memory overrun.
32014 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
32016         * Rules (make-test-out): Include
32017         LOCPATH=$(common-objpfx)localedata in default environment.
32018         * debug/Makefile (tst-chk1-ENV): Remove variable.
32019         (tst-chk2-ENV): Likewise.
32020         (tst-chk3-ENV): Likewise.
32021         (tst-chk4-ENV): Likewise.
32022         (tst-chk5-ENV): Likewise.
32023         (tst-chk6-ENV): Likewise.
32024         (tst-lfschk1-ENV): Likewise.
32025         (tst-lfschk2-ENV): Likewise.
32026         (tst-lfschk3-ENV): Likewise.
32027         (tst-lfschk4-ENV): Likewise.
32028         (tst-lfschk5-ENV): Likewise.
32029         (tst-lfschk6-ENV): Likewise.
32030         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
32031         (tst-iconv7-ENV): Likewise.
32032         * intl/Makefile (LOCPATH-ENV): Likewise.
32033         (tst-codeset-ENV): Likewise.
32034         (tst-gettext3-ENV): Likewise.
32035         (tst-gettext5-ENV): Likewise.
32036         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
32037         (tst-fopenloc-ENV): Likewise.
32038         (tst-fgetws-ENV): Remove variable.
32039         (tst-ungetwc1-ENV): Likewise.
32040         (tst-ungetwc2-ENV): Likewise.
32041         (bug-ungetwc2-ENV): Likewise.
32042         (tst-swscanf-ENV): Likewise.
32043         (bug-ftell-ENV): Likewise.
32044         (tst-fgetwc-ENV): Likewise.
32045         (tst-fseek-ENV): Likewise.
32046         (tst-ftell-partial-wide-ENV): Likewise.
32047         (tst-ftell-active-handler-ENV): Likewise.
32048         (tst-ftell-append-ENV): Likewise.
32049         * posix/Makefile (tst-fnmatch-ENV): Likewise.
32050         (tst-regexloc-ENV): Likewise.
32051         (bug-regex1-ENV): Likewise.
32052         (tst-regex-ENV): Likewise.
32053         (tst-regex2-ENV): Likewise.
32054         (bug-regex5-ENV): Likewise.
32055         (bug-regex6-ENV): Likewise.
32056         (bug-regex17-ENV): Likewise.
32057         (bug-regex18-ENV): Likewise.
32058         (bug-regex19-ENV): Likewise.
32059         (bug-regex20-ENV): Likewise.
32060         (bug-regex22-ENV): Likewise.
32061         (bug-regex23-ENV): Likewise.
32062         (bug-regex25-ENV): Likewise.
32063         (bug-regex26-ENV): Likewise.
32064         (bug-regex30-ENV): Likewise.
32065         (bug-regex32-ENV): Likewise.
32066         (bug-regex33-ENV): Likewise.
32067         (bug-regex34-ENV): Likewise.
32068         (bug-regex35-ENV): Likewise.
32069         (tst-rxspencer-ENV): Likewise.
32070         (tst-rxspencer-no-utf8-ENV): Likewise.
32071         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
32072         (tst-sscanf-ENV): Likewise.
32073         (tst-swprintf-ENV): Likewise.
32074         (tst-swscanf-ENV): Likewise.
32075         (test-vfprintf-ENV): Likewise.
32076         (scanf13-ENV): Likewise.
32077         (bug14-ENV): Likewise.
32078         (tst-grouping-ENV): Likewise.
32079         * stdlib/Makefile (tst-strtod-ENV): Likewise.
32080         (tst-strtod3-ENV): Likewise.
32081         (tst-strtod4-ENV): Likewise.
32082         (tst-strtod5-ENV): Likewise.
32083         (testmb2-ENV): Likewise./
32084         * string/Makefile (tst-strxfrm-ENV): Likewise.
32085         (tst-strxfrm2-ENV): Likewise.
32086         (bug-strcoll1-ENV): Likewise.
32087         (test-strcasecmp-ENV): Likewise.
32088         (test-strncasecmp-ENV): Likewise.
32089         * time/Makefile (tst-strptime-ENV): Likewise.
32090         (tst-ftime_l-ENV): Likewise.
32091         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
32092         (tst-mbrtowc-ENV): Likewise.
32093         (tst-wcrtomb-ENV): Likewise.
32094         (tst-mbrtowc2-ENV): Likewise.
32095         (tst-c16c32-1-ENV): Likewise.
32096         (tst-mbsnrtowcs-ENV): Likewise.
32098 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32100         * manual/resource.texi (How to get information about the memory
32101         subsystem?): Fix typo.
32102         Reported by Peon de la Parra Ivan <peon@keba.com>
32104 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
32106         [BZ #16882]
32107         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
32108         (pthread_spin_lock): Branch out of spin loop to proper location.
32109         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
32110         (pthread_spin_lock): Likewise.
32112         * nptl/tst-spin4.c: New test.
32113         * nptl/Makefile (tests): Add tst-spin4.
32115 2014-06-03  Andreas Schwab  <schwab@suse.de>
32117         [BZ #15946]
32118         * resolv/res_send.c (send_dg): Reload file descriptor after
32119         calling reopen.
32121 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
32123         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32125 2014-06-03  Richard Henderson  <rth@redhat.com>
32127         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
32128         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32129         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
32130         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
32131         in the SAVE_PID block.
32132         (__libc_vfork): New alias.
32133         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
32135         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
32136         child in registers, not on the stack.  Remove RESET_PID conditionals.
32137         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
32139 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32141         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32143 2014-06-03  Wilco  <wdijkstr@arm.com>
32145         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
32146         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
32147         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32148         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
32149         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
32150         Likewise.
32152 2014-06-03  Wilco  <wdijkstr@arm.com>
32154         * sysdeps/aarch64/fpu/math_private.h
32155         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
32156         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32157         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
32158         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32159         Fix declarations.
32161 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32163         * crypt/crypt-private.h: Include ufc-crypt.h.
32164         (__b64_from_24bit): Declare extern.
32165         * crypt/crypt_util.c(__b64_from_24bit): New function.
32166         (b64t): New static const variable.
32167         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
32168         (b64t): Remove variable.
32169         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32170         * crypt/sha256-crypt.c: Include crypt-private.h.
32171         (b64t): Remove variable.
32172         (__sha256_crypt_r): Remove b64_from_24bit and replace
32173         with __b64_from_24bit.
32174         * crypt/sha512-crypt.c: Likewise.
32176 2014-06-02  Roland McGrath  <roland@hack.frob.com>
32178         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32179         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32180         Label the code __libc_vfork rather than __vfork.
32181         [!NOT_IN_libc] (vfork): Define as weak alias.
32182         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32183         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32184         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32186 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32188         * malloc/malloc.c (malloc_info): Fix format specifier for
32189         n_mmaps.
32191 2014-06-02  Wilco  <wdijkstr@arm.com>
32193         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32194         FPCR write.
32196 2014-06-02  Wilco  <wdijkstr@arm.com>
32198         [BZ #17009]
32199         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32200         Rewrite to reduce FPCR/FPSR accesses.
32202 2014-06-01  David S. Miller  <davem@davemloft.net>
32204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32206 2014-05-31  David S. Miller  <davem@davemloft.net>
32208         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32209         to occur in round to nearest mode when |x| >= 2.0
32211 2014-05-30  Richard Henderson  <rth@twiddle.net>
32213         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
32214         (PSEUDO_RET_NOERRNO): Remove.
32215         (ret): Don't redefine.
32216         (ret_NOERRNO): Define in terms of ret.
32217         (ret_ERRVAL): Likewise.
32219         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
32220         use of PSEUDO_RET; perform the error check directly.
32222 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
32224         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
32225         with __int128_t.
32227 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32229         * malloc/malloc (malloc_info): Fix formatting.
32231 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32232             Roland McGrath  <roland@hack.frob.com>
32234         * malloc/malloc (malloc_info): Also print mmapped statistics.
32236 2014-05-30  Roland McGrath  <roland@hack.frob.com>
32238         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
32239         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
32241 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
32243         * malloc/malloc.c (malloc_info): Inline mi_arena.
32245 2014-05-29  Richard Henderson  <rth@twiddle.net>
32247         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
32248         Remove comma before expanding ASM_ARGS_##nr.
32249         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
32250         Make _x0 a strict output; make _x8 a strict input; adjust expansion
32251         of ASM_ARGS_##nr.
32252         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
32253         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
32254         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
32255         (ASM_ARGS_1): Add leading comma.
32257         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
32258         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
32259         to __errno_location.
32260         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
32261         Remove the expected plt for __errno_location.
32263         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32264         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
32265         call to __read_tp.
32267         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32268         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
32269         it and break it down.
32270         (DOCARGS_0, DOCARGS_1): Do nothing.
32271         (DOCARGS_2): Update to store into the new stack frame.
32272         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
32273         (UNDOCARGS_1): Update to restore from the new stack frame.
32274         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
32275         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
32277         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32278         (SINGLE_THREAD_P): New parameter for result regno.
32279         (PSEUDO): Update to match; use cbz instead of beq.
32281         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32282         Use ENTRY to define the _nocancel entry point.  Share the syscall
32283         and syscall error check paths with the cancel path.
32284         (PSEUDO_END): New.
32286         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
32287         whitespace; tabs before and after asm mnemonics.
32289 2014-05-29  Eric Wong  <normalperson@yhbt.net>
32291         [BZ #15132]
32292         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32293         Call fstat64 or stat64 internally, depending on arguments passed.
32294         Replace stat buffer argument with file descriptor argument.
32295         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32296         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32297         Pass fd to __internal_statvfs instead of calling fstat64.
32298         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32299         Pass fd to __internal_statvfs64 instead of calling fstat64.
32300         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32301         Pass -1 to __internal_statvfs instead of calling stat64.
32302         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32303         Pass -1 to __internal_statvfs64 instead of calling stat64.
32305 2014-05-28  Roland McGrath  <roland@hack.frob.com>
32307         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32308         that was previously under [RESET_PID].
32309         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32311         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32312         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32314 2014-05-27  Roland McGrath  <roland@hack.frob.com>
32316         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32318         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32319         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32321 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
32323         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32325 2014-05-27  Andreas Schwab  <schwab@suse.de>
32327         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32328         TLS_INIT_TP macro.
32329         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32330         * elf/rtld.c (init_tls, dl_main): Likewise.
32331         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32332         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32333         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32334         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32335         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32336         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32337         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32338         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32339         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32340         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32341         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32342         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32343         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32344         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32345         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32346         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32347         * sysdeps/generic/tls.h: Update description.
32349 2014-05-27  Will Newton  <will.newton@linaro.org>
32351         [BZ #16990]
32352         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32353         and restore r2 rather than just restoring.
32355 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32357         [BZ #16724]
32358         * libio/tst-ftell-append.c: New test case.
32359         * libio/Makefile (tests): Add test case.
32360         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32361         append mode.
32362         * libio/wfileops.c (do_ftell_wide): Likewise.
32364 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32368         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32369         ...
32370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
32371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32372         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
32373         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
32374         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
32375         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
32376         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
32377         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
32378         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32379         Moved ...
32380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
32381         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32382         Moved ...
32383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
32384         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
32385         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
32386         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
32387         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
32388         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
32389         ...
32390         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
32391         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
32392         Moved ...
32393         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
32394         here.
32395         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
32396         ...
32397         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
32398         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
32399         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
32401         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
32402         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
32403         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
32404         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
32406         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
32407         merge into ...
32408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
32409         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
32410         ...
32411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
32412         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
32413         ...
32414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
32415         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32416         Moved ...
32417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
32418         here.
32419         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32420         Moved ...
32421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
32422         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32423         Moved ...
32424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
32426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
32427         conditional [RESET_PID].
32428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
32429         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
32430         removed.
32431         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
32432         removed.
32434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
32435         <tcb-offsets.h>.
32436         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32437         (__libc_vfork): New strong alias.
32438         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
32439         removed.
32440         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
32441         Removed.
32443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
32444         <tcb-offsets.h>.
32445         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
32446         (__libc_vfork): New strong alias.
32447         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
32448         removed.
32449         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
32450         removed.
32452 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
32454         * malloc/malloc.c (mi_arena): New function.
32455         (malloc_info): Remove nested function mi_arena. Call non-nosted
32456         function mi_arena.
32458 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32460         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
32461         by insrwi.
32462         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32463         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32464         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
32465         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
32466         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
32467         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
32468         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
32470 2014-05-26  Andreas Schwab  <schwab@suse.de>
32472         [BZ #16984]
32473         * locale/programs/repertoire.c (repertoire_read): Add slash
32474         between I18NPATH element and file name.
32475         * locale/programs/locfile.c (locfile_read): Likewise.
32477 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32479         * nptl/pthread_mutexattr_settype.c
32480         (__pthread_mutexattr_settype):
32481         Disable lock elision for PTHREAD_MUTEX_NORMAL.
32483 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32485         * nptl/tst-mutex5 (do_test):
32486         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
32488 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32490         * benchtests/README: Document 'init' directive.
32491         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
32492         BENCH_INIT.
32493         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
32494         (parse_file): Recognize 'init' directive.
32496 2014-05-26  Kyle McMartin  <kyle@redhat.com>
32498         [BZ #16796]
32499         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
32500         alignment of struct pthread.
32502 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32504         [BZ #16878]
32505         * nscd/netgroupcache.c (addgetnetgrentX): Look for
32506         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32507         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
32508         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32510 2014-05-25  Richard Henderson  <rth@twiddle.net>
32512         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32513         (SINGLE_THREAD_P_PIC): Remove.
32514         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
32515         (SINGLE_THREAD_P_PIC): Remove.
32517         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
32518         branch to syscall error ...
32519         (PSEUDO): ... here.
32520         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
32521         from __local_syscall_error to .Lsyscall_error.
32522         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
32523         (SYSCALL_ERROR): Update label name.
32525         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32526         Do not use DOARGS/UNDOARGS.
32527         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
32528         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
32529         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
32530         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
32531         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
32533         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
32534         block comment.
32536         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
32537         define if !NOT_IN_libc.
32538         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
32539         define with non-default symbol versions.
32541 2014-05-23  Richard Henderson  <rth@twiddle.net>
32543         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
32544         (vfork, __vfork): Define via compat_symbol.
32546         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
32547         [!HAVE_IFUNC] (vfork_compat): Remove.
32548         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
32550 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32552         [BZ #16978]
32553         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
32554         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
32555         variable.
32557 2014-05-23  Richard Henderson  <rth@twiddle.net>
32559         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
32560         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
32561         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
32562         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
32564         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
32565         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
32566         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
32567         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
32568         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
32569         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
32570         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
32571         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
32572         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
32573         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
32574         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
32575         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
32576         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
32577         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
32578         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
32579         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
32580         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
32581         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
32582         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
32583         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
32584         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
32585         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
32586         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
32587         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
32588         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
32589         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
32590         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
32591         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
32592         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
32593         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
32594         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
32595         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
32596         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
32597         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
32598         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
32599         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
32600         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
32601         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
32602         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
32603         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
32604         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
32605         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
32606         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
32607         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
32608         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
32609         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
32610         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
32611         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
32612         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
32613         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
32614         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
32615         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
32616         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
32617         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
32618         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
32619         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
32621         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
32622         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
32623         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
32624         before exiting on error.
32625         (__libc_vfork): New strong alias.
32626         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
32627         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
32629         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
32630         that was previously under [RESET_PID].
32631         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
32633         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
32635 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32637         [BZ #16977]
32638         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
32639         value when x - 1 is zero.
32640         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
32641         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
32642         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
32643         0.0L for an argument of 1.0L.
32644         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
32645         Likewise.
32646         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
32647         value when x - 1 is zero.
32648         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
32649         * sysdeps/i386/fpu/libm-test-ulps: Update.
32650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32652 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32654         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
32655         alphasort and versionsort.
32657 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32659         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
32660         macro.
32661         [copysignf]: Likewise.
32663 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32665         * crypt/md5-crypt.c: Fix formatting.
32667 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32669         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
32670         (b64_from_24bit): New function.
32672 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32674         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
32675         libc_hidden_builtin_def to ifunc.
32676         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32677         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
32679 2014-05-21  Roland McGrath  <roland@hack.frob.com>
32681         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
32682         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
32684 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
32686         * nscd/Depend (linuxthreads): Remove.
32687         (nptl): Add.
32688         * resolv/Depend (linuxthreads): Remove.
32689         * rt/Depend (linuxthreads): Remove.
32691         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
32692         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
32693         $(common-objpfx)elf/.
32694         (link-libc-before-gnulib): Likewise.
32695         (elfobjdir): Remove variable.
32696         * Makefile (install): Use $(elf-objpfx) instead of
32697         $(common-objpfx)elf/.
32698         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
32699         $(elfobjdir)/.
32700         (link-libc-deps): Likewise.
32701         ($(common-objpfx)libc.so): Likewise.
32702         ($(common-objpfx)linkobj/libc.so): Likewise.
32703         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
32704         instead of $(common-objpfx)elf/.
32705         (symbolic-link-list): Likewise.
32706         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32707         [$(cross-compiling) = no]: Likewise.
32708         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
32709         $(elfobjdir)/.
32710         (static-gnulib-arch): Likewise.
32711         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32712         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
32713         $(common-objpfx)elf/.
32715 2014-05-21  Richard Henderson  <rth@redhat.com>
32717         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32718         (SINGLE_THREAD_P): Use the correct width load.  Fold
32719         into the ldr offset.
32721         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
32722         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
32724 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
32726         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
32727         (libgcc_s_resume): Use __attribute_used__.
32728         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
32729         Likewise.
32731 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32733         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
32734         optimization when used with float constants.
32736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32738 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
32740         [BZ #16915]
32741         * locale/nl_langinfo_l.c: Make direct reference to every
32742         _nl_current_CATEGORY symbol.
32743         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
32744         (tests-static): Add tst-langinfo-static.
32745         (tests-special): Add tst-langinfo-static.out.
32746         ($(objpfx)tst-langinfo.out): Redirect output.
32747         ($(objpfx)tst-langinfo-static.out): New.
32748         * localedata/tst-langinfo.sh: Send output to stdout.
32749         * localedata/tst-langinfo-static.c: New file.
32751         [BZ #16965]
32752         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
32753         when the shift amount is modulo the limb size.
32755 2014-05-20  Richard Henderson  <rth@redhat.com>
32757         [BZ #16967]
32758         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
32759         Change type of sa_flags from unsigned int to int.
32761         [BZ #16966]
32762         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
32764         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
32766 2014-05-20  Will Newton  <will.newton@linaro.org>
32768         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32769         Test the return value of the system call in the nocancel case.
32771 2014-05-20  Will Newton  <will.newton@linaro.org>
32772             Yvan Roux  <yvan.roux@linaro.org>
32774         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
32775         #include of asm/ptrace.h.
32776         (PTRACE_GET_THREAD_AREA): Remove #undef.
32777         (PTRACE_GETHBPREGS): Likewise.
32778         (PTRACE_SETHBPREGS): Likewise.
32779         (struct user_regs_struct): New structure.
32780         (struct user_fpsimd_struct): New structure.
32781         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
32782         #include of asm/ptrace.h and second #include of sys/user.h.
32783         (PTRACE_GET_THREAD_AREA): Remove #undef.
32784         (PTRACE_GETHBPREGS): Likewise.
32785         (PTRACE_SETHBPREGS): Likewise.
32786         (ELF_NGREG): Use new struct user_regs_struct.
32787         (elf_fpregset_t): Use new struct user_fpsimd_struct.
32789 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32791         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
32792         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
32794 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
32796         [BZ #16958]
32797         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
32798         membar to avoid block loads/stores to overlap previous stores.
32800 2014-05-17  Richard Henderson  <rth@redhat.com>
32802         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
32803         Create the __##syscall_name##_nocancel entry point.
32804         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
32805         Remove; let the sysdep-cancel.h code create it.
32807 2014-05-17  David S. Miller  <davem@davemloft.net>
32809         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
32810         Protect with __USE_GNU.
32811         (TIOCSET_TEMPT): Likewise.
32812         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32813         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
32814         these are already provided in bits/ioctl-types.h
32816 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32818         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
32819         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
32821         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
32822         Use wait4 regardless of [__NR_waitpid].
32824 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32826         PR libgcc/60166
32827         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32828         (_FP_NANSIGN_Q): Set the quiet bit.
32830 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
32832         * benchtests/Makefile
32833         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
32834         not $(common-objpfx)math/libm.so.
32835         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
32836         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
32837         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
32838         $(common-objpfx)dlfcn/libdl.so.
32839         ($(objpfx)tst-audit8): Depend on $(libm), not
32840         $(common-objpfx)math/libm.so.
32841         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
32842         not $(common-objpfx)dlfcn/libdl.so.
32843         * math/Makefile
32844         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32845         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
32846         [$(build-shared) = yes].
32847         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
32848         $(common-objpfx)nptl/libpthread.so.
32849         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
32850         $(common-objpfx)math/libm.so$(libm.so-version) or
32851         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
32852         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
32853         $(common-objpfx)dlfcn/libdl.so.
32854         * setjmp/Makefile (link-libm): Remove variable.
32855         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
32856         * stdio-common/Makefile (link-libm): Remove variable.
32857         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
32858         * stdlib/Makefile (link-libm): Remove variable.
32859         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
32860         ($(objpfx)tst-strtod-round): Likewise.
32861         ($(objpfx)tst-tininess): Likewise.
32862         ($(objpfx)tst-strtod-underflow): Likewise.
32863         ($(objpfx)tst-strtod6): Likewise.
32864         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
32865         $(libdl), not $(common-objpfx)nptl/libpthread.so and
32866         $(common-objpfx)dlfcn/libdl.so.
32868 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32870         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
32871         BSD terminal modes definitions.
32873 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32875         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
32876         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
32878         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
32879         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
32880         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
32881         Don't do #include_next.
32882         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
32883         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
32884         Don't do #include_next.
32885         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
32886         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
32887         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
32888         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
32890 2014-05-16  Allan McRae  <allan@archlinux.org>
32892         * po/sv.po: Update Swedish translation from translation project.
32894         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
32895         in sed expression.
32897 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
32899         [BZ #16917]
32900         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
32901         errno if the TIOCGPTN ioctl fails with an error different than
32902         EINVAL.
32903         * login/tst-ptsname.c: New file.
32904         * login/Makefile (tests): Add tst-ptsname.
32906         [BZ #16943]
32907         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
32908         and prlimit64.
32910 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32912         [BZ #16849]
32913         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
32914         herrno to return EAI_AGAIN.
32916 2014-05-14  Roland McGrath  <roland@hack.frob.com>
32918         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
32919         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
32920         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
32921         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
32922         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
32923         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
32924         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
32925         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
32926         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
32927         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
32928         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
32929         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
32930         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
32931         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
32932         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
32933         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
32934         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
32935         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
32936         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
32937         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
32938         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
32939         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
32940         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
32941         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
32942         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
32943         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
32944         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
32945         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
32946         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
32947         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
32948         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
32949         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
32950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
32951         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
32952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32953         Moved ...
32954         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
32955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
32956         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
32957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
32958         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
32959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
32960         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
32961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
32962         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
32963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
32964         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
32965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
32966         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
32967         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
32968         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
32969         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
32970         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
32971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
32972         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
32973         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
32974         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
32975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
32976         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
32977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
32978         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
32979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
32980         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
32981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32982         Moved ...
32983         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
32984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
32985         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
32986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
32987         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
32988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
32989         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
32990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
32991         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
32992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
32993         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
32994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
32995         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
32996         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
32997         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
32998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
32999         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
33000         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
33001         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
33002         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33003         Moved ...
33004         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
33005         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
33006         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
33008         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
33009         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
33010         (libpthread-sysdep_routines): Add elision-related stuff here instead.
33011         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
33012         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
33013         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
33014         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
33015         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
33016         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
33017         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
33018         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
33019         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
33020         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
33021         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
33022         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
33023         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
33024         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
33025         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
33026         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
33027         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
33028         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
33029         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
33030         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
33031         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
33032         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
33033         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
33034         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
33035         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
33036         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
33037         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
33038         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
33040         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
33041         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
33043         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
33044         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
33045         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
33046         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
33047         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
33048         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
33049         Moved ...
33050         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
33051         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
33052         Moved ...
33053         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
33054         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
33055         Moved ...
33056         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
33057         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
33058         Moved ...
33059         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
33060         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
33061         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
33062         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
33063         Moved ...
33064         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
33065         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
33066         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
33067         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
33068         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
33069         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
33070         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
33071         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
33072         Moved ...
33073         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
33074         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33075         Moved ...
33076         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33077         ... here.
33078         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
33079         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
33080         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
33081         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
33082         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33083         Moved ...
33084         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33085         ... here.
33086         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
33087         Moved ...
33088         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
33089         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
33090         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
33091         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
33092         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
33093         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
33094         Moved ...
33095         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
33096         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
33097         Moved ...
33098         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
33099         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
33100         Moved ...
33101         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
33102         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
33103         Moved ...
33104         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
33105         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
33106         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
33107         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
33108         Moved ...
33109         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
33110         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
33111         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
33112         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
33113         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
33114         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
33115         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
33116         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
33117         Moved ...
33118         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
33119         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33120         Moved ...
33121         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33122         ... here.
33123         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
33124         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
33125         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
33126         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
33127         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33128         Moved ...
33129         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33130         ... here.
33131         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
33132         Moved ...
33133         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
33134         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
33135         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
33136         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
33137         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
33138         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
33139         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
33140         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
33141         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
33142         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
33143         Moved ...
33144         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
33145         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
33146         Moved ...
33147         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
33148         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
33149         Moved ...
33150         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
33151         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
33152         Moved ...
33153         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
33154         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
33155         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
33156         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
33157         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
33158         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
33159         Moved ...
33160         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
33161         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
33162         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
33163         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
33164         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
33165         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
33166         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
33167         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
33168         Moved ...
33169         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
33170         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33171         Moved ...
33172         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33173         ... here.
33174         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
33175         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
33176         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
33177         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33178         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33179         Moved ...
33180         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33181         ... here.
33182         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33183         Moved ...
33184         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33185         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33186         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33187         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33188         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33189         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33190         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33191         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33192         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33193         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33194         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33196         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33197         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33199         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33200         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33202         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33203         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33204         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33205         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33206         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33207         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33208         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33209         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33210         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33211         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33212         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33213         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
33214         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
33215         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
33216         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
33217         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
33218         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
33219         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
33220         Moved ...
33221         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
33222         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
33223         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
33224         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
33225         Moved ...
33226         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
33227         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
33228         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33229         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
33230         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
33231         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
33232         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
33233         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
33234         Moved ...
33235         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
33236         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
33237         Moved ...
33238         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
33239         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
33240         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
33241         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
33242         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
33243         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
33244         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
33245         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
33246         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
33247         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
33248         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
33249         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
33250         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
33251         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
33252         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
33253         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
33254         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
33256         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
33257         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
33258         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
33259         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
33260         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
33262         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
33263         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
33264         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
33265         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
33266         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
33267         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
33268         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
33269         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
33270         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
33271         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
33273         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
33274         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
33276         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
33277         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
33278         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
33279         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
33280         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
33281         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
33282         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
33283         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
33284         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
33285         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
33286         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
33287         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
33288         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
33289         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
33290         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33291         Update #include.
33292         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33293         Likewise.
33294         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33295         Likewise.
33296         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33297         Likewise.
33298         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33299         Likewise.
33300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33301         Likewise.
33302         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33303         Likewise.
33304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33305         Likewise.
33306         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33307         Likewise.
33308         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33309         Likewise.
33310         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33311         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33312         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33313         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33314         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33315         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33316         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33317         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33318         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33319         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33320         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33321         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33322         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33323         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
33324         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
33326         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33327         that was previously under [RESET_PID].
33328         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33329         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33330         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33332         * sysdeps/i386/nptl/Implies: New file.
33333         * sysdeps/x86_64/nptl/Implies: New file.
33334         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33335         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33336         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33337         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33339         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33340         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33341         (__libc_vfork): New strong alias.
33342         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33343         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33345         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33346         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33347         (__libc_vfork): New strong alias.
33348         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33349         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33351         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33352         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33353         (__libc_vfork): New strong alias.
33354         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33355         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33356         * nptl/pt-vfork.c: New file.
33357         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33358         (libpthread: GLIBC_2.20): New version set (empty).
33360 2014-05-14  Will Newton  <will.newton@linaro.org>
33362         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33363         rather than #if.
33365 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33367         [BZ #16564]
33368         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33369         arguments with exponent 65 or above.
33370         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
33371         arguments 0x1p113L or above.
33372         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
33373         to arguments 0x1p107L or above.
33374         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
33375         positive arguments with exponent 65 or above.
33376         * math/auto-libm-test-in: Add more tests of log1p.
33377         * math/auto-libm-test-out: Regenerated.
33379         [BZ #16928]
33380         * math/s_cacos.c (__cacos): Ensure zero real part of result from
33381         non-finite arguments is +0.
33382         * math/s_cacosf.c (__cacosf): Likewise.
33383         * math/s_cacosl.c (__cacosl): Likewise.
33384         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
33385         * sysdeps/i386/fpu/libm-test-ulps: Update.
33386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33388         [BZ #16927]
33389         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
33390         value.
33391         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
33392         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
33393         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
33394         for explicit high bit of mantissa when testing for argument equal
33395         to 1.
33396         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33397         * sysdeps/i386/fpu/libm-test-ulps: Update.
33398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33400         [BZ #16516]
33401         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
33402         (__erf): Scale by 16 instead of 8 in potentially underflowing
33403         case.  Ensure exception if result actually underflows.
33404         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
33405         (__erff): Scale by 16 instead of 8 in potentially underflowing
33406         case.  Ensure exception if result actually underflows.
33407         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
33408         (efx8): Remove variable.
33409         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33410         case.  Ensure exception if result actually underflows.
33411         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
33412         (efx8): Remove variable.
33413         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33414         case.  Ensure exception if result actually underflows.
33415         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
33416         (efx8): Remove variable.
33417         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33418         case.  Ensure exception if result actually underflows.
33419         * math/auto-libm-test-in: Add more tests of erf.
33420         * math/auto-libm-test-out: Regenerated.
33422 2014-05-14  Andreas Schwab  <schwab@suse.de>
33424         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
33425         Remove code conditionalized on USE___THREAD.
33427         * config.h.in (HAVE_PT_CHOWN): Define as 0.
33428         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
33429         not definedness.
33431 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33433         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
33434         Define unconditionally.
33435         (__ASSUME_O_CLOEXEC): Likewise.
33436         (__ASSUME_SOCK_CLOEXEC): Likewise.
33437         (__ASSUME_IN_NONBLOCK): Likewise.
33438         (__ASSUME_PIPE2): Likewise.
33439         (__ASSUME_EVENTFD2): Likewise.
33440         (__ASSUME_SIGNALFD4): Likewise.
33441         (__ASSUME_DUP3): Likewise.
33442         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33443         (__ASSUME_DUP3): Do not define.
33444         (__ASSUME_EVENTFD2): Likewise.
33445         (__ASSUME_IN_NONBLOCK): Likewise.
33446         (__ASSUME_O_CLOEXEC): Likewise.
33447         (__ASSUME_PIPE2): Likewise.
33448         (__ASSUME_SIGNALFD4): Likewise.
33449         (__ASSUME_SOCK_CLOEXEC): Likewise.
33450         (__ASSUME_UTIMES): Undefine.
33451         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33452         (__ASSUME_UTIMES): Do not define.
33453         (__ASSUME_O_CLOEXEC): Likewise.
33454         (__ASSUME_SOCK_CLOEXEC): Likewise.
33455         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
33456         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
33457         0x020621].
33458         (__ASSUME_PIPE2): Likewise.
33459         (__ASSUME_EVENTFD2): Likewise.
33460         (__ASSUME_SIGNALFD4): Likewise.
33461         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
33462         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
33463         Do not define.
33464         (__ASSUME_EVENTFD2): Likewise.
33465         (__ASSUME_SIGNALFD4): Likewise.
33466         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33467         (__ASSUME_32BITUIDS): Likewise.
33468         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33469         (__ASSUME_IPC64): Likewise.
33470         (__ASSUME_ST_INO_64_BIT): Likewise.
33471         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
33472         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
33473         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33474         (__ASSUME_UTIMES): Do not define.
33475         (__ASSUME_PSELECT): Likewise.
33476         (__ASSUME_PPOLL): Likewise.
33477         (__ASSUME_O_CLOEXEC): Likewise.
33478         (__ASSUME_SOCK_CLOEXEC): Likewise.
33479         (__ASSUME_IN_NONBLOCK): Likewise.
33480         (__ASSUME_PIPE2): Likewise.
33481         (__ASSUME_EVENTFD2): Likewise.
33482         (__ASSUME_SIGNALFD4): Likewise.
33483         (__ASSUME_DUP3): Likewise.
33484         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33485         (__ASSUME_UTIMES): Likewise.
33486         (__ASSUME_O_CLOEXEC): Likewise.
33487         (__ASSUME_SOCK_CLOEXEC): Likewise.
33488         (__ASSUME_IN_NONBLOCK): Likewise.
33489         (__ASSUME_PIPE2): Likewise.
33490         (__ASSUME_EVENTFD2): Likewise.
33491         (__ASSUME_SIGNALFD4): Likewise.
33492         (__ASSUME_DUP3): Likewise.
33493         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33494         (__ASSUME_UTIMES): Likewise.
33495         (__ASSUME_O_CLOEXEC): Likewise.
33496         (__ASSUME_SOCK_CLOEXEC): Likewise.
33497         (__ASSUME_IN_NONBLOCK): Likewise.
33498         (__ASSUME_PIPE2): Likewise.
33499         (__ASSUME_EVENTFD2): Likewise.
33500         (__ASSUME_SIGNALFD4): Likewise.
33501         (__ASSUME_DUP3): Likewise.
33502         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
33503         Likewise.
33504         (__ASSUME_UTIMES): Likewise.
33505         (__ASSUME_EVENTFD2): Likewise.
33506         (__ASSUME_SIGNALFD4): Likewise.
33507         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33508         (__ASSUME_O_CLOEXEC): Likewise.
33509         (__ASSUME_SOCK_CLOEXEC): Likewise.
33510         (__ASSUME_IN_NONBLOCK): Likewise.
33511         (__ASSUME_PIPE2): Likewise.
33512         (__ASSUME_EVENTFD2): Likewise.
33513         (__ASSUME_SIGNALFD4): Likewise.
33514         (__ASSUME_DUP3): Likewise.
33515         (__ASSUME_UTIMES): Undefine.
33517         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
33518         feclearexcept.  Remove symbol versioning code.
33519         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
33520         symbol versioning code.
33521         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
33522         symbol versioning code.
33523         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
33524         feupdateenv.  Remove symbol versioning code.
33525         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
33526         fegetexceptflag.  Remove symbol versioning code.
33527         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
33528         fesetexceptflag.  Remove symbol versioning code.
33529         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
33530         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
33531         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
33532         (__posix_fadvise64_l32): Remove prototype.
33533         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
33534         code.
33536 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33538         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
33539         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
33540         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
33541         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
33543 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
33545         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
33546         current working directory
33548 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33550         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
33551         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
33552         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
33553         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
33554         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
33555         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
33556         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
33557         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
33558         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
33559         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
33560         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
33561         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
33562         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
33563         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
33564         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
33565         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
33566         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
33567         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
33568         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
33569         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
33570         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
33571         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
33572         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
33573         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
33574         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
33575         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
33576         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
33577         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
33578         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
33579         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
33580         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
33581         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
33582         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
33583         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
33584         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
33585         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
33586         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
33587         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
33588         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
33589         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
33590         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
33591         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
33593         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
33594         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
33596         * sysdeps/unix/sysv/linux/arm/Makefile
33597         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33598         Add rt-aeabi_unwind_cpp_pr1.
33599         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
33600         Add nptl-aeabi_unwind_cpp_pr1.
33601         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
33602         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
33603         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
33604         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33605         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
33606         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33608         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
33609         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
33610         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
33611         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
33613         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
33614         Deconditionalize the code that was previously under [RESET_PID].
33615         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
33617         * sysdeps/generic/exit-thread.h: New file.
33618         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
33619         * include/unistd.h (__exit_thread): Remove declaration.
33620         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
33621         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
33622         * csu/libc-start.c: Include <exit-thread.h>.
33623         (LIBC_START_MAIN): Pass no argument to __exit_thread.
33624         * nptl/pthread_create.c: Include <exit-thread.h>.
33625         (start_thread): Call __exit_thread in place of __exit_thread_inline.
33626         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
33627         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
33628         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
33629         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
33630         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
33631         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
33632         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
33633         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
33634         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
33635         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
33636         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
33637         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
33638         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
33639         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
33640         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
33641         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
33643 2014-05-13  Andreas Schwab  <schwab@suse.de>
33645         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
33647 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
33649         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33650         (__ASSUME_UTIMES): Do not condition on kernel version.
33651         (__ASSUME_PSELECT): Define unconditionally.
33652         (__ASSUME_PPOLL): Likewise.
33653         (__ASSUME_ATFCTS): Likewise.
33654         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
33655         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
33656         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
33657         (__ASSUME_UTIMENSAT): Define unconditionally.
33658         (__ASSUME_PRIVATE_FUTEX): Likewise.
33659         (__ASSUME_FALLOCATE): Likewise.
33660         (__ASSUME_O_CLOEXEC): Likewise.
33661         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
33662         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
33663         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
33664         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
33665         (__ASSUME_IN_NONBLOCK): Likewise.
33666         (__ASSUME_PIPE2): Likewise.
33667         (__ASSUME_EVENTFD2): Likewise.
33668         (__ASSUME_SIGNALFD4): Likewise.
33669         (__ASSUME_DUP3): Likewise.
33670         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33671         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
33672         (__ASSUME_AT_RANDOM): Likewise.
33673         (__ASSUME_PREADV): Likewise.
33674         (__ASSUME_PWRITEV): Likewise.
33675         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
33676         (__ASSUME_F_GETOWN_EX): Define unconditionally.
33677         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
33678         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33679         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
33680         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33681         (__ASSUME_O_CLOEXEC): Define unconditionally.
33682         (__ASSUME_PSELECT): Do not undefine conditionally.
33683         (__ASSUME_PPOLL): Likewise.
33684         (__ASSUME_ATFCTS): Likewise.
33685         (__ASSUME_SET_ROBUST_LIST): Likewise.
33686         (__ASSUME_UTIMENSAT): Likewise.
33687         (__ASSUME_FDATASYNC): Define unconditionally.
33688         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33689         (__ASSUME_SIGFRAME_V2): Likewise.
33690         )__ASSUME_EVENTFD2): Likewise.
33691         (__ASSUME_SIGNALFD4): Likewise.
33692         (__ASSUME_PSELECT): Do not undefine conditionally.
33693         (__ASSUME_PPOLL): Likewise.
33694         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33695         (__ASSUME_PSELECT): Define unconditionally.
33696         (__ASSUME_PPOLL): Likewise.
33697         (__ASSUME_O_CLOEXEC): Likewise.
33698         (__ASSUME_SOCK_CLOEXEC): Likewise.
33699         (__ASSUME_IN_NONBLOCK): Likewise.
33700         (__ASSUME_PIPE2): Likewise.
33701         (__ASSUME_EVENTFD2): Likewise.
33702         (__ASSUME_SIGNALFD4): Likewise.
33703         (__ASSUME_DUP3): Likewise.
33704         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33705         (__ASSUME_O_CLOEXEC): Likewise.
33706         (__ASSUME_SOCK_CLOEXEC): Likewise.
33707         (__ASSUME_IN_NONBLOCK): Likewise.
33708         (__ASSUME_PIPE2): Likewise.
33709         (__ASSUME_EVENTFD2): Likewise.
33710         (__ASSUME_SIGNALFD4): Likewise.
33711         (__ASSUME_DUP3): Likewise.
33712         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33713         (__ASSUME_EVENTFD2): Likewise.
33714         (__ASSUME_SIGNALFD4): Likewise.
33715         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33717 2014-05-12  Andreas Schwab  <schwab@suse.de>
33719         [BZ #16932]
33720         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
33721         (_nss_nis_gethostbyname4_r): Return error if item length is larger
33722         than maximum RPC packet size.
33723         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
33724         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
33725         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
33726         (_nss_nis_getservbyport_r): Likewise.
33728 2014-05-12  Will Newton  <will.newton@linaro.org>
33730         * malloc/Makefile (tests): Add tst-mallopt.
33731         * malloc/tst-mallopt.c: New file.
33733 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33735         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
33736         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
33738 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33740         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
33741         (tst-tlsmod6.so): Likewise.
33743 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33745         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
33747 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
33749         [BZ #16064]
33750         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
33751         and <dl-procinfo.h>.
33752         (__fegetenv): Save SSE state in envp->__eip if supported.
33753         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
33754         envp->__eip if supported.
33755         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
33756         and <dl-procinfo.h>.
33757         (__fesetenv): Always set __eip, __cs_selector, __opcode,
33758         __data_offset and __data_selector in environment to 0.  Set SSE
33759         state if supported.
33760         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
33761         test-fenv-sse.
33762         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
33763         -mfpmath=sse.
33764         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
33766 2014-05-09  Will Newton  <will.newton@linaro.org>
33768         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
33769         and libc_relro_required for ARM.
33770         * sysdeps/arm/preconfigure: Regenerate.
33772 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
33773             Stefan Liebler  <stli@linux.vnet.ibm.com>
33775         * config.make.in (enable-lock-elision): New Makefile variable.
33776         * configure.ac: Likewise.
33777         * configure: Regenerate.
33778         * sysdeps/s390/configure.ac:
33779         Add check for gcc transactions support.
33780         * sysdeps/s390/configure: Regenerate.
33781         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
33782         Build elision files if enabled.
33783         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
33784         Add lock elision support for s390.
33785         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
33786         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
33787         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
33788         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
33789         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
33790         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
33791         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33792         Likewise.
33793         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
33794         Likewise.
33795         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
33796         Likewise.
33797         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
33798         Likewise.
33799         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
33800         (__lll_timedlock_elision, __lll_lock_elision)
33801         (__lll_unlock_elision, __lll_trylock_elision)
33802         (lll_timedlock_elision, lll_lock_elision)
33803         (lll_unlock_elision, lll_trylock_elision): Add.
33804         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33805         (pthread_mutex_t): Add lock elision support for s390.
33807 2014-05-14  Wilco  <wdijkstr@arm.com>
33809         * sysdeps/arm/fclrexcpt.c: Cleanup.
33810         * sysdeps/arm/fedisblxcpt.c: Cleanup.
33811         * sysdeps/arm/feenablxcpt.c: Cleanup.
33812         * sysdeps/arm/fegetenv.c: Cleanup.
33813         * sysdeps/arm/fegetexcept.c: Cleanup.
33814         * sysdeps/arm/fegetround.c: Cleanup.
33815         * sysdeps/arm/feholdexcpt.c: Cleanup.
33816         * sysdeps/arm/fesetenv.c: Cleanup.
33817         * sysdeps/arm/fesetround.c: Cleanup.
33818         * sysdeps/arm/feupdateenv.c: Cleanup.
33819         * sysdeps/arm/fgetexcptflg.c: Cleanup.
33820         * sysdeps/arm/fraiseexcpt.c: Cleanup.
33821         * sysdeps/arm/fsetexcptflg.c: Cleanup.
33822         * sysdeps/arm/ftestexcept.c: Cleanup.
33823         * sysdeps/arm/get-rounding-mode.h: Cleanup.
33824         * sysdeps/arm/setfpucw.c: Cleanup.
33826 2014-05-09  Will Newton  <will.newton@linaro.org>
33828         * sysdeps/arm/armv7/strcmp.S: New file.
33829         * NEWS: Mention addition of ARMv7 optimized strcmp.
33831 2014-05-08  Roland McGrath  <roland@hack.frob.com>
33833         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
33834         look for %.ac rather than %.in.
33836         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
33837         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
33838         * sysdeps/mach/hurd/configure: Regenerated.
33839         * sysdeps/unix/sysv/linux/configure: Regenerated.
33841         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
33843 2014-05-07  Steve Ellcey  <sellcey@mips.com>
33845         [BZ# 16922]
33846         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
33847         (LONG_SUB): Ditto.
33848         (PTR_SUB): Ditto.
33850 2014-05-07  Andreas Schwab  <schwab@suse.de>
33852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
33853         when skipping over non-matching result from nscd.
33855 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
33857         [BZ #16876]
33858         * nptl/sockperf.c (client): Check socket return value.
33860         [BZ #16877]
33861         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
33862         nscd security class.
33864 2014-05-06  Roland McGrath  <roland@hack.frob.com>
33866         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
33867         * sysdeps/arm/unwind.h: ... here.
33869 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
33871         [BZ# 16916]
33872         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
33873         Define.
33875 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33877         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
33878         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
33879         multiarch strncpy for PPC64.
33880         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
33881         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
33882         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
33883         multiarch optimizations.
33884         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33885         (__libc_ifunc_impl_list): Likewise.
33886         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
33887         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
33888         multiarch stpncpy for PPC64.
33889         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
33890         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
33892 2014-05-06  Andreas Schwab  <schwab@suse.de>
33894         [BZ #16912]
33895         * gmon/mcount.c (_MCOUNT_DECL): Use
33896         atomic_compare_and_exchange_bool_acq instead of
33897         catomic_compare_and_exchange_bool_acq.
33899 2014-05-05  Roland McGrath  <roland@hack.frob.com>
33901         * elf/Makefile (others, install-bin): Remove pldd.
33902         (pldd-modules): Variable removed.
33903         ($(objpfx)pldd): Target removed.
33904         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
33905         (others, install-bin): Append pldd here.
33906         ($(objpfx)pldd): New target.
33908         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
33909         to 0, so the first #if test emitted later doesn't see it undefined.
33910         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
33911         * sysdeps/gnu/errlist.c: Regenerated.
33913 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33915         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33916         [libc_hidden_builtin_def]: Define to empty value.
33917         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
33918         [libc_hidden_builtin_def]: Likewise.
33919         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
33920         [libc_hidden_builtin_def]: Likewise.
33921         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
33922         [libc_hidden_builtin_def]: Likewise.
33923         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
33924         __redirect_memcpy and define ifunc as default hidden symbol.
33925         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
33926         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
33928 2014-05-04  Adam Conrad  <adconrad@0c3.net>
33930         * locale/iso-4217.def: Reintroduce XDR currency.
33932 2014-05-04  Allan McRae  <allan@archlinux.org>
33934         * po/eo.po: Update Esperanto translation from translation project.
33936 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
33938         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
33939         and FEATURE_INDEX_MAX to 1.
33940         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
33942 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33944         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
33945         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
33946         * iconvdata/big5.c (ONE_DIRECTION): Define.
33947         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
33948         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
33949         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
33950         * iconvdata/cp932.c (ONE_DIRECTION): Define.
33951         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
33952         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
33953         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
33954         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
33955         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
33956         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
33957         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
33958         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
33959         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
33960         * iconvdata/gbk.c (ONE_DIRECTION): Define.
33961         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
33962         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
33963         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
33964         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
33965         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
33966         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
33967         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
33968         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
33969         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
33970         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
33971         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
33972         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
33973         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
33974         * iconvdata/iso646.c (ONE_DIRECTION): Define.
33975         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
33976         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
33977         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
33978         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
33979         * iconvdata/johab.c (ONE_DIRECTION): Define.
33980         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
33981         * iconvdata/sjis.c (ONE_DIRECTION): Define.
33982         * iconvdata/t.61.c (ONE_DIRECTION): Define.
33983         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
33984         * iconvdata/tscii.c (ONE_DIRECTION): Define.
33985         * iconvdata/uhc.c (ONE_DIRECTION): Define.
33986         * iconvdata/unicode.c (ONE_DIRECTION): Define.
33987         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
33988         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
33989         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
33991 2014-05-01  Roland McGrath  <roland@hack.frob.com>
33993         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
33994         (_IO_JUMPS_OFFSET): Define to 0.
33996         * nptl/sysdeps/pthread/bits/libc-lock.h
33997         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
33998         (__libc_lock_define_initialized_recursive): Always define using
33999         initializer.  Modern compilers treat uninitialized (implicit zero) and
34000         explicit zero initializers the same (i.e. put the datum in bss).
34002 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34004         * nscd/nscd-client.h: Include <string.h>.
34006 2014-05-01  David S. Miller  <davem@davemloft.net>
34008         [BZ #16885]
34009         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
34010         multiple zero bytes exist at the end of a string.
34011         Reported by Aurelien Jarno <aurelien@aurel32.net>
34013         * string/test-strcmp.c (check): Add explicit test for situations where
34014         there are multiple zero bytes after the first.
34016 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34018         [BZ #16890]
34019         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
34020         when compiling wprintf.
34021         * stdio-common/tstdiomisc.c (t3): New function.
34022         (main): Call it.
34024 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34026         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
34027         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
34028         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
34029         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
34031 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34033         * stdlib/longlong.h: Updated from GCC.
34035 2014-05-01  Will Newton  <will.newton@linaro.org>
34036             Bernard Ogden  <bernie.ogden@linaro.org>
34038         * NEWS: Update fixed bug list.
34040         [BZ #15119]
34041         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
34043 2014-04-30  David S. Miller  <davem@davemloft.net>
34045         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
34046         (libc_feholdexcept_setround_sparc_ctx): New function.
34047         (libc_fesetenv_sparc_ctx): Likewise.
34048         (libc_feupdateenv_sparc_ctx): Likewise.
34049         (libc_feholdsetround_sparc_ctx): Likewise.
34050         (libc_feholdexcept_setround_ctx): Define.
34051         (libc_feholdexcept_setroundf_ctx): Likewise.
34052         (libc_feholdexcept_setroundl_ctx): Likewise.
34053         (libc_fesetenv_ctx): Likewise.
34054         (libc_fesetenvf_ctx): Likewise.
34055         (libc_fesetenvl_ctx): Likewise.
34056         (libc_feupdateenv_ctx): Likewise.
34057         (libc_feupdateenvf_ctx): Likewise.
34058         (libc_feupdateenvl_ctx): Likewise.
34059         (libc_feresetround_ctx): Likewise.
34060         (libc_feresetroundf_ctx): Likewise.
34061         (libc_feresetroundl_ctx): Likewise.
34062         (libc_feholdsetround_ctx): Likewise.
34063         (libc_feholdsetroundf_ctx): Likewise.
34064         (libc_feholdsetroundl_ctx): Likewise.
34066         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34067         with __USE_GNU instead of XOPEN cpp guards.
34069         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
34070         0.
34072         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34073         with XOPEN cpp guards.
34075 2014-04-30  Julian Brown  <julian@codesourcery.com>
34077         [BZ #16888]
34078         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
34079         handling.
34081 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
34083         [BZ #9894]
34084         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
34085         Change to 2.6.32.
34086         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
34087         * sysdeps/unix/sysv/linux/configure: Regenerated.
34088         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
34089         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
34090         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
34091         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
34092         * README: Update reference to required Linux kernel version.
34093         * manual/install.texi (Linux): Update reference to required Linux
34094         kernel headers version.
34095         * INSTALL: Regenerated.
34097         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
34098         header inclusion.
34099         [POSIX] (limits.h): Likewise.
34100         [POSIX] (math.h): Likewise.
34101         [POSIX] (sys/wait.h): Likewise.
34102         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34103         function.
34104         [POSIX] (stddef.h): Do not allow header inclusion.
34106 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34108         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
34110 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
34112         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
34113         Return immediately after lll_futex_wake.
34115 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34117         [BZ #16791]
34118         * nscd/nscd-client.h (datahead_init_common): Initialize entire
34119         structure.
34120         (datahead_init_pos): Call datahead_init_common early.
34121         (datahead_init_neg): Likewise.
34123         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
34124         datahead_init_neg): New functions.
34125         * nscd/aicache.c (addhstaiX): Use them.
34126         * nscd/grpcache.c (cache_addgr): Likewise.
34127         * nscd/hstcache.c (cache_addhst): Likewise.
34128         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34129         * nscd/netgroupcache.c (do_notfound): Likewise.
34130         (addgetnetgrentX): Likewise.
34131         (addinnetgrX): Likewise.
34132         * nscd/pwdcache.c (cache_addpw): Likewise.
34133         * nscd/servicescache.c (cache_addserv): Likewise.
34135 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34136             Atsushi Onoe  <atsushi@onoe.org>
34138         [BZ #14308]
34139         [BZ #12994]
34140         [BZ #13651]
34141         * resolv/res_query.c (__libc_res_nsearch): Return if at least
34142         one response is valid.
34143         * resolv/res_send.c (send_dg): Check for validity of other
34144         response if the current response is a referral.
34146 2014-04-29  Steve Ellcey  <sellcey@mips.com>
34148         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
34150 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
34152         [BZ #16823]
34153         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
34154         Always divide by positive zero when computing -Inf result.
34155         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34156         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
34158 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34160         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
34161         FPSCR if value do not change.
34162         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34163         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
34164         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34165         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34166         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
34167         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
34168         function.
34170 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
34172         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
34173         * sysdeps/unix/sysv/linux/hppa: Move directory from
34174         ports/systeps/unix/sysv/linux/hppa.
34175         * README: Update listing for hppa-*-linux-gnu.
34177 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
34179         [BZ #16754]
34180         * manual/stdio.texi (Hook functions): Fix types of stream hook
34181         functions.
34182         [BZ #16854]
34183         * socket/sys/socket.h: Fix typo in comment.
34185 2014-04-28  Wilco  <wdijkstr@arm.com>
34187         * sysdeps/arm/fenv_private.h: New file.
34188         * sysdeps/arm/math_private.h: New file.
34189         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34191 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
34193         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34194         with __int128_t.
34195         (La_x86_64_retval): Likewise.
34197 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
34199         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34200         fpsr if value didn't change.
34201         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34202         to fpcr if value didn't change.
34203         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34204         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34205         fpsr or fpcr if value didn't change.
34206         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34207         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34208         fpcr if value didn't change.
34209         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34210         to fpsr if value didn't change.
34212 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34214         * nptl/tst-sem3.c: Use test-skeleton.c
34215         (main): Rename to do_test.  Use return instead of
34216         exit.
34217         * nptl/tst-sem4.c: Use test-skeleton.c
34218         (main): Rename to do_test.
34220 2014-04-22  David S. Miller  <davem@davemloft.net>
34222         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34223         (struct sigaction): New struct member __glibc_reserved0, change
34224         type of sa_flags to int.
34226 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
34228         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
34229         (COUNT_LEADING_ZEROS_0): Define for AArch64.
34231 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34233         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
34234         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
34236 2014-04-22  Will Newton  <will.newton@linaro.org>
34237             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
34239         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
34240         (__longjmp): Add longjmp and longjmp_target SystemTap
34241         probes.
34242         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
34243         (__sigsetjmp): Add setjmp SystemTap probe.
34245 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
34247         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
34248         match manual order.
34250 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34252         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
34254         * sysdeps/powerpc/fpu/fenv_private.h
34255         (libc_feholdexcept_setroundl_ctx): Define to
34256         libc_feholdexcept_setround_ppc_ctx.
34257         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
34258         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
34259         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
34260         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
34262 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34264         * sysdeps/aarch64/math-tests.h: New file.
34266 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
34268         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
34269         New.
34270         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34271         Check and set bit_AVX2_Usable.
34272         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
34273         macro.
34274         (bit_AVX2): Likewise.
34275         (index_AVX2_Usable): Likewise.
34276         (CPUID_AVX2): Likewise.
34277         (HAS_AVX2): Likewise.
34279 2014-04-17  Will Newton  <will.newton@linaro.org>
34281         * manual/setjmp.texi (System V contexts): Add note that
34282         calling setcontext on a context created by a call to a
34283         signal handler is undefined.  Update text to note that
34284         setcontext from a signal handler is possible but not
34285         recommended.
34287         [BZ #16629]
34288         * stdlib/tst-setcontext.c: Include signal.h.
34289         (main): Check that the signal stack before and
34290         after swapcontext is the same.
34292         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34293         Re-implement to restore registers in user code and avoid
34294         rt_sigreturn system call.
34296 2014-04-17  Wilco  <wdijkstr@arm.com>
34298         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34299         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34300         * math/test-fenv.c: Skip exception trap tests on targets which only
34301         support non-stop mode.
34303 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34304             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34306         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34307         (libc_feholdsetround_aarch64_ctx)
34308         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34309         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34310         (libc_feresetround_ctx, libc_feresetroundf_ctx)
34311         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34312         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34313         (libc_feresetround_noexl_ctx): Define.
34315 2014-04-16  Richard Henderson  <rth@redhat.com>
34317         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34319         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34320         unwind tables.
34322         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34323         const from the non-libc, non-ldso copy.
34325         * sysdeps/alpha/libm-test-ulps: Regenerate.
34327 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
34328             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34330         * sysdeps/aarch64/fpu/math_private.h: New file.
34332 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34334         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34336 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
34338         [BZ #16275]
34339         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34340         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34341         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34342         Intel MPX bound registers before _dl_profile_fixup.
34343         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34344         registers after _dl_profile_fixup.  Save and restore bound
34345         registers bnd0/bnd1 when calling _dl_call_pltexit.
34346         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34347         (LR_BND_OFFSET): Likewise.
34348         (LRV_BND0_OFFSET): Likewise.
34349         (LRV_BND1_OFFSET): Likewise.
34351 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34353         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34354         to...
34355         * sysdeps/mach/hurd/i386/tls.h: ... here.
34356         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34357         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34358         fields.
34360 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34362         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34364 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34366         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34368 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34370         [BZ #14770]
34371         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
34372         * sysdeps/s390/configure: Regenerate.
34374         [BZ #16824]
34375         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
34376         Set round-to-nearest internally to reduce error accumulation.
34378 2014-04-16  Alan Modra  <amodra@gmail.com>
34380         [BZ #16740]
34381         [BZ #16619]
34382         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
34383         * math/libm-test.inc (frexp_test_data): Add tests.
34384         * NEWS: Update fixed bug list.
34386 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34388         * benchtests/Makefile: Depend on libraries in build directory.
34389         (bench-math): Separate out math tests.
34390         (bench-pthread): Separate out pthread tests.
34391         (bench): Include math and pthread tests.
34393 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
34395         [BZ #16831]
34396         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
34397         _dl_debug_initialize.
34399         * configure.ac: Remove SELinux header check.
34400         * configure: Regenerate.
34401         * nscd/selinux.c (perms): Array of const char* to permission names.
34402         (nscd_request_avc_has_perm): Call security_deny_unknown to find
34403         default policy. Call string_to_security_class and string_to_av_perm to
34404         translate strings. Enforce default policy and call avs_has_perm with
34405         results of translated strings.
34407 2014-04-13  David S. Miller  <davem@davemloft.net>
34409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34411 2014-04-12  Allan McRae  <allan@archlinux.org>
34413         [BZ #16838]
34414         * manual/string.texi (Collation Functions): Fix qsort argument
34415         order in example.
34416         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34418 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
34420         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
34421         Make the test a no-op if there are no exceptions defined.
34423 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34425         * elf/Makefile (tests): make tst-dlopen-aout conditional on
34426         enable-hardcoded-path-in-tests
34428 2014-04-11  Will Newton  <will.newton@linaro.org>
34430         * benchtests/Makefile (extra-objs): Add json-lib.o.
34431         (bench-func): Tidy up JSON output.
34432         * benchtests/bench-skeleton.c: Include json-lib.h.
34433         (main): Use JSON library functions to do output of
34434         benchmark results.
34435         * benchtests/bench-timing-type.c (main): Output the
34436         timing type simply, leaving formatting to the user.
34437         * benchtests/json-lib.c: New file.
34438         * benchtests/json-lib.h: Likewise.
34440 2014-04-11  Torvald Riegel  <triegel@redhat.com>
34442         [BZ #15215]
34443         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34444         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
34445         memory barriers.  Add comments.
34446         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
34447         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
34448         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
34449         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
34450         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
34451         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
34453 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34455         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
34456         * sysdeps/s390/s390-64/configure.ac: ... this ...
34457         * sysdeps/s390/configure.ac: ... to here.
34458         * sysdeps/s390/s390-32/configure: Delete file.
34459         * sysdeps/s390/s390-64/configure: Delete file.
34460         * sysdeps/s390/configure: Regenerate.
34462 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
34464         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
34466 2014-04-11  Will Newton  <will.newton@linaro.org>
34468         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
34469         to zero if it is not defined elsewhere.  (mtrim): Test
34470         the value of MALLOC_DEBUG with #if rather than #ifdef.
34472 2014-04-10 Torvald Riegel  <triegel@redhat.com>
34474         * benchtests/pthread_once-inputs: New file.
34475         * benchtests/pthread_once-source.c: New file.
34476         * benchtests/README: Update documentation.
34478 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34479             H.J. Lu  <hongjiu.lu@intel.com>
34481         [BZ #16275]
34482         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
34483         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
34484         * sysdeps/x86_64/configure: Regenerated.
34485         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
34486         macro.
34487         (REGISTER_SAVE_RAX): Likewise.
34488         (REGISTER_SAVE_RCX): Likewise.
34489         (REGISTER_SAVE_RDX): Likewise.
34490         (REGISTER_SAVE_RSI): Likewise.
34491         (REGISTER_SAVE_RDI): Likewise.
34492         (REGISTER_SAVE_R8): Likewise.
34493         (REGISTER_SAVE_R9): Likewise.
34494         (REGISTER_SAVE_BND0): Likewise.
34495         (REGISTER_SAVE_BND1): Likewise.
34496         (REGISTER_SAVE_BND2): Likewise.
34497         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
34498         bound registers when calling _dl_fixup.
34500 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34502         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
34503         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
34504         of its definition.
34505         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
34506         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
34507         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
34508         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
34509         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
34510         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
34511         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
34513 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
34515         [BZ #15514]
34516         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
34517         pathconf(_PC_NAME_MAX).
34519 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34521         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
34522         Remove macro usage.
34523         (__PTHREAD_SPINS): Move definition to ...
34524         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34525         (__PTHREAD_SPINS): ... here.
34526         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34527         (__PTHREAD_SPIN): Likewise.
34528         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
34529         (__PTHREAD_SPIN): Likewise.
34530         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
34531         (__PTHREAD_SPIN): Likewise.
34532         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
34533         (__PTHREAD_SPIN): Likewise.
34534         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34535         (__PTHREAD_SPIN): Likewise.
34536         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34537         (__PTHREAD_SPIN): Likewise.
34538         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
34539         (__PTHREAD_SPIN): Likewise.
34540         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34541         (__PTHREAD_SPIN): Likewise.
34542         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34543         (__PTHREAD_SPIN): Likewise.
34544         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34545         (__PTHREAD_SPIN): Likewise.
34546         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34547         (__PTHREAD_SPIN): Likewise.
34548         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
34549         (__PTHREAD_SPIN): Likewise.
34551         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
34552         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
34553         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
34554         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
34555         imply folder.
34556         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
34557         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
34558         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
34559         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
34560         correct imply path.
34561         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
34562         strlen symbol for non multi-arch builds.
34563         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
34564         missing hidden_def and weak_alias.
34566 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
34568         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
34570 2014-04-07  Will Newton  <will.newton@linaro.org>
34572         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
34573         and contents.  [!_LIBC] Remove #ifndef and contents.
34574         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
34575         * string/memccpy.c (__memccpy): Use ANSI prototype.
34576         * string/memfrob.c (memfrob): Likewise.
34577         * string/strcoll.c (STRCOLL): Likewise.
34578         * string/strlen.c (strlen): Likewise.
34579         * string/strtok.c (STRTOK): Likewise.
34580         * string/strcat.c: Remove unused #include of memcopy.h.
34581         (strcat): Use ANSI prototype.
34582         * string/strchr.c: Remove unused #include of memcopy.h.
34583         (strchr): Use ANSI prototype.
34584         * string/strcmp.c: Remove unused #include of memcopy.h.
34585         (strcmp): Use ANSI prototype.
34586         * string/strcpy.c: Remove unused #include of memcopy.h.
34587         (strcpy): Use ANSI prototype.
34589 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34591         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
34592         * config.make.in (config-extra-cppflags): Set it from
34593         libc_extra_cppflags.
34594         * configure.ac (libc_extra_cflags): Make it accumulate over
34595         configure fragments.
34596         (libc_extra_cppflags): New flag.
34597         * configure. Regenerate.
34598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34599         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
34600         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
34601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
34603         [BZ #16815]
34604         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
34605         result for FE_DOWNWARD rounding mode.
34606         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
34607         Likewise.
34608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34610 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
34612         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
34613         in function argument name.
34615 2014-04-03  David Svoboda  <svoboda@cert.org>
34617         [BZ #5666]
34618         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
34619         explicitly.
34621 2014-04-03  Roland McGrath  <roland@hack.frob.com>
34623         * elf/dl-unmap-segments.h: New file.
34624         * sysdeps/generic/ldsodefs.h
34625         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
34626         * elf/dl-close.c: Include <dl-unmap-segments.h>.
34627         * elf/dl-fptr.c: Likewise.
34628         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
34629         * sysdeps/aarch64/tlsdesc.c: Likewise.
34630         * sysdeps/arm/tlsdesc.c: Likewise.
34631         * sysdeps/i386/tlsdesc.c: Likewise.
34632         * sysdeps/tile/dl-runtime.c: Likewise.
34633         * sysdeps/x86_64/tlsdesc.c: Likewise.
34634         * elf/dl-load.h: New file.
34635         * elf/dl-load.c: Include it.
34636         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
34637         Macros moved to dl-load.h.
34638         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
34639         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
34640         Use _dl_unmap_segments in place of __munmap.
34641         Break out segment-mapping loop into ...
34642         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
34644 2014-04-03  Will Newton  <will.newton@linaro.org>
34646         * elf/dl-lookup.c (do_lookup_x): Remove comment
34647         referring to nested function and move variable
34648         declarations down to before first use.
34650 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
34652         [BZ #16799]
34653         [BZ #16800]
34654         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
34655         with 0 numerator.
34656         * math/s_catanf.c (__catanf): Likewise.
34657         * math/s_catanh.c (__catanh): Likewise.
34658         * math/s_catanhf.c (__catanhf): Likewise.
34659         * math/s_catanhl.c (__catanhl): Likewise.
34660         * math/s_catanl.c (__catanl): Likewise.
34661         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
34662         by positive zero when computing -Inf result.
34663         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
34664         (catanh_test): Likewise.
34665         * sysdeps/i386/fpu/libm-test-ulps: Update.
34666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34668         [BZ #16789]
34669         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
34670         instead of using underflowing value in computing result.
34671         * math/s_clog10.c (__clog10): Likewise.
34672         * math/s_clog10f.c (__clog10f): Likewise.
34673         * math/s_clog10l.c (__clog10l): Likewise.
34674         * math/s_clogf.c (__clogf): Likewise.
34675         * math/s_clogl.c (__clogl): Likewise.
34676         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
34677         (clog10_test): Likewise.
34678         * sysdeps/i386/fpu/libm-test-ulps: Update.
34679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34681 2014-04-02  Alan Modra  <amodra@gmail.com>
34683         [BZ #16739]
34684         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
34685         output when value is near a power of two.  Use int64_t for lx and
34686         remove casts.  Use decimal rather than hex exponent constants.
34687         Don't use long double multiplication when double will suffice.
34688         * math/libm-test.inc (nextafter_test_data): Add tests.
34689         * NEWS: Add 16739 and 16786 to bug list.
34691         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
34693         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
34695 2014-04-01  Will Newton  <will.newton@linaro.org>
34697         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
34698         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
34700 2014-04-01  Florian Weimer  <fweimer@redhat.com>
34702         [BZ #13347]
34703         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
34704         * nptl/tst-setuid2.c: New file.
34705         * nptl/Makefile (xtests): Add tst-setuid2.
34707 2014-04-01  Alan Modra  <amodra@gmail.com>
34709         [BZ #16786]
34710         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
34712 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34714         [BZ #6803]
34715         [BZ #6804]
34716         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
34717         set errno as appropriate.
34718         * math/w_scalbf.c (__scalbf): Likewise.
34719         * math/w_scalbl.c (__scalbl): Likewise.
34720         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
34721         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
34722         * math/libm-test.inc (scalb_test_data): Add errno expectations.
34723         Add more NaN tests.
34725         [BZ #16349]
34726         * math/w_atan2.c: Include <errno.h>.
34727         (__atan2): Set errno for result underflowing to zero.
34728         * math/w_atan2f.c: Include <errno.h>.
34729         (__atan2f): Set errno for result underflowing to zero.
34730         * math/w_atan2l.c: Include <errno.h>.
34731         (__atan2l): Set errno for result underflowing to zero.
34732         * math/auto-libm-test-in: Don't allow missing errno for some atan2
34733         tests.
34734         * math/auto-libm-test-out: Regenerated.
34736 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34738         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34739         Encode instruction correctly in little endian.
34740         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34741         Likewise.
34742         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34743         Likewise.
34744         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34745         Likewise.
34746         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34747         Likewise.
34749 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34751         [BZ #9894]
34752         * sysdeps/unix/sysv/linux/kernel-features.h
34753         [__sparc__ && !__arch64__ && !__sparc_v9__]
34754         (__ASSUME_SET_ROBUST_LIST): Do not define.
34755         [__sparc__ && !__arch64__ && !__sparc_v9__]
34756         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34757         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
34758         Likewise.
34759         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34760         (__ASSUME_FUTEX_LOCK_PI): Undefine.
34761         (__ASSUME_REQUEUE_PI): Likewise.
34762         (__ASSUME_SET_ROBUST_LIST): Likewise.
34763         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34764         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
34765         Undefine.
34766         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34767         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
34768         Likewise.
34769         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
34770         Likewise.
34771         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
34772         Likewise.
34773         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34774         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
34775         Undefine.
34776         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
34777         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
34778         Likewise.
34780         [BZ #16648]
34781         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34782         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
34783         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
34785 2014-03-31  Will Newton  <will.newton@linaro.org>
34787         * benchtests/Makefile (bench): Add ffs and ffsll to list
34788         of tests.
34789         * benchtests/ffs-inputs: New file.
34790         * benchtests/ffsll-inputs: Likewise.
34792 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
34794         [BZ #16770]
34795         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
34796         too large before casting to int.
34797         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
34798         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
34799         * math/libm-test.inc (scalb_test_data): Add more tests.
34801 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34803         * benchtests/Makefile (DETAILED_OPT): New make option.
34804         (bench-func): Run benchmark program with -d if DETAILED_OPT is
34805         set.
34806         * benchtests/bench-skeleton.c: Include stdbool.h.
34807         (main): Store and print timings per input.
34808         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
34809         member to each argument value.
34810         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
34811         (_print_arg_data): Initialize per-input timing to 0.
34813         * benchtests/Makefile (timing-type): New binary.
34814         (bench-clean): Also remove bench-timing-type.
34815         (bench): New target for timing-type.
34816         (bench-func): Print output in JSON format.
34817         * benchtests/bench-skeleton.c (main): Print output in JSON
34818         format.
34819         * benchtests/bench-timing-type.c: New file.
34820         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
34821         (TIMING_PRINT_STATS): Remove.
34822         * benchtests/scripts/bench.py (_print_arg_data): Store variant
34823         name separately.
34825         * benchtests/bench-modf.c: Remove.
34826         * benchtests/modf-inputs: New inputs file.
34828 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
34830         [BZ #16362]
34831         * math/s_clog10.c (M_PI_LOG10E): New macro.
34832         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
34833         imaginary parts are 0.
34834         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
34835         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
34836         imaginary parts are 0.
34837         * math/s_clog10l.c (M_PI_LOG10El): New macro.
34838         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
34839         imaginary parts are 0.
34840         * math/libm-test.inc (clog10_test_data): Update expected results
34841         for when real and imaginary parts are 0.
34843 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
34845         * elf/dl-load.c: Finish conversion of __builtin_expect into
34846         __glibc_{un}likely.
34848 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
34850         [BZ #16348]
34851         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
34852         1+x for argument with exponent below -67.
34853         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
34854         Likewise.
34855         * math/auto-libm-test-in: Add more tests of exp.
34856         * math/auto-libm-test-out: Regenerated.
34858 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34860         [BZ #16759]
34861         * inet/getnetgrent_r.c (get_nonempty_val): New function.
34862         (nscd_getnetgrent): Use it.
34864         [BZ #16760]
34865         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
34866         of stpcpy.
34868 2014-03-27  Andi Kleen  <ak@linux.intel.com>
34870         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
34871         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34872         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34873         (lll_robust_unlock): Remove out of line section. Use cfi
34874         intrinsics.
34875         (LLL_STUB_UNWIND_INFO*): Remove.
34876         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
34877         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34878         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34879         (lll_robust_unlock): Remove out of line section. Use cfi
34880         intrinsics.
34881         (LLL_STUB_UNWIND_INFO*): Remove.
34883 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34885         [BZ #16758]
34886         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
34887         blank values.
34889 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
34891         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
34893 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
34895         [BZ #16198]
34896         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
34897         fnstenv.
34898         * math/test-fenv-preserve.c: New file.
34899         * math/Makefile (tests): Add test-fenv-preserve.
34901 2014-03-26  Will Newton <will.newton@linaro.org>
34903         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
34905 2014-03-25  Roland McGrath  <roland@hack.frob.com>
34907         * scripts/versionlist.awk: Partition the version sets and emit all
34908         GLIBC_* (sorted) before all others (sorted).
34910 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34912         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
34913         GLIBC_2.2.5 version.
34915 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34917         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
34918         calls.
34920         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
34921         previous change.
34923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34925 2014-03-25  Andreas Schwab  <schwab@suse.de>
34927         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
34928         label to be used after in6ailist is initialized.
34930 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34932         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34933         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34935 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34937         [BZ #16357]
34938         [BZ #16599]
34939         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
34940         min_plus_half.
34941         (fp_formats): Update initializers.
34942         (init_fp_formats): Initialize new field.
34943         (output_for_one_input_case): Allow underflow for results up to
34944         min_plus_half.
34945         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
34946         * math/auto-libm-test-in: Don't mark some underflows from asin and
34947         atanh as spurious.
34948         * math/auto-libm-test-out: Regenerated.
34949         * sysdeps/i386/fpu/libm-test-ulps: Update.
34950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34952 2014-03-25  Andreas Schwab  <schwab@suse.de>
34954         * libio/Makefile (tst-ftell-partial-wide-ENV)
34955         (tst-ftell-active-handler-ENV): Define.
34957 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
34959         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
34961 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34963         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
34965 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34967         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
34968         * sysdeps/x86_64/fpu/multiarch/e_exp.c
34969         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
34971 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34973         [BZ #16634]
34974         * elf/dl-load.c (open_verify): Add mode parameter.
34975         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
34976         (open_path): Change from boolean 'secure' to complete flag 'mode'
34977         (_dl_map_object): Adjust.
34978         * elf/Makefile (tests): Add tst-dlopen-aout.
34979         * elf/tst-dlopen-aout.c: New test.
34981 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
34983         [BZ #16714]
34984         * sysdeps/unix/sysv/linux/s390/bits/stat.h
34985         (struct stat): Rename member pad0 to __glibc_reserved0.
34987         [BZ #16712]
34988         * sysdeps/s390/s390-32/bits/wordsize.h
34989         (__WORDSIZE32_SIZE_ULONG): New define.
34990         * sysdeps/s390/s390-64/bits/wordsize.h
34991         (__WORDSIZE32_SIZE_ULONG): Likewise.
34992         * sysdeps/generic/stdint.h (SIZE_MAX):
34993         Define as UL if __WORDSIZE32_SIZE_ULONG.
34995         [BZ #16713]
34996         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34997         (__glibc_reserved0): New variable.
34998         (sa_flags): Change type to int.
35000         * posix/Makefile (before-compile): Use += before-compile instead
35001         of a :=.
35003         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35004         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35006 2014-03-20  Andreas Schwab  <schwab@suse.de>
35008         [BZ #16743]
35009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
35010         non-matching result from nscd.
35012 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35014         * scripts/bench.py: Moved to ...
35015         * benchtests/scripts/bench.py: ... here.
35016         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
35018 2014-03-24  Andreas Schwab  <schwab@suse.de>
35020         [BZ #16002]
35021         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
35022         alloca_account and account alloca use for struct in6ailist.
35024 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35026         [BZ #16284]
35027         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
35028         rounding mode to recompute results that overflow to infinity or
35029         underflow to zero.
35030         * math/auto-libm-test-in: Don't mark tests as expected to fail for
35031         bug 16284.
35032         * math/auto-libm-test-out: Regenerated.
35033         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
35034         (ccosh_test): Likewise.
35035         (csin_test_data): Use plus_oflow.
35036         (csin_test): Use ALL_RM_TEST.
35037         (csinh_test_data): Use plus_oflow.
35038         (csinh_test): Use ALL_RM_TEST.
35039         * sysdeps/i386/fpu/libm-test-ulps: Update.
35040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35042 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
35044         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
35045         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
35046         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
35048         [BZ #16731]
35049         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
35050         when x - 1 is zero.
35051         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
35052         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
35053         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35054         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
35055         argument is 1.
35056         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
35057         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
35058         zero.
35059         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
35060         * sysdeps/i386/fpu/libm-test-ulps: Update.
35061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35063 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35065         * scripts/bench.pl: Remove file.
35066         * scripts/bench.py: New benchmark script.
35067         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
35068         * benchtests/README: Mention python dependency.
35069         * scripts/pylintrc: New file.
35070         * scripts/pylint: New file.
35072         * bits/mathdef.h: Use #ifdef instead of #if.
35073         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
35074         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35075         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
35076         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35077         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
35078         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35080 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35081             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35083         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
35084         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
35085         and strpbrk-ppc64 objects.
35086         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35087         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
35088         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
35089         multiarch strpbrk for POWER7.
35090         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
35091         multiarch strpbrk for PPC64.
35092         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
35093         ifunc selector.
35094         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
35095         strpbrk for POWER7.
35097 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35099         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
35100         (atan_test): Likewise.
35101         (atanh_test_data): Use NO_TEST_INLINE for two tests.
35102         (atanh_test): Use ALL_RM_TEST.
35103         (atan2_test_data): Likewise.
35104         (cabs_test): Likewise.
35105         (cacosh_test): Likewise.
35106         (carg_test): Likewise.
35107         (casin_test): Likewise.
35108         (casinh_test): Likewise.
35109         (cbrt_test): Likewise.
35110         (csqrt_test): Likewise.
35111         (erf_test): Likewise.
35112         (erfc_test): Likewise.
35113         (pow10_test): Likewise.
35114         (exp2_test): Likewise.
35115         (hypot_test): Likewise.
35116         (j0_test): Likewise.
35117         (j1_test): Likewise.
35118         (lgamma_test): Likewise.
35119         (gamma_test): Likewise.
35120         (sincos_test): Likewise.
35121         (tanh_test): Likewise.
35122         (y0_test): Likewise.
35123         (y1_test): Likewise.
35124         * sysdeps/i386/fpu/libm-test-ulps: Update.
35125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35127 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35129         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
35130         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35131         and strcspn-ppc64 objects.
35132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35133         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
35134         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
35135         multiarch strcspn for POWER7.
35136         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
35137         multiarch strcspn for PPC64.
35138         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
35139         ifunc selector.
35140         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
35141         strcspn for POWER7.
35143 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35145         * math/gen-libm-test.pl (generate_testfile): Expect only function
35146         name as argument to AUTO_TESTS_* and pass results for all rounding
35147         modes to parse_args.
35148         (parse_auto_input): Separate inputs of automatic tests from
35149         outputs before storing in %auto_tests.
35150         * math/libm-test.inc (acos_test_data): Update call to
35151         AUTO_TESTS_f_f.
35152         (acos_test): Use ALL_RM_TEST.
35153         (acos_tonearest_test_data): Remove.
35154         (acos_test_tonearest): Likewise.
35155         (acos_towardzero_test_data): Likewise.
35156         (acos_test_towardzero): Likewise.
35157         (acos_downward_test_data): Likewise.
35158         (acos_test_downward): Likewise.
35159         (acos_upward_test_data): Likewise.
35160         (acos_test_upward): Likewise.
35161         (acosh_test_data): Update call to AUTO_TESTS_f_f.
35162         (asin_test_data): Likewise.
35163         (asin_test): Use ALL_RM_TEST.
35164         (asin_tonearest_test_data): Remove.
35165         (asin_test_tonearest): Likewise.
35166         (asin_towardzero_test_data): Likewise.
35167         (asin_test_towardzero): Likewise.
35168         (asin_downward_test_data): Likewise.
35169         (asin_test_downward): Likewise.
35170         (asin_upward_test_data): Likewise.
35171         (asin_test_upward): Likewise.
35172         (asinh_test_data): Update call to AUTO_TESTS_f_f.
35173         (atan_test_data): Likewise.
35174         (atanh_test_data): Likewise.
35175         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
35176         (cabs_test_data): Update call to AUTO_TESTS_c_f.
35177         (carg_test_data): Likewise.
35178         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35179         (ccos_test_data): Update call to AUTO_TESTS_c_c.
35180         (ccosh_test_data): Likewise.
35181         (cexp_test_data): Likewise.
35182         (clog_test_data): Likewise.
35183         (clog10_test_data): Likewise.
35184         (cos_test_data): Update call to AUTO_TESTS_f_f.
35185         (cos_test): Use ALL_RM_TEST.
35186         (cos_tonearest_test_data): Remove.
35187         (cos_test_tonearest): Likewise.
35188         (cos_towardzero_test_data): Likewise.
35189         (cos_test_towardzero): Likewise.
35190         (cos_downward_test_data): Likewise.
35191         (cos_test_downward): Likewise.
35192         (cos_upward_test_data): Likewise.
35193         (cos_test_upward): Likewise.
35194         (cosh_test_data): Update call to AUTO_TESTS_f_f.
35195         (cosh_test): Use ALL_RM_TEST.
35196         (cosh_tonearest_test_data): Remove.
35197         (cosh_test_tonearest): Likewise.
35198         (cosh_towardzero_test_data): Likewise.
35199         (cosh_test_towardzero): Likewise.
35200         (cosh_downward_test_data): Likewise.
35201         (cosh_test_downward): Likewise.
35202         (cosh_upward_test_data): Likewise.
35203         (cosh_test_upward): Likewise.
35204         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35205         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35206         (ctan_test_data): Likewise.
35207         (ctan_test): Use ALL_RM_TEST.
35208         (ctan_tonearest_test_data): Remove.
35209         (ctan_test_tonearest): Likewise.
35210         (ctan_towardzero_test_data): Likewise.
35211         (ctan_test_towardzero): Likewise.
35212         (ctan_downward_test_data): Likewise.
35213         (ctan_test_downward): Likewise.
35214         (ctan_upward_test_data): Likewise.
35215         (ctan_test_upward): Likewise.
35216         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
35217         (ctanh_test): Use ALL_RM_TEST.
35218         (ctanh_tonearest_test_data): Remove.
35219         (ctanh_test_tonearest): Likewise.
35220         (ctanh_towardzero_test_data): Likewise.
35221         (ctanh_test_towardzero): Likewise.
35222         (ctanh_downward_test_data): Likewise.
35223         (ctanh_test_downward): Likewise.
35224         (ctanh_upward_test_data): Likewise.
35225         (ctanh_test_upward): Likewise.
35226         (erf_test_data): Update call to AUTO_TESTS_f_f.
35227         (erfc_test_data): Likewise.
35228         (exp_test_data): Likewise.
35229         (exp_test): Use ALL_RM_TEST.
35230         (exp_tonearest_test_data): Remove.
35231         (exp_test_tonearest): Likewise.
35232         (exp_towardzero_test_data): Likewise.
35233         (exp_test_towardzero): Likewise.
35234         (exp_downward_test_data): Likewise.
35235         (exp_test_downward): Likewise.
35236         (exp_upward_test_data): Likewise.
35237         (exp_test_upward): Likewise.
35238         (exp10_test_data): Update call to AUTO_TESTS_f_f.
35239         (exp10_test): Use ALL_RM_TEST.
35240         (exp10_tonearest_test_data): Remove.
35241         (exp10_test_tonearest): Likewise.
35242         (exp10_towardzero_test_data): Likewise.
35243         (exp10_test_towardzero): Likewise.
35244         (exp10_downward_test_data): Likewise.
35245         (exp10_test_downward): Likewise.
35246         (exp10_upward_test_data): Likewise.
35247         (exp10_test_upward): Likewise.
35248         (exp2_test_data): Update call to AUTO_TESTS_f_f.
35249         (expm1_test_data): Likewise.
35250         (expm1_test): Use ALL_RM_TEST.
35251         (expm1_tonearest_test_data): Remove.
35252         (expm1_test_tonearest): Likewise.
35253         (expm1_towardzero_test_data): Likewise.
35254         (expm1_test_towardzero): Likewise.
35255         (expm1_downward_test_data): Likewise.
35256         (expm1_test_downward): Likewise.
35257         (expm1_upward_test_data): Likewise.
35258         (expm1_test_upward): Likewise.
35259         (fma_test_data): Update call to AUTO_TESTS_fff_f.
35260         (fma_test): Use ALL_RM_TEST.
35261         (fma_towardzero_test_data): Remove.
35262         (fma_test_towardzero): Likewise.
35263         (fma_downward_test_data): Likewise.
35264         (fma_test_downward): Likewise.
35265         (fma_upward_test_data): Likewise.
35266         (fma_test_upward): Likewise.
35267         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
35268         (j0_test_data): Update call to AUTO_TESTS_f_f.
35269         (j1_test_data): Likewise.
35270         (jn_test_data): Update call to AUTO_TESTS_if_f.
35271         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
35272         (log_test_data): Update call to AUTO_TESTS_f_f.
35273         (log10_test_data): Likewise.
35274         (log1p_test_data): Likewise.
35275         (log2_test_data): Likewise.
35276         (pow_test_data): Update call to AUTO_TESTS_ff_f.
35277         (pow_tonearest_test_data): Likewise.
35278         (sin_test_data): Update call to AUTO_TESTS_f_f.
35279         (sin_test): Use ALL_RM_TEST.
35280         (sin_tonearest_test_data): Remove.
35281         (sin_test_tonearest): Likewise.
35282         (sin_towardzero_test_data): Likewise.
35283         (sin_test_towardzero): Likewise.
35284         (sin_downward_test_data): Likewise.
35285         (sin_test_downward): Likewise.
35286         (sin_upward_test_data): Likewise.
35287         (sin_test_upward): Likewise.
35288         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
35289         (sinh_test_data): Update call to AUTO_TESTS_f_f.
35290         (sinh_test): Use ALL_RM_TEST.
35291         (sinh_tonearest_test_data): Remove.
35292         (sinh_test_tonearest): Likewise.
35293         (sinh_towardzero_test_data): Likewise.
35294         (sinh_test_towardzero): Likewise.
35295         (sinh_downward_test_data): Likewise.
35296         (sinh_test_downward): Likewise.
35297         (sinh_upward_test_data): Likewise.
35298         (sinh_test_upward): Likewise.
35299         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35300         (sqrt_test): Use ALL_RM_TEST.
35301         (sqrt_tonearest_test_data): Remove.
35302         (sqrt_test_tonearest): Likewise.
35303         (sqrt_towardzero_test_data): Likewise.
35304         (sqrt_test_towardzero): Likewise.
35305         (sqrt_downward_test_data): Likewise.
35306         (sqrt_test_downward): Likewise.
35307         (sqrt_upward_test_data): Likewise.
35308         (sqrt_test_upward): Likewise.
35309         (tan_test_data): Update call to AUTO_TESTS_f_f.
35310         (tan_test): Use ALL_RM_TEST.
35311         (tan_tonearest_test_data): Remove.
35312         (tan_test_tonearest): Likewise.
35313         (tan_towardzero_test_data): Likewise.
35314         (tan_test_towardzero): Likewise.
35315         (tan_downward_test_data): Likewise.
35316         (tan_test_downward): Likewise.
35317         (tan_upward_test_data): Likewise.
35318         (tan_test_upward): Likewise.
35319         (tanh_test_data): Update call to AUTO_TESTS_f_f.
35320         (tgamma_test_data): Likewise.
35321         (y0_test_data): Likewise.
35322         (y1_test_data): Likewise.
35323         (yn_test_data): Update call to AUTO_TESTS_if_f.
35324         (main): Do not call removed functions.
35326 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35328         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35329         (ldexp_test_data): Remove.
35330         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
35331         scalbn_test_data.
35332         (scalb_test): Use ALL_RM_TEST.
35334 2014-03-19  Andreas Schwab  <schwab@suse.de>
35336         * nscd/nscd.service: Also invalidate netgroup cache on reload.
35338 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35340         [BZ #16649]
35341         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35342         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35343         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35344         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35345         (__ASSUME_PREADV): Undefine.
35346         (__ASSUME_PWRITEV): Likewise.
35348 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35350         * bits/mman-linux.h: Add comment about non-Linux use.
35351         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35352         bits/mman-linux.h resting place.
35354         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35355         * bits/mman-linux.h: ... here.
35357 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35359         * conform/conformtest.pl: Add standard definition when calling C
35360         preprocessor on data files.
35361         (checknamespace): Remove unused variable.
35363 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35365         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35366         minus_oflow, plus_uflow and minus_uflow in expected results.
35367         * math/libm-test.inc (scalbn_test_data): Add more tests of
35368         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
35369         minus_uflow.
35370         (scalbn_test): Use ALL_RM_TEST.
35371         (scalbln_test_data): Add more tests of negative arguments.  Use
35372         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
35373         (scalbln_test): Use ALL_RM_TEST.
35375 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35377         * scripts/abilist.awk: Ignore symbols marked with .hidden.
35379 2014-03-18  Will Newton  <will.newton@linaro.org>
35381         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35382         inaccurate comment.
35384 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35386         * Makerules [!subdir] (check-abi): Exit with error status if a
35387         test failed.
35389 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35391         * math/libm-test.inc (nearbyint_test_data): Include all tests used
35392         for rint.  Include results for all rounding modes.
35393         (nearbyint_test): Use ALL_RM_TEST.
35394         (rint_test_data): Include all tests used for nearbyint.
35396 2014-03-17  Will Newton  <will.newton@linaro.org>
35398         * nptl/sysdeps/pthread/pthread.h: Revert previous
35399         change.
35401         * sysdeps/generic/ldsodefs.h: Revert previous
35402         change.
35404         * libio/genops.c: Revert previous change.
35405         * libio/libioP.h: Likewise.
35406         * stdio-common/vfprintf.c: Likewise.
35408         * sysdeps/generic/math_private.h: Revert previous
35409         change.
35411         * sysdeps/generic/math_private.h: Check whether
35412         HAVE_RM_CTX is defined with #ifdef rather
35413         than #if.
35415         * argp/argp-fmtstream.h: Check whether
35416         __STRICT_ANSI__ is defined with #ifdef rather
35417         than #if.
35418         * argp/argp.h: Likewise.
35420         * libio/genops.c: Check whether
35421         _IO_JUMPS_OFFSET is defined with #ifdef rather
35422         than #if.
35423         * libio/libioP.h: Likewise.
35424         * stdio-common/vfprintf.c: Likewise.
35426         * sysdeps/generic/ldsodefs.h: Check whether
35427         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
35428         than #if.
35430         * nptl/sysdeps/pthread/pthread.h: Check
35431         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
35432         its value.
35434 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35436         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
35437         setting O_APPEND.
35438         * libio/tst-ftell-active-handler.c (do_append_test): Add a
35439         test case.
35441         [BZ #16680]
35442         * libio/fileops.c (_IO_file_open): Seek to end of file but
35443         don't cache the offset.
35444         (get_file_offset): Remove function.
35445         (do_ftell): Use cached offset when available.
35446         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
35447         don't cache the offset.
35448         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
35449         case.
35450         (do_one_test): Call it.
35451         (do_ftell_test): Fix up expected old offset for a+ mode.
35452         * libio/wfileops.c (do_ftell_wide): Used cached offset when
35453         available.
35455         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
35456         up test status with function return status.
35457         (do_write_test): Likewise.
35458         (do_append_test): Likewise.
35460         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
35461         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
35462         Remove.
35464 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35466         * math/gen-libm-test.pl (parse_args): Handle results specified for
35467         each rounding mode separately.
35468         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
35469         tests and results from lrint_tonearest_test_data,
35470         lrint_towardzero_test_data, lrint_downward_test_data and
35471         lrint_upward_test_data.
35472         (lrint_test): Use ALL_RM_TEST.
35473         (lrint_tonearest_test_data): Remove.
35474         (lrint_test_tonearest): Likewise.
35475         (lrint_towardzero_test_data): Likewise.
35476         (lrint_test_towardzero): Likewise.
35477         (lrint_downward_test_data): Likewise.
35478         (lrint_test_downward): Likewise.
35479         (lrint_upward_test_data): Likewise.
35480         (lrint_test_upward): Likewise.
35481         (llrint_test_data): Merge in per-rounding-mode tests and results
35482         from llrint_tonearest_test_data, llrint_towardzero_test_data,
35483         llrint_downward_test_data and llrint_upward_test_data.
35484         (llrint_test): Use ALL_RM_TEST.
35485         (llrint_tonearest_test_data): Remove.
35486         (llrint_test_tonearest): Likewise.
35487         (llrint_towardzero_test_data): Likewise.
35488         (llrint_test_towardzero): Likewise.
35489         (llrint_downward_test_data): Likewise.
35490         (llrint_test_downward): Likewise.
35491         (llrint_upward_test_data): Likewise.
35492         (llrint_test_upward): Likewise.
35493         (rint_test_data): Merge in per-rounding-mode tests and results
35494         from rint_tonearest_test_data, rint_towardzero_test_data,
35495         rint_downward_test_data and rint_upward_test_data.  Add
35496         per-rounding-mode results for tests not in those arrays.
35497         (rint_test): Use ALL_RM_TEST.
35498         (rint_tonearest_test_data): Remove.
35499         (rint_test_tonearest): Likewise.
35500         (rint_towardzero_test_data): Likewise.
35501         (rint_test_towardzero): Likewise.
35502         (rint_downward_test_data): Likewise.
35503         (rint_test_downward): Likewise.
35504         (rint_upward_test_data): Likewise.
35505         (rint_test_upward): Likewise.
35506         (main): Don't call removed functions.
35508 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35510         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
35511         "Compiled on ..." crapola.  It is anti-useful.
35513 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
35515         * scripts/evaluate-test.sh: Handle fourth argument to determine
35516         whether test run should stop on failure.
35517         * Makeconfig (stop-on-test-failure): New variable.
35518         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
35519         $(stop-on-test-failure).
35520         * Makefile (tests): Give a summary of results from testing and
35521         exit with failure status if they include an ERROR or FAIL.
35522         (xtests): Likewise.
35523         * manual/install.texi (Configuring and compiling): Mention
35524         stop-on-test-failure=y.
35525         * INSTALL: Regenerated.
35527 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35529         * scripts/versionlist.awk: New file.
35530         * Makerules [$(build-shared) = yes]
35531         (postclean-generated): Add Versions.def, not Versions.def.v and
35532         Versions.def.v.i.
35533         ($(common-objpfx)Versions.def.v.i): Target removed.
35534         ($(common-objpfx)Versions.def): New target.
35535         ($(common-objpfx)Versions.all): Depend on that rather that
35536         $(common-objpfx)Versions.def.v.
35537         * Versions.def: File removed.
35539         * Makeconfig (+gccwarn): Add -Wundef.
35540         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
35541         a dl-sysdep.h breaking its contract.
35542         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
35543         * include/stackinfo.h: New file.
35544         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
35545         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
35546         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
35547         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
35548         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
35549         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
35550         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35551         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35552         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35553         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35554         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35555         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
35556         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35557         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35558         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35560 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35562         [BZ #16707]
35563         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
35564         implementation.
35565         * math/libm-test.inc (round_test_data): Add more tests.
35567         [BZ #16706]
35568         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
35569         implementation.
35570         * math/libm-test.inc (nearbyint_test_data): Add more tests.
35572         [BZ #16701]
35573         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
35574         implementation.
35575         * math/libm-test.inc (ceil_test_data): Add more tests.
35577         * math/libm-test.inc (trunc_test_data): Add more tests related to
35578         BZ#16414.
35580 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35582         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
35583         with #if rather than #ifdef.
35584         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
35586 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
35588         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
35589         first.  Disable AVX-512 GCC support if assembler doesn't support
35590         it.
35591         * sysdeps/x86_64/configure: Regenerated.
35593 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
35595         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
35596         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
35597         (__old_pthread_attr_setstack): Likewise.
35598         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
35599         [!_STACK_GROWS_DOWN]: Likewise.
35601 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
35603         * config.make.in (have-bash2): Delete.
35604         * configure.ac (libc_cv_have_bash2): Delete.
35605         * configure: Regenerate.
35606         * elf/Makefile (common-ldd-rewrite): Rename to ...
35607         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
35608         (sh-ldd-rewrite): Delete.
35609         (bash-ldd-rewrite): Delete.
35610         (have-bash2): Delete checks.
35611         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
35612         ldd-rewrite.
35614         * config.make.in (have-ksh): Delete.
35615         (KSH): Delete.
35616         * configure.ac (libc_cv_have_ksh): Delete.
35617         * configure: Regenerate.
35619         * elf/Makefile: Delete $(have-ksh) check.
35620         ($(objpfx)sotruss): Change KSH to BASH.
35621         * elf/sotruss.ksh: Rename to ...
35622         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
35623         function style to match POSIX.  Drop ksh vim mode setting.
35625         * manual/time.texi (Specifying the Time Zone with TZ): Change
35626         Tuesday to Thursday.
35628         * debug/tst-longjmp_chk2.c: Update header comment.
35629         (stackoverflow_handler): Add comment.  Call assert on pass value.
35631 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
35633         [BZ #16194]
35634         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
35635         (HAVE_AVX512_ASM_SUPPORT): Likewise.
35636         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
35637         (La_x86_64_vector): Add zmm.
35638         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
35639         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
35640         ($(objpfx)tst-audit10): New target.
35641         ($(objpfx)tst-audit10.out): Likewise.
35642         (tst-audit10-ENV): New.
35643         (AVX512-CFLAGS): Likewise.
35644         (CFLAGS-tst-audit10.c): Likewise.
35645         (CFLAGS-tst-auditmod10a.c): Likewise.
35646         (CFLAGS-tst-auditmod10b.c): Likewise.
35647         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
35648         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
35649         * sysdeps/x86_64/configure: Regenerated.
35650         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
35651         AVX-512 zmm register support.
35652         (_dl_x86_64_save_sse): Likewise.
35653         (_dl_x86_64_restore_sse): Likewise.
35654         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
35655         size vector registers.
35656         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
35657         (ZMM_SIZE): Likewise.
35658         * sysdeps/x86_64/tst-audit10.c: New file.
35659         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
35660         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
35662 2014-03-13  Roland McGrath  <roland@hack.frob.com>
35664         * configure.ac (HAVE_EHDR_START): New check.
35665         * configure: Regenerated.
35666         * config.h.in (HAVE_EHDR_START): New #undef.
35667         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
35668         assuming the lowest-addressed segment maps the start of the file.
35670 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
35672         * INSTALL: Regenerated.
35674 2014-03-13  Will Newton  <will.newton@linaro.org>
35676         * manual/setjmp.texi (System V contexts): Improve
35677         clarity and grammar of documentation.
35679 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
35681         [BZ #16381]
35682         * elf/Makefile (tests): Add tst-pie2.
35683         (tests-pie): Add tst-pie2.
35684         * elf/tst-pie2.c: New file.
35685         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
35686         for ET_EXEC.
35687         * elf/rtld.c (map_doit): Load executable as lt_executable.
35688         (dl_main): Likewise.
35690 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
35692         [BZ #16642]
35693         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35694         (__ASSUME_PSELECT): Undefine.
35696 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35698         [BZ #16689]
35699         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
35700         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
35701         static build.
35702         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
35703         selector for static builds.
35705 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35707         [BZ #16695]
35708         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
35709         key in the buffer.
35711 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35713         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
35714         IFUNC selector for static builds.
35716 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
35718         * sysdeps/mips/math_private.h [__mips_hard_float]
35719         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
35720         libc_feresetround_mips_ctx.
35721         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
35722         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
35723         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
35725         [BZ #16677]
35726         * math/s_nextafter.c (__nextafter): Do not return value from
35727         overflowing computation.
35728         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35729         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
35730         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35731         Likewise.
35732         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
35733         Likewise.
35734         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35735         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
35737 2014-03-11  Roland McGrath  <roland@hack.frob.com>
35739         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
35740         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
35741         Move sfi_sp use from the load-multiple (that no longer sets sp) to
35742         the new mov targetting sp.
35744 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35746         [BZ #16683]
35747         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
35748         Define it for static builds as well.
35749         (NO_BZERO_IMPL): Likewise.
35751 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35753         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
35754         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
35755         multiarch strspn for PPC64.
35756         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
35757         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
35758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35759         (__libc_ifunc_impl_list): Likewise.
35760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
35761         multiarch optimizations
35762         * string/strspn.c (strspn): Using macro to redefine symbol name.
35764 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35765             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35767         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
35768         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
35769         multiarch strncat for PPC64.
35770         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
35771         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
35772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35773         (__libc_ifunc_impl_list): Likewise.
35774         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
35775         multiarch optimizations
35777 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35779         [BZ #16639]
35780         * nscd/nscd.service: Make service type forking.
35782 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35784         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
35785         sign in non default rounding modes.
35786         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
35788 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
35790         * math/libm-test.inc (ALL_RM_TEST): New macro.
35791         (ceil_test): Use ALL_RM_TEST.
35792         (cimag_test): Likewise.
35793         (conj_test): Likewise.
35794         (copysign_test): Likewise.
35795         (cproj_test): Likewise.
35796         (creal_test): Likewise.
35797         (fabs_test): Likewise.
35798         (floor_test): Likewise.
35799         (fmax_test): Likewise.
35800         (fmin_test): Likewise.
35801         (fmod_test): Likewise.
35802         (fpclassify_test): Likewise.
35803         (frexp_test): Likewise.
35804         (ilogb_test): Likewise.
35805         (isfinite_test): Likewise.
35806         (finite_test): Likewise.
35807         (isgreater_test): Likewise.
35808         (isgreaterequal_test): Likewise.
35809         (isinf_test): Likewise.
35810         (isless_test): Likewise.
35811         (islessequal_test): Likewise.
35812         (islessgreater_test): Likewise.
35813         (isnan_test): Likewise.
35814         (isnormal_test): Likewise.
35815         (issignaling_test): Likewise.
35816         (isunordered_test): Likewise.
35817         (logb_test): Likewise.
35818         (logb_downward_test_data): Remove.
35819         (logb_test_downward): Likewise.
35820         (lround_test): Use ALL_RM_TEST.
35821         (llround_test): Likewise.
35822         (modf_test): Likewise.
35823         (nexttoward_test): Likewise.
35824         (remainder_test): Likewise.
35825         (drem_test): Likewise.
35826         (remainder_tonearest_test_data): Likewise.
35827         (remainder_test_tonearest): Likewise.
35828         (drem_test_tonearest): Likewise.
35829         (remainder_towardzero_test_data): Likewise.
35830         (remainder_test_towardzero): Likewise.
35831         (drem_test_towardzero): Likewise.
35832         (remainder_downward_test_data): Likewise.
35833         (remainder_test_downward): Likewise.
35834         (drem_test_downward): Likewise.
35835         (remainder_upward_test_data): Likewise.
35836         (remainder_test_upward): Likewise.
35837         (drem_test_upward): Likewise.
35838         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
35839         (round_test): Use ALL_RM_TEST.
35840         (signbit_test): Likewise.
35841         (trunc_test): Likewise.
35842         (significand_test): Likewise.
35843         (main): Don't call removed functions.
35845 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35847         [BZ #16674]
35848         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
35849         || __USE_XOPEN2K8].
35850         (ILL_ILLOPN): Likewise.
35851         (ILL_ILLADR): Likewise.
35852         (ILL_ILLTRP): Likewise.
35853         (ILL_PRVOPC): Likewise.
35854         (ILL_PRVREG): Likewise.
35855         (ILL_COPROC): Likewise.
35856         (ILL_BADSTK): Likewise.
35857         (FPE_INTDIV): Likewise.
35858         (FPE_INTOVF): Likewise.
35859         (FPE_FLTDIV): Likewise.
35860         (FPE_FLTOVF): Likewise.
35861         (FPE_FLTUND): Likewise.
35862         (FPE_FLTRES): Likewise.
35863         (FPE_FLTINV): Likewise.
35864         (FPE_FLTSUB): Likewise.
35865         (SEGV_MAPERR): Likewise.
35866         (SEGV_ACCERR): Likewise.
35867         (BUS_ADRALN): Likewise.
35868         (BUS_ADRERR): Likewise.
35869         (BUS_OBJERR): Likewise.
35870         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35871         (TRAP_TRACE): Likewise.
35872         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35873         __USE_XOPEN2K8].
35874         (CLD_KILLED): Likewise.
35875         (CLD_DUMPED): Likewise.
35876         (CLD_TRAPPED): Likewise.
35877         (CLD_STOPPED): Likewise.
35878         (CLD_CONTINUED): Likewise.
35879         (POLL_IN): Likewise.
35880         (POLL_OUT): Likewise.
35881         (POLL_MSG): Likewise.
35882         (POLL_ERR): Likewise.
35883         (POLL_PRI): Likewise.
35884         (POLL_HUP): Likewise.
35885         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
35886         Likewise.
35887         (ILL_ILLOPN): Likewise.
35888         (ILL_ILLADR): Likewise.
35889         (ILL_ILLTRP): Likewise.
35890         (ILL_PRVOPC): Likewise.
35891         (ILL_PRVREG): Likewise.
35892         (ILL_COPROC): Likewise.
35893         (ILL_BADSTK): Likewise.
35894         (FPE_INTDIV): Likewise.
35895         (FPE_INTOVF): Likewise.
35896         (FPE_FLTDIV): Likewise.
35897         (FPE_FLTOVF): Likewise.
35898         (FPE_FLTUND): Likewise.
35899         (FPE_FLTRES): Likewise.
35900         (FPE_FLTINV): Likewise.
35901         (FPE_FLTSUB): Likewise.
35902         (SEGV_MAPERR): Likewise.
35903         (SEGV_ACCERR): Likewise.
35904         (BUS_ADRALN): Likewise.
35905         (BUS_ADRERR): Likewise.
35906         (BUS_OBJERR): Likewise.
35907         (BUS_MCEERR_AR): Likewise.
35908         (BUS_MCEERR_AO): Likewise.
35909         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35910         (TRAP_TRACE): Likewise.
35911         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35912         __USE_XOPEN2K8].
35913         (CLD_KILLED): Likewise.
35914         (CLD_DUMPED): Likewise.
35915         (CLD_TRAPPED): Likewise.
35916         (CLD_STOPPED): Likewise.
35917         (CLD_CONTINUED): Likewise.
35918         (POLL_IN): Likewise.
35919         (POLL_OUT): Likewise.
35920         (POLL_MSG): Likewise.
35921         (POLL_ERR): Likewise.
35922         (POLL_PRI): Likewise.
35923         (POLL_HUP): Likewise.
35924         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
35925         (ILL_ILLOPN): Likewise.
35926         (ILL_ILLADR): Likewise.
35927         (ILL_ILLTRP): Likewise.
35928         (ILL_PRVOPC): Likewise.
35929         (ILL_PRVREG): Likewise.
35930         (ILL_COPROC): Likewise.
35931         (ILL_BADSTK): Likewise.
35932         (FPE_INTDIV): Likewise.
35933         (FPE_INTOVF): Likewise.
35934         (FPE_FLTDIV): Likewise.
35935         (FPE_FLTOVF): Likewise.
35936         (FPE_FLTUND): Likewise.
35937         (FPE_FLTRES): Likewise.
35938         (FPE_FLTINV): Likewise.
35939         (FPE_FLTSUB): Likewise.
35940         (SEGV_MAPERR): Likewise.
35941         (SEGV_ACCERR): Likewise.
35942         (BUS_ADRALN): Likewise.
35943         (BUS_ADRERR): Likewise.
35944         (BUS_OBJERR): Likewise.
35945         (BUS_MCEERR_AR): Likewise.
35946         (BUS_MCEERR_AO): Likewise.
35947         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35948         (TRAP_TRACE): Likewise.
35949         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35950         __USE_XOPEN2K8].
35951         (CLD_KILLED): Likewise.
35952         (CLD_DUMPED): Likewise.
35953         (CLD_TRAPPED): Likewise.
35954         (CLD_STOPPED): Likewise.
35955         (CLD_CONTINUED): Likewise.
35956         (POLL_IN): Likewise.
35957         (POLL_OUT): Likewise.
35958         (POLL_MSG): Likewise.
35959         (POLL_ERR): Likewise.
35960         (POLL_PRI): Likewise.
35961         (POLL_HUP): Likewise.
35962         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
35963         Likewise.
35964         (ILL_ILLOPN): Likewise.
35965         (ILL_ILLADR): Likewise.
35966         (ILL_ILLTRP): Likewise.
35967         (ILL_PRVOPC): Likewise.
35968         (ILL_PRVREG): Likewise.
35969         (ILL_COPROC): Likewise.
35970         (ILL_BADSTK): Likewise.
35971         (ILL_BADIADDR): Likewise.
35972         (ILL_BREAK): Likewise.
35973         (FPE_INTDIV): Likewise.
35974         (FPE_INTOVF): Likewise.
35975         (FPE_FLTDIV): Likewise.
35976         (FPE_FLTOVF): Likewise.
35977         (FPE_FLTUND): Likewise.
35978         (FPE_FLTRES): Likewise.
35979         (FPE_FLTINV): Likewise.
35980         (FPE_FLTSUB): Likewise.
35981         (FPE_DECOVF): Likewise.
35982         (FPE_DECDIV): Likewise.
35983         (FPE_DECERR): Likewise.
35984         (FPE_INVASC): Likewise.
35985         (FPE_INVDEC): Likewise.
35986         (SEGV_MAPERR): Likewise.
35987         (SEGV_ACCERR): Likewise.
35988         (SEGV_PSTKOVF): Likewise.
35989         (BUS_ADRALN): Likewise.
35990         (BUS_ADRERR): Likewise.
35991         (BUS_OBJERR): Likewise.
35992         (BUS_MCEERR_AR): Likewise.
35993         (BUS_MCEERR_AO): Likewise.
35994         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35995         (TRAP_TRACE): Likewise.
35996         (TRAP_BRANCH): Likewise.
35997         (TRAP_HWBKPT): Likewise.
35998         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35999         __USE_XOPEN2K8].
36000         (CLD_KILLED): Likewise.
36001         (CLD_DUMPED): Likewise.
36002         (CLD_TRAPPED): Likewise.
36003         (CLD_STOPPED): Likewise.
36004         (CLD_CONTINUED): Likewise.
36005         (POLL_IN): Likewise.
36006         (POLL_OUT): Likewise.
36007         (POLL_MSG): Likewise.
36008         (POLL_ERR): Likewise.
36009         (POLL_PRI): Likewise.
36010         (POLL_HUP): Likewise.
36011         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
36012         (ILL_ILLOPN): Likewise.
36013         (ILL_ILLADR): Likewise.
36014         (ILL_ILLTRP): Likewise.
36015         (ILL_PRVOPC): Likewise.
36016         (ILL_PRVREG): Likewise.
36017         (ILL_COPROC): Likewise.
36018         (ILL_BADSTK): Likewise.
36019         (FPE_INTDIV): Likewise.
36020         (FPE_INTOVF): Likewise.
36021         (FPE_FLTDIV): Likewise.
36022         (FPE_FLTOVF): Likewise.
36023         (FPE_FLTUND): Likewise.
36024         (FPE_FLTRES): Likewise.
36025         (FPE_FLTINV): Likewise.
36026         (FPE_FLTSUB): Likewise.
36027         (SEGV_MAPERR): Likewise.
36028         (SEGV_ACCERR): Likewise.
36029         (BUS_ADRALN): Likewise.
36030         (BUS_ADRERR): Likewise.
36031         (BUS_OBJERR): Likewise.
36032         (BUS_MCEERR_AR): Likewise.
36033         (BUS_MCEERR_AO): Likewise.
36034         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36035         (TRAP_TRACE): Likewise.
36036         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36037         __USE_XOPEN2K8].
36038         (CLD_KILLED): Likewise.
36039         (CLD_DUMPED): Likewise.
36040         (CLD_TRAPPED): Likewise.
36041         (CLD_STOPPED): Likewise.
36042         (CLD_CONTINUED): Likewise.
36043         (POLL_IN): Likewise.
36044         (POLL_OUT): Likewise.
36045         (POLL_MSG): Likewise.
36046         (POLL_ERR): Likewise.
36047         (POLL_PRI): Likewise.
36048         (POLL_HUP): Likewise.
36049         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
36050         (ILL_ILLOPN): Likewise.
36051         (ILL_ILLADR): Likewise.
36052         (ILL_ILLTRP): Likewise.
36053         (ILL_PRVOPC): Likewise.
36054         (ILL_PRVREG): Likewise.
36055         (ILL_COPROC): Likewise.
36056         (ILL_BADSTK): Likewise.
36057         (FPE_INTDIV): Likewise.
36058         (FPE_INTOVF): Likewise.
36059         (FPE_FLTDIV): Likewise.
36060         (FPE_FLTOVF): Likewise.
36061         (FPE_FLTUND): Likewise.
36062         (FPE_FLTRES): Likewise.
36063         (FPE_FLTINV): Likewise.
36064         (FPE_FLTSUB): Likewise.
36065         (SEGV_MAPERR): Likewise.
36066         (SEGV_ACCERR): Likewise.
36067         (BUS_ADRALN): Likewise.
36068         (BUS_ADRERR): Likewise.
36069         (BUS_OBJERR): Likewise.
36070         (BUS_MCEERR_AR): Likewise.
36071         (BUS_MCEERR_AO): Likewise.
36072         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36073         (TRAP_TRACE): Likewise.
36074         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36075         __USE_XOPEN2K8].
36076         (CLD_KILLED): Likewise.
36077         (CLD_DUMPED): Likewise.
36078         (CLD_TRAPPED): Likewise.
36079         (CLD_STOPPED): Likewise.
36080         (CLD_CONTINUED): Likewise.
36081         (POLL_IN): Likewise.
36082         (POLL_OUT): Likewise.
36083         (POLL_MSG): Likewise.
36084         (POLL_ERR): Likewise.
36085         (POLL_PRI): Likewise.
36086         (POLL_HUP): Likewise.
36087         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
36088         (ILL_ILLOPN): Likewise.
36089         (ILL_ILLADR): Likewise.
36090         (ILL_ILLTRP): Likewise.
36091         (ILL_PRVOPC): Likewise.
36092         (ILL_PRVREG): Likewise.
36093         (ILL_COPROC): Likewise.
36094         (ILL_BADSTK): Likewise.
36095         (FPE_INTDIV): Likewise.
36096         (FPE_INTOVF): Likewise.
36097         (FPE_FLTDIV): Likewise.
36098         (FPE_FLTOVF): Likewise.
36099         (FPE_FLTUND): Likewise.
36100         (FPE_FLTRES): Likewise.
36101         (FPE_FLTINV): Likewise.
36102         (FPE_FLTSUB): Likewise.
36103         (SEGV_MAPERR): Likewise.
36104         (SEGV_ACCERR): Likewise.
36105         (BUS_ADRALN): Likewise.
36106         (BUS_ADRERR): Likewise.
36107         (BUS_OBJERR): Likewise.
36108         (BUS_MCEERR_AR): Likewise.
36109         (BUS_MCEERR_AO): Likewise.
36110         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36111         (TRAP_TRACE): Likewise.
36112         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36113         __USE_XOPEN2K8].
36114         (CLD_KILLED): Likewise.
36115         (CLD_DUMPED): Likewise.
36116         (CLD_TRAPPED): Likewise.
36117         (CLD_STOPPED): Likewise.
36118         (CLD_CONTINUED): Likewise.
36119         (POLL_IN): Likewise.
36120         (POLL_OUT): Likewise.
36121         (POLL_MSG): Likewise.
36122         (POLL_ERR): Likewise.
36123         (POLL_PRI): Likewise.
36124         (POLL_HUP): Likewise.
36125         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
36126         (ILL_ILLOPN): Likewise.
36127         (ILL_ILLADR): Likewise.
36128         (ILL_ILLTRP): Likewise.
36129         (ILL_PRVOPC): Likewise.
36130         (ILL_PRVREG): Likewise.
36131         (ILL_COPROC): Likewise.
36132         (ILL_BADSTK): Likewise.
36133         (ILL_DBLFLT): Likewise.
36134         (ILL_HARDWALL): Likewise.
36135         (FPE_INTDIV): Likewise.
36136         (FPE_INTOVF): Likewise.
36137         (FPE_FLTDIV): Likewise.
36138         (FPE_FLTOVF): Likewise.
36139         (FPE_FLTUND): Likewise.
36140         (FPE_FLTRES): Likewise.
36141         (FPE_FLTINV): Likewise.
36142         (FPE_FLTSUB): Likewise.
36143         (SEGV_MAPERR): Likewise.
36144         (SEGV_ACCERR): Likewise.
36145         (BUS_ADRALN): Likewise.
36146         (BUS_ADRERR): Likewise.
36147         (BUS_OBJERR): Likewise.
36148         (BUS_MCEERR_AR): Likewise.
36149         (BUS_MCEERR_AO): Likewise.
36150         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36151         (TRAP_TRACE): Likewise.
36152         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36153         __USE_XOPEN2K8].
36154         (CLD_KILLED): Likewise.
36155         (CLD_DUMPED): Likewise.
36156         (CLD_TRAPPED): Likewise.
36157         (CLD_STOPPED): Likewise.
36158         (CLD_CONTINUED): Likewise.
36159         (POLL_IN): Likewise.
36160         (POLL_OUT): Likewise.
36161         (POLL_MSG): Likewise.
36162         (POLL_ERR): Likewise.
36163         (POLL_PRI): Likewise.
36164         (POLL_HUP): Likewise.
36165         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
36166         (ILL_ILLOPN): Likewise.
36167         (ILL_ILLADR): Likewise.
36168         (ILL_ILLTRP): Likewise.
36169         (ILL_PRVOPC): Likewise.
36170         (ILL_PRVREG): Likewise.
36171         (ILL_COPROC): Likewise.
36172         (ILL_BADSTK): Likewise.
36173         (FPE_INTDIV): Likewise.
36174         (FPE_INTOVF): Likewise.
36175         (FPE_FLTDIV): Likewise.
36176         (FPE_FLTOVF): Likewise.
36177         (FPE_FLTUND): Likewise.
36178         (FPE_FLTRES): Likewise.
36179         (FPE_FLTINV): Likewise.
36180         (FPE_FLTSUB): Likewise.
36181         (SEGV_MAPERR): Likewise.
36182         (SEGV_ACCERR): Likewise.
36183         (BUS_ADRALN): Likewise.
36184         (BUS_ADRERR): Likewise.
36185         (BUS_OBJERR): Likewise.
36186         (BUS_MCEERR_AR): Likewise.
36187         (BUS_MCEERR_AO): Likewise.
36188         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36189         (TRAP_TRACE): Likewise.
36190         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36191         __USE_XOPEN2K8].
36192         (CLD_KILLED): Likewise.
36193         (CLD_DUMPED): Likewise.
36194         (CLD_TRAPPED): Likewise.
36195         (CLD_STOPPED): Likewise.
36196         (CLD_CONTINUED): Likewise.
36197         (POLL_IN): Likewise.
36198         (POLL_OUT): Likewise.
36199         (POLL_MSG): Likewise.
36200         (POLL_ERR): Likewise.
36201         (POLL_PRI): Likewise.
36202         (POLL_HUP): Likewise.
36203         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36204         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36206         [BZ #16670]
36207         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36208         before #include of <time.h>.
36209         [!__USE_XOPEN2K] (__need_timespec): Likewise.
36210         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36211         (test-xfail-UNIX98/sched.h/conform): Likewise.
36213 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36215         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
36216         error absence of trapping exception support.
36217         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36219 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36221         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
36222         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
36223         * timezone/Makefile (testdata): Move definition above include of
36224         Rules.
36225         (test-zones): New variable.
36226         (tests-special): Add zone files.
36227         (build-testdata): Use $(evaluate-test).
36229         * elf/Makefile (tests-special): Rename tests to end with .out.
36230         ($(objpfx)noload-mem): Likewise.
36231         ($(objpfx)tst-leaks1-mem): Likewise.
36232         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
36233         * iconv/Makefile (xtests-special): Change test-iconvconfig to
36234         $(objpfx)test-iconvconfig.out.
36235         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
36236         set -e inside subshell and redirect output to file.
36237         * iconvdata/Makefile (generated): Rename tests to end with .out.
36238         Correct type.
36239         (tests-special): Rename tests to end with .out.
36240         ($(objpfx)mtrace-tst-loading): Likewise.
36241         * intl/Makefile (generated): Likewise.
36242         (tests-special): Likewise.
36243         ($(objpfx)mtrace-tst-gettext): Likewise.
36244         * misc/Makefile (generated): Likewise.
36245         (tests-special): Likewise.
36246         ($(objpfx)tst-error1-mem): Likewise.
36247         * nptl/Makefile (tests-special): Likewise.
36248         ($(objpfx)tst-stack3-mem): Likewise.
36249         (generated): Likewise.
36250         * posix/Makefile (generated): Likewise.
36251         (tests-special): Likewise.
36252         (xtests-special): Likewise.
36253         ($(objpfx)tst-fnmatch-mem): Likewise.
36254         ($(objpfx)bug-regex2-mem): Likewise.
36255         ($(objpfx)bug-regex14-mem): Likewise.
36256         ($(objpfx)bug-regex21-mem): Likewise.
36257         ($(objpfx)bug-regex31-mem): Likewise.
36258         ($(objpfx)tst-vfork3-mem): Likewise.
36259         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36260         ($(objpfx)tst-pcre-mem): Likewise.
36261         ($(objpfx)tst-boost-mem): Likewise.
36262         ($(objpfx)bug-ga2-mem): Likewise.
36263         ($(objpfx)bug-glob2-mem): Likewise.
36264         * resolv/Makefile (generate): Likewise.
36265         (tests-special): Likewise.
36266         (xtests-special): Likewise.
36267         (generated): Likewise.
36268         ($(objpfx)mtrace-tst-leaks): Likewise.
36269         ($(objpfx)mtrace-tst-leaks2): Likewise.
36271         * scripts/merge-test-results.sh: New file.
36272         * Makefile (tests-special-notdir): New variable.
36273         (tests): Run merge-test-results.sh.
36274         (xtests): Likewise.
36275         * Rules (tests-special-notdir): New variable.
36276         (xtests-special-notdir): Likewise.
36277         (tests): Run merge-test-results.sh
36278         (xtests): Likewise.
36280         * Makeconfig (test-xfail-name): New variable.
36281         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
36282         compute variable name for expected failures.
36283         * conform/Makefile (conformtest-headers-data): New variable.
36284         (conformtest-standards): Likewise.
36285         (conformtest-headers-ISO): Likewise.
36286         (conformtest-headers-ISO99): Likewise.
36287         (conformtest-headers-ISO11): Likewise.
36288         (conformtest-headers-POSIX): Likewise.
36289         (conformtest-headers-XPG3): Likewise.
36290         (conformtest-headers-XPG4): Likewise.
36291         (conformtest-headers-UNIX98): Likewise.
36292         (conformtest-headers-XOPEN2K): Likewise.
36293         (conformtest-headers-POSIX2008): Likewise.
36294         (conformtest-headers-XOPEN2K8): Likewise.
36295         (conformtest-header-list-base): Likewise.
36296         (conformtest-header-list-tests): Likewise.
36297         (conformtest-header-base): Likewise.
36298         (conformtest-header-tests): Likewise.
36299         (tests-special): Add $(conformtest-header-list-tests).  If
36300         [$(fast-check) && !$(cross-compiling)], add
36301         $(conformtest-header-tests) instead of
36302         $(objpfx)run-conformtest.out.
36303         (generated): Add $(conformtest-header-list-base).  If
36304         [$(fast-check) && !$(cross-compiling)], add
36305         $(conformtest-header-base).  Remove previous setting.
36306         ($(conformtest-header-list-tests)): New target.
36307         (test-xfail-run-conformtest): Remove variable.
36308         ($(objpfx)run-conformtest.out): Remove target.
36309         (test-xfail-ISO11/complex.h/conform): New variable.
36310         (test-xfail-ISO11/stdalign.h/conform): Likewise.
36311         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36312         (test-xfail-XPG3/varargs.h/conform): Likewise.
36313         (test-xfail-XPG4/varargs.h/conform): Likewise.
36314         (test-xfail-UNIX98/varargs.h/conform): Likewise.
36315         (test-xfail-XPG4/ndbm.h/conform): Likewise.
36316         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36317         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36318         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36319         (test-xfail-XPG3/fcntl.h/conform): Likewise.
36320         (test-xfail-XPG3/ftw.h/conform): Likewise.
36321         (test-xfail-XPG3/grp.h/conform): Likewise.
36322         (test-xfail-XPG3/langinfo.h/conform): Likewise.
36323         (test-xfail-XPG3/limits.h/conform): Likewise.
36324         (test-xfail-XPG3/pwd.h/conform): Likewise.
36325         (test-xfail-XPG3/search.h/conform): Likewise.
36326         (test-xfail-XPG3/signal.h/conform): Likewise.
36327         (test-xfail-XPG3/stdio.h/conform): Likewise.
36328         (test-xfail-XPG3/stdlib.h/conform): Likewise.
36329         (test-xfail-XPG3/string.h/conform): Likewise.
36330         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36331         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36332         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36333         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36334         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36335         (test-xfail-XPG3/sys/types.h/conform): Likewise.
36336         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36337         (test-xfail-XPG3/termios.h/conform): Likewise.
36338         (test-xfail-XPG3/time.h/conform): Likewise.
36339         (test-xfail-XPG3/unistd.h/conform): Likewise.
36340         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36341         (test-xfail-XPG4/fcntl.h/conform): Likewise.
36342         (test-xfail-XPG4/langinfo.h/conform): Likewise.
36343         (test-xfail-XPG4/netdb.h/conform): Likewise.
36344         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36345         (test-xfail-XPG4/signal.h/conform): Likewise.
36346         (test-xfail-XPG4/stdio.h/conform): Likewise.
36347         (test-xfail-XPG4/stdlib.h/conform): Likewise.
36348         (test-xfail-XPG4/stropts.h/conform): Likewise.
36349         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36350         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36351         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36352         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36353         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36354         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36355         (test-xfail-XPG4/sys/time.h/conform): Likewise.
36356         (test-xfail-XPG4/sys/types.h/conform): Likewise.
36357         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36358         (test-xfail-XPG4/termios.h/conform): Likewise.
36359         (test-xfail-XPG4/ucontext.h/conform): Likewise.
36360         (test-xfail-XPG4/unistd.h/conform): Likewise.
36361         (test-xfail-XPG4/utmpx.h/conform): Likewise.
36362         (test-xfail-POSIX/sched.h/conform): Likewise.
36363         (test-xfail-POSIX/signal.h/conform): Likewise.
36364         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36365         (test-xfail-POSIX/tar.h/conform): Likewise.
36366         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36367         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36368         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36369         (test-xfail-UNIX98/netdb.h/conform): Likewise.
36370         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
36371         (test-xfail-UNIX98/sched.h/conform): Likewise.
36372         (test-xfail-UNIX98/signal.h/conform): Likewise.
36373         (test-xfail-UNIX98/stdio.h/conform): Likewise.
36374         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
36375         (test-xfail-UNIX98/stropts.h/conform): Likewise.
36376         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
36377         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
36378         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
36379         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
36380         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
36381         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
36382         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36383         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36384         (test-xfail-UNIX98/unistd.h/conform): Likewise.
36385         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
36386         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
36387         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
36388         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
36389         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
36390         (test-xfail-XOPEN2K/math.h/conform): Likewise.
36391         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
36392         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
36393         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
36394         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
36395         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36396         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
36397         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
36398         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
36399         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
36400         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
36401         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
36402         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
36403         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
36404         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36405         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
36406         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
36407         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36408         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
36409         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
36410         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
36411         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
36412         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
36413         (test-xfail-POSIX2008/signal.h/conform): Likewise.
36414         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
36415         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
36416         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36417         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
36418         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
36419         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
36420         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
36421         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
36422         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
36423         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36424         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
36425         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
36426         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
36427         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
36428         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
36429         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
36430         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
36431         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
36432         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
36433         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36434         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
36435         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
36436         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
36437         (conformtest-cc-flags): Likewise.
36438         ($(conformtest-header-tests): New target.
36439         * conform/check-header-lists.sh: New file.
36440         * conform/run-conformtest.sh: Remove.
36442         * conform/conformtest.pl: Allow ' and \ in values given for
36443         constants.
36444         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
36445         inclusion.
36446         [POSIX] (sys/types.h): Likewise.
36447         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
36448         inclusion.
36449         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
36450         inclusion.
36451         * conform/data/signal.h-data (SIGIO): Remove expectation.
36452         [XPG3] (SIGBUS): Do not expect.
36453         [POSIX || XPG3] (SIGPOLL): Likewise.
36454         [POSIX || XPG3] (SIGPROF): Likewise.
36455         [POSIX || XPG3] (SIGSYS): Likewise.
36456         [XPG3] (SIGTRAP): Likewise.
36457         [POSIX || XPG3] (SIGURG): Likewise.
36458         [POSIX || XPG3] (SIGVTALRM): Likewise.
36459         [POSIX || XPG3] (SIGXCPU): Likewise.
36460         [POSIX || XPG3] (SIGXFSZ): Likewise.
36461         [POSIX] (SA_SIGINFO): Expect.
36462         [XPG3] (siginfo_t): Do not expect type or contents.
36463         [POSIX] (si_pid): Do not expect element.
36464         [POSIX] (si_uid): Likewise.
36465         [POSIX] (si_addr): Likewise.
36466         [POSIX] (si_status): Likewise.
36467         [POSIX] (si_band): Likewise.
36468         [XPG4] (si_value): Likewise.
36469         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
36470         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
36471         [POSIX || XPG3] (ILL_ILLADR): Likewise.
36472         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
36473         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
36474         [POSIX || XPG3] (ILL_PRVREG): Likewise.
36475         [POSIX || XPG3] (ILL_COPROC): Likewise.
36476         [POSIX || XPG3] (ILL_BADSTK): Likewise.
36477         [POSIX || XPG3] (FPE_INTDIV): Likewise.
36478         [POSIX || XPG3] (FPE_INTOVF): Likewise.
36479         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
36480         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
36481         [POSIX || XPG3] (FPE_FLTUND): Likewise.
36482         [POSIX || XPG3] (FPE_FLTRES): Likewise.
36483         [POSIX || XPG3] (FPE_FLTINV): Likewise.
36484         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
36485         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
36486         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
36487         [POSIX || XPG3] (BUS_ADRALN): Likewise.
36488         [POSIX || XPG3] (BUS_ADRERR): Likewise.
36489         [POSIX || XPG3] (BUS_OBJERR): Likewise.
36490         [POSIX || XPG3] (CLD_EXITED): Likewise.
36491         [POSIX || XPG3] (CLD_KILLED): Likewise.
36492         [POSIX || XPG3] (CLD_DUMPED): Likewise.
36493         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
36494         [POSIX || XPG3] (CLD_STOPPED): Likewise.
36495         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
36496         [POSIX || XPG3] (POLL_IN): Likewise.
36497         [POSIX || XPG3] (POLL_OUT): Likewise.
36498         [POSIX || XPG3] (POLL_MSG): Likewise.
36499         [POSIX || XPG3] (POLL_ERR): Likewise.
36500         [POSIX || XPG3] (POLL_PRI): Likewise.
36501         [POSIX || XPG3] (POLL_HUP): Likewise.
36502         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
36503         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
36504         (SIG*): Do not allow.
36505         [XPG3] (si_*): Likewise.
36506         [XPG3] (SI_*): Likewise.
36507         [XPG3 || XPG4] (sigev_*): Likewise.
36508         [XPG3 || XPG4] (SIGEV_*): Likewise.
36509         [XPG3 || XPG4] (sival_*): Likewise.
36510         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
36511         [POSIX || XPG3] (BUS_*): Likewise.
36512         [POSIX || XPG3] (CLD_*): Likewise.
36513         [POSIX || XPG3] (FPE_*): Likewise.
36514         [POSIX || XPG3] (ILL_*): Likewise.
36515         [POSIX || XPG3] (POLL_*): Likewise.
36516         [POSIX || XPG3] (SEGV_*): Likewise.
36517         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
36518         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
36519         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
36520         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
36521         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
36522         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
36523         Specify type and value.
36524         (TVERSLEN): Likewise.
36525         (REGTYPE): Likewise.
36526         (AREGTYPE): Likewise.
36527         (LNKTYPE): Likewise.
36528         (SYMTYPE): Likewise.
36529         (CHRTYPE): Likewise.
36530         (BLKTYPE): Likewise.
36531         (DIRTYPE): Likewise.
36532         (FIFOTYPE): Likewise.
36533         (CONTTYPE): Likewise.
36534         (TSUID): Likewise.
36535         (TSGID): Likewise.
36536         (TSVTX): Likewise.
36537         (TUREAD): Likewise.
36538         (TUWRITE): Likewise.
36539         (TUEXEC): Likewise.
36540         (TGREAD): Likewise.
36541         (TGWRITE): Likewise.
36542         (TGEXEC): Likewise.
36543         (TOREAD): Likewise.
36544         (TOWRITE): Likewise.
36545         (TOEXEC): Likewise.
36546         [POSIX] (TSVTX): Expect constant.
36548 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
36550         * Makefile (tests): Change dependencies to ....
36551         (tests-special): ... additions to this variable.
36552         (tests): Depend on $(tests-special).
36553         * Makerules (check-abi-list): New variable.
36554         (check-abi): Depend on $(check-abi-list).
36555         [$(subdir) = elf] (tests-special): Add
36556         $(objpfx)check-abi-libc.out.
36557         [$(build-shared) = yes && subdir] (tests-special): Add
36558         $(check-abi-list).
36559         [$(build-shared) = yes && subdir] (tests): Do not depend on
36560         check-abi.
36561         * Rules (tests): Depend on $(tests-special).
36562         (xtests): Depend on $(xtests-special).
36563         * catgets/Makefile (tests): Change dependencies to ....
36564         (tests-special): ... additions to this variable.
36565         * conform/Makefile (tests): Change dependencies to ....
36566         (tests-special): ... additions to this variable.
36567         * elf/Makefile (tests): Change dependencies to ....
36568         (tests-special): ... additions to this variable.
36569         * grp/Makefile (tests): Change dependencies to ....
36570         (tests-special): ... additions to this variable.
36571         * iconv/Makefile (xtests): Change dependencies to ....
36572         (xtests-special): ... additions to this variable.
36573         * iconvdata/Makefile (tests): Change dependencies to ....
36574         (tests-special): ... additions to this variable.
36575         * intl/Makefile (tests): Change dependencies to ....
36576         (tests-special): ... additions to this variable.  Also add
36577         $(objpfx)tst-gettext.out.
36578         * io/Makefile (tests): Change dependencies to ....
36579         (tests-special): ... additions to this variable.
36580         * libio/Makefile (tests): Change dependencies to ....
36581         (tests-special): ... additions to this variable.
36582         * malloc/Makefile (tests): Change dependencies to ....
36583         (tests-special): ... additions to this variable.
36584         * misc/Makefile (tests): Change dependencies to ....
36585         (tests-special): ... additions to this variable.
36586         * nptl/Makefile (tests): Change dependencies to ....
36587         (tests-special): ... additions to this variable.
36588         * nptl_db/Makefile (tests): Change dependencies to ....
36589         (tests-special): ... additions to this variable.
36590         * posix/Makefile (tests): Change dependencies to ....
36591         (tests-special): ... additions to this variable.
36592         (xtests): Change dependencies to ....
36593         (xtests-special): ... additions to this variable.
36594         * resolv/Makefile (tests): Change dependencies to ....
36595         (tests-special): ... additions to this variable.
36596         (xtests): Change dependencies to ....
36597         (xtests-special): ... additions to this variable.
36598         * stdio-common/Makefile (tests): Change dependencies to ....
36599         (tests-special): ... additions to this variable.
36600         (do-tst-unbputc): Remove target.
36601         (do-tst-printf): Likewise.
36602         * stdlib/Makefile (tests): Change dependencies to ....
36603         (tests-special): ... additions to this variable.
36604         * string/Makefile (tests): Change dependencies to ....
36605         (tests-special): ... additions to this variable.
36606         * sysdeps/x86/Makefile (tests): Change dependencies to ....
36607         (tests-special): ... additions to this variable.
36609         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
36610         whole file.
36611         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
36612         whole file.
36613         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
36614         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
36616         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
36617         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
36618         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
36619         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
36620         * conform/data/libgen.h-data [XPG3]: Likewise.
36621         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
36622         * conform/data/ndbm.h-data [XPG3]: Likewise.
36623         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36624         * conform/data/netdb.h-data [XPG3]: Likewise.
36625         * conform/data/netinet/in.h-data [XPG3]: Likewise.
36626         * conform/data/poll.h-data [XPG3]: Likewise.
36627         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36628         * conform/data/strings.h-data [XPG3]: Likewise.
36629         * conform/data/stropts.h-data [XPG3]: Likewise.
36630         * conform/data/sys/mman.h-data [XPG3]: Likewise.
36631         * conform/data/sys/resource.h-data [XPG3]: Likewise.
36632         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
36633         Likewise.
36634         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
36635         * conform/data/sys/time.h-data [XPG3]: Likewise.
36636         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
36637         * conform/data/sys/uio.h-data [XPG3]: Likewise.
36638         * conform/data/sys/un.h-data [XPG3]: Likewise.
36639         * conform/data/syslog.h-data [XPG3]: Likewise.
36640         * conform/data/ucontext.h-data [XPG3]: Likewise.
36641         * conform/data/utmpx.h-data [XPG3]: Likewise.
36642         * conform/data/varargs.h-data [UNIX98]: Enable file.
36644         * manual/Makefile (INSTALL_INFO): Remove variable setting.
36646         * math/libm-test.inc (struct test_f_f_data): Move expected results
36647         into structure for each rounding mode.
36648         (struct test_ff_f_data): Likewise.
36649         (struct test_ff_f_data_nexttoward): Likewise.
36650         (struct test_fi_f_data): Likewise.
36651         (struct test_fl_f_data): Likewise.
36652         (struct test_if_f_data): Likewise.
36653         (struct test_fff_f_data): Likewise.
36654         (struct test_c_f_data): Likewise.
36655         (struct test_f_f1_data): Likewise.
36656         (struct test_fF_f1_data): Likewise.
36657         (struct test_ffI_f1_data): Likewise.
36658         (struct test_c_c_data): Likewise.
36659         (struct test_cc_c_data): Likewise.
36660         (struct test_f_i_data): Likewise.
36661         (struct test_ff_i_data): Likewise.
36662         (struct test_f_l_data): Likewise.
36663         (struct test_f_L_data): Likewise.
36664         (struct test_fFF_11_data): Likewise.
36665         (RM_): New macro.
36666         (RM_FE_DOWNWARD): Likewise.
36667         (RM_FE_TONEAREST): Likewise.
36668         (RM_FE_TOWARDZERO): Likewise.
36669         (RM_FE_UPWARD): Likewise.
36670         (RUN_TEST_LOOP_f_f): Update references to expected results.
36671         (RUN_TEST_LOOP_2_f): Likewise.
36672         (RUN_TEST_LOOP_fff_f): Likewise.
36673         (RUN_TEST_LOOP_c_f): Likewise.
36674         (RUN_TEST_LOOP_f_f1): Likewise.
36675         (RUN_TEST_LOOP_fF_f1): Likewise.
36676         (RUN_TEST_LOOP_fI_f1): Likewise.
36677         (RUN_TEST_LOOP_ffI_f1): Likewise.
36678         (RUN_TEST_LOOP_c_c): Likewise.
36679         (RUN_TEST_LOOP_cc_c): Likewise.
36680         (RUN_TEST_LOOP_f_i): Likewise.
36681         (RUN_TEST_LOOP_f_i_tg): Likewise.
36682         (RUN_TEST_LOOP_ff_i_tg): Likewise.
36683         (RUN_TEST_LOOP_f_b): Likewise.
36684         (RUN_TEST_LOOP_f_b_tg): Likewise.
36685         (RUN_TEST_LOOP_f_l): Likewise.
36686         (RUN_TEST_LOOP_f_L): Likewise.
36687         (RUN_TEST_LOOP_fFF_11): Likewise.
36688         * math/gen-libm-test.pl (parse_args): Output four copies of
36689         expected results for each test.
36691         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36692         (__ASSUME_UTIMES): Remove.
36693         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36694         (__ASSUME_UTIMES): Likewise.
36696         * math/gen-auto-libm-tests.c: Update comment on output format.
36697         (output_for_one_input_case): Generate before-rounding and
36698         after-rounding information as conditions on output flags not
36699         floating-point format.
36700         * math/auto-libm-test-out: Regenerated.
36701         * math/gen-libm-test.pl (cond_value): New function.
36702         (or_cond_value): Use cond_value.
36703         (generate_testfile): Handle conditional exceptions.
36705 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
36707         * math/libm-test.inc (max_valid_error): New variable.
36708         (init_max_error): Take new argument specifying whether function
36709         results are exactly determined.  Set max_valid_error and bound
36710         other variables for errors based on this argument.
36711         (set_max_error): Do not record results above max_valid_error.
36712         (check_float_internal): Only accept errors of up to 0.5ulps if
36713         also at most max_valid_error.
36714         (START): Take new argument EXACT and pass it to init_max_error.
36715         (acos_test): Update call to START.
36716         (acos_test_tonearest): Likewise.
36717         (acos_test_towardzero): Likewise.
36718         (acos_test_downward): Likewise.
36719         (acos_test_upward): Likewise.
36720         (acosh_test): Likewise.
36721         (asin_test): Likewise.
36722         (asin_test_tonearest): Likewise.
36723         (asin_test_towardzero): Likewise.
36724         (asin_test_downward): Likewise.
36725         (asin_test_upward): Likewise.
36726         (asinh_test): Likewise.
36727         (atan_test): Likewise.
36728         (atanh_test): Likewise.
36729         (atan2_test): Likewise.
36730         (cabs_test): Likewise.
36731         (cacos_test): Likewise.
36732         (cacosh_test): Likewise.
36733         (carg_test): Likewise.
36734         (casin_test): Likewise.
36735         (casinh_test): Likewise.
36736         (catan_test): Likewise.
36737         (catanh_test): Likewise.
36738         (cbrt_test): Likewise.
36739         (ccos_test): Likewise.
36740         (ccosh_test): Likewise.
36741         (ceil_test): Likewise.
36742         (cexp_test): Likewise.
36743         (cimag_test): Likewise.
36744         (clog_test): Likewise.
36745         (clog10_test): Likewise.
36746         (conj_test): Likewise.
36747         (copysign_test): Likewise.
36748         (cos_test): Likewise.
36749         (cos_test_tonearest): Likewise.
36750         (cos_test_towardzero): Likewise.
36751         (cos_test_downward): Likewise.
36752         (cos_test_upward): Likewise.
36753         (cosh_test): Likewise.
36754         (cosh_test_tonearest): Likewise.
36755         (cosh_test_towardzero): Likewise.
36756         (cosh_test_downward): Likewise.
36757         (cosh_test_upward): Likewise.
36758         (cpow_test): Likewise.
36759         (cproj_test): Likewise.
36760         (creal_test): Likewise.
36761         (csin_test): Likewise.
36762         (csinh_test): Likewise.
36763         (csqrt_test): Likewise.
36764         (ctan_test): Likewise.
36765         (ctan_test_tonearest): Likewise.
36766         (ctan_test_towardzero): Likewise.
36767         (ctan_test_downward): Likewise.
36768         (ctan_test_upward): Likewise.
36769         (ctanh_test): Likewise.
36770         (ctanh_test_tonearest): Likewise.
36771         (ctanh_test_towardzero): Likewise.
36772         (ctanh_test_downward): Likewise.
36773         (ctanh_test_upward): Likewise.
36774         (erf_test): Likewise.
36775         (erfc_test): Likewise.
36776         (exp_test): Likewise.
36777         (exp_test_tonearest): Likewise.
36778         (exp_test_towardzero): Likewise.
36779         (exp_test_downward): Likewise.
36780         (exp_test_upward): Likewise.
36781         (exp10_test): Likewise.
36782         (exp10_test_tonearest): Likewise.
36783         (exp10_test_towardzero): Likewise.
36784         (exp10_test_downward): Likewise.
36785         (exp10_test_upward): Likewise.
36786         (pow10_test): Likewise.
36787         (exp2_test): Likewise.
36788         (expm1_test): Likewise.
36789         (expm1_test_tonearest): Likewise.
36790         (expm1_test_towardzero): Likewise.
36791         (expm1_test_downward): Likewise.
36792         (expm1_test_upward): Likewise.
36793         (fabs_test): Likewise.
36794         (fdim_test): Likewise.
36795         (floor_test): Likewise.
36796         (fma_test): Likewise.
36797         (fma_test_towardzero): Likewise.
36798         (fma_test_downward): Likewise.
36799         (fma_test_upward): Likewise.
36800         (fmax_test): Likewise.
36801         (fmin_test): Likewise.
36802         (fmod_test): Likewise.
36803         (fpclassify_test): Likewise.
36804         (frexp_test): Likewise.
36805         (hypot_test): Likewise.
36806         (ilogb_test): Likewise.
36807         (isfinite_test): Likewise.
36808         (finite_test): Likewise.
36809         (isgreater_test): Likewise.
36810         (isgreaterequal_test): Likewise.
36811         (isinf_test): Likewise.
36812         (isless_test): Likewise.
36813         (islessequal_test): Likewise.
36814         (islessgreater_test): Likewise.
36815         (isnan_test): Likewise.
36816         (isnormal_test): Likewise.
36817         (issignaling_test): Likewise.
36818         (isunordered_test): Likewise.
36819         (j0_test): Likewise.
36820         (j1_test): Likewise.
36821         (jn_test): Likewise.
36822         (ldexp_test): Likewise.
36823         (lgamma_test): Likewise.
36824         (gamma_test): Likewise.
36825         (lrint_test): Likewise.
36826         (lrint_test_tonearest): Likewise.
36827         (lrint_test_towardzero): Likewise.
36828         (lrint_test_downward): Likewise.
36829         (lrint_test_upward): Likewise.
36830         (llrint_test): Likewise.
36831         (llrint_test_tonearest): Likewise.
36832         (llrint_test_towardzero): Likewise.
36833         (llrint_test_downward): Likewise.
36834         (llrint_test_upward): Likewise.
36835         (log_test): Likewise.
36836         (log10_test): Likewise.
36837         (log1p_test): Likewise.
36838         (log2_test): Likewise.
36839         (logb_test): Likewise.
36840         (logb_test_downward): Likewise.
36841         (lround_test): Likewise.
36842         (llround_test): Likewise.
36843         (modf_test): Likewise.
36844         (nearbyint_test): Likewise.
36845         (nextafter_test): Likewise.
36846         (nexttoward_test): Likewise.
36847         (pow_test): Likewise.
36848         (pow_test_tonearest): Likewise.
36849         (pow_test_towardzero): Likewise.
36850         (pow_test_downward): Likewise.
36851         (pow_test_upward): Likewise.
36852         (remainder_test): Likewise.
36853         (drem_test): Likewise.
36854         (remainder_test_tonearest): Likewise.
36855         (drem_test_tonearest): Likewise.
36856         (remainder_test_towardzero): Likewise.
36857         (drem_test_towardzero): Likewise.
36858         (remainder_test_downward): Likewise.
36859         (drem_test_downward): Likewise.
36860         (remainder_test_upward): Likewise.
36861         (drem_test_upward): Likewise.
36862         (remquo_test): Likewise.
36863         (rint_test): Likewise.
36864         (rint_test_tonearest): Likewise.
36865         (rint_test_towardzero): Likewise.
36866         (rint_test_downward): Likewise.
36867         (rint_test_upward): Likewise.
36868         (round_test): Likewise.
36869         (scalb_test): Likewise.
36870         (scalbn_test): Likewise.
36871         (scalbln_test): Likewise.
36872         (signbit_test): Likewise.
36873         (sin_test): Likewise.
36874         (sin_test_tonearest): Likewise.
36875         (sin_test_towardzero): Likewise.
36876         (sin_test_downward): Likewise.
36877         (sin_test_upward): Likewise.
36878         (sincos_test): Likewise.
36879         (sinh_test): Likewise.
36880         (sinh_test_tonearest): Likewise.
36881         (sinh_test_towardzero): Likewise.
36882         (sinh_test_downward): Likewise.
36883         (sinh_test_upward): Likewise.
36884         (sqrt_test): Likewise.
36885         (sqrt_test_tonearest): Likewise.
36886         (sqrt_test_towardzero): Likewise.
36887         (sqrt_test_downward): Likewise.
36888         (sqrt_test_upward): Likewise.
36889         (tan_test): Likewise.
36890         (tan_test_tonearest): Likewise.
36891         (tan_test_towardzero): Likewise.
36892         (tan_test_downward): Likewise.
36893         (tan_test_upward): Likewise.
36894         (tanh_test): Likewise.
36895         (tgamma_test): Likewise.
36896         (trunc_test): Likewise.
36897         (y0_test): Likewise.
36898         (y1_test): Likewise.
36899         (yn_test): Likewise.
36900         (significand_test): Likewise.
36902         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
36903         individual tests in comment.
36904         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
36905         (prev_max_error): New variable.
36906         (prev_real_max_error): Likewise.
36907         (prev_imag_max_error): Likewise.
36908         (compare_ulp_data): Don't refer to test names in comment.
36909         (find_test_ulps): Remove function.
36910         (find_function_ulps): Likewise.
36911         (find_complex_function_ulps): Likewise.
36912         (init_max_error): Take function name as argument.  Look up ulps
36913         for that function.
36914         (print_ulps): Remove function.
36915         (print_max_error): Use prev_max_error instead of calling
36916         find_function_ulps.
36917         (print_complex_max_error): Use prev_real_max_error and
36918         prev_imag_max_error instead of calling find_complex_function_ulps.
36919         (check_float_internal): Take max_ulp parameter instead of calling
36920         find_test_ulps.  Don't call print_ulps.
36921         (check_float): Update call to check_float_internal.
36922         (check_complex): Update calls to check_float_internal.
36923         (START): Pass argument to init_max_error.
36924         * math/gen-libm-test.pl (%results): Don't include "kind"
36925         information.
36926         (parse_ulps): Don't handle ulps of individual tests.
36927         (print_ulps_file): Likewise.
36928         (output_ulps): Likewise.
36929         * math/README.libm-test: Update.
36930         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
36931         individual tests.
36932         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
36933         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
36934         * sysdeps/arm/libm-test-ulps: Likewise.
36935         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
36936         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
36937         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
36938         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
36939         * sysdeps/microblaze/libm-test-ulps: Likewise.
36940         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
36941         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36942         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36943         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
36944         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36945         * sysdeps/sh/libm-test-ulps: Likewise.
36946         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36947         * sysdeps/tile/libm-test-ulps: Likewise.
36948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36950 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
36952         * math/libm-test.inc (print_complex_max_error): Check separately
36953         whether real and imaginary errors are within allowed range and
36954         pass 0 to print_complex_function_ulps instead of value within
36955         allowed range.
36957 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36959         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
36960         formatting.
36961         (get_handles_fopen): Likewise.
36962         (do_write_test): Likewise.
36964         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
36966         * libio/fileops.c (do_ftell): Use cached offset when
36967         available.
36968         * libio/iofwide.c (do_ftell_wide): Likewise.
36969         * libio/iofdopen.c (_IO_new_fdopen): Don't use
36970         _IO_file_attach.
36971         * libio/wfileops.c (_IO_fwide): Don't cache offset.
36973         [BZ #16532]
36974         * libio/libioP.h (get_file_offset): New function.
36975         * libio/fileops.c (get_file_offset): Likewise.
36976         (do_ftell): Likewise.
36977         (_IO_new_file_seekoff): Split out ftell logic.
36978         * libio/wfileops.c (do_ftell_wide): Likewise.
36979         (_IO_wfile_seekoff): Split out ftell logic.
36980         * libio/tst-ftell-active-handler.c: New test case.
36981         * libio/Makefile (tests): Add it.
36983 2014-03-03  Roland McGrath  <roland@hack.frob.com>
36985         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
36986         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
36988 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36990         [BZ #16639]
36991         * nscd/connections.c (nscd_init): Call do_exit.
36992         (start_threads): Call do_exit and notify_parent.
36993         (begin_drop_privileges): Call do_exit.
36994         (finish_drop_privileges): Likewise.
36995         * nscd/selinux.c (preserve_capabilities): Likewise.
36996         (install_real_capabilities): Likewise.
36997         (nscd_selinux_enabled): Likewise.
36998         (avc_create_thread): Likewise.
36999         (avc_alloc_lock): Likewise.
37000         (nscd_avc_init): Likewise.
37001         * nscd/nscd.c (parent_fd): New static variable.
37002         (main): Create a pipe between parent and child processes.
37003         Skip closing parent_fd.
37004         (monitor_child): New function.
37005         (do_exit): Likewise.
37006         (notify_parent): Likewise.
37007         * nscd/nscd.h (notify_parent): Likewise.
37008         (do_exit): Likewise.
37010 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
37012         * malloc/malloc.c (__libc_calloc): Revert last change.
37014 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37018 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37020         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
37021         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
37022         implementation.
37023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37024         (__libc_ifunc_impl_list): Likewise.
37025         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
37026         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
37027         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
37028         * string/strrchr.c: Define STRRCHR.
37030 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
37032         * benchtest/bench-strtok.c (simple_strtok): Delete.
37033         (strtok_string): Use as benchmark.
37034         * string/strtok (STRTOK): New macro.
37036 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
37038         * manual/threads.texi: Add header and standard comments to all
37039         functions.
37041         * elf/dl-lookup.c (check_match): New function.
37042         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
37043         (do_lookup_x): Remove nested function check_match. Use non-nested
37044         function check_match.
37046 2014-02-28  Roland McGrath  <roland@hack.frob.com>
37048         * csu/Makefile (generated, before-compile): Use += rather than =.
37049         * catgets/Makefile (generated, generated-dirs): Likewise.
37050         * debug/Makefile (generated): Likewise.
37051         * dlfcn/Makefile (generated): Likewise.
37052         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
37053         * iconvdata/Makefile (before-compile, generated): Likewise.
37054         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
37055         * libio/Makefile (generated): Likewise.
37056         * malloc/Makefile (generated): Likewise.
37057         * manual/Makefile (generated, generated-dirs): Likewise.
37058         * misc/Makefile (generated): Likewise.
37059         * posix/Makefile (generated): Likewise.
37060         * resolv/Makefile (generated): Likewise.
37061         * sunrpc/Makefile (generated, generated-dirs): Likewise.
37062         * timezone/Makefile (generated, generated-dirs): Likewise.
37064         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
37066 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37068         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37069         power8 implementation.
37070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
37071         file: POWER8 llround ifunc implementation.
37072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
37073         (__lllround): Add POWER8 implementation.
37074         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
37075         POWER8 llround implementation.
37077         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
37078         power8 implementation.
37079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
37080         file: POWER8 llrint ifunc implementation.
37081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
37082         Add POWER8 implementation.
37083         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
37084         POWER8 llrint implementation.
37086         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
37087         power8 implementation.
37088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
37089         file: POWER8 finite ifunc implementation.
37090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
37091         Add POWER8 implementation.
37092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
37093         Likewise.
37094         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
37095         POWER8 finite implementation.
37096         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
37098         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
37099         power8 implementation.
37100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
37101         file: POWER8 isinf ifunc implementation.
37102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
37103         POWER8 implementation.
37104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
37105         Likewise.
37106         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
37107         isinf implementation.
37108         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
37110         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
37111         (INIT_ARCH): Add hwcap2 initialization.
37112         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37113         power8 implementation.
37114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
37115         file: POWER8 isnan ifunc implementation.
37116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
37117         POWER8 implementation.
37118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
37119         Likewise.
37120         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
37121         isnan implementation.
37122         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
37124 2014-02-27  Joey Ye  <joey.ye@arm.com>
37126         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37127         (_FP_NANFRAC_Q): Set to zero.
37129 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37131         [BZ #16623]
37132         * math/auto-libm-test-in: New test inputs.
37133         * math/auto-libm-test-out: Regenerate.
37134         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
37135         and DA.
37136         (__cos): Likewise.
37137         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37139 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
37141         * scripts/evaluate-test.sh: Take new argument indicating whether
37142         failure is expected.
37143         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
37144         indicating whether failure is expected.
37145         * conform/Makefile (test-xfail-run-conformtest): New variable.
37146         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
37147         level.
37148         * posix/Makefile (test-xfail-annexc): New variable.
37149         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
37151 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
37153         * argp/Makefile: Include Makeconfig immediately after defining
37154         subdir.
37155         * assert/Makefile: Likewise.
37156         * benchtests/Makefile: Likewise.
37157         * catgets/Makefile: Likewise.
37158         * conform/Makefile: Likewise.
37159         * crypt/Makefile: Likewise.
37160         * csu/Makefile: Likewise.
37161         (all): Remove target.
37162         * ctype/Makefile: Include Makeconfig immediately after defining
37163         subdir.
37164         * debug/Makefile: Likewise.
37165         * dirent/Makefile: Likewise.
37166         * dlfcn/Makefile: Likewise.
37167         * gmon/Makefile: Likewise.
37168         * gnulib/Makefile: Likewise.
37169         * grp/Makefile: Likewise.
37170         * gshadow/Makefile: Likewise.
37171         * hesiod/Makefile: Likewise.
37172         * hurd/Makefile: Likewise.
37173         (all): Remove target.
37174         * iconvdata/Makefile: Include Makeconfig immediately after
37175         defining subdir.
37176         * inet/Makefile: Likewise.
37177         * intl/Makefile: Likewise.
37178         * io/Makefile: Likewise.
37179         * libio/Makefile: Likewise.
37180         (all): Remove target.
37181         * locale/Makefile: Include Makeconfig immediately after defining
37182         subdir.
37183         * login/Makefile: Likewise.
37184         * mach/Makefile: Likewise.
37185         (all): Remove target.
37186         * malloc/Makefile: Include Makeconfig immediately after defining
37187         subdir.
37188         (all): Remove target.
37189         * manual/Makefile: Include Makeconfig immediately after defining
37190         subdir.
37191         * math/Makefile: Likewise.
37192         * misc/Makefile: Likewise.
37193         * nis/Makefile: Likewise.
37194         * nss/Makefile: Likewise.
37195         * po/Makefile: Likewise.
37196         (all): Remove target.
37197         * posix/Makefile: Include Makeconfig immediately after defining
37198         subdir.
37199         * pwd/Makefile: Likewise.
37200         * resolv/Makefile: Likewise.
37201         * resource/Makefile: Likewise.
37202         * rt/Makefile: Likewise.
37203         * setjmp/Makefile: Likewise.
37204         * shadow/Makefile: Likewise.
37205         * signal/Makefile: Likewise.
37206         * socket/Makefile: Likewise.
37207         * soft-fp/Makefile: Likewise.
37208         * stdio-common/Makefile: Likewise.
37209         * stdlib/Makefile: Likewise.
37210         * streams/Makefile: Likewise.
37211         * string/Makefile: Likewise.
37212         * sunrpc/Makefile: Likewise.
37213         (all): Remove target.
37214         * sysvipc/Makefile: Include Makeconfig immediately after defining
37215         subdir.
37216         * termios/Makefile: Likewise.
37217         * time/Makefile: Likewise.
37218         * timezone/Makefile: Likewise.
37219         (all): Remove target.
37220         * wcsmbs/Makefile: Include Makeconfig immediately after defining
37221         subdir.
37222         * wctype/Makefile: Likewise.
37224 2014-02-26  Steve Ellcey  <sellcey@mips.com>
37226         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
37227         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
37228         (libc_feholdexcept_setround_mips): Ditto.
37229         (libc_feholdsetround): New.
37230         (libc_feholdsetroundf): New.
37231         (libc_feholdsetroundl): New.
37232         (libc_feupdateenv_test_mips): New.
37233         (libc_feupdateenv_test): New.
37234         (libc_feupdateenv_testf): New.
37235         (libc_feupdateenv_testl): New.
37236         (libc_feresetround): New.
37237         (libc_feresetroundf): New.
37238         (libc_feresetroundl): New.
37239         (libc_fetestexcept_mips): New.
37240         (libc_fetestexcept): New.
37241         (libc_fetestexceptf): New.
37242         (libc_fetestexceptl): New.
37243         (HAVE_RM_CTX): New.
37244         (libc_feholdexcept_setround_mips_ctx): New.
37245         (libc_feholdexcept_setround_ctx): New.
37246         (libc_feholdexcept_setroundf_ctx): New.
37247         (libc_feholdexcept_setroundl_ctx): New.
37248         (libc_fesetenv_mips_ctx): New.
37249         (libc_fesetenv_ctx): New.
37250         (libc_fesetenv_ctxf): New.
37251         (libc_fesetenv_ctxl): New.
37252         (libc_feupdateenv_mips_ctx): New.
37253         (libc_feupdateenv_ctx): New.
37254         (libc_feupdateenvf_ctx): New.
37255         (libc_feupdateenvl_ctx): New.
37256         (libc_feholdsetround_mips_ctx): New.
37257         (libc_feholdsetround_ctx): New.
37258         (libc_feholdsetroundf_ctx): New.
37259         (libc_feholdsetroundl_ctx): New.
37260         (libc_feresetround_mips_ctx): New.
37261         (libc_feresetround_ctx): New.
37262         (libc_feresetroundf_ctx): New.
37263         (libc_feresetroundl_ctx): New.
37265 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
37267         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
37269         * manual/ipc.texi: New file.
37270         * manual/Makefile (chapters): Add ipc.
37271         * manual/job.texi: Add "Inter-Process Communication" to next.
37272         * manual/process.texi: Add "Inter-Process Communication" to prev.
37274 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37278 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
37280         * malloc/malloc.c (__libc_calloc): Simplify implementation.
37282         * manual/arith.texi: Fix spaces after sentences.
37283         * manual/charset.texi: Likewise.
37284         * manual/errno.texi: Likewise.
37285         * manual/install.texi: Likewise.
37286         * manual/llio.texi: Likewise.
37287         * manual/locale.texi: Likewise.
37288         * manual/maint.texi: Likewise.
37289         * manual/math.texi: Likewise.
37290         * manual/memory.texi: Likewise.
37291         * manual/message.texi: Likewise.
37292         * manual/probes.texi: Likewise.
37293         * manual/resource.texi: Likewise.
37294         * manual/signal.texi: Likewise.
37295         * manual/socket.texi: Likewise.
37296         * manual/stdio.texi: Likewise.
37297         * manual/string.texi: Likewise.
37298         * manual/time.texi: Likewise.
37299         * manual/users.texi: Likewise.
37301 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
37303         [BZ #16632]
37304         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37305         _DEFAULT_SOURCE is defined.
37307 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
37308             Carlos O'Donell  <carlos@redhat.com>
37310         [BZ #16613]
37311         * elf/dl-tls.c (_dl_count_modids): New function.
37312         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37313         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37314         audit library and increment generation counter.
37315         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37316         * elf/tst-audit9.c: New file.
37317         * elf/tst-auditmod9a.c: New file.
37318         * elf/tst-auditmod9b.c: New file.
37319         * elf/Makefile: Add rules to build and run tst-audit9.
37321 2014-02-25  Florian Weimer  <fweimer@redhat.com>
37323         [BZ #15347]
37324         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37326 2014-02-25  Will Newton  <will.newton@linaro.org>
37328         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37329         (__longjmp): Restore sp and lr before restoring callee
37330         saved registers.  Add longjmp and longjmp_target
37331         SystemTap probe point.
37332         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37333         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37334         Define to zero to match jmpbuf layout.
37335         * sysdeps/arm/setjmp.S: Include stap-probe.h.
37336         (__sigsetjmp): Save sp and lr before saving callee
37337         saved registers.  Add setjmp SystemTap probe point.
37339 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37341         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37343 2014-02-24  Andreas Schwab  <schwab@suse.de>
37345         [BZ #15804]
37346         * elf/pldd.c (wait_for_ptrace_stop): New function.
37347         (main): Call it after attaching.
37349 2014-02-22  Roland McGrath  <roland@hack.frob.com>
37351         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37352         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37353         Versions files is now verboten.
37354         * hurd/Versions (libc: GLIBC_2.0):
37355         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37356         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37357         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37358         * mach/Versions: Likewise.
37360         * csu/Versions: Remove unused %include.
37361         * resolv/Versions: Likewise.
37363 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
37365         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37366         ($(objpfx)check-local-headers.out): Likewise.
37367         ($(objpfx)begin-end-check.out): Likewise.
37368         * Makerules (check-abi-%.out): Likewise.
37369         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
37370         ($(objpfx)test2.cat): Likewise.
37371         ($(objpfx)de/libc.cat): Likewise.
37372         ($(objpfx)test-gencat.out): Likewise.
37373         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
37374         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
37375         ($(objpfx)noload-mem): Likewise.
37376         ($(objpfx)tst-pathopt.out): Likewise.
37377         ($(objpfx)tst-rtld-load-self.out): Likewise.
37378         ($(objpfx)tst-array1-cmp.out): Likewise.
37379         ($(objpfx)tst-array1-static-cmp.out): Likewise.
37380         ($(objpfx)tst-array2-cmp.out): Likewise.
37381         ($(objpfx)tst-array3-cmp.out): Likewise.
37382         ($(objpfx)tst-array4-cmp.out): Likewise.
37383         ($(objpfx)tst-array5-cmp.out): Likewise.
37384         ($(objpfx)tst-array5-static-cmp.out): Likewise.
37385         ($(objpfx)check-textrel.out): Likewise.
37386         ($(objpfx)check-execstack.out): Likewise.
37387         ($(objpfx)check-localplt.out): Likewise.
37388         ($(objpfx)order2-cmp.out): Likewise.
37389         ($(objpfx)tst-leaks1-mem): Likewise.
37390         ($(objpfx)tst-leaks1-static-mem): Likewise.
37391         ($(objpfx)tst-initorder-cmp.out): Likewise.
37392         ($(objpfx)tst-initorder2-cmp.out): Likewise.
37393         ($(objpfx)tst-unused-dep.out): Likewise.
37394         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
37395         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37396         * iconv/Makefile (test-iconvconfig): Likewise.
37397         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
37398         ($(objpfx)iconv-test.out): Likewise.
37399         ($(objpfx)tst-tables.out): Likewise.
37400         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
37401         ($(objpfx)tst-gettext.out): Likewise.
37402         ($(objpfx)tst-translit.out): Likewise.
37403         ($(objpfx)tst-gettext2.out): Likewise.
37404         ($(objpfx)tst-gettext4.out): Likewise.
37405         ($(objpfx)tst-gettext6.out): Likewise.
37406         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
37407         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37408         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
37409         ($(objpfx)tst-fopenloc-mem.out): Likewise.
37410         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37411         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
37412         * posix/Makefile ($(objpfx)globtest.out): Likewise.
37413         ($(objpfx)wordexp-tst.out): Likewise.
37414         ($(objpfx)annexc.out): Likewise.
37415         ($(objpfx)tst-fnmatch-mem): Likewise.
37416         ($(objpfx)bug-regex2-mem): Likewise.
37417         ($(objpfx)bug-regex14-mem): Likewise.
37418         ($(objpfx)bug-regex21-mem): Likewise.
37419         ($(objpfx)bug-regex31-mem): Likewise.
37420         ($(objpfx)tst-vfork3-mem): Likewise.
37421         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37422         ($(objpfx)tst-pcre-mem): Likewise.
37423         ($(objpfx)tst-boost-mem): Likewise.
37424         ($(objpfx)tst-getconf.out): Likewise.
37425         ($(objpfx)bug-ga2-mem): Likewise.
37426         ($(objpfx)bug-glob2-mem): Likewise.
37427         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
37428         ($(objpfx)mtrace-tst-leaks2): Likewise.
37429         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
37430         ($(objpfx)tst-printf.out): Likewise.
37431         ($(objpfx)tst-setvbuf1.out): Likewise.
37432         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
37433         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
37434         ($(objpfx)tst-fmtmsg.out): Likewise.
37435         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
37436         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
37438         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
37439         * bits/sigaction.h [__USE_MISC]: Likewise.
37440         * bits/waitstatus.h: Update #endif comments.
37441         * ctype/ctype.h: Likewise.
37442         * dirent/dirent.h: Likewise.
37443         [__USE_MISC]: Remove redundant conditionals.
37444         * grp/grp.h: Update #endif comments.
37445         [__USE_GNU]: Remove redundant conditionals.
37446         [__USE_MISC]: Likewise.
37447         * inet/netinet/in.h [__USE_GNU]: Likewise.
37448         * io/sys/stat.h [__USE_MISC]: Likewise.
37449         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
37450         * libio/bits/stdio.h: Update #endif comments.
37451         [__USE_MISC]: Remove redundant conditionals.
37452         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
37453         * libio/stdio.h: Update #endif comments.
37454         [__USE_MISC]: Remove redundant conditionals.
37455         * math/bits/math-finite.h [__USE_MISC]: Likewise.
37456         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
37457         * math/math.h: Update #else and #endif comments.
37458         [__USE_MISC]: Remove redundant conditionals.
37459         * misc/sys/uio.h: Update #endif comments.
37460         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
37461         * posix/glob.h [__USE_MISC]: Likewise.
37462         * posix/sys/types.h: Update #endif comments.
37463         [__USE_MISC]: Remove redundant conditionals.
37464         * posix/sys/wait.h: Update #endif comments.
37465         [__USE_MISC]: Remove redundant conditionals.
37466         * posix/unistd.h: Update #endif comments.
37467         [__USE_MISC]: Remove redundant conditionals.
37468         * pwd/pwd.h [__USE_GNU]: Likewise.
37469         [__USE_MISC]: Likewise.
37470         * resolv/netdb.h [__USE_GNU]: Likewise.
37471         * signal/signal.h: Update #endif comments.
37472         [__USE_MISC]: Remove redundant conditionals.
37473         * stdlib/stdlib.h: Update #else and #endif comments.
37474         [__USE_MISC]: Remove redundant conditionals.
37475         [__USE_GNU]: Likewise.
37476         * string/bits/string2.h [__USE_MISC]: Likewise.
37477         * string/string.h: Update #endif comments.
37478         [__USE_MISC]: Remove redundant conditionals.
37479         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
37480         Likewise.
37481         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
37482         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
37483         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
37484         Likewise.
37485         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
37486         Likewise.
37487         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
37488         comments.
37489         [__USE_MISC]: Remove redundant conditionals.
37490         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
37491         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
37492         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
37493         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
37494         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
37495         Likewise.
37496         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
37497         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
37498         Likewise.
37499         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
37500         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
37501         Likewise.
37502         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
37503         Likewise.
37504         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
37505         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
37506         Likewise.
37507         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
37508         Likewise.
37509         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
37510         * sysdeps/x86/bits/string.h: Update #endif comments.
37511         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
37512         conditionals.
37513         * time/sys/time.h: Update #endif comments.
37514         * time/time.h: Likewise.
37515         [__USE_MISC]: Remove redundant conditionals.
37517 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
37519         [BZ #16600]
37520         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
37522 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
37524         * Versions.def (librt): Add GLIBC_2.17.
37526 2014-02-21  Adam Conrad  <adconrad@0c3.net>
37528         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
37529         synonym for _SYS_AUXV_H to allow direct inclusion.
37530         * sysdeps/sparc/bits/hwcap.h: Likewise.
37531         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
37532         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
37533         * sysdeps/sparc/sysdep.h: Likewise.
37535 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37537         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
37539 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37541         * benchtests/bench-strrchr.c: Print length instead of position.
37543 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
37545         [BZ #16611]
37546         * sysdeps/unix/sysv/linux/kernel-features.h
37547         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
37548         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
37549         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
37550         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
37551         Likewise.
37552         [__i386__ || __powerpc__ || __sh__ || __sparc__]
37553         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37554         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
37555         (__ASSUME_SENDMMSG): Define instead of using previous
37556         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
37557         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37558         (__ASSUME_SENDMMSG_SYSCALL): Define.
37559         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37560         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
37561         Likewise.
37562         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37563         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37564         Likewise.
37565         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37566         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37567         Likewise.
37568         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
37569         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37570         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37571         [__ASSUME_SENDMMSG]: Change conditionals to
37572         [__ASSUME_SENDMMSG_SOCKETCALL].
37573         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37574         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
37575         Define.
37576         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37577         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
37578         Likewise.
37579         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
37580         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37581         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37582         [!__ASSUME_SENDMMSG]: Change conditional to
37583         [!__ASSUME_SENDMMSG_SOCKETCALL].
37584         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37585         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37586         Define.
37588         [BZ #16610]
37589         * sysdeps/unix/sysv/linux/kernel-features.h
37590         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
37591         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
37592         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
37593         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
37594         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37595         [__i386__ || __sparc__]
37596         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37597         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
37598         (__ASSUME_RECVMMSG): Define instead of using previous
37599         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
37600         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37601         (__ASSUME_RECVMMSG_SYSCALL): Define.
37602         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37603         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37604         Likewise.
37605         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37606         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37607         Likewise.
37608         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37609         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37610         Likewise.
37611         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
37612         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37613         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37614         [__ASSUME_RECVMMSG]: Change condition to
37615         [__ASSUME_RECVMMSG_SOCKETCALL].
37616         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37617         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37618         Define.
37619         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37620         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37621         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37622         Likewise.
37623         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
37624         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37625         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37626         [!__ASSUME_RECVMMSG]: Change condition to
37627         [!__ASSUME_RECVMMSG_SOCKETCALL].
37628         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37629         (__ASSUME_RECVMMSG_SYSCALL): Define.
37631         [BZ #16609]
37632         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
37633         __powerpc__ || __s390__ || __sh__ || __sparc__]
37634         (__ASSUME_SOCKETCALL): Define.
37635         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
37636         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
37637         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
37638         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
37639         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37640         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37641         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
37642         (__ASSUME_ACCEPT4): Define instead of using previous
37643         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
37644         __powerpc__ || __sparc__ || __s390__)] condition.
37645         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37646         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37647         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
37648         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37649         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37650         [!__ASSUME_ACCEPT4]: Change condition to
37651         [!__ASSUME_ACCEPT4_SOCKETCALL].
37652         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37653         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
37654         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
37655         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37656         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
37657         __ASSUME_ACCEPT4_SYSCALL.
37658         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
37659         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
37660         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37661         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
37662         __ASSUME_ACCEPT4_SYSCALL.
37663         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
37664         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37665         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37666         [__ASSUME_ACCEPT4]: Change condition to
37667         [__ASSUME_ACCEPT4_SOCKETCALL].
37668         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37669         (__ASSUME_SOCKETCALL): Define.
37670         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
37671         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37672         (__ASSUME_SOCKETCALL): Define.
37673         (__ASSUME_ACCEPT4): Remove.
37674         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
37675         Define.
37676         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37677         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
37678         Likewise.
37679         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37680         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37682         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
37683         macro.
37684         (HWCAP_ARM_LPAE): Likewise.
37685         (HWCAP_ARM_EVTSTRM): Likewise.
37686         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
37687         Add vpfd32, lpae and evtstrm.
37688         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
37689         Increase to 22.
37691 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
37693         * math/auto-libm-test-in: Add tests of clog10.
37694         * math/auto-libm-test-out: Regenerated.
37695         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
37696         * sysdeps/i386/fpu/libm-test-ulps: Update.
37697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37699 2014-02-18  Andreas Schwab  <schwab@suse.de>
37701         [BZ #16574]
37702         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
37703         Store non-zero if the second buffer was newly allocated.
37704         (send_dg): Likewise.
37705         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
37706         to send_vc and send_dg.
37707         (res_nsend): Pass NULL for ansp2_malloced.
37708         * resolv/res_query.c (__libc_res_nquery): Add parameter
37709         answerp2_malloced and pass it down to __libc_res_nsend.
37710         (res_nquery): Pass additional NULL to __libc_res_nquery.
37711         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
37712         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
37713         second answer buffer if answerp2_malloced was set.
37714         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
37715         (__libc_res_nquerydomain): Add parameter
37716         answerp2_malloced and pass it down to __libc_res_nquery.
37717         (res_nquerydomain): Pass additional NULL to
37718         __libc_res_nquerydomain.
37719         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
37720         additional NULL to __libc_res_nsend and __libc_res_nquery.
37721         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
37722         additional NULL to __libc_res_nsearch.
37723         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
37724         parameter of __libc_res_nsearch to check for separately allocated
37725         second buffer.
37726         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
37727         __libc_res_nquery.
37728         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
37729         additional NULL to __libc_res_nquery.
37730         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
37731         __libc_res_nsearch.
37732         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
37733         * include/resolv.h: Update prototypes of __libc_res_nquery,
37734         __libc_res_nsearch, __libc_res_nsend.
37736 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
37738         * math/auto-libm-test-in: Add tests of fma.
37739         * math/auto-libm-test-out: Regenerated.
37740         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
37741         (fma_towardzero_test_data): Likewise.
37742         (fma_downward_test_data): Likewise.
37743         (fma_upward_test_data): Likewise.
37744         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
37745         mpc_mode.
37746         (rounding_modes): Add values for new field.
37747         (func_calc_method): Add value mpfr_fff_f.
37748         (func_calc_desc): Add mpfr_fff_f union field.
37749         (test_function): Add field exact_args.
37750         (FUNC): Add macro argument EXACT_ARGS.
37751         (FUNC_mpfr_f_f): Update call to FUNC.
37752         (FUNC_mpfr_f_f): Likewise.
37753         (FUNC_mpfr_ff_f): Likewise.
37754         (FUNC_mpfr_if_f): Likewise.
37755         (FUNC_mpc_c_f): Likewise.
37756         (FUNC_mpc_c_c): Likewise.
37757         (test_functions): Add fma.  Update calls to FUNC.
37758         (handle_input_arg): Add argument exact_args.
37759         (add_test): Update call to handle_input_arg.
37760         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
37761         (output_for_one_input_case): Update call to calc_generic_results.
37762         Recalculate exact zero results in each rounding mode.
37764         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
37765         non-negative before setting low bit.
37766         * math/auto-libm-test-in: Mark one asin test possibly having
37767         spurious underflow.
37768         * math/auto-libm-test-out: Regenerated.
37769         * sysdeps/i386/fpu/libm-test-ulps: Update.
37770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37772 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
37774         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
37775         * sysdeps/unix/sysv/linux/microblaze: Move directory from
37776         ports/sysdeps/unix/sysv/linux/microblaze.
37777         * README: Add missing listing for microblaze*-*-linux-gnu.
37779 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
37781         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
37782         duplicate code
37784 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
37786         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
37787         * sysdeps/unix/sysv/linux/ia64: Move directory from
37788         ports/sysdeps/unix/sysv/linux/ia64.
37789         * README: Update listing for ia64-*-linux-gnu.
37791 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
37792             Joseph Myers  <joseph@codesourcery.com>
37794         * Makeconfig (test-name): New variable.
37795         (evaluate-test): Likewise.
37796         * Makerules (do-test-clean): Remove .test-result files.
37797         (common-mostlyclean): Likewise.
37798         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
37799         * scripts/evaluate-test.sh: New file.
37801 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
37803         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
37804         separate $(objpfx)tst-fopenloc-cmp.out and
37805         $(objpfx)tst-fopenloc-mem.out targets.
37806         (tests): Update dependencies.
37807         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
37808         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
37809         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
37810         (tst-rxspencer-no-utf8-ARGS): New variable.
37811         (tst-rxspencer-no-utf8-ENV): Likewise.
37812         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
37813         instead of $(objpfx)tst-rxspencer-mem.
37814         ($(objpfx)tst-rxspencer-mem): Change target to
37815         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
37816         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
37817         * posix/tst-rxspencer-no-utf8.c: New file.
37819         * elf/Makefile ($(objpfx)order.out): Remove rule.
37820         [$(run-built-tests) = yes] (tests): Depend on
37821         $(objpfx)order-cmp.out.
37822         ($(objpfx)order-cmp.out): New rule.
37823         [$(run-built-tests) = yes] (tests): Depend on
37824         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
37825         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
37826         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
37827         $(objpfx)tst-array5-static-cmp.out.
37828         ($(objpfx)tst-array1.out): Remove rule.
37829         ($(objpfx)tst-array1-cmp.out): New rule.
37830         ($(objpfx)tst-array1-static.out): Remove rule.
37831         ($(objpfx)tst-array1-static-cmp.out): New rule.
37832         ($(objpfx)tst-array2.out): Remove rule.
37833         ($(objpfx)tst-array2-cmp.out): New rule.
37834         ($(objpfx)tst-array3.out): Remove rule.
37835         ($(objpfx)tst-array3-cmp.out): New rule.
37836         ($(objpfx)tst-array4.out): Remove rule.
37837         ($(objpfx)tst-array4-cmp.out): New rule.
37838         ($(objpfx)tst-array5.out): Remove rule.
37839         ($(objpfx)tst-array5-cmp.out): New rule.
37840         ($(objpfx)tst-array5-static.out): Remove rule.
37841         ($(objpfx)tst-array5-static-cmp.out): New rule.
37842         [$(run-built-tests) = yes] (tests): Depend on
37843         $(objpfx)order2-cmp.out.
37844         ($(objpfx)order2.out): Remove rule.
37845         ($(objpfx)order2-cmp.out): New rule.
37846         ($(objpfx)tst-initorder.out): Remove rule.
37847         [$(run-built-tests) = yes] (tests): Depend on
37848         $(objpfx)tst-initorder-cmp.out.
37849         ($(objpfx)tst-initorder-cmp.out): New rule.
37850         ($(objpfx)tst-initorder2.out): Remove rule.
37851         [$(run-built-tests) = yes] (tests): Depend on
37852         $(objpfx)tst-initorder2-cmp.out.
37853         ($(objpfx)tst-initorder2-cmp.out): New rule.
37854         [$(run-built-tests) = yes] (tests): Depend on
37855         $(objpfx)tst-unused-dep-cmp.out.
37856         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
37857         ($(objpfx)tst-unused-dep-cmp.out): New rule.
37858         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
37859         on $(objpfx)tst-setvbuf1-cmp.out.
37860         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
37861         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
37862         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
37863         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
37864         ($(objpfx)tst-svc.out): Remove rule.
37865         ($(objpfx)tst-svc-cmp.out): New rule.
37867 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
37869         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
37870         * ctype/ctype.h [__USE_MISC]: Likewise.
37871         * dirent/dirent.h [__USE_MISC]: Likewise.
37872         * grp/grp.h [__USE_MISC]: Likewise.
37873         * io/fcntl.h [__USE_MISC]: Likewise.
37874         * io/sys/stat.h [__USE_MISC]: Likewise.
37875         * libio/stdio.h [__USE_MISC]: Likewise.
37876         * posix/unistd.h [__USE_MISC]: Likewise.
37877         * pwd/pwd.h [__USE_MISC]: Likewise.
37878         * stdlib.h [__USE_MISC]: Likewise.
37879         * string/bits/string2.h [__USE_MISC]: Likewise.
37880         * string/string.h [__USE_MISC]: Likewise.
37881         * time/time.h [__USE_MISC]: Likewise.
37883 2014-02-13  Andreas Schwab  <schwab@suse.de>
37885         [BZ #16574]
37886         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
37887         second answer buffer if it was separately allocated.
37889 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
37891         * sysdeps/mips/math-tests.h: Include <features.h>.
37892         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37893         (ROUNDING_TESTS_long_double): Do not define.
37894         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37895         (EXCEPTION_TESTS_long_double): Likewise.
37896         * sysdeps/mips/mips64/libm-test-ulps: Update.
37898         * include/features.h (__USE_BSD): Remove macro definitions.
37899         (__USE_SVID): Likewise.
37900         (_BSD_SOURCE): Likewise.
37901         (_SVID_SOURCE): Likewise.
37902         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
37903         from definition of _DEFAULT_SOURCE.
37904         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
37905         [_DEFAULT_SOURCE].
37906         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
37907         * bits/mman.h [__USE_BSD]: Likewise.
37908         * bits/termios.h [__USE_BSD]: Likewise.
37909         * bits/waitstatus.h [__USE_BSD]: Likewise.
37910         * ctype/ctype.h [__USE_SVID]: Likewise.
37911         * dirent/dirent.h [__USE_BSD]: Likewise.
37912         * grp/grp.h [__USE_SVID]: Likewise.
37913         [__USE_BSD]: Likewise.
37914         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
37915         * io/fcntl.h [__USE_BSD]: Likewise.
37916         * io/ftw.h [__USE_BSD]: Likewise.
37917         * io/sys/stat.h [__USE_BSD]: Likewise.
37918         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
37919         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
37920         * libio/stdio.h [__USE_SVID]: Likewise.
37921         [__USE_BSD]: Likewise.
37922         * math/math.h [__USE_SVID]: Likewise.
37923         [__USE_BSD]: Likewise.
37924         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
37925         * misc/bits/syslog.h [__USE_BSD]: Likewise.
37926         * misc/search.h [__USE_SVID]: Likewise.
37927         * misc/sys/mman.h [__USE_BSD]: Likewise.
37928         * misc/sys/syslog.h [__USE_BSD]: Likewise.
37929         * misc/sys/uio.h [__USE_BSD]: Likewise.
37930         * posix/bits/unistd.h [__USE_BSD]: Likewise.
37931         * posix/glob.h [__USE_BSD]: Likewise.
37932         * posix/regex.h [__USE_BSD]: Likewise.
37933         * posix/sys/types.h [__USE_BSD]: Likewise.
37934         [__USE_SVID]: Likewise.
37935         * posix/sys/utsname.h [__USE_SVID]: Likewise.
37936         * posix/sys/wait.h [__USE_BSD]: Likewise.
37937         [__USE_SVID]: Likewise.
37938         * posix/unistd.h [__USE_BSD]: Likewise.
37939         [__USE_SVID]: Likewise.
37940         * pwd/pwd.h [__USE_SVID]: Likewise.
37941         * resolv/netdb.h [__USE_BSD]: Likewise.
37942         * setjmp/setjmp.h [__USE_BSD]: Likewise.
37943         * signal/signal.h [__USE_BSD]: Likewise.
37944         [__USE_SVID]: Likewise.
37945         * socket/sys/socket.h [__USE_BSD]: Likewise.
37946         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
37947         * stdlib/stdlib.h [__USE_BSD]: Likewise.
37948         [__USE_SVID]: Likewise.
37949         * string/bits/string2.h [__USE_BSD]: Likewise.
37950         [__USE_SVID]: Likewise.
37951         * string/bits/string3.h [__USE_BSD]: Likewise.
37952         * string/endian.h [__USE_BSD]: Likewise.
37953         * string/string.h [__USE_SVID]: Likewise.
37954         [__USE_BSD]: Likewise.
37955         * string/strings.h [__USE_BSD]: Likewise.
37956         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
37957         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
37958         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
37959         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
37960         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
37961         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
37962         Likewise.
37963         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
37964         Likewise.
37965         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
37966         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
37967         Likewise.
37968         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
37969         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
37970         Likewise.
37971         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
37972         Likewise.
37973         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
37974         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
37975         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
37976         Likewise.
37977         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
37978         Likewise.
37979         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
37980         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
37981         * termios/termios.h [__USE_BSD]: Likewise.
37982         * time/sys/time.h [__USE_BSD]: Likewise.
37983         * time/time.h [__USE_BSD]: Likewise.
37984         [__USE_SVID]: Likewise.
37986         * Makefile (subdir_targets): Remove subdir_lint.out.
37988         * stdio-common/Makefile (do-tst-unbputc): Remove target.
37989         (do-tst-printf): Likewise.
37990         (tests): Depend directly on $(objpfx)tst-unbputc.out and
37991         $(objpfx)tst-printf.out.
37993         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
37995         * Makerules (check-abi-%): Change target to
37996         $(objpfx)check-abi-%.out.
37997         (check-abi target): Update dependencies.
37998         (check-abi-pattern variable): Redirect output of diff to $@.
37999         (check-abi variable): Likewise.
38000         * elf/Makefile (check-abi): Update dependencies.
38002         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
38003         unused.
38004         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
38005         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
38006         subnormal range.
38007         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
38008         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
38009         value has largest subnormal exponent.
38010         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
38011         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
38012         * sysdeps/aarch64/soft-fp/sfp-machine.h
38013         (_FP_TININESS_AFTER_ROUNDING): New macro.
38014         * sysdeps/alpha/soft-fp/sfp-machine.h
38015         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38016         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38017         Likewise.
38018         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
38019         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38020         * sysdeps/mips/soft-fp/sfp-machine.h
38021         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38022         * sysdeps/powerpc/soft-fp/sfp-machine.h
38023         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38024         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38025         Likewise.
38026         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38027         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38028         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38029         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38030         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38031         Likewise.
38033 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
38035         [BZ #16545]
38036         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
38037         model 1.
38039 2014-02-12  Richard Henderson  <rth@redhat.com>
38041         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
38042         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
38043         * sysdeps/unix/sysv/linux/alpha: Move directory from
38044         ports/sysdeps/unix/sysv/linux/alpha.
38045         * README: Update listing for alpha-*-linux-gnu.
38047 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
38049         * include/features.h: Update comment documenting feature test
38050         macros.
38051         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
38052         _DEFAULT_SOURCE.
38053         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
38054         (_SVID_SOURCE): Likewise.
38055         (_DEFAULT_SOURCE): Update description of default features.
38056         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
38057         with _GNU_SOURCE.
38058         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
38059         (S_ISVTX): Likewise.
38060         * manual/math.texi (Mathematical Constants): Likewise.
38061         * manual/signal.texi (Interrupted Primitives): Likewise.
38062         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
38063         * math/test-matherr.c (_SVID_SOURCE): Do not define.
38064         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
38065         Don't refer to _SVID_SOURCE in warning text.
38067         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38069         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
38070         already defined.
38071         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
38072         * sysdeps/mips/dl-lookup.c: Remove.
38073         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
38075 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38077         [BZ #16447]
38078         * math/auto-libm-test-in: Add testcase for expl.
38079         * math/auto-libm-test-out: Regenerate.
38080         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
38081         calculation of unsafe.
38082         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
38084 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38086         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
38087         * sysdeps/unix/sysv/linux/aarch64: Move directory from
38088         ports/sysdeps/unix/sysv/linux/aarch64.
38089         * README: Update listing for aarch64*-*-linux-gnu.
38091 2014-02-11  Will Newton  <will.newton@linaro.org>
38093         * manual/probes.texi (Mathematical Function Probes): Use
38094         "triggered" instead of "hit".
38096         * manual/probes.texi (Internal Probes): Add documentation
38097         of setjmp, longjmp and longjmp_target probes.
38099         * include/stap-probe.h: Add comment about probe argument
38100         format.
38102         * malloc/mtrace.c (attribute_hidden): Remove unused macro
38103         definition.  (tr_where, tr_freehook, tr_mallochook,
38104         tr_reallochook, tr_memalignhook): Use ANSI protoype.
38106 2014-02-11  David S. Miller  <davem@davemloft.net>
38108         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
38109         processing int_tests.
38111 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
38113         * sysdeps/mips: Move directory from ports/sysdeps/mips.
38114         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38115         * sysdeps/unix/sysv/linux/mips: Move directory from
38116         ports/sysdeps/unix/sysv/linux/mips.
38117         * README: Update listing for mips-*-linux-gnu and
38118         mips64-*-linux-gnu.
38120 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
38122         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
38123         * sysdeps/unix/sysv/linux/m68k: Move directory from
38124         ports/sysdeps/unix/sysv/linux/m68k.
38125         * README: Update listing for m68k-*-linux-gnu.
38127 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
38129         * sysdeps/tile: Move directory from ports/sysdeps/tile.
38130         * sysdeps/unix/sysv/linux/generic: Move directory from
38131         ports/sysdeps/unix/sysv/linux/generic.
38132         * sysdeps/unix/sysv/linux/tile: Move directory from
38133         ports/sysdeps/unix/sysv/linux/tile.
38134         * README: Update listing for tile*-*-linux-gnu.
38136 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
38138         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
38139         __builtin_expect.
38140         * benchtests/bench-memmem.c (simple_memmem): Likewise.
38141         * catgets/open_catalog.c (__open_catalog): Likewise.
38142         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
38143         * debug/confstr_chk.c: Likewise.
38144         * debug/fread_chk.c (__fread_chk): Likewise.
38145         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
38146         * debug/getgroups_chk.c: Likewise.
38147         * debug/mbsnrtowcs_chk.c: Likewise.
38148         * debug/mbsrtowcs_chk.c: Likewise.
38149         * debug/mbstowcs_chk.c: Likewise.
38150         * debug/memcpy_chk.c: Likewise.
38151         * debug/memmove_chk.c: Likewise.
38152         * debug/mempcpy_chk.c: Likewise.
38153         * debug/memset_chk.c: Likewise.
38154         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38155         * debug/strcat_chk.c (__strcat_chk): Likewise.
38156         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
38157         * debug/strncat_chk.c (__strncat_chk): Likewise.
38158         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
38159         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
38160         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
38161         * debug/wcpncpy_chk.c: Likewise.
38162         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38163         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
38164         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38165         * debug/wcsncpy_chk.c: Likewise.
38166         * debug/wcsnrtombs_chk.c: Likewise.
38167         * debug/wcsrtombs_chk.c: Likewise.
38168         * debug/wcstombs_chk.c: Likewise.
38169         * debug/wmemcpy_chk.c: Likewise.
38170         * debug/wmemmove_chk.c: Likewise.
38171         * debug/wmempcpy_chk.c: Likewise.
38172         * debug/wmemset_chk.c: Likewise.
38173         * dirent/scandirat.c (SCANDIRAT): Likewise.
38174         * dlfcn/dladdr1.c (dladdr1): Likewise.
38175         * dlfcn/dladdr.c (dladdr): Likewise.
38176         * dlfcn/dlclose.c (dlclose_doit): Likewise.
38177         * dlfcn/dlerror.c (__dlerror): Likewise.
38178         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38179         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38180         * dlfcn/dlopen.c (dlopen_doit): Likewise.
38181         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38182         * dlfcn/dlsym.c (dlsym_doit): Likewise.
38183         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38184         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38185         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38186         Likewise.
38187         * elf/dl-conflict.c: Likewise.
38188         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38189         * elf/dl-dst.h: Likewise.
38190         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38191         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38192         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38193         * elf/dl-init.c (call_init, _dl_init): Likewise.
38194         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38195         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38196         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38197         Likewise.
38198         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38199         Likewise.
38200         * elf/dl-minimal.c (__libc_memalign): Likewise.
38201         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38202         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38203         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38204         * elf/dl-sym.c (do_sym): Likewise.
38205         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38206         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38207         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38208         * elf/dl-writev.h (_dl_writev): Likewise.
38209         * elf/ldconfig.c (search_dir): Likewise.
38210         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38211         (dl_main): Likewise.
38212         * elf/setup-vdso.h (setup_vdso): Likewise.
38213         * grp/compat-initgroups.c (compat_call): Likewise.
38214         * grp/fgetgrent.c (fgetgrent): Likewise.
38215         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
38216         * grp/putgrent.c (putgrent): Likewise.
38217         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38218         Likewise.
38219         * hurd/hurdinit.c: Likewise.
38220         * iconvdata/8bit-gap.c (struct): Likewise.
38221         * iconvdata/ansi_x3.110.c : Likewise.
38222         * iconvdata/big5.c : Likewise.
38223         * iconvdata/big5hkscs.c : Likewise.
38224         * iconvdata/cp1255.c: Likewise.
38225         * iconvdata/cp1258.c : Likewise.
38226         * iconvdata/cp932.c : Likewise.
38227         * iconvdata/euc-cn.c: Likewise.
38228         * iconvdata/euc-jisx0213.c : Likewise.
38229         * iconvdata/euc-jp.c: Likewise.
38230         * iconvdata/euc-jp-ms.c : Likewise.
38231         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
38232         * iconvdata/gb18030.c : Likewise.
38233         * iconvdata/gbbig5.c (const): Likewise.
38234         * iconvdata/gbgbk.c: Likewise.
38235         * iconvdata/gbk.c : Likewise.
38236         * iconvdata/ibm1364.c : Likewise.
38237         * iconvdata/ibm930.c : Likewise.
38238         * iconvdata/ibm932.c: Likewise.
38239         * iconvdata/ibm933.c : Likewise.
38240         * iconvdata/ibm935.c : Likewise.
38241         * iconvdata/ibm937.c : Likewise.
38242         * iconvdata/ibm939.c : Likewise.
38243         * iconvdata/ibm943.c: Likewise.
38244         * iconvdata/iso_11548-1.c: Likewise.
38245         * iconvdata/iso-2022-cn.c : Likewise.
38246         * iconvdata/iso-2022-cn-ext.c : Likewise.
38247         * iconvdata/iso-2022-jp-3.c: Likewise.
38248         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
38249         * iconvdata/iso-2022-kr.c : Likewise.
38250         * iconvdata/iso646.c (gconv_end): Likewise.
38251         * iconvdata/iso_6937-2.c : Likewise.
38252         * iconvdata/iso_6937.c : Likewise.
38253         * iconvdata/iso8859-1.c: Likewise.
38254         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
38255         * iconvdata/shift_jisx0213.c : Likewise.
38256         * iconvdata/sjis.c : Likewise.
38257         * iconvdata/t.61.c : Likewise.
38258         * iconvdata/tcvn5712-1.c : Likewise.
38259         * iconvdata/tscii.c: Likewise.
38260         * iconvdata/uhc.c : Likewise.
38261         * iconvdata/unicode.c (gconv_end): Likewise.
38262         * iconvdata/utf-16.c (gconv_end): Likewise.
38263         * iconvdata/utf-32.c (gconv_end): Likewise.
38264         * iconvdata/utf-7.c (base64): Likewise.
38265         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
38266         * iconv/gconv_close.c (__gconv_close): Likewise.
38267         * iconv/gconv_open.c (__gconv_open): Likewise.
38268         * iconv/gconv_simple.c (internal_ucs4_loop_single)
38269         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
38270         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
38271         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
38272         (ucs4le_internal_loop_single): Likewise.
38273         * iconv/iconv.c (iconv): Likewise.
38274         * iconv/iconv_close.c: Likewise.
38275         * iconv/loop.c (SINGLE): Likewise.
38276         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
38277         * include/atomic.h: Likewise.
38278         * inet/inet6_option.c (option_alloc): Likewise.
38279         * intl/bindtextdom.c (set_binding_values): Likewise.
38280         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
38281         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
38282         * intl/localealias.c (read_alias_file): Likewise.
38283         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
38284         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
38285         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
38286         * libio/fmemopen.c (fmemopen): Likewise.
38287         * libio/iofgets.c (_IO_fgets): Likewise.
38288         * libio/iofgets_u.c (fgets_unlocked): Likewise.
38289         * libio/iofgetws.c (fgetws): Likewise.
38290         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38291         * libio/iogetdelim.c (_IO_getdelim): Likewise.
38292         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38293         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38294         * locale/findlocale.c (_nl_find_locale): Likewise.
38295         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38296         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38297         Likewise.
38298         * locale/setlocale.c (setlocale): Likewise.
38299         * login/programs/pt_chown.c (main): Likewise.
38300         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38301         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38302         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38303         (mmap, mmap64, mremap, munmap): Likewise.
38304         * math/e_exp2l.c: Likewise.
38305         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38306         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38307         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38308         * math/s_catan.c (__catan): Likewise.
38309         * math/s_catanf.c (__catanf): Likewise.
38310         * math/s_catanh.c (__catanh): Likewise.
38311         * math/s_catanhf.c (__catanhf): Likewise.
38312         * math/s_catanhl.c (__catanhl): Likewise.
38313         * math/s_catanl.c (__catanl): Likewise.
38314         * math/s_ccosh.c (__ccosh): Likewise.
38315         * math/s_ccoshf.c (__ccoshf): Likewise.
38316         * math/s_ccoshl.c (__ccoshl): Likewise.
38317         * math/s_cexp.c (__cexp): Likewise.
38318         * math/s_cexpf.c (__cexpf): Likewise.
38319         * math/s_cexpl.c (__cexpl): Likewise.
38320         * math/s_clog10.c (__clog10): Likewise.
38321         * math/s_clog10f.c (__clog10f): Likewise.
38322         * math/s_clog10l.c (__clog10l): Likewise.
38323         * math/s_clog.c (__clog): Likewise.
38324         * math/s_clogf.c (__clogf): Likewise.
38325         * math/s_clogl.c (__clogl): Likewise.
38326         * math/s_csin.c (__csin): Likewise.
38327         * math/s_csinf.c (__csinf): Likewise.
38328         * math/s_csinh.c (__csinh): Likewise.
38329         * math/s_csinhf.c (__csinhf): Likewise.
38330         * math/s_csinhl.c (__csinhl): Likewise.
38331         * math/s_csinl.c (__csinl): Likewise.
38332         * math/s_csqrt.c (__csqrt): Likewise.
38333         * math/s_csqrtf.c (__csqrtf): Likewise.
38334         * math/s_csqrtl.c (__csqrtl): Likewise.
38335         * math/s_ctan.c (__ctan): Likewise.
38336         * math/s_ctanf.c (__ctanf): Likewise.
38337         * math/s_ctanh.c (__ctanh): Likewise.
38338         * math/s_ctanhf.c (__ctanhf): Likewise.
38339         * math/s_ctanhl.c (__ctanhl): Likewise.
38340         * math/s_ctanl.c (__ctanl): Likewise.
38341         * math/w_pow.c: Likewise.
38342         * math/w_powf.c: Likewise.
38343         * math/w_powl.c: Likewise.
38344         * math/w_scalb.c (sysv_scalb): Likewise.
38345         * math/w_scalbf.c (sysv_scalbf): Likewise.
38346         * math/w_scalbl.c (sysv_scalbl): Likewise.
38347         * misc/error.c (error_tail): Likewise.
38348         * misc/pselect.c (__pselect): Likewise.
38349         * nis/nis_callback.c (__nis_create_callback): Likewise.
38350         * nis/nis_call.c (__nisfind_server): Likewise.
38351         * nis/nis_creategroup.c (nis_creategroup): Likewise.
38352         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38353         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38354         * nis/nis_getservlist.c (nis_getservlist): Likewise.
38355         * nis/nis_lookup.c (nis_lookup): Likewise.
38356         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38357         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38358         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38359         * nis/nis_xdr.c (xdr_endpoint): Likewise.
38360         * nis/nss_compat/compat-grp.c (getgrent_next_file)
38361         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38362         * nis/nss_compat/compat-initgroups.c (add_group)
38363         (internal_getgrent_r): Likewise.
38364         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38365         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38366         * nis/nss_compat/compat-spwd.c (getspent_next_file)
38367         (internal_getspnam_r): Likewise.
38368         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38369         (_nss_nis_getaliasbyname_r): Likewise.
38370         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
38371         (_nss_nis_getntohost_r): Likewise.
38372         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
38373         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
38374         (_nss_nis_getgrgid_r): Likewise.
38375         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
38376         (internal_nis_gethostent_r, internal_gethostbyname2_r)
38377         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
38378         (_nss_nis_gethostbyname4_r): Likewise.
38379         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
38380         (initgroups_netid): Likewise.
38381         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
38382         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
38383         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
38384         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
38385         (_nss_nis_getprotobynumber_r): Likewise.
38386         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
38387         (_nss_nis_getsecretkey): Likewise.
38388         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
38389         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
38390         (_nss_nis_getpwuid_r): Likewise.
38391         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
38392         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
38393         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
38394         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
38395         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
38396         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
38397         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
38398         Likewise.
38399         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
38400         (_nss_nisplus_getntohost_r): Likewise.
38401         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
38402         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
38403         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
38404         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
38405         Likewise.
38406         * nis/nss_nisplus/nisplus-initgroups.c
38407         (_nss_nisplus_initgroups_dyn): Likewise.
38408         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
38409         (_nss_nisplus_getnetbyaddr_r): Likewise.
38410         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
38411         (_nss_nisplus_getprotobynumber_r): Likewise.
38412         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
38413         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
38414         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
38415         Likewise.
38416         * nis/nss_nisplus/nisplus-service.c
38417         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
38418         (_nss_nisplus_getservbyport_r): Likewise.
38419         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
38420         (_nss_nisplus_getspnam_r): Likewise.
38421         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
38422         Likewise.
38423         * nscd/aicache.c (addhstaiX): Likewise.
38424         * nscd/cache.c (cache_search, prune_cache): Likewise.
38425         * nscd/connections.c (register_traced_file, send_ro_fd)
38426         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
38427         (main_loop_epoll): Likewise.
38428         * nscd/grpcache.c (addgrbyX): Likewise.
38429         * nscd/hstcache.c (addhstbyX): Likewise.
38430         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38431         * nscd/mem.c (gc, mempool_alloc): Likewise.
38432         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
38433         (addinnetgrX): Likewise.
38434         * nscd/nscd-client.h (__nscd_acquire_maplock)
38435         (__nscd_drop_map_ref): Likewise.
38436         * nscd/nscd_getai.c (__nscd_getai): Likewise.
38437         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38438         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
38439         Likewise.
38440         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
38441         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38442         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
38443         (__nscd_get_map_ref): Likewise.
38444         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
38445         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
38446         Likewise.
38447         * nscd/pwdcache.c (addpwbyX): Likewise.
38448         * nscd/selinux.c (preserve_capabilities): Likewise.
38449         * nscd/servicescache.c (addservbyX): Likewise.
38450         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
38451         * posix/fnmatch.c (fnmatch): Likewise.
38452         * posix/getopt.c (_getopt_internal_r): Likewise.
38453         * posix/glob.c (glob, glob_in_dir): Likewise.
38454         * posix/wordexp.c (exec_comm_child): Likewise.
38455         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
38456         (getanswer_r, gaih_getanswer_slice): Likewise.
38457         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
38458         * resolv/res_init.c: Likewise.
38459         * resolv/res_mkquery.c (res_nmkquery): Likewise.
38460         * resolv/res_query.c (__libc_res_nquery): Likewise.
38461         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
38462         Likewise.
38463         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
38464         * stdio-common/perror.c (perror): Likewise.
38465         * stdio-common/printf_fp.c (___printf_fp): Likewise.
38466         * stdio-common/tmpnam.c (tmpnam): Likewise.
38467         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38468         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
38469         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
38470         Likewise.
38471         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
38472         * stdlib/putenv.c (putenv): Likewise.
38473         * stdlib/setenv.c (__add_to_environ): Likewise.
38474         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38475         * stdlib/strtol_l.c (INTERNAL): Likewise.
38476         * string/memmem.c (memmem): Likewise.
38477         * string/strerror.c (strerror): Likewise.
38478         * string/strnlen.c (__strnlen): Likewise.
38479         * string/test-memmem.c (simple_memmem): Likewise.
38480         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
38481         * sunrpc/pm_getport.c (__get_socket): Likewise.
38482         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
38483         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
38484         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
38485         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
38486         Likewise.
38487         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
38488         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38489         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38490         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
38491         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38492         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
38493         Likewise.
38494         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
38495         Likewise.
38496         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38497         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38498         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38499         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38500         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
38501         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
38502         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38503         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
38504         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38505         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
38506         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38507         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
38508         Likewise.
38509         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
38510         Likewise.
38511         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
38512         Likewise.
38513         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
38514         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38515         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
38516         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
38517         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
38518         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
38519         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38520         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
38521         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
38522         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
38523         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
38524         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38525         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38526         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
38527         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38528         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38529         Likewise.
38530         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
38531         Likewise.
38532         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
38533         Likewise.
38534         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
38535         Likewise.
38536         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38537         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38538         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
38539         Likewise.
38540         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
38541         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
38542         * sysdeps/posix/opendir.c (__opendirat): Likewise.
38543         * sysdeps/posix/sleep.c: Likewise.
38544         * sysdeps/posix/tempname.c: Likewise.
38545         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
38546         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38547         Likewise.
38548         * sysdeps/powerpc/powerpc32/dl-machine.h
38549         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
38550         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38551         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38552         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
38553         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
38554         Likewise.
38555         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
38556         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
38557         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38558         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
38559         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38560         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
38561         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
38562         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
38563         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38564         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
38565         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
38566         (elf_machine_lazy_rel): Likewise.
38567         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38568         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
38569         (elf_machine_lazy_rel): Likewise.
38570         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
38571         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
38572         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
38573         * sysdeps/unix/grantpt.c (grantpt): Likewise.
38574         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
38575         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
38576         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
38577         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38578         Likewise.
38579         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
38580         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
38581         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
38582         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
38583         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38584         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38585         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
38586         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
38587         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
38588         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38589         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38590         Likewise.
38591         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
38592         (__posix_fallocate64_l64): Likewise.
38593         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
38594         (posix_fallocate): Likewise.
38595         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
38596         Likewise.
38597         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38598         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
38599         (getifaddrs_internal): Likewise.
38600         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
38601         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
38602         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
38603         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38604         * sysdeps/unix/sysv/linux/posix_fallocate64.c
38605         (__posix_fallocate64_l64): Likewise.
38606         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38607         Likewise.
38608         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
38609         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
38610         (__get_clockfreq): Likewise.
38611         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
38612         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
38613         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
38614         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38615         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38616         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
38617         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
38618         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
38619         Likewise.
38620         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
38621         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
38622         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
38623         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
38624         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38625         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
38626         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
38627         Likewise.
38628         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38629         (posix_fallocate): Likewise.
38630         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38631         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
38632         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
38633         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
38634         (elf_machine_rela, elf_machine_rela_relative)
38635         (elf_machine_lazy_rel): Likewise.
38636         * time/asctime.c (asctime_internal): Likewise.
38637         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
38638         * time/tzset.c (__tzset_parse_tz): Likewise.
38639         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38640         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38641         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
38642         * wcsmbs/wcsmbsload.h: Likewise.
38644         [BZ #15894]
38645         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
38647         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
38648         (arena_get2): Remove THREAD_STATS conditionals.
38649         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
38650         (__malloc_stats, int): Likewise.
38652 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
38654         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
38655         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
38657         * manual/setjmp.texi: Fix typos/grammar errors.
38659         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
38660         Only return early when n is <= 0.  Delete unused return statement.
38662         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
38663         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
38664         * debug/tst-longjmp_chk3.c: New file.
38666         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
38667         (test_main): Replace code with set_fortify_handler call.
38668         * debug/test-strcpy_chk.c: Likewise.
38669         * debug/tst-chk1.c: Likewise.
38670         * debug/tst-longjmp_chk.c: Likewise.
38671         * test-skeleton.c: Include fcntl.h & paths.h
38672         (set_fortify_handler): Define.
38674         * debug/tst-longjmp_chk.c: Add header comment and include
38675         ../test-skeleton.c.
38676         (do_test): Mark static.
38677         (TEST_FUNCTION): Define.
38679         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
38680         (IP_PMTUDISC_INTERFACE): Likewise.
38681         (IP_MULTICAST_IF): Likewise.
38682         (IP_MULTICAST_TTL): Likewise.
38683         (IP_MULTICAST_LOOP): Likewise.
38684         (IP_ADD_MEMBERSHIP): Likewise.
38685         (IP_DROP_MEMBERSHIP): Likewise.
38686         (IP_UNBLOCK_SOURCE): Likewise.
38687         (IP_BLOCK_SOURCE): Likewise.
38688         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
38689         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
38690         (IP_MSFILTER): Likewise.
38691         (MCAST_JOIN_GROUP): Likewise.
38692         (MCAST_BLOCK_SOURCE): Likewise.
38693         (MCAST_UNBLOCK_SOURCE): Likewise.
38694         (MCAST_LEAVE_GROUP): Likewise.
38695         (MCAST_JOIN_SOURCE_GROUP): Likewise.
38696         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
38697         (MCAST_MSFILTER): Likewise.
38698         (IP_MULTICAST_ALL): Likewise.
38699         (IP_UNICAST_IF): Likewise.
38701         * timezone/Makefile: Delete $(have-ksh) check.
38702         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
38703         * timezone/tzselect.ksh: Add +x mode bits.
38705         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
38706         (ANON_INODE_FS_MAGIC): Likewise.
38707         (BDEVFS_MAGIC): Likewise.
38708         (BINFMTFS_MAGIC): Likewise.
38709         (BTRFS_TEST_MAGIC): Likewise.
38710         (CRAMFS_MAGIC_WEND): Likewise.
38711         (DEBUGFS_MAGIC): Likewise.
38712         (ECRYPTFS_SUPER_MAGIC): Likewise.
38713         (EXT3_SUPER_MAGIC): Likewise.
38714         (EXT4_SUPER_MAGIC): Likewise.
38715         (FUTEXFS_SUPER_MAGIC): Likewise.
38716         (HOSTFS_SUPER_MAGIC): Likewise.
38717         (HUGETLBFS_MAGIC): Likewise.
38718         (MINIX3_SUPER_MAGIC): Likewise.
38719         (MTD_INODE_FS_MAGIC): Likewise.
38720         (NILFS_SUPER_MAGIC): Likewise.
38721         (OPENPROM_SUPER_MAGIC): Likewise.
38722         (PIPEFS_MAGIC): Likewise.
38723         (PSTOREFS_MAGIC): Likewise.
38724         (QNX6_SUPER_MAGIC): Likewise.
38725         (RAMFS_MAGIC): Likewise.
38726         (REISERFS_SUPER_MAGIC_STRING): Likewise.
38727         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
38728         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
38729         (SECURITYFS_MAGIC): Likewise.
38730         (SELINUX_MAGIC): Likewise.
38731         (SMACK_MAGIC): Likewise.
38732         (SOCKFS_MAGIC): Likewise.
38733         (SQUASHFS_MAGIC): Likewise.
38734         (STACK_END_MAGIC): Likewise.
38735         (TMPFS_MAGIC): Likewise.
38736         (USBDEVICE_SUPER_MAGIC): Likewise.
38737         (V9FS_MAGIC): Likewise.
38738         (XENFS_SUPER_MAGIC): Likewise.
38739         (CRAMFS_MAGIC): Fix typo in comment.
38740         (EXT2_SUPER_MAGIC): Update comment.
38741         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
38743 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
38745         * sysdeps/arm: Move directory from ports/sysdeps/arm.
38746         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
38747         * sysdeps/unix/sysv/linux/arm: Move directory from
38748         ports/sysdeps/unix/sysv/linux/arm.
38749         * README: Update listing for arm-*-linux-gnueabi.
38751         * README: Remove mention of am33.
38753 2014-02-07  Roland McGrath  <roland@hack.frob.com>
38755         * bits/sigset.h (__sigemptyset): Use a statement expression rather
38756         than the comma operator, to avoid "rhs of comma has no effect"
38757         compiler warnings.
38758         (__sigfillset, __sigandset, __sigorset): Likewise.
38759         * include/signal.h (__sigemptyset): Likewise.
38760         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
38762 2014-02-07  Allan McRae  <allan@archlinux.org>
38764         * version.h (RELEASE): Set to "development".
38765         (VERSION): Set to "2.19.90"
38766         * NEWS: Add 2.20 section.
38768 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
38770         [BZ #16529]
38771         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
38773 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38775         * manual/contrib.texi: Update entry for Carlos O'Donell,
38776         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
38778 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
38780         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
38782         * sysdeps/unix/sysv/linux/kernel-features.h
38783         [__LINUX_KERNEL_VERSION >= 0x020621]
38784         (__ASSUME_PROC_PID_TASK_COMM): Define.
38786 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38788         [BZ #16398]
38789         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
38790         conversion when destination buffer does not have enough space.
38791         * libio/tst-ftell-partial-wide.c: New test case.
38792         * libio/Makefile (tests): Add tst-ftell-partial-wide.
38794         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
38795         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
38796         Leonard and Allan McRae.
38798 2014-02-04  David S. Miller  <davem@davemloft.net>
38800         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
38801         32-bit.
38803 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38806         New file
38807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38808         New file
38809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38810         New file.
38811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38812         New file.
38813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38814         New file.
38815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38816         New file.
38817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38818         New file.
38819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38820         New file.
38821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38822         New file.
38823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38824         New file.
38825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38826         New file.
38827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38828         New file.
38829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38830         New file.
38832 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38834         * nptl/shlib-versions: Change powerpc*le start to 2.17.
38835         * shlib-versions: Likewise.
38837 2014-02-04  Roland McGrath  <roland@hack.frob.com>
38838             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38840         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
38841         (abilist-pattern): New variable, set to %-le.abilist.
38843         * Makerules (abilist-pattern): New variable.
38844         (vpath): Use $(abilist-pattern) in place of %.abilist.
38845         (check-abi-% pattern rule): Likewise.
38846         (check-abi, update-abi): Likewise.
38848 2014-02-04  Eric Wong  <normalperson@yhbt.net>
38850         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38852 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
38854         * manual/startup.texi: Add next, previous, and top entries for
38855         the `Program Arguments' and `Environment Variables' nodes.
38857 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
38859         * manual/macros.texi: Add comments before MTASC-safety macros.
38861         * manual/users.texi: Document MTASC-safety properties.
38863         * manual/threads.texi (pthread_key_create, pthread_key_delete)
38864         (pthread_getspecific, pthread_setspecific): Format with
38865         @deftypefun, and add @safety note.
38866         * manual/signal.texi: Move comments that analyze the above
38867         functions to their home place.
38869 2014-02-03  Allan McRae  <allan@archlinux.org>
38871         * po/sl.po: Update Slovenian translation from translation project.
38873 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
38875         * manual/time.texi (timegm): Add missing blank after @c.
38876         Reported by Joseph Myers <joseph@codesourcery.com>.
38878 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
38880         * manual/check-safety.sh: New.
38881         * manual/Makefile ($(objpfx)stamp-summary): Run it.
38883         * manual/terminal.texi: Document MTASC-safety properties.
38885         * manual/filesys.texi: Document MTASC-safety properties.
38887         * manual/errno.texi: Document MTASC-safety properties.
38889         * manual/intro.texi: Document safety identifiers and
38890         conditionals.
38892         * manual/string.texi (wcstok): Fix prototype.
38893         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
38895         * manual/time.texi: Document MTASC-safety properties.
38897         * manual/string.texi: Document MTASC-safety properties.
38899         * manual/threads.texi: Document MTASC-safety properties.
38901         * manual/stdio.texi: Document MTASC-safety properties.
38903         * manual/syslog.texi: Document MTASC-safety properties.
38905         * manual/sysinfo.texi: Document MTASC-safety properties.
38907         * manual/startup.texi: Document MTASC-safety properties.
38909         * manual/socket.texi: Document MTASC-safety properties.
38911         * manual/signal.texi: Document MTASC-safety properties.
38913 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
38915         * manual/setjmp.texi: Document MTASC-safety properties.
38917         * manual/search.texi: Document MTASC-safety properties.
38919         * manual/resource.texi: Document MTASC-safety properties.
38921         * manual/process.texi: Document MTASC-safety properties.
38923         * manual/platform.texi: Document MTASC-safety properties.
38925         * manual/pipe.texi: Document MTASC-safety properties.
38927         * manual/pattern.texi: Document MTASC-safety properties.
38929         * manual/message.texi: Document MTASC-safety properties.
38931         [BZ #12751]
38932         * manual/memory.texi: Document MTASC-safety properties.
38934         * manual/math.texi: Document MTASC-safety properties.
38936         * manual/locale.texi: Document MTASC-safety properties.
38938         * manual/llio.texi: Document MTASC-safety properties.
38940         * manual/libdl.texi: New.
38942         * manual/lang.texi: Document MTASC-safety properties.
38944         * manual/job.texi: Document MTASC-safety properties.
38946         * manual/getopt.texi: Document MTASC-safety properties.
38948         * manual/ctype.texi: Document MTASC-safety properties.
38950 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
38952         [BZ #16046]
38953         * csu/libc-tls.c (static_map): Remove variable.
38954         (__libc_setup_tls): Use main executable's link map for TLS data.
38955         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
38956         casing for LM_ID_BASE and GL(dl_nns).
38957         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
38958         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
38959         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
38960         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
38961         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
38962         member.
38963         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
38964         l_phnum members.
38966 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
38968         * manual/debug.texi: Document MTASC-safety properties.
38970 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
38972         [BZ #16510]
38973         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
38974         of __x86_64__ when disabling x87 inline functions.
38976 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
38978         * manual/charset.texi: Document MTASC-safety properties.
38980         * manual/crypt.texi: Document MTASC-safety properties.
38982         * manual/conf.texi: Document MTASC-safety properties.
38984         * manual/arith.texi: Document MTASC-safety properties.
38986         * manual/argp.texi: Document MTASC-safety properties.
38988         * manual/macros.texi: Introduce macros to document multi
38989         thread, asynchronous signal and asynchronous cancellation
38990         safety properties.
38991         * manual/intro.texi: Introduce the properties themselves.
38993 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38995         * sysdeps/sh/sh4/Makefile: New file.
38997 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
38999         * math/gen-libm-test.pl ($srcdir): New variable.
39000         ($auto_input): Use it.
39002 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39004         [BZ #16506]
39005         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
39006         access beyond array bounds when parsing netgroups file.
39008         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
39009         the old buffer before realloc.
39011 2014-01-27  Allan McRae  <allan@archlinux.org>
39013         * po/fr.po: Update French translation from translation project.
39015 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39017         * sysdeps/sh/libm-test-ulps: Regenerate.
39019 2014-01-24  David S. Miller  <davem@davemloft.net>
39021         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
39023 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39025         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
39026         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
39028 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39030         [BZ #16474]
39031         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
39032         string pointers after reallocation.
39034 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39036         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
39037         __SH4A__ instead of __SH_FPU_ANY__.
39039 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39041         * sysdeps/sh/fpu_control.h: New file.
39042         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
39043         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
39044         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
39045         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
39046         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
39047         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
39048         * sysdeps/sh/sys/ucontext.h: Remove.
39049         * sysdeps/sh/sys: Remove directory.
39051 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39053         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
39054         s390/sys/ucontext.h.
39055         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
39056         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
39058 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
39060         [BZ #15605]
39061         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
39063 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39065         [BZ#16431]
39066         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39067         Adjust the vDSO correctly for internal calls.
39068         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
39070 2014-01-20  Allan McRae  <allan@archlinux.org>
39072         * po/ca.po: Update Catalan translation from translation project.
39074 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
39076         * sysdeps/s390/sotruss-lib.c: New file.
39078 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39080         [BZ#16430]
39081         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
39082         (__GI___gettimeofday): Alias for a different internal symbol to avoid
39083         local calls issues by not having a PLT stub required for IFUNC calls.
39084         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
39086 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
39088         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
39089         * math/test-fpucw-static.c: Likewise.
39091 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39093         [BZ #16453]
39094         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
39096 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39098         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
39099         implementation for powerpc.
39101 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
39103         [BZ #14782]
39104         * sysdeps/posix/system.c (__libc_system): Do not enable
39105         asynchronous cancellation.
39107 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39109         [BZ #16427]
39110         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
39111         handling only for numbers special also in the IEEE case.
39113 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39115         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39117 2014-01-11  Allan McRae  <allan@archlinux.org>
39119         * po/bg.po: Update Bulgarian translation from translation project.
39121         * po/de.po: Update German translation from translation project.
39123 2014-01-10  Roland McGrath  <roland@hack.frob.com>
39125         * sysdeps/generic/gcc-compat.h: New file.
39127 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39129         * benchtests/asin-inputs: Correct slow inputs.
39130         * benchtests/acos-inputs: Likewise.
39132 2014-01-10  Allan McRae  <allan@archlinux.org>
39134         * po:sv.po: Update Swedish translation from translation project.
39136         * po/vi.po: Update Vietnamese translation from translation project.
39138         * po/eo.po: Update Esperanto translation from translation project.
39140         * po/cs.po: Update Czech translation from translation project.
39142         * po/nl.po: Update Dutch translation from translation project.
39144         * po/pl.po: Update Polish translation from translation project.
39146         * po/ru.po: Update Russian translation from translation project.
39148         * po/uk.po: Update Ukrainian translation from translation project.
39150 2014-01-08  Brooks Moses  <bmoses@google.com>
39152         * elf/dl-load.c: Fix comment typo.
39154 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
39156         * po/header.pot: Rename to...
39157         * po/pot.header: ... this.
39158         * po/Makefile: Use pot.header.
39160 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
39161             Maxim Kuvyrkov  <maxim@kugelworks.com>
39163         [BZ #16394]
39164         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
39165         SRC and DEST against LEN.
39167 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39169         [BZ #16414]
39170         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
39171         implementation.
39172         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
39174 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39178 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
39180         [BZ #16408]
39181         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39182         for large positive arguments.
39184 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
39186         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39188         * math/auto-libm-test-in: Mark various tests with
39189         xfail-rounding:ldbl-128ibm.
39190         * math/auto-libm-test-out: Regenerated.
39192         [BZ #16407]
39193         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39194         Increase overflow threshold.
39196 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
39198         [BZ #14286]
39199         * stdio-common/vfprintf.c: Check for integer overflow.
39201 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39203         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39204         the first argument and return value of __tls_get_addr_internal.
39206 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39208         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39209         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39211 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39213         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
39214         * sysdeps/s390/rtld-global-offsets.sym: New file.
39215         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39216         GLIBC_2.19 symbol.
39217         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
39218         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
39219         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39220         ... this.
39221         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39222         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39223         ... this.
39224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39225         Regenerate.
39226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39227         Regenerate.
39228         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
39229         halfs of GPRs for high_gprs contexts.
39230         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
39231         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
39232         field.
39233         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
39234         uc_flags field.
39235         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
39236         64 bit versions:
39237         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
39238         for high GPRs (uc_high_gprs) and for future extensions
39239         (__reserved).
39240         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
39241         for future extensions (__reserved).
39242         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
39243         64 bit versions:
39244         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
39245         SC_HIGHGPRS offset definition.
39246         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
39247         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
39249         * Versions.def: Add GLIBC_2.19 for libpthread.
39250         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
39251         siglongjmp for libpthread with GLIBC_2.19 symver.
39252         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
39253         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
39254         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
39255         * sysdeps/s390/__longjmp.c: New file.
39256         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
39257         * sysdeps/s390/longjmp.c: New file.
39258         * sysdeps/s390/setjmp.S: New file.
39259         * sysdeps/s390/sigjmp.S: New file.
39260         * sysdeps/s390/v1-longjmp.c: New file.
39261         * sysdeps/s390/v1-setjmp.h: New file.
39262         * sysdeps/s390/v1-sigjmp.c: New file.
39263         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
39264         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
39265         GLIBC_2.19 version.
39266         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
39267         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
39268         versioned symbols for ____longjmp_chk.
39269         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39270         Likewise.
39271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39272         Regenerate.
39273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39274         Regenerate.
39275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39276         Regenerate.
39277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39278         Regenerate.
39279         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
39280         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
39281         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
39282         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
39283         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
39284         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
39285         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
39286         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
39287         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
39288         * sysdeps/s390/rtld-__longjmp.c: New file.
39289         * sysdeps/s390/rtld-setjmp.S: New file.
39291 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
39293         [BZ #16400]
39294         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39295         Return -__logl (x) for small positive arguments without evaluating
39296         a polynomial.
39298 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
39300         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39301         Rename to ...
39302         (__ptrace_peeksiginfo_args): ... this.
39303         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39304         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39305         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39307 2014-01-06  Allan McRae  <allan@archlinux.org>
39309         * inet/netinet/in.h: Fix typo in comment.
39311 2014-01-05  Andreas Jaeger  <aj@suse.de>
39313         * sysdeps/i386/fpu/libm-test-ulps: Update.
39315 2014-01-05  Allan McRae  <allan@archlinux.org>
39317         * po/libc.pot: Regenerated.
39319         * malloc/memusagestat.c: Fix gettext call formatting.
39321 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
39323         * nscd/nscd.c: Improve usage() output.
39325 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
39327         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39328         * sysdeps/unix/sysv/linux/configure: Regenerated.
39329         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39330         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39332 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39334         [BZ #16390]
39335         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39336         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39338 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39340         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39341         extra tokens at end of #undef directive.
39342         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39343         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39344         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39346 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39348         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39350         * math/auto-libm-test-in: Mark various tests with
39351         xfail-rounding:ldbl-128ibm.
39352         * math/auto-libm-test-out: Regenerated.
39354 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
39356         [BZ #16386]
39357         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39358         numbers with subnormal high part when calculating exponent.
39360         [BZ #16385]
39361         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39362         fabs.
39364         [BZ #16384]
39365         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39366         M_LN2l.
39367         (__ieee754_acoshl): Use __log1pl not __log1p.
39369 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
39371         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
39372         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
39373         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
39374         (grow_heap, heap_trim, _int_new_arena, get_free_list)
39375         (reused_arena, arena_get2): Convert to GNU style.
39376         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
39377         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
39378         (memalign_check, __malloc_set_state): Likewise.
39379         * malloc/mallocbug.c (main): Likewise.
39380         * malloc/malloc.c (__malloc_assert, malloc_init_state)
39381         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
39382         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
39383         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
39384         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
39385         (__posix_memalign, malloc_info): Likewise.
39386         * malloc/malloc.h: Likewise.
39387         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
39388         (mallochook, memalignhook, reallochook, mabort): Likewise.
39389         * malloc/mcheck.h: Likewise.
39390         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
39391         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
39392         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39393         * malloc/morecore.c (__default_morecore): Likewise.
39394         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
39395         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
39396         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
39397         (print_and_abort): Likewise.
39398         * malloc/obstack.h: Likewise.
39399         * malloc/set-freeres.c (__libc_freeres): Likewise.
39400         * malloc/tst-mallocstate.c (main): Likewise.
39401         * malloc/tst-mtrace.c (main): Likewise.
39402         * malloc/tst-realloc.c (do_test): Likewise.
39404 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39406         [BZ #16366]
39407         * nscd/netgroupcache.c (do_notfound): New function.
39408         (addgetnetgrentX): Use it.
39410         [BZ # 16365]
39411         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
39412         NSS_STATUS_NOTFOUND.
39414 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
39416         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39419 2014-01-01  Allan McRae  <allan@archlinux.org>
39421         * scripts/update-copyrights: Update configure input file suffix.
39423         * NEWS: Update copyright year.
39424         * catgets/gencat.c: Likewise.
39425         * csu/version.c: Likewise.
39426         * debug/catchsegv.sh: Likewise.
39427         * debug/pcprofiledump.c: Likewise.
39428         * debug/xtrace.sh: Likewise.
39429         * elf/ldconfig.c: Likewise.
39430         * elf/ldd.bash.in: Likewise.
39431         * elf/pldd.c: Likewise.
39432         * elf/sotruss.ksh: Likewise.
39433         * elf/sprof.c: Likewise.
39434         * iconv/iconv_prog.c: Likewise.
39435         * iconv/iconvconfig.c: Likewise.
39436         * locale/programs/locale.c: Likewise.
39437         * locale/programs/localedef.c: Likewise.
39438         * login/programs/pt_chown.c: Likewise.
39439         * malloc/memusage.sh: Likewise.
39440         * malloc/memusagestat.c: Likewise.
39441         * malloc/mtrace.pl: Likewise.
39442         * manual/libc.texinfo: Likewise.
39443         * nscd/nscd.c: Likewise.
39444         * nss/getent.c: Likewise.
39445         * nss/makedb.c: Likewise.
39446         * posix/getconf.c: Likewise.
39447         * scripts/test-installation.pl: Likewise.
39449         * All files with FSF copyright notices: Update copyright dates
39450         using scripts/update-copyrights.
39451         * intl/plural.c: Regenerated.
39452         * locale/programs/charmap-kw.h: Likewise.
39453         * locale/programs/locfile-kw.h: Likewise.
39455 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
39457         * sysdeps/unix/sysv/linux/configure: Regenerated.
39458         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
39459         the linux/fanotify.h header.
39460         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
39461         HAVE_LINUX_FANOTIFY_H is defined.
39463 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39465         * benchtests/cos-inputs: New inputs.
39466         * benchtests/sin-inputs: Likewise.
39468         * benchtests/atan-inputs: New inputs. Fix name of multiple
39469         precision fallback inputs.
39471         * benchtests/atanh-inputs: New inputs.
39472         * benchtests/tanh-inputs: Likewise.
39474         * benchtests/acosh-inputs: New inputs.
39475         * benchtests/asinh-inputs: Likewise.
39477         * benchtests/cosh-inputs: New inputs.
39478         * benchtests/sinh-inputs: Likewise.
39480         * benchtests/acos-inputs: Add more inputs.
39481         * benchtests/asin-inputs: Likewise.
39483 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
39485         [BZ #16375]
39486         * manual/arith.texi: Fix spelling.
39487         * manual/charset.texi: Likewise.
39488         * manual/errno.texi: Likewise.
39489         * manual/filesys.texi: Likewise.
39490         * manual/lang.texi: Likewise.
39491         * manual/llio.texi: Likewise.
39492         * manual/locale.texi: Likewise.
39493         * manual/message.texi: Likewise.
39494         * manual/resource.texi: Likewise.
39495         * manual/search.texi: Likewise.
39496         * manual/setjmp.texi: Likewise.
39497         * manual/stdio.texi: Likewise.
39498         * manual/string.texi: Likewise.
39499         * manual/sysinfo.texi: Likewise.
39500         * manual/time.texi: Likewise.
39502 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
39504         * po/sl.po: New file.
39506 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
39508         * .gitignore: Add core/.gdbinit/.gdb_history.
39510 2013-12-27  Allan McRae  <allan@archlinux.org>
39512         [BZ #16369]
39513         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
39514         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
39516 2013-12-24  Brooks Moses  <bmoses@google.com>
39518         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
39519         all compilers that claim C++98 compliance, not just GCC.
39520         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39521         Likewise.
39523 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39525         * NEWS: Restore accidentally deleted bug-fix entries.
39527 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39528             Ondřej Bílka  <neleai@seznam.cz>
39530         [BZ #15073]
39531         * malloc/malloc.c (_int_free): Perform sanity check only if we
39532         have_lock.
39534 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
39536         [BZ #12986]
39537         * manual/stdio.texi (String Input Conversions): Clarify that character
39538         classes are not supported.
39540 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39544 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
39546         [BZ #16337]
39547         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39548         Calculate results for small negative arguments directly rather
39549         than using reflection formula with special underflow handling.
39551         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
39552         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
39553         sysdeps/unix/bsd/bsd4.4/syscalls.list.
39554         (fchflags): Likewise.
39555         (revoke): Likewise.
39556         (setlogin): Likewise.
39557         (sigaltstack): Likewise.
39558         (wait4): Likewise.
39559         (sigblock): Remove.
39560         (sigsetmask): Likewise.
39561         (wait3): Likewise.
39562         (waitpid): Likewise.
39563         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
39564         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
39565         file.
39566         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
39567         * sysdeps/unix/bsd/Makefile: ... here.
39568         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
39569         * sysdeps/unix/bsd/Versions: ... here.
39570         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
39571         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
39572         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
39573         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
39574         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
39575         * sysdeps/unix/bsd/sigblock.c: ... here.
39576         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
39577         * sysdeps/unix/bsd/sigsetmask.c: ... here.
39578         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
39579         * sysdeps/unix/bsd/sigvec.c: ... here.
39580         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
39581         * sysdeps/unix/bsd/tcdrain.c: ... here.
39582         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
39583         * sysdeps/unix/bsd/tcgetattr.c: ... here.
39584         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
39585         * sysdeps/unix/bsd/tcsetattr.c: ... here.
39586         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
39587         * sysdeps/unix/bsd/wait.c: ... here.
39588         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
39589         * sysdeps/unix/bsd/wait3.c: ... here.
39590         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
39591         * sysdeps/unix/bsd/waitpid.c: ... here.
39593 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
39595         [BZ #16356]
39596         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
39597         round-to-nearest for [!USE_AS_EXPM1L].
39598         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
39599         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
39600         more tests of exp and exp10.  Expect some exp10 tests to miss
39601         exceptions or fail in directed rounding modes.
39602         * math/auto-libm-test-out: Regenerated.
39603         * math/libm-test.inc (exp10_tonearest_test_data): New array.
39604         (exp10_test_tonearest): New function.
39605         (exp10_towardzero_test_data): New array.
39606         (exp10_test_towardzero): New function.
39607         (exp10_downward_test_data): New array.
39608         (exp10_test_downward): New function.
39609         (exp10_upward_test_data): New array.
39610         (exp10_test_upward): New function.
39611         (main): Call the new functions.
39612         * sysdeps/i386/fpu/libm-test-ulps: Update.
39613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39615 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
39617         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
39618         asinh, atan, atan2, atanh, cbrt, cos and cosh.
39619         * math/auto-libm-test-out: Regenerated.
39620         * math/libm-test.inc (acosh_test_data): Add more tests.
39621         (atanh_test_data): Likewise.
39622         (ceil_test_data): Likewise.
39623         (copysign_test_data): Likewise.
39624         * sysdeps/i386/fpu/libm-test-ulps: Update.
39625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39627         * timezone/checktab.awk: Update from tzcode 2013i.
39628         * timezone/private.h: Likewise.
39629         * timezone/scheck.c: Likewise.
39630         * timezone/tzfile.h: Likewise.
39631         * timezone/tzselect.ksh: Likewise.
39632         * timezone/zdump.c: Likewise.
39633         * timezone/zic.c: Likewise.
39635         * math/auto-libm-test-in: Add tests of cpow.
39636         * math/auto-libm-test-out: Regenerated.
39637         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
39638         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39639         mpc_cc_c.
39640         (func_calc_desc): Add mpc_cc_c union field.
39641         (test_functions): Add cpow.
39642         (special_fill_2pi): New function.
39643         (special_real_inputs): Add 2pi.
39644         (calc_generic_results): Handle mpc_cc_c.
39645         * sysdeps/i386/fpu/libm-test-ulps: Update.
39646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39648         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
39649         csqrt, ctan and ctanh.
39650         * math/auto-libm-test-out: Regenerated.
39651         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39652         (TEST_COND_x86): Likewise.
39653         (ccos_test_data): Use AUTO_TESTS_c_c.
39654         (ccosh_test_data): Likewise.
39655         (cexp_test_data): Likewise.
39656         (clog_test_data): Likewise.
39657         (csqrt_test_data): Likewise.
39658         (ctan_test_data): Likewise.
39659         (ctan_tonearest_test_data): Likewise.
39660         (ctan_towardzero_test_data): Likewise.
39661         (ctan_downward_test_data): Likewise.
39662         (ctan_upward_test_data): Likewise.
39663         (ctanh_test_data): Likewise.
39664         (ctanh_tonearest_test_data): Likewise.
39665         (ctanh_towardzero_test_data): Likewise.
39666         (ctanh_downward_test_data): Likewise.
39667         (ctanh_upward_test_data): Likewise.
39668         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39669         mpc_c_c.
39670         (func_calc_desc): Add mpc_c_c union field.
39671         (FUNC_mpc_c_c): New macro.
39672         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
39673         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
39674         ctanh.
39675         (special_fill_min_subnorm_p120): New function.
39676         (special_real_inputs): Add min_subnorm_p120.
39677         (calc_generic_results): Handle mpc_c_c.
39678         * sysdeps/i386/fpu/libm-test-ulps: Update.
39679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39681 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39683         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
39684         (do_sin_slow): New functions.
39685         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
39686         (cslow2, csloww1, csloww2): Use the new functions.
39688         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
39689         Use M to change sign of result instead of X.  Assume X is
39690         positive.
39691         (csloww1): Likewise.
39692         (__sin): Adjust.
39693         (__cos): Adjust.
39695         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
39696         arguments A and DA.
39697         (__sin): Adjust.
39698         (__cos): Likewise.
39700         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
39701         (__cos): Likewise.
39702         (sloww1): Don't adjust sign of DX.
39703         (csloww1): Likewise.
39704         (sloww2): Use X directly and don't adjust sign of DX.
39705         (csloww2): Likewise.
39707 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39709         * math/auto-libm-test-in: Add tests of cabs and carg.
39710         * math/auto-libm-test-out: Regenerated.
39711         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
39712         (carg_test_data): Likewise.
39713         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39714         mpc_c_f.
39715         (func_calc_desc): Add mpc_c_f union field.
39716         (test_functions): Add cabs and carg.
39717         (calc_generic_results): Handle mpc_c_f.
39719         * sysdeps/powerpc/powerpc32/libgcc-compat.S
39720         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
39721         as a macro and a compat symbol.
39722         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39723         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39724         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39725         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39726         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
39727         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
39728         not use .hidden.
39729         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
39730         Likewise.
39731         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
39732         Likewise.
39733         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
39734         Likewise.
39735         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
39736         Likewise.
39737         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
39738         Likewise.
39739         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
39740         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
39741         from GLIBC_2.3.2.
39743 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39747 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39749         * manual/texinfo.tex: Update to version 2013-11-26.10 with
39750         trailing whitespace removed.
39751         * scripts/config.guess: Update to version 2013-11-29.
39752         * scripts/config.sub: Update to version 2013-10-01.
39754         * math/auto-libm-test-in: Add tests of sincos.
39755         * math/auto-libm-test-out: Regenerated.
39756         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
39757         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39758         mpfr_f_11.
39759         (func_calc_desc): Add mpfr_f_11 union field.
39760         (test_functions): Add sincos.
39761         (calc_generic_results): Handle mpfr_f_11.
39762         * sysdeps/i386/fpu/libm-test-ulps: Update.
39763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39765 2013-12-19  Andreas Schwab  <schwab@suse.de>
39767         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
39768         CALL_MCOUNT.
39769         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39770         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
39771         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
39773 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39775         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
39776         * sysdeps/i386/fpu/libm-test-ulps: Update.
39777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39779         [BZ #16293]
39780         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
39781         round-to-nearest mode when using frndint.
39782         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
39783         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39784         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
39785         Likewise.
39786         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
39787         sinh test to fail.
39788         * math/auto-libm-test-out: Regenerated.
39789         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
39790         (TEST_COND_x86): Likewise.
39791         (expm1_tonearest_test_data): New array.
39792         (expm1_test_tonearest): New function.
39793         (expm1_towardzero_test_data): New array.
39794         (expm1_test_towardzero): New function.
39795         (expm1_downward_test_data): New array.
39796         (expm1_test_downward): New function.
39797         (expm1_upward_test_data): New array.
39798         (expm1_test_upward): New function.
39799         (main): Run the new test functions.
39800         * sysdeps/i386/fpu/libm-test-ulps: Update.
39801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39803         * include/features.h: Update comment documenting feature test
39804         macros.  Mention _DEFAULT_SOURCE in comment.
39805         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
39806         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
39807         _BSD_SOURCE and _SVID_SOURCE.
39808         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
39809         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
39810         !_SVID_SOURCE]: Likewise.
39811         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39812         (__USE_POSIX_IMPLICITLY): Define.
39813         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39814         (_POSIX_SOURCE): Undefine and redefine.
39815         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39816         (_POSIX_C_SOURCE): Likewise.
39817         * manual/creature.texi (_DEFAULT_SOURCE): Document.
39818         (Feature Test Macros): Update documentation of default features.
39820 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39822         * benchtests/Makefile: Add bench-strtok.
39823         * benchtests/bench-strtok.c: New file: strtok benchtest.
39825 2013-12-19  Allan McRae  <allan@archlinux.org>
39827         * manual/install.texi: Suppress menu for plain text output.
39828         * INSTALL: Regenerated.
39830 2013-12-18  Brooks Moses  <bmoses@google.com>
39832         [BZ #15846]
39833         * misc/getauxval.c: Include errno.h.
39834         (__getauxval): Set errno to ENOENT if the requested type is not
39835         found.
39836         * misc/sys/auxv.h (getauxval): Document that it may set errno;
39837         don't declare with __attribute_const__.
39838         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
39839         * manual/startup.texi: Document that getauxval sets errno.
39841 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39843         * math/auto-libm-test-in: Add tests of jn and yn.
39844         * math/auto-libm-test-out: Regenerated.
39845         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
39846         (yn_test_data): Likewise.
39847         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39848         mpfr_if_f.
39849         (func_calc_desc): Add mpfr_if_f union field.
39850         (FUNC_mpfr_if_f): New macro.
39851         (test_functions): Add jn and yn.
39852         (calc_generic_results): Assert type of second input for
39853         mpfr_ff_f.  Handle mpfr_if_f.
39854         (output_for_one_input_case): Disable all checking for arguments
39855         fitting floating-point types in case of an integer argument.
39856         * sysdeps/i386/fpu/libm-test-ulps: Update.
39857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39860         Don't expect fegetround reference in libm.so.
39862 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39864         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
39865         $(config-cflags-nofma).
39867 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39869         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
39870         * math/auto-libm-test-out: Regenerated.
39872         [BZ #16338]
39873         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
39874         to determine exponent and adjust argument to have exponent of -1.
39875         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
39876         log2.
39877         * math/auto-libm-test-out: Regenerated.
39878         * sysdeps/i386/fpu/libm-test-ulps: Update.
39879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39881 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
39883         * manual/probes.texi: Remove cases when per-thread arenas are
39884         disabled.
39886 2013-12-18  Andreas Schwab  <schwab@suse.de>
39888         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
39889         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
39890         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
39891         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
39892         * sysdeps/i386/i686/multiarch/Makefile: Update.
39893         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
39895 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39897         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
39898         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
39900 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
39902         [BZ #15968]
39903         Support TZ transition times < 00:00:00.
39904         This is needed for version-3 tz-format files; it supports time
39905         stamps past 2037 for America/Godthab (the only entry in the tz
39906         database for which this change is relevant).
39907         * manual/time.texi (TZ Variable): Document transition times
39908         from -167:59:59 through -00:00:01.
39909         * time/tzset.c (tz_rule): Time of day is now signed.
39910         (__tzset_parse_tz): Parse negative time of day.
39912         Document TZ transition times >= 25:00:00.
39913         * manual/time.texi (TZ Variable): Document transition times from
39914         25:00:00 through 167:59:59.  These are already supported, and this
39915         support will help with version-3 tz-format files.
39917         * manual/time.texi (TZ Variable): Modernize North America example
39918         to reflect current (i.e., 2007-and-later) daylight saving rules.
39920         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
39922 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39924         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
39925         * sysdeps/unix/bsd/bits/stat.h: Likewise.
39926         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
39927         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39928         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
39929         * sysdeps/unix/bsd/bsdstat.h: Likewise.
39930         * sysdeps/unix/bsd/clock.c: Likewise.
39931         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
39932         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
39933         * sysdeps/unix/bsd/init-posix.c: Likewise.
39934         * sysdeps/unix/bsd/poll.c: Likewise.
39935         * sysdeps/unix/bsd/ptsname.c: Likewise.
39936         * sysdeps/unix/bsd/seekdir.c: Likewise.
39937         * sysdeps/unix/bsd/setegid.c: Likewise.
39938         * sysdeps/unix/bsd/seteuid.c: Likewise.
39939         * sysdeps/unix/bsd/setgid.c: Likewise.
39940         * sysdeps/unix/bsd/setrgid.c: Likewise.
39941         * sysdeps/unix/bsd/setruid.c: Likewise.
39942         * sysdeps/unix/bsd/setsid.c: Likewise.
39943         * sysdeps/unix/bsd/setuid.c: Likewise.
39944         * sysdeps/unix/bsd/sigaction.c: Likewise.
39945         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
39946         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
39947         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
39948         * sysdeps/unix/bsd/telldir.c: Likewise.
39949         * sysdeps/unix/bsd/times.c: Likewise.
39950         * sysdeps/unix/bsd/usleep.c: Likewise.
39952         * misc/Makefile (install-lib): Remove libbsd-compat.a.
39953         ($(objpfx)libbsd-compat.a): Remove rule.
39955         * include/features.h (__FAVOR_BSD): Do not define.
39956         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
39957         features conflicting with POSIX.
39958         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
39959         (_BSD_SOURCE): Remove description of not being a subset of other
39960         feature test macros.
39961         * manual/job.texi (getpgrp): Do not document BSD version.
39962         (getpgid): Do not document by reference to BSD getpgrp.
39963         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
39964         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
39965         * signal/signal.h [__FAVOR_BSD]: Likewise.
39966         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
39967         instead of making contents conditional on [__FAVOR_BSD].
39968         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
39970 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39974 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39976         [BZ #16314]
39977         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
39978         values below 2**-450, not 2**-500.
39979         * math/auto-libm-test-in: Don't allow spurious underflow from
39980         hypot.
39981         * math/auto-libm-test-out: Regenerated.
39983         [BZ #16316]
39984         [BZ #16330]
39985         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
39986         values of ha and hb and sort them after adjusting subnormal
39987         arguments.
39988         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
39989         Likewise.
39990         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
39991         values of ea and eb and sort them after adjusting subnormal
39992         arguments.
39993         * math/auto-libm-test-in: Do not expect some hypot tests of
39994         subnormals to fail.  Add more hypot tests.
39995         * math/auto-libm-test-out: Regenerated.
39997 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39999         [BZ #13304]
40000         * sysdeps/sh/s_fma.c: New file.
40001         * sysdeps/sh/s_fmaf.c: New file.
40002         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
40003         version.
40004         * sysdeps/sh/Implies: Add sh/soft-fp.
40006 2013-12-16  Roland McGrath  <roland@hack.frob.com>
40008         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
40009         level of indirection to members `objname', `errstring', `malloced'.
40010         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
40011         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
40012         it as the __longjmp argument (just pass 1 instead).
40013         (_dl_catch_error): Initialize C with argument pointers and address of
40014         volatile local ERRCODE rather than copying values out of C at return.
40016 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
40018         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
40019         * math/auto-libm-test-out: Regenerated.
40020         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
40021         (hypot_test_data): Likewise.
40022         (pow_test_data): Likewise.
40023         (pow_tonearest_test_data): Likewise.
40024         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40025         mpfr_ff_f.
40026         (func_calc_desc): Add mpfr_ff_f union field.
40027         (FUNC_mpfr_ff_f): New macro.
40028         (test_functions): Add atan2, hypot and pow.
40029         (special_fill_min): New function.
40030         (special_fill_minus_min): Likewise.
40031         (special_fill_min_subnorm): Likewise.
40032         (special_fill_minus_min_subnorm): Likewise.
40033         (special_real_inputs): Add min, -min, min_subnorm and
40034         -min_subnorm.
40035         (calc_generic_results): Handle mpfr_ff_f.
40036         * sysdeps/i386/fpu/libm-test-ulps: Update.
40037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40039 2013-12-16  Will Newton  <will.newton@linaro.org>
40041         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
40042         (Aligned Memory Blocks): Add documentation for aligned_alloc
40043         and suggest it as an alternative to posix_memalign.
40044         (Hooks for Malloc): Document __memalign_hook is also called
40045         for aligned_alloc.  (Summary of Malloc): Add summary for
40046         aligned alloc.  Document __memalign_hook is also called
40047         for aligned_alloc.
40049 2013-12-16  Will Newton  <will.newton@linaro.org>
40051         * manual/memory.texi (Malloc Examples): Clarify default
40052         alignment documentation.  Suggest posix_memalign rather
40053         than memalign or valloc.
40054         (Aligned Memory Blocks): Remove suggestion to use memalign
40055         or valloc.  Remove obsolete comment about BSD.
40056         Document memalign errno values and mark the function obsolete.
40057         Document posix_memalign returned error codes.  Mark valloc
40058         as obsolete.  (Hooks for Malloc): __memalign_hook is also
40059         called for posix_memalign and valloc.
40060         (Summary of Malloc): Add posix_memalign to function summary.
40061         __memalign_hook is also called for posix_memalign and valloc.
40063 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40065         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
40066         TAYLOR_SIN.
40067         (__sin): Adjust.
40068         (__cos): Likewise.
40069         (sloww): Use mynumber union.  Expand ternary operator into
40070         if-else statements.
40071         (cslow): use mynumber union.
40073 2013-12-16  Allan McRae  <allan@archlinux.org>
40075         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
40076         * configure: Regenerated.
40078         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
40080         [BZ #14120]
40081         * configure.ac: Added --enable-maintainer-mode. Check for
40082         autoconf when enabled.
40083         * configure: Regenerated.
40085         * nscd/nscd.service: New file.
40086         * nscd/nscd.tmpfiles: New file.
40088 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
40090         [BZ #12100]
40091         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
40092         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
40093         * sysdeps/x86_64/multiarch/strstr.c: ... here.
40094         (strstr): Add __strstr_sse2_unaligned ifunc.
40095         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
40096         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
40097         (strcasestr): Remove __strcasestr_sse42 ifunc.
40098         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
40099         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40100         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40102 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40104         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
40105         * sysdeps/sh/bits/fenv.h: ... here.
40106         * sysdeps/sh/sh4/fpu/bits: Remove directory.
40108 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40110         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
40112         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
40113         hypotf multiarch implementations.
40114         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40115         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
40116         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
40117         multiarch hypot for PPC64.
40118         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
40119         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
40120         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
40121         multiarch hypotf for PPC64.
40123         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
40124         modff multiarch implementations.
40125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
40126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
40127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
40128         multiarch modf for PPC64.
40129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
40130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
40131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
40132         multiarch modff for PPC64.
40134         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
40135         and logl multiarch implementations.
40136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
40137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
40138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
40139         multiarch logb for PPC64.
40140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
40142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
40143         multiarch logb for PPC64.
40144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
40146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
40147         multiarch logb for PPC64.
40149         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
40150         isinff multiarch implementation.
40151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
40152         file.
40153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
40154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
40155         multiarch isinf for PPC64.
40156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
40157         file.
40158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
40159         multiarch isinff for PPC64.
40161         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
40162         finitef multiarch implementation.
40163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
40164         file.
40165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
40166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40167         multiarch finite for PPC64.
40168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
40169         file.
40170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
40171         multiarch finitef for PPC64.
40173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
40174         lrint multiarch implementation.
40175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
40176         file.
40177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40179         multiarch llrint for PPC64.
40180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40181         multiarch lrint for PPC64.
40183         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40184         copysignf multiarch implementation.
40185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40186         file.
40187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40188         file.
40189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40190         multiarch copysign for PPC64.
40191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40192         multiarch copysignf for PPC64.
40194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40195         multiarch implementation.
40196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40197         file.
40198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40199         file.
40200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40201         file.
40202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40203         file.
40204         multiarch llround for PPC64.
40205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40206         multiarch trunc for PPC64.
40207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40208         multiarch truncf for PPC64.
40210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40211         multiarch implementation.
40212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40213         file.
40214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
40215         file.
40216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
40217         file.
40218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
40219         file.
40220         multiarch llround for PPC64.
40221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
40222         multiarch round for PPC64.
40223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
40224         multiarch roundf for PPC64.
40226         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
40227         multiarch implementation.
40228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
40229         file.
40230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
40231         file.
40232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
40233         file.
40234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
40235         file.
40236         multiarch llround for PPC64.
40237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
40238         multiarch floor for PPC64.
40239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
40240         multiarch floorf for PPC64.
40242         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40243         multiarch implementation.
40244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
40245         file.
40246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
40247         file.
40248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
40249         file.
40250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
40251         file.
40252         multiarch llround for PPC64.
40253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
40254         multiarch ceil for PPC64.
40255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
40256         multiarch ceilf for PPC64.
40258         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40259         multiarch implementation.
40260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
40261         file.
40262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
40263         file.
40264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
40265         file.
40266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
40267         multiarch llround for PPC64.
40268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
40269         multiarch lround for PPC64.
40271         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40272         multiarch implementation.
40273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
40274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
40275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
40276         file.
40277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
40278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
40279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
40280         multiarch isnan for PPC64.
40281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
40282         multiarch isnanf for PPC64.
40284         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
40285         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
40286         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
40287         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
40288         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
40289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40291         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40292         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40293         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40294         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40297         multiarch implementations.
40298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40299         (__libc_ifunc_impl_list): Likewise.
40300         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40301         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40302         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40303         multiarch stpcpy for PPC64.
40305         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40306         multiarch implementations.
40307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40308         (__libc_ifunc_impl_list): Likewise.
40309         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40310         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40311         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40312         multiarch strcpy for PPC64.
40314         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40315         redefine function name.
40316         (_wordcopy_fwd_dest_aligned): Likewise.
40317         (_wordcopy_bwd_aligned): Likewise.
40318         (_wordcopy_bwd_dest_aligned): Likewise.
40319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40320         multiarch implementations.
40321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40322         (__libc_ifunc_impl_list): Likewise.
40323         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40324         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40325         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40326         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40327         multiarch wcscpy for PPC64.
40329         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40330         multiarch implementations.
40331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40332         (__libc_ifunc_impl_list): Likewise.
40333         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40334         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40335         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40336         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40337         multiarch wcscpy for PPC64.
40339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40340         multiarch implementations.
40341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40342         (__libc_ifunc_impl_list): Likewise.
40343         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40344         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40345         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40346         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40347         multiarch wcsrchr for PPC64.
40349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40350         multiarch implementations.
40351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40352         (__libc_ifunc_impl_list): Likewise.
40353         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40354         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40355         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40356         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40357         multiarch wcschr for PPC64.
40359         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40360         multiarch implementations.
40361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40362         (__libc_ifunc_impl_list): Likewise.
40363         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40364         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40365         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40366         multiarch strchrnul for PPC64.
40368         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40369         implementations.
40370         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40371         (__libc_ifunc_impl_list): Likewise.
40372         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
40373         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
40374         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
40375         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
40376         strchr for PPC64.
40378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
40379         implementations.
40380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40381         (__libc_ifunc_impl_list): Likewise.
40382         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
40383         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
40384         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
40385         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
40386         strncmp for PPC64.
40388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
40389         multiarch implementations.
40390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40391         (__libc_ifunc_impl_list): Likewise.
40392         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
40393         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
40394         strncasecmp for PPC64.
40395         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
40396         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
40397         multiarch strncasecmp_l for PPC64.
40399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
40400         multiarch implementations.
40401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40402         (__libc_ifunc_impl_list): Likewise.
40403         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
40404         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
40405         multiarch strcasecmp for PPC64.
40406         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
40407         file.
40408         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
40409         multiarch strcasecmp_l for PPC64.
40411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
40412         implementations.
40413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40414         (__libc_ifunc_impl_list): Likewise.
40415         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
40416         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
40417         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
40418         strnlen for PPC64.
40420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
40421         implementations.
40422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40423         (__libc_ifunc_impl_list): Likewise.
40424         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
40425         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
40426         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
40427         strlen for PPC64.
40429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
40430         implementations.
40431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40432         (__libc_ifunc_impl_list): Likewise.
40433         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
40434         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
40435         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
40436         rawmemrchr for PPC64.
40438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
40439         implementation.
40440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40441         (__libc_ifunc_impl_list): Likewise.
40442         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
40443         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
40444         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
40445         memrchr for PPC64.
40447         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
40448         implementation.
40449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40450         (__libc_ifunc_impl_list): Likewise.
40451         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
40452         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
40453         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
40454         memchr for PPC64.
40456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
40457         implementation.
40458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40459         (__libc_ifunc_impl_list): Likewise.
40460         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
40461         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
40462         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
40463         mempcpy for PPC64.
40465         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
40466         avoid cretion of __bzero symbol.
40467         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
40468         Likewise.
40469         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
40470         Likewise.
40471         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
40472         Likewise.
40473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
40474         multiarch implementations.
40475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40476         (__libc_ifunc_impl_list): Likewise.
40477         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
40478         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
40479         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
40480         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
40481         bzero for PPC32.
40482         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
40483         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
40484         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
40485         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
40486         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
40487         memset for PPC64.
40488         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
40490         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
40491         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
40492         implementations.
40493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40494         (__libc_ifunc_impl_list): Likewise.
40495         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
40496         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
40497         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
40498         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
40499         memcmp for PPC64.
40501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
40502         multiarch for POWER/PPC64.
40503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
40504         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
40505         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
40506         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
40507         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
40508         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
40509         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
40510         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
40511         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
40512         memcpy for PPC64.
40514         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
40515         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
40516         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
40517         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
40518         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
40519         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
40520         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
40521         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
40522         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
40523         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
40524         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
40525         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
40526         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
40527         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
40528         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
40529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
40530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
40531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
40532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
40533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
40534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
40535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
40537 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40539         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
40541 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40543         * benchtests/Makefile (bench): Add exp2 and log2.
40544         (LDLIBS-bench-exp2): Add -lm.
40545         (LDLIBS-bench-log2): Likewise.
40546         * benchtests/exp2-inputs: New inputs file.
40547         * benchtests/log2-inputs: New inputs file.
40548         * benchtests/log-inputs: Add new inputs.
40549         * benchtests/tan-inputs: Likewise.
40551 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40553         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
40554         definition...
40555         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
40556         (csloww2): ... from here.
40558         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
40559         instead of structures.
40560         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
40561         (POLYNOMIAL): Likewise.
40562         (TAYLOR_SLOW): Likewise.
40563         (__sin): Likewise.
40564         (__cos): Likewise.
40565         (slow1): Likewise.
40566         (slow2): Likewise.
40567         (sloww): Likewise.
40568         (sloww1); Likewise.
40569         (sloww2): Likewise.
40570         (bsloww1): Likewise.
40571         (bsloww2): Likewise.
40572         (cslow2): Likewise.
40573         (csloww): Likewise.
40574         (csloww1): Likewise.
40575         (csloww2): Likewise.
40577 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
40579         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
40580         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
40581         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
40582         * malloc/hooks.c (realloc_check): Likewise.
40584         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
40585         * malloc/arena.c: Remove PER_THREAD conditional.
40586         [!PER_THREAD]: Remove code.
40587         (ptmalloc_unlock_all2): Likewise.
40588         (ptmalloc_init): Likewise.
40589         (_int_new_arena): Likewise.
40590         (arena_get2): Likewise.
40591         * malloc/hooks.c (__malloc_get_state): Likewise.
40592         (__malloc_set_state): Likewise.
40593         * malloc/malloc.c: Likewise.
40594         (struct malloc_state): Likewise.
40595         (struct malloc_par): Likewise.
40596         (__libc_realloc): Likewise.
40597         (__libc_mallopt): Likewise.
40599 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40601         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
40603 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
40605         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
40606         macro to a function.  Check for zero perturb_byte.
40607         (_int_malloc, _int_free): Remove zero perturb_byte checks.
40609         * malloc/malloc.c: (force_reg): Remove.
40610         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
40611         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
40612         force_reg by atomic_forced_read.
40613         * malloc/arena.c (ptmalloc_init): Likewise.
40614         * malloc/hooks.c (top_check): Likewise.
40616 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40620 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
40622         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40624 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
40626         * math/auto-libm-test-in: Add tests of lgamma.
40627         * math/auto-libm-test-out: Regenerated.
40628         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
40629         (M_LOG_2_SQRT_PIl): Likewise.
40630         (lgamma_test_data): Use AUTO_TESTS_f_f1.
40631         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40632         mpfr_f_f1.
40633         (func_calc_desc): Add mpfr_f_f1 union field.
40634         (ARGS1): New macro.
40635         (ARGS2): Likewise.
40636         (ARGS3): Likewise.
40637         (ARGS4): Likewise.
40638         (RET1): Likewise.
40639         (RET2): Likewise.
40640         (CALC): Likewise.
40641         (FUNC): Likewise.
40642         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
40643         (test_functions): Add lgamma.
40644         (calc_generic_results): Handle mpfr_f_f1.
40645         * sysdeps/i386/fpu/libm-test-ulps: Update.
40646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40648 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40650         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
40651         __mpn_add_n for PowerPC64/POWER7.
40652         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
40653         __mpn_sub_n for PowerPC64/POWER7.
40655         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
40656         __mpn_addmul_1 for PowerPC64.
40657         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
40658         __mpn_submul_1 for PowerPC64.
40659         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
40660         for PowerPC64.
40661         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
40662         for PowerPC64.
40664 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
40666         [BZ #15089]
40667         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
40669 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40671         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
40673         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
40674         add multiarch folders.
40675         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
40676         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
40677         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
40678         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
40679         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
40680         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
40681         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
40682         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
40683         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
40684         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
40685         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
40686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
40687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
40688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
40689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
40690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
40691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
40693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40694         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
40695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
40696         New file.
40697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
40698         New file.
40699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
40700         multiarch __ieee754_hypot for PowerPC32.
40701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
40702         New file.
40703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
40704         New file.
40705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
40706         multiarch __ieee754_hypotf for PowerPC32.
40708         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
40709         long_double_symbol only if __logbl is defined.
40710         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
40711         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
40712         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
40713         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
40714         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
40715         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
40716         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
40717         path for implementation.
40718         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
40719         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
40720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
40721         logb, and logbl multiarch implementations for PowerPC32.
40722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
40723         file.
40724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
40725         file.
40726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
40727         multiarch logb for PowerPC32.
40728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
40729         file.
40730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
40731         file.
40732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
40733         multiarch logbf for PowerPC32.
40734         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
40735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
40736         file.
40737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
40738         multiarch logbl implementation for PowerPC32.
40740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
40741         and modff multiarch implementations.
40742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
40743         New file.
40744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
40745         New file.
40746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
40747         multiarch modf for PowerPC32.
40748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
40749         New file.
40750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
40751         New file.
40752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
40753         multiarch modff for PowerPC32.
40755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
40756         and lrintf multiarch implementations.
40757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
40758         New file.
40759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
40760         New file.
40761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
40762         multiarch lrint for PowerPC32.
40763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
40764         file: multiarch lrintf for PowerPC32.
40766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
40767         and lroundf multiarch implementations.
40768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
40769         New file.
40770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
40771         New file.
40772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
40773         New file.
40774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
40775         multiarch lround for PowerPC32.
40776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
40777         file: multiarch lroundf for PowerPC32.
40779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40780         copysign and copysignf multiarch implementations.
40781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
40782         New file.
40783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
40784         New file.
40785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
40786         file: multiarch copysign for PowerPC32.
40787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
40788         file: multiarch copysignf for PowerPC32.
40790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
40791         and truncf multiarch implementations.
40792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
40793         New file.
40794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
40795         file.
40796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
40797         multiarch trunc for PowerPC32.
40798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
40799         New file.
40800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
40801         New file.
40802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
40803         multiarch truncf for PowerPC32.
40805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
40806         and roundf multiarch implementations.
40807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
40808         New file.
40809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
40810         file.
40811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
40812         multiarch round for PowerPC32.
40813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
40814         New file.
40815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
40816         New file.
40817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
40818         multiarch roundf for PowerPC32.
40820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
40821         and floorf multiarch implementations.
40822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
40823         New file.
40824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
40825         file.
40826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
40827         multiarch floor for PowerPC32.
40828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
40829         New file.
40830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
40831         New file.
40832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
40833         multiarch floorf for PowerPC32.
40835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
40836         and ceilf multiarch implementations.
40837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
40838         New file.
40839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
40840         file.
40841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
40842         multiarch ceil for PowerPC32.
40843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
40844         New file.
40845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
40846         file.
40847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
40848         multiarch ceilf for PowerPC32.
40850         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
40851         is defined.
40852         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
40853         FINITEF is defined.
40854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
40855         and finitef multiarch implementations.
40856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
40857         New file.
40858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
40859         file.
40860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
40861         multiarch finite for PowerPC32.
40862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
40863         New file.
40864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
40865         file: multiarch finitef for PowerPC32.
40867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
40868         and isinff multiarch implementations.
40869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
40870         file.
40871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
40872         file.
40873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
40874         multiarch isinf for PowerPC32.
40875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
40876         New file.
40877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
40878         multiarch isinff for PowerPC32.
40880         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
40881         alias when __isnan is defined.
40882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
40883         and isnanf multiarch implementations.
40884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
40885         file.
40886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
40887         file.
40888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
40889         file.
40890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
40891         file.
40892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
40893         multiarch isnan for PowerPC32.
40894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
40895         New file.
40896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
40897         New file.
40898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
40899         multiarch isnanf for PowerPC32.
40901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
40902         and sqrtf multiarch implementations.
40903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
40904         file.
40905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
40906         file.
40907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
40908         multiarch sqrt for PowerPC32.
40909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
40910         file.
40911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
40912         file.
40913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
40914         multiarch sqrtf for PowerPC32.
40916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
40917         and llroundf multiarch implementations.
40918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
40919         New file.
40920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
40921         New file.
40922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
40923         New file.
40924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
40925         file: multiarch llround for PowerPC32.
40926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
40927         file: multiarch llroundf for PowerPC32.
40929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
40930         multiarch PowerPC32 fpu implementations.
40931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
40932         New file.
40933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
40934         New file.
40935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
40936         multiarch llrint for PowerPC32.
40937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
40938         New file.
40939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
40940         New file.
40941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
40942         file.
40944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
40946         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
40947         file.
40948         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
40949         file.
40950         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
40951         file.
40952         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
40953         multiarch wordcopy for PPC32.
40954         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40955         wordcopy objects.
40956         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40957         (__libc_ifunc_impl_list): Likewise.
40958         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
40959         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
40960         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
40961         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
40962         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
40963         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
40965         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
40966         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
40967         file.
40968         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
40969         file.
40970         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
40971         file.
40972         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
40973         multiarch wcscpy for PPC32.
40974         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40975         multiarch objects.
40976         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40977         (__libc_ifunc_impl_list): Likewise.
40978         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40979         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40980         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
40981         sysdeps/powerpc/power6/wcscpy.c.
40983         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
40984         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
40985         file.
40986         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
40987         file.
40988         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
40989         file.
40990         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
40991         multiarch wcsrchr for PPC32.
40992         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40993         multiarch objects.
40994         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40995         (__libc_ifunc_impl_list): Likewise.
40996         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40997         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40998         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
40999         sysdeps/powerpc/power6/wcsrchr.c.
41001         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
41002         file.
41003         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
41004         file.
41005         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
41006         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
41007         multiarch wcschr for PPc32.
41008         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41009         multiarch objects.
41010         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41011         (__libc_ifunc_impl_list): Likewise.
41012         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
41013         * sysdeps/powerpc/power6/wcschr.c: ... to here.
41014         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
41015         sysdeps/powerpc/power6/wcschr.c.
41017         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
41018         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
41019         file.
41020         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
41021         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
41022         file: multiarch strchr for PPC32.
41023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
41024         multiarch objects.
41025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41026         (__libc_ifunc_impl_list): Likewise.
41028         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
41029         name.
41030         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
41031         file.
41032         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
41033         file.
41034         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
41035         multiarch strchrnul for PPC32.
41036         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
41037         multiarch objects.
41038         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41039         (__libc_ifunc_impl_list): Likewise.
41041         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
41042         file.
41043         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
41044         multiarch strncasecmp for PPC32.
41045         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
41046         file.
41047         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
41048         multiarch strncasecmp_l for PPC32.
41049         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
41050         strncasecmp multiarch objects.
41051         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41052         (__libc_ifunc_impl_list): Likewise.
41054         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
41055         file.
41056         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
41057         multiarch strncasecmp for PPC32.
41058         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41059         New file.
41060         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
41061         multiarch strcasecmp_l for PPC32.
41062         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
41063         multiarch objects.
41064         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41065         (__libc_ifunc_impl_list): Likewise.
41067         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
41068         file.
41069         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
41070         file.
41071         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
41072         multiarch strncmp for PPC32.
41073         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
41074         multiarch objects.
41075         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41076         (__libc_ifunc_impl_list): Likewise.
41078         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
41079         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
41080         file.
41081         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
41082         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
41083         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
41084         multiarch objects.
41085         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41086         (__libc_ifunc_impl_list): Likewise.
41088         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
41089         file.
41090         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
41091         file.
41092         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
41093         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
41094         multiarch objects.
41095         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41096         (__libc_ifunc_impl_list): Likewise.
41098         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
41099         file.
41100         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
41101         file.
41102         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
41103         multiarch rawmemchr for PPC32.
41104         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
41105         multiarch objects.
41106         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41107         (__libc_ifunc_impl_list): Likewise.
41109         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
41110         file.
41111         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
41112         file.
41113         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
41114         file: memrchr multiarch for PPC32.
41115         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
41116         multiarch objects.
41117         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41118         (__libc_ifunc_impl_list): Likewise.
41120         * string/memchr.c (__memchr): Using macro to redefine symbol name.
41121         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
41122         file.
41123         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
41124         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
41125         multiarch memchr for PPC32.
41126         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
41127         multiarch objects.
41128         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41129         (__libc_ifunc_impl_list): Likewise.
41131         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
41132         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
41133         file.
41134         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
41135         file.
41136         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
41137         file: multiarch mempcpy for PPC32.
41138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
41139         multiarch objects.
41140         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41141         (__libc_ifunc_impl_list): Likewise.
41143         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
41144         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
41145         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
41146         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
41147         multiarch bzero for PPC32.
41148         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
41149         file.
41150         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
41151         file.
41152         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
41153         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
41154         file: multiarch memset for PPC32.
41155         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
41156         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
41157         memset multiarch objects.
41158         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41159         (__libc_ifunc_impl_list): Likewise.
41161         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
41162         file.
41163         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
41164         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41165         memcmp for PPC32.
41166         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
41167         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
41168         multiarch objects.
41169         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41170         (__libc_ifunc_impl_list): Likewise.
41172         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
41173         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
41174         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
41175         file.
41176         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
41177         file.
41178         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41179         file.
41180         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41181         multiarch memcpy for PPC32.
41182         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41183         multiarch objects.
41184         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41185         (__libc_ifunc_impl_list): Likewise.
41187         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41188         support multiarch for POWER/PPC32.
41189         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41190         Likewise.
41191         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41193         Implies file to make multiarch folder appers before the fpu and
41194         default folder for power4 configuration.
41196 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41198         * scripts/bench.pl: Append volatile keyword to type.
41200 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41202         * sysdeps/sh/sotruss-lib.c: New file.
41203         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41205 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41209 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
41211         [BZ #6810]
41212         * math/w_tgamma.c: Include <errno.h>.
41213         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
41214         * math/w_tgammaf.c: Include <errno.h>.
41215         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
41216         * math/w_tgammal.c: Include <errno.h>.
41217         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
41218         * math/auto-libm-test-in: Do not allow missing errno on tgamma
41219         underflow.  Add more tgamma tests.
41220         * math/auto-libm-test-out: Regenerated.
41221         * sysdeps/i386/fpu/libm-test-ulps: Update.
41222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41224         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
41225         sin, sinh, tan, tanh, tgamma, y0 and y1.
41226         * math/auto-libm-test-out: Regenerated.
41227         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41228         (TEST_COND_x86): Likewise.
41229         (M_E2l): Remove macro.
41230         (M_E3l): Likewise.
41231         (M_2_SQRT_PIl): Likewise.
41232         (M_SQRT_PIl): Likewise.
41233         (M_1_DIV_El): Likewise.
41234         (log_test_data): Use AUTO_TESTS_f_f.
41235         (log10_test_data): Likewise.
41236         (log1p_test_data): Likewise.
41237         (log2_test_data): Likewise.
41238         (sin_test_data): Likewise.
41239         (sin_tonearest_test_data): Likewise.
41240         (sin_towardzero_test_data): Likewise.
41241         (sin_downward_test_data): Likewise.
41242         (sin_upward_test_data): Likewise.
41243         (sinh_test_data): Likewise.
41244         (sinh_tonearest_test_data): Likewise.
41245         (sinh_towardzero_test_data): Likewise.
41246         (sinh_downward_test_data): Likewise.
41247         (sinh_upward_test_data): Likewise.
41248         (tan_test_data): Likewise.
41249         (tan_tonearest_test_data): Likewise.
41250         (tan_towardzero_test_data): Likewise.
41251         (tan_downward_test_data): Likewise.
41252         (tan_upward_test_data): Likewise.
41253         (tanh_test_data): Likewise.
41254         (tgamma_test_data): Likewise.
41255         (y0_test_data): Likewise.
41256         (y1_test_data): Likewise.
41257         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
41258         (special_real_inputs): Add pi/4.
41259         * sysdeps/i386/fpu/libm-test-ulps: Update.
41260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41262 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41264         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
41265         "longjmp_target" static probes.
41266         (__longjmp): Rename to __longjmp_symbol.
41267         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41268         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
41269         on which longjmp to generate.
41270         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41271         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
41272         probe.
41273         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41274         (__sigjmp_save): Rename to __sigjmp_save_symbol.
41275         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41276         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
41277         and __sigjmp_save_symbol based on which sigsetjmp to generated.
41278         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
41280         __longjmp_symbol based on which __longjmp to generate.
41281         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
41282         probe.
41283         (setjmp): Rename to setjmp_symbol.
41284         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41285         (_setjmp): Rename to _setjmp_symbol.
41286         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41287         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
41288         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
41289         which setjmp to generate.
41290         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41291         "longjmp_target" static probes.
41293 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41295         * benchtests/README: Add note about output arguments.
41296         * benchtests/bench-sincos.c: Remove file.
41297         * benchtests/sincos-inputs: New file.
41298         * scripts/bench.pl: Identify output arguments and define
41299         static variables for them.
41301         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41303         [BZ #15941]
41304         * Makefile (INSTALL): Add install-plain.texi as the primary
41305         dependency.
41306         * manual/install-plain.texi: New file.
41307         * manual/install.texi: Include node directive only for
41308         non-plaintext output.
41310 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
41312         * stdlib/longlong.h: Update from GCC.
41314         [BZ #6807]
41315         [BZ #15901]
41316         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41317         * math/w_j0f.c (y0f): Likewise.
41318         * math/w_j0l.c (__y0l): Likewise.
41319         * math/w_j1.c (y1): Likewise.
41320         * math/w_j1f.c (y1f): Likewise.
41321         * math/w_j1l.c (__y1l): Likewise.
41322         * math/w_jn.c (yn): Likewise.
41323         * math/w_jnf.c (ynf): Likewise.
41324         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41325         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
41326         value for Bessel function domain errors outside _SVID_ mode.
41327         Adjust sign of return value for yn (negative integer, 0).
41328         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41329         by zero in return for negative x and set sign appropriately for
41330         negative n.
41331         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41332         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41333         * math/libm-test.inc (y0_test_data): Add more tests and adjust
41334         expectations in error cases.
41335         (y1_test_data): Likewise.
41336         (yn_test_data): Likewise.
41337         * sysdeps/i386/fpu/libm-test-ulps: Update.
41338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41340 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41342         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41343         "64" to "64-v1".  Add "64-v2".
41344         (abi-64-options): Rename to ...
41345         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
41346         (abi-64-condition): Rename to ...
41347         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
41348         (abi-64-ld-soname): Rename to ...
41349         (abi-64-v1-ld-soname): ... this.
41350         (abi-64-v2-options): Define.
41351         (abi-64-v2-condition): Likewise.
41352         (abi-64-v2-ld-soname): Likewise.
41353         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41354         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41359 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41360             Alan Modra  <amodra@gmail.com>
41362         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41363         New versions for use with the ELFv2 ABI.
41364         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41365         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41366         declaration.
41367         (struct La_ppc64v2_retval): Likewise.
41368         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41369         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
41370         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
41371         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
41372         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
41373         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41374         Do not save or restore CR.
41375         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
41376         (_dl_profile_resolve): Do no save or restore CR.  Support extended
41377         return values for ELFv2 ABI.  Fix location of FPR return registers.
41378         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
41379         updated values for _CALL_ELF == 2.
41380         (La_regs, La_retval, int_retval): Likewise.
41382 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41384         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
41385         (FRAME_MIN_SIZE_PARM): Likewise.
41386         (FRAME_BACKCHAIN): Likewise.
41387         (FRAME_CR_SAVE): Likewise.
41388         (FRAME_LR_SAVE): Likewise.
41389         (FRAME_TOC_SAVE): Likewise.
41390         (FRAME_PARM_SAVE): Likewise.
41391         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
41392         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
41393         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41394         (call_mcount_parm_offset): New macro.
41395         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
41396         (PROF): Use symbolic stack frame offsets.
41397         (TAIL_CALL_SYSCALL_ERROR): Likewise.
41398         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
41399         Redefine in terms of FRAME_MIN_SIZE.
41400         (_dl_runtime_resolve): Use symbolic stack frame offsets.
41401         (_dl_profile_resolve): Likewise.  Update comment.
41402         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
41403         symbols stack frame offsets.
41404         (__sigsetjmp): Likewise.
41405         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
41406         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
41407         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
41408         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
41410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
41411         (FRAME_BACKCHAIN): Remove.
41412         (FRAME_CR_SAVE): Likewise.
41413         (FRAME_LR_SAVE): Likewise.
41414         (FRAME_COMPILER_DW): Likewise.
41415         (FRAME_LINKER_DW): Likewise.
41416         (FRAME_TOC_SAVE): Likewise.
41417         (FRAME_PARM_SAVE): Likewise.
41418         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
41419         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
41420         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
41422         (CHECK_SP): Use symbolic stack frame offsets.
41423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
41424         zone" instead of caller's parameter save area for temp storage.
41425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41426         Likewise.  Also, use symbolic stack frame offsets.
41427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
41428         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
41429         our own stack frame instead of the caller's.
41430         (__socket): Use symbolic stack frame offsets.
41432 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41433             Alan Modra  <amodra@gmail.com>
41435         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
41436         Define.
41437         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
41438         (PPC64_LOCAL_ENTRY_OFFSET): Define.
41439         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
41440         New function.
41441         (elf_machine_fixup_plt): Call it.
41442         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
41443         reloc arguments.
41444         (elf_machine_rela): Update call to elf_machine_plt_conflict.
41445         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41446         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
41447         r2 before calling target.
41449 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41450             Alan Modra  <amodra@gmail.com>
41452         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
41453         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
41454         versions of macros to support ELFv2 ABI.
41455         (LOCALENTRY): New macro.
41456         (ENTRY, EALIGN): Use it.
41457         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
41458         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
41459         fall through into ENTRY entry point.
41460         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
41461         Only define if _CALL_ELF != 2.
41463         (elf_machine_matches_host): Verify ABI version matches.
41464         (RTLD_START): Use LOCALENTRY.
41465         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
41466         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
41467         (PLT_ENTRY_WORDS): New macro.
41468         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
41469         (elf_machine_runtime_setup): Support ELFv2 ABI.
41470         (elf_machine_fixup_plt): Likewise.
41471         (elf_machine_plt_conflict): Likewise.
41472         (resolve_ifunc): Likewise.
41473         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41474         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41475         Likewise.
41476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
41477         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
41478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41479         (makecontext): Support ELFv2 ABI.
41480         * elf/elf.h (EF_PPC64_ABI): Define.
41482 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41484         * sysdeps/powerpc/powerpc64/sysdep.h
41485         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
41486         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
41487         (ENTRY) [ASSEMBLER]: ... but instead here ...
41488         (EALIGN) [ASSEMBLER]: ... and here.
41489         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
41490         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
41491         (ENTRY_2) [!ASSEMBLER]: Use it.
41492         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
41493         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
41494         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41495         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
41496         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
41497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
41498         Use PPC64_LOAD_FUNCPTR.
41500         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
41502 2013-12-04  Alan Modra  <amodra@gmail.com>
41504         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
41505         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
41506         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
41507         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
41509         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
41510         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
41511         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
41512         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
41513         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
41514         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
41516 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41519         (__makecontext): Fix incorrect CFI when backtracing out of
41520         context created via makecontext.
41521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
41522         (__setcontext): Fix incorrect CFI during switch to new context.
41523         (__novec_setcontext): Likewise.
41525 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41527         [BZ #4772]
41528         * time/strptime_l.c (__strptime_internal): Allow modifiers
41529         in strptime.
41530         * time/tst-strptime.c (day_tests): Add testcase.
41532 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41534         * scripts/bench.pl: Skip over blank lines.
41536 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
41538         [BZ #926]
41539         * manual/time.texi (Calendar Time): Clarify what timezone functions
41540         use.
41542 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41546 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41548         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
41549         implementation.
41550         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
41551         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
41552         * debug/memset_chk.c (__memset_chk): Likewise.
41553         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
41554         * debug/strncpy_chk.c: Likewise.
41556 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41558         [BZ #15268]
41559         [BZ #15425]
41560         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
41561         (__ieee754_exp): For possibly underflowing results, check size of
41562         result and force underflow exception if required.
41563         * math/auto-libm-test-in: Add more tests of exp.
41564         * math/auto-libm-test-out: Regenerated.
41565         * sysdeps/i386/fpu/libm-test-ulps: Update.
41566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41568         [BZ #16283]
41569         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
41570         * math/w_exp2f.c (__exp2f): Likewise.
41571         * math/w_exp2l.c (__exp2l): Likewise.
41572         * math/auto-libm-test-in: Do not allow missing errno on exp2
41573         underflow.
41574         * math/auto-libm-test-out: Regenerated.
41576 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
41578         [BZ #16274]
41579         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
41580         handle filename validation.
41581         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
41582         (do_open): Delete.
41584 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41586         [BZ #6786]
41587         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
41588         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
41589         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
41590         <float.h>.
41591         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
41592         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
41593         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41594         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
41595         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41596         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
41597         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41598         * math/auto-libm-test-in: Don't allow missing errno from erfc.
41599         Add more erfc tests.
41600         * math/auto-libm-test-out: Regenerated.
41601         * sysdeps/i386/fpu/libm-test-ulps: Update.
41602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41604         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
41605         exp2, expm1, j0 and j1.
41606         * math/auto-libm-test-out: Regenerated.
41607         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
41608         (erfc_test_data): Likewise.
41609         (exp_test_data): Likewise.
41610         (exp_tonearest_test_data): Likewise.
41611         (exp_towardzero_test_data): Likewise.
41612         (exp_downward_test_data): Likewise.
41613         (exp_upward_test_data): Likewise.
41614         (exp10_test_data): Likewise.
41615         (exp2_test_data): Likewise.
41616         (expm1_test_data): Likewise.
41617         (j0_test_data): Likewise.
41618         (j1_test_data): Likewise.
41619         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
41620         (input_flag_type): Add flag_xfail_rounding.
41621         (input_flags): Add xfail-rounding.
41622         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
41623         (output_for_one_input_case): Handle flag_xfail_rounding.
41624         * sysdeps/i386/fpu/libm-test-ulps: Update.
41625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41627 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
41629         [BZ #16289]
41630         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
41631         division by 0.
41633 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41635         [BZ #16195]
41636         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
41637         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
41638         (STAP_PROBE0): New macro.
41639         (STAP_PROBE1): Likewise.
41640         (STAP_PROBE2): Likewise.
41641         (STAP_PROBE3): Likewise.
41642         (STAP_PROBE4): Likewise.
41644 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
41646         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
41648 2013-12-02  Steve Ellcey  <sellcey@mips.com>
41650         * benchtests/Makefile (bench): Add sqrt.
41651         (LDLIBS-bench-sqrt): New.
41652         * benchtests/sqrt-input: New.
41654 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
41656         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
41657         (GAIH_EAI): Likewise.
41658         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
41659         (gaih_inet): Likewise.
41660         (getaddrinfo): Don't use GAIH_EAI.
41662         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
41663         (struct gaih): Remove definition.
41665 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41667         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
41668         Use HERRNOP directly.
41670 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41674 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
41676         * math/gen-auto-libm-tests.c (test_functions): Add more
41677         single-argument functions.
41678         (special_fill_pi_2): New function.
41679         (special_fill_minus_pi_2): Likewise.
41680         (special_fill_pi_6): Likewise.
41681         (special_fill_minus_pi_6): Likewise.
41682         (special_fill_pi_3): Likewise.
41683         (special_fill_2pi_3): Likewise.
41684         (special_fill_e): Likewise.
41685         (special_fill_1_e): Likewise.
41686         (special_fill_e_minus_1): Likewise.
41687         (special_real_inputs): Add more special inputs.
41688         (output_for_one_input_case): Do not require ERANGE on underflow to
41689         zero if round-to-nearest result does not underflow to zero, unless
41690         exact results required.
41691         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
41692         atan, atanh, cbrt, cos and cosh.
41693         * math/auto-libm-test-out: Regenerated.
41694         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
41695         (acos_tonearest_test_data): Likewise.
41696         (acos_towardzero_test_data): Likewise.
41697         (acos_downward_test_data): Likewise.
41698         (acos_upward_test_data): Likewise.
41699         (acosh_test_data): Likewise.
41700         (asin_test_data): Likewise.
41701         (asin_tonearest_test_data): Likewise.
41702         (asin_towardzero_test_data): Likewise.
41703         (asin_upward_test_data): Likewise.
41704         (asinh_test_data): Likewise.
41705         (atan_test_data): Likewise.
41706         (atanh_test_data): Likewise.
41707         (cbrt_test_data): Likewise.
41708         (cos_test_data): Likewise.
41709         (cos_tonearest_test_data): Likewise.
41710         (cos_towardzero_test_data): Likewise.
41711         (cos_downward_test_data): Likewise.
41712         (cos_upward_test_data): Likewise.
41713         (cosh_test_data): Likewise.
41714         (cosh_tonearest_test_data): Likewise.
41715         (cosh_towardzero_test_data): Likewise.
41716         (cosh_downward_test_data): Likewise.
41717         (cosh_upward_test_data): Likewise.
41718         * sysdeps/i386/fpu/libm-test-ulps: Update.
41719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41721 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
41723         [BZ #6787]
41724         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
41725         * math/w_exp10f.c (__exp10f): Likewise.
41726         * math/w_exp10l.c (__exp10l): Likewise.
41727         * math/libm-test.inc (exp10_test_data): Add more tests and expect
41728         errno settings in existing tests.
41730         [BZ #14032]
41731         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
41732         precision control set to double precision.
41733         * sysdeps/i386/fpu/w_sqrt.c: New file.
41734         * math/auto-libm-test-in: Add more tests.
41735         * math/auto-libm-test-out: Update.
41737         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
41738         (sqrt_test_tonearest): New function.
41739         (sqrt_towardzero_test_data): New variable.
41740         (sqrt_test_towardzero): New function.
41741         (sqrt_downward_test_data): New variable.
41742         (sqrt_test_downward): New function.
41743         (sqrt_upward_test_data): New variable.
41744         (sqrt_test_upward): New function.
41745         (main): Call the new functions.
41747         * math/gen-auto-libm-tests.c: New file.
41748         * math/auto-libm-test-in: Likewise.
41749         * math/auto-libm-test-out: New generated file.
41750         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
41751         variables.
41752         (%beautify): Add generated representations of zero.
41753         (top level): Set $auto_input and call parse_auto_input.
41754         (beautify): Remove trailing "f" from hex float constants.
41755         (parse_args): Handle XFAIL_TEST.
41756         (convert_condition): New function.
41757         (or_value): Likewise.
41758         (or_cond_value): Likewise.
41759         (generate_testfile): Handle AUTO_TESTS_* lines.
41760         (parse_auto_input): New function.
41761         * math/libm-test.inc (XFAIL_TEST): New macro.
41762         (ERRNO_UNCHANGED): Update value.
41763         (ERRNO_EDOM): Likewise.
41764         (ERRNO_ERANGE): Likewise.
41765         (IGNORE_RESULT): Likewise.
41766         (TEST_COND_flt_32): New macro.
41767         (TEST_COND_dbl_64): Likewise.
41768         (TEST_COND_ldbl_96_intel): Likewise.
41769         (TEST_COND_ldbl_96_m68k): Likewise.
41770         (TEST_COND_ldbl_128): Likewise.
41771         (TEST_COND_ldbl_128ibm): Likewise.
41772         (TEST_COND_long32): Likewise.
41773         (TEST_COND_long64): Likewise.
41774         (TEST_COND_before_rounding): Likewise.
41775         (TEST_COND_after_rounding): Likewise.
41776         (enable_test): Handle XFAIL_TEST flag.
41777         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
41778         with finite results.
41779         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
41780         auto-libm-test-out.
41782 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41783             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41785         [BZ #16214]
41786         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
41787         __tls_get_addr_internal instead of __tls_get_offset in order to
41788         avoid GOT pointer dependency.  Make rtld export
41789         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
41790         __tls_get_addr since we are a __tls_get_offset platform.
41791         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
41792         GOT pointer being set up before.
41793         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
41795 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
41797         * manual/math.texi (Errors in Math Functions): Document accuracy
41798         goals.
41800         [BZ #15004]
41801         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
41802         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
41803         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41804         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41805         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41806         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41807         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41808         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41809         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41810         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41811         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41812         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41813         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41814         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41815         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41816         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41818         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
41819         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
41820         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
41821         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
41822         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
41823         Likewise.
41824         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
41825         Likewise.
41826         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
41827         Likewise.
41828         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
41829         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
41830         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
41831         atomic-feupdateenv and flt-rounds.
41832         * sysdeps/powerpc/nofpu/Versions (libc): Add
41833         __atomic_feholdexcept, __atomic_feclearexcept,
41834         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
41835         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
41836         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
41837         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
41838         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
41839         here.
41840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41841         Update.
41843         * manual/arith.texi (FP Exceptions): Document that exceptions may
41844         not be raised when matherr is used.
41845         (Math Error Reporting): Document overflow in directed rounding
41846         modes.  Document that errno may not be set when finite values are
41847         returned on overflow.  Document intent to set errno on underflow
41848         only for underflow to zero.
41850         [BZ #16271]
41851         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
41852         round-to-nearest then adjust result for other rounding modes.
41853         * include/fenv.h (fegetround): Use libm_hidden_proto.
41854         * math/fegetround.c (fegetround): Use libm_hidden_def.
41855         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41856         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41857         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41858         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41859         Likewise.
41860         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
41861         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41862         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41863         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
41865 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41867         [BZ #16077]
41868         * nss/Versions (libnss_files): Add
41869         _nss_files_gethostbyname3_r.
41870         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
41871         New function.
41872         (HOST_DB_LOOKUP): Remove macro.
41873         (_nss_files_gethostbyname_r): Implement function without the
41874         HOST_DB_LOOKUP macro.
41875         (_nss_files_gethostbyname2_r): Likewise.
41877 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
41879         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
41881 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
41883         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
41884         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
41885         warning.
41887 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41889         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
41890         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
41891         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41892         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41893         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
41894         __fe_nomask_env_priv and attribute_hidden.
41895         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
41896         (libc_feupdateenv_test_ppc): Likewise.
41897         (libc_feresetround_ppc): Likewise.
41898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41899         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
41900         compat_symbol macro.
41901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41902         (__fe_nomask_env): Likewise.
41903         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
41905 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41907         * string/Makefile: Remove ifunc tests.
41908         * string/test-string.h: Define TEST_IFUNC.
41909         * string/test-bcopy-ifunc.c: Remove.
41910         * string/test-bzero-ifunc.c: Likewise.
41911         * string/test-memccpy-ifunc.c: Likewise.
41912         * string/test-memchr-ifunc.c: Likewise.
41913         * string/test-memcmp-ifunc.c: Likewise.
41914         * string/test-memcpy-ifunc.c: Likewise.
41915         * string/test-memmem-ifunc.c: Likewise.
41916         * string/test-memmove-ifunc.c: Likewise.
41917         * string/test-mempcpy-ifunc.c: Likewise.
41918         * string/test-memrchr-ifunc.c: Likewise.
41919         * string/test-memset-ifunc.c: Likewise.
41920         * string/test-rawmemchr-ifunc.c: Likewise.
41921         * string/test-stpcpy-ifunc.c: Likewise.
41922         * string/test-stpncpy-ifunc.c: Likewise.
41923         * string/test-strcasecmp-ifunc.c: Likewise.
41924         * string/test-strcasestr-ifunc.c: Likewise.
41925         * string/test-strcat-ifunc.c: Likewise.
41926         * string/test-strchr-ifunc.c: Likewise.
41927         * string/test-strchrnul-ifunc.c: Likewise.
41928         * string/test-strcmp-ifunc.c: Likewise.
41929         * string/test-strcpy-ifunc.c: Likewise.
41930         * string/test-strcspn-ifunc.c: Likewise.
41931         * string/test-strlen-ifunc.c: Likewise.
41932         * string/test-strncasecmp-ifunc.c: Likewise.
41933         * string/test-strncat-ifunc.c: Likewise.
41934         * string/test-strncmp-ifunc.c: Likewise.
41935         * string/test-strncpy-ifunc.c: Likewise.
41936         * string/test-strnlen-ifunc.c: Likewise.
41937         * string/test-strpbrk-ifunc.c: Likewise.
41938         * string/test-strrchr-ifunc.c: Likewise.
41939         * string/test-strspn-ifunc.c: Likewise.
41940         * string/test-strstr-ifunc.c: Likewise.
41942 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41944         * benchtests/Makefile: Remove ifunc tests.
41945         * benchtests/bench-string.h: Define TEST_IFUNC.
41946         * benchtests/bench-bcopy-ifunc.c: Remove.
41947         * benchtests/bench-bzero-ifunc.c: Likewise.
41948         * benchtests/bench-memccpy-ifunc.c: Likewise.
41949         * benchtests/bench-memchr-ifunc.c: Likewise.
41950         * benchtests/bench-memcmp-ifunc.c: Likewise.
41951         * benchtests/bench-memcpy-ifunc.c: Likewise.
41952         * benchtests/bench-memmem-ifunc.c: Likewise.
41953         * benchtests/bench-memmove-ifunc.c: Likewise.
41954         * benchtests/bench-mempcpy-ifunc.c: Likewise.
41955         * benchtests/bench-memrchr-ifunc.c: Likewise.
41956         * benchtests/bench-memset-ifunc.c: Likewise.
41957         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
41958         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
41959         * benchtests/bench-stpcpy-ifunc.c: Likewise.
41960         * benchtests/bench-stpncpy-ifunc.c: Likewise.
41961         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
41962         * benchtests/bench-strcasestr-ifunc.c: Likewise.
41963         * benchtests/bench-strcat-ifunc.c: Likewise.
41964         * benchtests/bench-strchr-ifunc.c: Likewise.
41965         * benchtests/bench-strchrnul-ifunc.c: Likewise.
41966         * benchtests/bench-strcmp-ifunc.c: Likewise.
41967         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
41968         * benchtests/bench-strcpy-ifunc.c: Likewise.
41969         * benchtests/bench-strcspn-ifunc.c: Likewise.
41970         * benchtests/bench-strlen-ifunc.c: Likewise.
41971         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
41972         * benchtests/bench-strncat-ifunc.c: Likewise.
41973         * benchtests/bench-strncmp-ifunc.c: Likewise.
41974         * benchtests/bench-strncpy-ifunc.c: Likewise.
41975         * benchtests/bench-strnlen-ifunc.c: Likewise.
41976         * benchtests/bench-strpbrk-ifunc.c: Likewise.
41977         * benchtests/bench-strrchr-ifunc.c: Likewise.
41978         * benchtests/bench-strsep-ifunc.c: Likewise.
41979         * benchtests/bench-strspn-ifunc.c: Likewise.
41980         * benchtests/bench-strstr-ifunc.c: Likewise.
41982 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41984         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
41986 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41988         * resolv/netdb.h: Use __glibc_reserved instead __unused.
41989         * rt/aio.h: Likewise.
41990         * sysdeps/gnu/bits/utmp.h: Likewise.
41991         * sysdeps/gnu/bits/utmpx.h: Likewise.
41992         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41993         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
41994         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
41995         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
41996         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
41997         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
41998         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
41999         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
42000         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
42001         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
42002         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
42003         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
42004         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
42005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
42006         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42007         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
42008         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
42009         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
42010         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
42011         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
42012         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
42013         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
42014         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
42015         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42016         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
42017         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42018         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
42019         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
42020         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
42021         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
42022         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
42023         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
42024         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
42025         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42026         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
42027         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
42028         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
42029         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
42030         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
42031         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
42032         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
42033         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42035 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
42037         [BZ #16245]
42038         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
42039         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
42041 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
42043         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
42044         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
42045         Likewise.
42047 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42049         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
42050         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
42051         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
42052         (__fesetround): Remove define.
42053         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
42054         rounding and exceptions handling.
42055         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
42056         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
42057         (__fe_nomask_env): Likewise.
42058         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
42059         __fegetround instead of fegetround.
42060         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42061         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
42063 2013-11-21  Roland McGrath  <roland@hack.frob.com>
42065         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
42066         it's there.
42068         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
42070 2013-11-21  Meador Inge  <meadori@codesourcery.com>
42072         [BZ #11157]
42073         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
42074         (encrypt_r): Likewise.
42075         * malloc/obstack.h (obstack_free): Likewise.
42076         * posix/unistd.h (encrypt): Likewise.
42078 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
42080         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
42081         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
42082         DL_CALL_DT_FINI() that call the functions directly.
42083         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
42084         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
42085         * elf/dl-fini.c: Likewise.
42087 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
42089         * malloc/hooks.c (memalign_check): Add alignment rounding.
42090         * malloc/malloc.c (_mid_memalign): New function.
42091         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
42092         Implement by calling _mid_memalign.
42093         * manual/probes.texi (Memory Allocation Probes): Remove
42094         memory_valloc_retry and memory_pvalloc_retry.
42096 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42098         * locale/programs/locarchive.c (open_archive): Add const
42099         qualifier to ARCHIVEFNAME and copy default fname to
42100         DEFAULT_FNAME.
42102         [BZ #15601]
42103         * libio/tst-widetext.input: Rename Oriya to Odia.
42104         * locale/iso-639.def: Likewise.
42106         * manual/probes.texi (Mathematical Function Probes): Add
42107         documentation for sin, cos, asin and acos probes.
42108         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
42109         (__sin32): Add slowasin probe.
42110         (__cos32): Add slowacos probe.
42111         (__mpsin): Add slowsin probe.
42112         (__mpcos): Add slowcos probe.
42114 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
42116         [BZ #15483]
42117         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
42118         thread-local __sim_exceptions_thread and global
42119         __sim_exceptions_global.
42120         (__sim_disabled_exceptions): Change to thread-local
42121         __sim_disabled_exceptions_thread and global
42122         __sim_disabled_exceptions_global.
42123         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42124         and global __sim_round_mode_global.
42125         (__simulate_exceptions): Use thread-local floating-point state and
42126         set global state from it as needed.
42127         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42128         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
42129         __sim_round_mode_thread.
42130         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
42131         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
42132         and global __sim_exceptions_global.
42133         (__sim_disabled_exceptions): Change to thread-local
42134         __sim_disabled_exceptions_thread and global
42135         __sim_disabled_exceptions_global.
42136         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42137         and global __sim_round_mode_global.
42138         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
42139         (SIM_SET_GLOBAL): Likewise.
42140         * sysdeps/powerpc/soft-fp/sfp-machine.h
42141         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
42142         __sim_round_mode_thread.
42143         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
42144         __sim_disabled_exceptions_thread.
42145         (__sim_exceptions): Change to __sim_exceptions_thread.
42146         (__sim_disabled_exceptions): Change to
42147         __sim_disabled_exceptions_thread.
42148         (__sim_round_mode): Change to __sim_round_mode_thread.
42149         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
42150         thread-local floating-point state and set global state from it as
42151         needed.
42152         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
42153         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
42154         (__sim_disabled_exceptions): Remove extern declaration.
42155         (feenableexcept): Use thread-local floating-point state and set
42156         global state from it as needed.
42157         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
42158         extern declaration.
42159         (__sim_disabled_exceptions): Likewise.
42160         (__sim_round_mode): Likewise.
42161         (__fegetenv): Use thread-local floating-point state.
42162         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
42163         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42164         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
42165         floating-point state and set global state from it as needed.
42166         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
42167         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
42168         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
42169         Likewise.
42170         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
42171         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
42172         Likewise.
42173         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
42174         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
42175         Use __sim_round_mode_thread.
42176         * math/test-fenv-tls.c: New file.
42177         * math/Makefile (tests): Add test-fenv-tls.
42178         ($(objpfx)test-fenv-tls): Depend on
42179         $(common-objpfx)nptl/libpthread.so.
42181 2013-11-19  Andreas Schwab  <schwab@suse.de>
42183         * locale/programs/locale.c (show_info): Decode wordarray elements.
42184         * locale/categories.def (LC_MONETARY): Add element for
42185         _NL_MONETARY_CRNCYSTR.
42186         * locale/C-monetary.c (conversion_rate): New variable.
42187         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42188         element.
42190 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
42192         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42193         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42195 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42197         * elf/Makefile (tst-auxv): New test.
42198         * elf/tst-auxv.c: New
42199         * elf/rtld.c (dl_main): Adjust AT_EXECFN
42201 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
42203         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42204         (hidden_proto): Caller changed.
42205         (hidden_tls_proto): New macro.
42206         (libc_hidden_tls_proto): Likewise.
42207         (rtld_hidden_tls_proto): Likewise.
42208         (libm_hidden_tls_proto): Likewise.
42209         (libresolv_hidden_tls_proto): Likewise.
42210         (librt_hidden_tls_proto): Likewise.
42211         (libdl_hidden_tls_proto): Likewise.
42212         (libnss_files_hidden_tls_proto): Likewise.
42213         (libnsl_hidden_tls_proto): Likewise.
42214         (libnss_nisplus_hidden_tls_proto): Likewise.
42215         (libutil_hidden_tls_proto): Likewise.
42217 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
42219         [BZ #10253]
42220         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
42221         (decompose_rpath): Defer expansion to fillin_rpath.
42222         (_dl_init_paths): Pass linkmap to fillin_rpath.
42224 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42226         * benchtests/Makefile: Add strsep.
42227         * benchtests/bench-strsep.c: New file: strsep benchtest.
42228         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
42230 2013-11-18  Andreas Schwab  <schwab@suse.de>
42232         * locale/programs/locale.c (show_info) [case byte]: Check for
42233         '\377' instead of '\177'.
42234         * locale/C-monetary.c (not_available): Always use "\377".
42235         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
42236         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
42237         detect unavailable sign_posn locale elements.
42238         * locale/localeconv.c (__localeconv): For grouping and
42239         mon_grouping handle "\177" and "\377" like no grouping.
42240         (INT_ELEM): New macro.  Use it to set all numeric members.
42241         * locale/programs/ld-monetary.c (monetary_read)
42242         <tok_mon_grouping>: Normalize single -1 to the empty string.
42243         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
42244         Likewise.
42246 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42248         [BZ #16055]
42249         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
42250         when we match (nil).
42251         * stdio-common/tst-sscanf.c (struct test): Add testcase.
42253 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
42255         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
42256         (NO_TEST_INLINE): Update value.
42257         (ERRNO_UNCHANGED): Likewise.
42258         (ERRNO_EDOM): Likewise.
42259         (ERRNO_ERANGE): Likewise.
42260         (IGNORE_RESULT): Likewise.
42261         (check_float_internal): Check signs of NaN results if
42262         TEST_NAN_SIGN used.
42263         (check_complex): Pass TEST_NAN_SIGN flag through to second
42264         check_float_internal call.
42265         (copysign_test_data): Add tests with quiet NaNs as second
42266         argument.  Use TEST_NAN_SIGN.
42267         (fabs_test_data): Add test of negative quiet NaN argument.  Use
42268         TEST_NAN_SIGN.
42269         (signbit_test_data): Add tests of quiet NaN argument.
42270         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
42272         * math/gen-libm-test.pl (show_exceptions): Take extra argument
42273         $ignore_result.
42274         (parse_args): Handle function results specified as IGNORE.
42275         * math/libm-test.inc (IGNORE_RESULT): New macro.
42276         (check_float_internal): Do not check numerical result if flag
42277         IGNORE_RESULT set.
42278         (check_complex): Pass through IGNORE_RESULT to second
42279         check_float_internal call.
42280         (check_int): Do not check numerical result if flag IGNORE_RESULT
42281         set.
42282         (check_long): Likewise.
42283         (check_bool): Likewise.
42284         (check_longlong): Likewise.
42285         (lrint_test_data): Add tests of infinite and NaN arguments.
42286         (lrint_tonearest_test_data): Likewise.
42287         (lrint_towardzero_test_data): Likewise.
42288         (lrint_downward_test_data): Likewise.
42289         (lrint_upward_test_data): Likewise.
42290         (llrint_test_data): Likewise.
42291         (llrint_tonearest_test_data): Likewise.
42292         (llrint_towardzero_test_data): Likewise.
42293         (llrint_downward_test_data): Likewise.
42294         (llrint_upward_test_data): Likewise.
42295         (lround_test_data): Likewise.
42296         (llround_test_data): Likewise.
42298         * math/libm-test.inc (NO_TEST_INLINE): New macro.
42299         (ERRNO_UNCHANGED): Update value.
42300         (ERRNO_EDOM): Likewise.
42301         (ERRNO_ERANGE): Likewise.
42302         (NO_TEST_INLINE_FLOAT): New macro.
42303         (NO_TEST_INLINE_DOUBLE): Likewise.
42304         (enable_test): New function.
42305         (RUN_TEST_f_f): Check enable_test before running test.
42306         (RUN_TEST_2_f): Likewise.
42307         (RUN_TEST_fff_f): Likewise.
42308         (RUN_TEST_c_f): Likewise.
42309         (RUN_TEST_f_f1): Likewise.
42310         (RUN_TEST_fF_f1): Likewise.
42311         (RUN_TEST_fI_f1): Likewise.
42312         (RUN_TEST_ffI_f1): Likewise.
42313         (RUN_TEST_c_c): Likewise.
42314         (RUN_TEST_cc_c): Likewise.
42315         (RUN_TEST_f_i): Likewise.
42316         (RUN_TEST_f_i_tg): Likewise.
42317         (RUN_TEST_ff_i_tg): Likewise.
42318         (RUN_TEST_f_b): Likewise.
42319         (RUN_TEST_f_b_tg): Likewise.
42320         (RUN_TEST_f_l): Likewise.
42321         (RUN_TEST_f_L): Likewise.
42322         (RUN_TEST_fFF_11): Likewise.
42323         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42324         conditionals.
42325         (cosh_test_data): Likewise.
42326         (exp_test_data): Likewise.
42327         (expm1_test_data): Likewise.
42328         (hypot_test_data): Likewise.
42329         (pow_test_data): Likewise.
42330         (sinh_test_data): Likewise.
42331         (tanh_test_data): Likewise.
42332         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42333         flags argument.
42335         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42336         tests with quiet NaN input and output.
42337         (acosh_test_data): Likewise.
42338         (asin_test_data): Likewise.
42339         (asinh_test_data): Likewise.
42340         (atan_test_data): Likewise.
42341         (atanh_test_data): Likewise.
42342         (atan2_test_data): Likewise.
42343         (cbrt_test_data): Likewise.
42344         (cos_test_data): Likewise.
42345         (cosh_test_data): Likewise.
42346         (erf_test_data): Likewise.
42347         (erfc_test_data): Likewise.
42348         (exp_test_data): Likewise.
42349         (exp10_test_data): Likewise.
42350         (exp2_test_data): Likewise.
42351         (expm1_test_data): Likewise.
42352         (hypot_test_data): Likewise.
42353         (j0_test_data): Likewise.
42354         (j1_test_data): Likewise.
42355         (jn_test_data): Likewise.
42356         (lgamma_test_data): Likewise.
42357         (log_test_data): Likewise.
42358         (log10_test_data): Likewise.
42359         (log1p_test_data): Likewise.
42360         (log2_test_data): Likewise.
42361         (pow_test_data): Likewise.
42362         (scalb_test_data): Likewise.
42363         (sin_test_data): Likewise.
42364         (sincos_test_data): Likewise.
42365         (sinh_test_data): Likewise.
42366         (tan_test_data): Likewise.
42367         (tanh_test_data): Likewise.
42368         (tgamma_test_data): Likewise.
42369         (y0_test_data): Likewise.
42370         (y1_test_data): Likewise.
42371         (yn_test_data): Likewise.
42373         [BZ #16167]
42374         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
42375         argument being NaN and avoid computations with second argument in
42376         that case.
42377         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42378         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42379         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42381 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
42383         * locale/iso-639.def: Add Chitwani Tharu (the).
42385 2013-11-14  Andreas Schwab  <schwab@suse.de>
42387         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
42388         word instead of empty string.
42390 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42393         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
42394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42395         (__fe_nomask_env): Likewise.
42397 2013-11-13  Steve Ellcey  <sellcey@mips.com>
42399         * benchtests/bench-timing.h: Include time.h.
42401 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
42403         [BZ #15997]
42404         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
42405         to 3.4.0 for x32.
42406         * sysdeps/unix/sysv/linux/configure: Regenerated.
42408 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
42410         [BZ #16151]
42411         * stdlib/strtod_l.c (round_and_return): Do not consider
42412         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
42413         exponent one less than half the least subnormal exponent.
42414         * stdlib/test-strtod-round-data: Add more tests.
42415         * stdlib/tst-strtod-round.c (tests): Regenerated.
42417 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42419         [BZ #14143]
42420         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
42421         (__fe_mask_env): Likewise.
42422         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
42423         libm_hidden_proto and add function prototype.
42424         (__fe_mask_env): Add function prototype.
42425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42426         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
42427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42428         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
42429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42430         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42432 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42434         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
42435         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
42437 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42439         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
42440         of htab_find_slot().
42442 2013-11-11  David S. Miller  <davem@davemloft.net>
42444         [BZ #16150]
42445         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
42446         symbol in the non-vis3 case in static builds.
42447         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
42448         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
42449         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
42450         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
42452 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
42454         [BZ #387]
42455         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
42456         it is empty.
42458 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42460         * benchtests/Makefile: Add bench-strtod.
42461         * benchtests/bench-strtod.c: New file: strtod benchtest
42463 2013-11-11  Andreas Schwab  <schwab@suse.de>
42465         [BZ #16153]
42466         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
42467         terminating NUL in key length.
42469 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42471         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42472         Add artificial ODP entry for vDSO symbol for PPC64.
42473         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
42474         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
42476 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42478         [BZ #15374]
42479         * nss/getent.c (services_keys): Recognize services starting with digit.
42481 2013-11-06  David S. Miller  <davem@davemloft.net>
42483         [BZ #15985]
42484         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
42485         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
42487 2013-11-06  Will Newton  <will.newton@linaro.org>
42489         * manual/memory.texi (Malloc Examples): Remove register
42490         keyword from examples.
42492 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
42494         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
42496 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
42498         [BZ #6981]
42499         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
42500         depending on [__GCC_IEC_559 > 0].
42501         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
42502         depending on [__GCC_IEC_559_COMPLEX > 0].
42504 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
42506         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
42507         to iso-639.def.
42509 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
42511         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
42513 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
42515         [BZ #16112]
42516         * malloc/malloc (malloc_info): Do not handle first bin as
42517         special case.
42519 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
42521         * locale/iso-639.def: Add Central Nahuatl (nhn).
42523 2013-11-01  Bruno Haible  <bruno@clisp.org>
42525         [BZ #7003]
42526         * manual/math.texi (BSD Random): Specify range upper bound as
42527         in POSIX.
42529 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
42531         * locale/iso-639.def: Add Meadow Mari (mhr).
42533 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
42535         [BZ #14752], [BZ #15763]
42536         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
42537         Validate name.
42538         * rt/tst_shm.c: Add test for escaping directory.
42540 2013-10-31  Andreas Schwab  <schwab@suse.de>
42542         [BZ #15917]
42543         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
42544         followed by 'x' as part of digit sequence.
42545         * stdio-common/tst-sscanf.c (double_tests2): New tests.
42547 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
42549         [BZ #16037]
42550         * configure.ac: allow GNU Make 4.0 and greater.
42551         * configure: Regenerated.
42553 2013-10-30  Will Newton  <will.newton@linaro.org>
42555         [BZ #16038]
42556         * malloc/hooks.c (memalign_check): Limit alignment to the
42557         maximum representable power of two.
42558         * malloc/malloc.c (__libc_memalign): Likewise.
42559         * malloc/tst-memalign.c (do_test): Add test for very
42560         large alignment values.
42561         * malloc/tst-posix_memalign.c (do_test): Likewise.
42563 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42565         [BZ #11087]
42566         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
42567         (munmap_chunk): Likewise.
42568         (mremap_chunk): Likewise.
42570 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42572         [BZ #15799]
42573         * stdlib/div.c (div): Remove obsolete code.
42574         * stdlib/ldiv.c (ldiv): Likewise.
42575         * stdlib/lldiv.c (lldiv): Likewise.
42577 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42579         [BZ #16071]
42580         * nss/nss_files/files-XXX.c (get_contents_ret): New
42581         enumerator.
42582         (get_contents): New function.
42583         (internal_getent): Use it.  Expand size of LINEBUFLEN.
42585 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
42587         * configure.in: Moved to ...
42588         * configure.ac: ... here. Change reference to configure.in
42589         to configure.ac.
42590         * sysdeps/arm/preconfigure.ac: ... here.
42591         configure.in to configure.ac.
42592         * sysdeps/gnu/configure.in: Moved to ...
42593         * sysdeps/gnu/configure.ac: ... here.
42594         * sysdeps/i386/configure.in: Moved to ...
42595         * sysdeps/i386/configure.ac: ... here.
42596         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
42597         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
42598         * sysdeps/mach/configure.in: Moved to ...
42599         * sysdeps/mach/configure.ac: ... here.
42600         * sysdeps/mach/hurd/configure.in: Moved to ...
42601         * sysdeps/mach/hurd/configure.ac: ... here.
42602         * sysdeps/powerpc/configure.in: Moved to ...
42603         * sysdeps/powerpc/configure.ac: ... here.
42604         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
42605         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
42606         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
42607         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
42608         * sysdeps/s390/s390-32/configure.in: Moved to ...
42609         * sysdeps/s390/s390-32/configure.ac: ... here.
42610         * sysdeps/s390/s390-64/configure.in: Moved to ...
42611         * sysdeps/s390/s390-64/configure.ac: ... here.
42612         * sysdeps/sh/configure.in: Moved to ...
42613         * sysdeps/sh/configure.ac: ... here.
42614         * sysdeps/sparc/configure.in: Moved to ...
42615         * sysdeps/sparc/configure.ac: ... here.
42616         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
42617         * sysdeps/unix/sysv/linux/configure.ac: ... here.
42618         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
42619         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
42620         * sysdeps/x86_64/configure.in: Moved to ...
42621         * sysdeps/x86_64/configure.ac: ... here.
42622         * sysdeps/x86_64/preconfigure.in: Moved to ...
42623         * sysdeps/x86_64/preconfigure.ac: ... here.
42624         * aclocal.m4: Change reference to configure.in to configure.ac.
42625         * config.h.in: Likewise.
42626         * manual/install.texi: Likewise.
42627         * manual/maint.texi: Likewise.
42628         * Makefile: Likewise.
42629         * malloc/Makefile: Likewise.
42630         * nscd/Makefile: Likewise.
42631         * Makeconfig: Change reference to configure.in and
42632         preconfigure.in to configure.ac and preconfigure.ac
42633         respectively.
42634         * INSTALL: Regenerated.
42635         * configure: Likewise.
42636         * sysdeps/gnu/configure: Likewise.
42637         * sysdeps/i386/configure: Likewise.
42638         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
42639         * sysdeps/mach/configure: Likewise.
42640         * sysdeps/mach/hurd/configure: Likewise.
42641         * sysdeps/powerpc/configure: Likewise.
42642         * sysdeps/powerpc/powerpc32/configure: Likewise.
42643         * sysdeps/powerpc/powerpc64/configure: Likewise.
42644         * sysdeps/s390/s390-32/configure: Likewise.
42645         * sysdeps/s390/s390-64/configure: Likewise.
42646         * sysdeps/sh/configure: Likewise.
42647         * sysdeps/sparc/configure: Likewise.
42648         * sysdeps/unix/sysv/linux/configure: Likewise.
42649         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
42650         * sysdeps/x86_64/configure: Likewise.
42651         * sysdeps/x86_64/preconfigure: Likewise.
42653 2013-10-29  Andreas Schwab  <schwab@suse.de>
42655         * stdio-common/Makefile (tst-swscanf-ENV): Define.
42657 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42659         * benchtests/pow-inputs: Add new inputs.
42661         * benchtests/exp-inputs: Add new inputs.
42663         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
42664         conditional check for return value.
42665         (__cos32): Likewise.
42667 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42669         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
42670         to provide a boost for large inputs with word alignment.
42671         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
42672         implementation based on optimized PPC64 strcpy.
42673         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
42674         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
42675         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
42676         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
42678 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42680         [BZ #2801]
42681         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
42683 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42685         [BZ #14876]
42686         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
42687         * time/tst-strptime.c (day_tests): Add testcase.
42689 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42691         [BZ #14029]
42692         * manual/pattern.texi: Acknowledge that fnmatch can fail.
42694 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
42696         [BZ #16074]
42697         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
42698         MAP_FAILED on error.
42700 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42702         [BZ #16072]
42703         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
42704         heap for large requests.
42706 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
42708         [BZ #9954]
42709         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
42710         result if the result has no associated interface.
42711         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
42712         interface for all 127.X.Y.Z addresses.
42714 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
42716         * locale/iso-639.def: Add Ligurian (lij)
42718 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
42720         [BZ #15825]
42721         * sunrpc/rpc_main.c: Document rpcgen -5.
42723 2013-10-19  Michael Stahl  <mstahl@redhat.com>
42725         * elf/rtld.c (do_preload): Print the reason why preloading failed.
42727 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42729         [BZ #10278]
42730         * posix/glob.c: Match only directories when trailing slash is present.
42731         * posix/tst-gnuglob.c (my_opendir): Do not open files.
42732         (main): Add testcase.
42734 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42736         [BZ #15670]
42737         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
42739 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
42741         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
42742         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
42743         AUTH_DES and cindex for FIPS 140-2.
42744         (DES Encryption): Add cindex FIPS 46-3.
42746         * locale/locarchive.h (struct locarhandle): Add fname.
42747         * locale/programs/localedef.c (main): Pass ARGV[remaining]
42748         if an optional argument was specified to --list-archive,
42749         otherwise NULL.
42750         * locale/programs/locarchive.c (show_archive_content): Take new
42751         argument fname and pass it via ah.fname to open_archive.
42752         * locale/programs/localedef.h: Update decl.
42753         (open_archive): If AH->fname is non-null, open that file
42754         rather than the default file name, and don't ignore ENOENT.
42755         (create_archive): Set AH.fname to NULL.
42756         (delete_locales_from_archive): Likewise.
42757         (add_locales_to_archive): Likewise.
42758         * locale/programs/locfile.c (write_all_categories): Likewise.
42760 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
42761             Aldy Hernandez  <aldyh@redhat.com>
42763         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
42764         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
42765         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
42766         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
42767         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
42768         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
42769         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
42770         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
42771         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
42772         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
42773         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
42774         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
42775         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
42776         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
42777         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
42778         Likewise.
42779         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
42780         Likewise.
42781         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
42782         Likewise.
42783         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
42784         Likewise.
42785         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
42786         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
42787         Likewise.
42788         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
42789         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
42790         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
42791         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
42792         Likewise.
42793         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
42794         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
42795         * sysdeps/powerpc/preconfigure: Likewise.
42796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
42797         Likewise.
42798         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
42799         Replace contents of file by #include of <fenv_libc.h>.
42800         * sysdeps/powerpc/soft-fp/sfp-machine.h
42801         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
42802         and <sys/prctl.h>.
42803         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
42804         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
42805         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
42806         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
42807         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
42808         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
42809         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
42810         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
42811         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
42812         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
42813         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
42814         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
42815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42816         Allow copysignl PLT reference to be missing.
42818 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
42819             Joseph Myers  <joseph@codesourcery.com
42821         [BZ #15948]
42822         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
42823         single character.
42824         (add_to_tablewc): Assert sequence of wide characters is nonempty.
42826 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42828         * elf/tst-tls-dlinfo.c: Don't include tls.h.
42829         * elf/tst-tls1.c: Likewise.
42830         * elf/tst-tls10.h: Likewise.
42831         * elf/tst-tls14.c: Likewise.
42832         * elf/tst-tls2.c: Likewise.
42833         * elf/tst-tls3.c: Likewise.
42834         * elf/tst-tls4.c: Likewise.
42835         * elf/tst-tls5.c: Likewise.
42836         * elf/tst-tls6.c: Likewise.
42837         * elf/tst-tls7.c: Likewise.
42838         * elf/tst-tls8.c: Likewise.
42839         * elf/tst-tls9.c: Likewise.
42840         * elf/tst-tlsmod1.c: Likewise.
42841         * elf/tst-tlsmod13.c: Likewise.
42842         * elf/tst-tlsmod13a.c: Likewise.
42843         * elf/tst-tlsmod14a.c: Likewise.
42844         * elf/tst-tlsmod16a.c: Likewise.
42845         * elf/tst-tlsmod16b.c: Likewise.
42846         * elf/tst-tlsmod2.c: Likewise.
42847         * elf/tst-tlsmod3.c: Likewise.
42848         * elf/tst-tlsmod4.c: Likewise.
42849         * elf/tst-tlsmod5.c: Likewise.
42850         * elf/tst-tlsmod6.c: Likewise.
42852 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
42854         [BZ #12486]
42855         * malloc/malloc.c: remove checks for statistics.
42857 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42859         [BZ #15277]
42860         * inet/inet_net.c (inet_network): Detect additional invalid strings.
42861         * inet/tst-network.c: Add testcase.
42863 2013-10-17  Andreas Schwab  <schwab@suse.de>
42865         [BZ #15218]
42866         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
42867         to determine canonical name.
42869 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42871         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
42872         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
42873         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42874         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42875         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42876         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42877         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42878         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42879         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42880         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42881         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42882         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42883         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42884         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42885         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42886         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42887         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42888         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42889         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42890         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42891         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42892         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42893         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42894         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
42895         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
42896         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42897         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42898         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
42899         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42900         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
42901         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42902         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42903         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42904         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42905         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42906         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42907         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42908         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42909         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42910         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42911         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42912         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42913         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42914         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42915         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42916         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42917         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42918         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42919         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42920         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42921         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42922         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42923         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42924         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42925         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42926         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42927         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42928         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42930 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
42932         [BZ #16041]
42933         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
42934         make result into a quiet NaN.
42936 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
42938         * soft-fp/adddf3.c: Fix horizontal whitespace.
42939         * soft-fp/addsf3.c: Likewise.
42940         * soft-fp/addtf3.c: Likewise.
42941         * soft-fp/divdf3.c: Likewise.
42942         * soft-fp/divsf3.c: Likewise.
42943         * soft-fp/divtf3.c: Likewise.
42944         * soft-fp/double.h: Likewise.
42945         * soft-fp/eqdf2.c: Likewise.
42946         * soft-fp/eqsf2.c: Likewise.
42947         * soft-fp/eqtf2.c: Likewise.
42948         * soft-fp/extenddftf2.c: Likewise.
42949         * soft-fp/extended.h: Likewise.
42950         * soft-fp/extendsfdf2.c: Likewise.
42951         * soft-fp/extendsftf2.c: Likewise.
42952         * soft-fp/extendxftf2.c: Likewise.
42953         * soft-fp/fixdfdi.c: Likewise.
42954         * soft-fp/fixdfsi.c: Likewise.
42955         * soft-fp/fixdfti.c: Likewise.
42956         * soft-fp/fixsfdi.c: Likewise.
42957         * soft-fp/fixsfsi.c: Likewise.
42958         * soft-fp/fixsfti.c: Likewise.
42959         * soft-fp/fixtfdi.c: Likewise.
42960         * soft-fp/fixtfsi.c: Likewise.
42961         * soft-fp/fixtfti.c: Likewise.
42962         * soft-fp/fixunsdfdi.c: Likewise.
42963         * soft-fp/fixunsdfsi.c: Likewise.
42964         * soft-fp/fixunsdfti.c: Likewise.
42965         * soft-fp/fixunssfdi.c: Likewise.
42966         * soft-fp/fixunssfsi.c: Likewise.
42967         * soft-fp/fixunssfti.c: Likewise.
42968         * soft-fp/fixunstfdi.c: Likewise.
42969         * soft-fp/fixunstfsi.c: Likewise.
42970         * soft-fp/fixunstfti.c: Likewise.
42971         * soft-fp/floatdidf.c: Likewise.
42972         * soft-fp/floatdisf.c: Likewise.
42973         * soft-fp/floatditf.c: Likewise.
42974         * soft-fp/floatsidf.c: Likewise.
42975         * soft-fp/floatsisf.c: Likewise.
42976         * soft-fp/floatsitf.c: Likewise.
42977         * soft-fp/floattidf.c: Likewise.
42978         * soft-fp/floattisf.c: Likewise.
42979         * soft-fp/floattitf.c: Likewise.
42980         * soft-fp/floatundidf.c: Likewise.
42981         * soft-fp/floatundisf.c: Likewise.
42982         * soft-fp/floatunditf.c: Likewise.
42983         * soft-fp/floatunsidf.c: Likewise.
42984         * soft-fp/floatunsisf.c: Likewise.
42985         * soft-fp/floatunsitf.c: Likewise.
42986         * soft-fp/floatuntidf.c: Likewise.
42987         * soft-fp/floatuntisf.c: Likewise.
42988         * soft-fp/floatuntitf.c: Likewise.
42989         * soft-fp/fmadf4.c: Likewise.
42990         * soft-fp/fmasf4.c: Likewise.
42991         * soft-fp/fmatf4.c: Likewise.
42992         * soft-fp/gedf2.c: Likewise.
42993         * soft-fp/gesf2.c: Likewise.
42994         * soft-fp/getf2.c: Likewise.
42995         * soft-fp/ledf2.c: Likewise.
42996         * soft-fp/lesf2.c: Likewise.
42997         * soft-fp/letf2.c: Likewise.
42998         * soft-fp/muldf3.c: Likewise.
42999         * soft-fp/mulsf3.c: Likewise.
43000         * soft-fp/multf3.c: Likewise.
43001         * soft-fp/negdf2.c: Likewise.
43002         * soft-fp/negsf2.c: Likewise.
43003         * soft-fp/negtf2.c: Likewise.
43004         * soft-fp/op-1.h: Likewise.
43005         * soft-fp/op-2.h: Likewise.
43006         * soft-fp/op-4.h: Likewise.
43007         * soft-fp/op-8.h: Likewise.
43008         * soft-fp/op-common.h: Likewise.
43009         * soft-fp/quad.h: Likewise.
43010         * soft-fp/single.h: Likewise.
43011         * soft-fp/soft-fp.h: Likewise.
43012         * soft-fp/sqrtdf2.c: Likewise.
43013         * soft-fp/sqrtsf2.c: Likewise.
43014         * soft-fp/sqrttf2.c: Likewise.
43015         * soft-fp/subdf3.c: Likewise.
43016         * soft-fp/subsf3.c: Likewise.
43017         * soft-fp/subtf3.c: Likewise.
43018         * soft-fp/truncdfsf2.c: Likewise.
43019         * soft-fp/trunctfdf2.c: Likewise.
43020         * soft-fp/trunctfsf2.c: Likewise.
43021         * soft-fp/trunctfxf2.c: Likewise.
43022         * soft-fp/unorddf2.c: Likewise.
43023         * soft-fp/unordsf2.c: Likewise.
43024         * soft-fp/unordtf2.c: Likewise.
43026 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
43028         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
43029         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
43031 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
43033         * elf/dl-libc.c: Clear initfini list after freeing.
43035 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
43037         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
43038         * soft-fp/addsf3.c: Likewise.
43039         * soft-fp/addtf3.c: Likewise.
43040         * soft-fp/divdf3.c: Likewise.
43041         * soft-fp/divsf3.c: Likewise.
43042         * soft-fp/divtf3.c: Likewise.
43043         * soft-fp/double.h: Likewise.
43044         * soft-fp/eqdf2.c: Likewise.
43045         * soft-fp/eqsf2.c: Likewise.
43046         * soft-fp/eqtf2.c: Likewise.
43047         * soft-fp/extenddftf2.c: Likewise.
43048         * soft-fp/extended.h: Likewise.
43049         * soft-fp/extendsfdf2.c: Likewise.
43050         * soft-fp/extendsftf2.c: Likewise.
43051         * soft-fp/extendxftf2.c: Likewise.
43052         * soft-fp/fixdfdi.c: Likewise.
43053         * soft-fp/fixdfsi.c: Likewise.
43054         * soft-fp/fixdfti.c: Likewise.
43055         * soft-fp/fixsfdi.c: Likewise.
43056         * soft-fp/fixsfsi.c: Likewise.
43057         * soft-fp/fixsfti.c: Likewise.
43058         * soft-fp/fixtfdi.c: Likewise.
43059         * soft-fp/fixtfsi.c: Likewise.
43060         * soft-fp/fixtfti.c: Likewise.
43061         * soft-fp/fixunsdfdi.c: Likewise.
43062         * soft-fp/fixunsdfsi.c: Likewise.
43063         * soft-fp/fixunsdfti.c: Likewise.
43064         * soft-fp/fixunssfdi.c: Likewise.
43065         * soft-fp/fixunssfsi.c: Likewise.
43066         * soft-fp/fixunssfti.c: Likewise.
43067         * soft-fp/fixunstfdi.c: Likewise.
43068         * soft-fp/fixunstfsi.c: Likewise.
43069         * soft-fp/fixunstfti.c: Likewise.
43070         * soft-fp/floatdidf.c: Likewise.
43071         * soft-fp/floatdisf.c: Likewise.
43072         * soft-fp/floatditf.c: Likewise.
43073         * soft-fp/floatsidf.c: Likewise.
43074         * soft-fp/floatsisf.c: Likewise.
43075         * soft-fp/floatsitf.c: Likewise.
43076         * soft-fp/floattidf.c: Likewise.
43077         * soft-fp/floattisf.c: Likewise.
43078         * soft-fp/floattitf.c: Likewise.
43079         * soft-fp/floatundidf.c: Likewise.
43080         * soft-fp/floatundisf.c: Likewise.
43081         * soft-fp/floatunsidf.c: Likewise.
43082         * soft-fp/floatunsisf.c: Likewise.
43083         * soft-fp/floatuntidf.c: Likewise.
43084         * soft-fp/floatuntisf.c: Likewise.
43085         * soft-fp/floatuntitf.c: Likewise.
43086         * soft-fp/fmadf4.c: Likewise.
43087         * soft-fp/fmasf4.c: Likewise.
43088         * soft-fp/fmatf4.c: Likewise.
43089         * soft-fp/gedf2.c: Likewise.
43090         * soft-fp/gesf2.c: Likewise.
43091         * soft-fp/getf2.c: Likewise.
43092         * soft-fp/ledf2.c: Likewise.
43093         * soft-fp/lesf2.c: Likewise.
43094         * soft-fp/letf2.c: Likewise.
43095         * soft-fp/muldf3.c: Likewise.
43096         * soft-fp/mulsf3.c: Likewise.
43097         * soft-fp/multf3.c: Likewise.
43098         * soft-fp/negdf2.c: Likewise.
43099         * soft-fp/negsf2.c: Likewise.
43100         * soft-fp/negtf2.c: Likewise.
43101         * soft-fp/op-1.h: Likewise.
43102         * soft-fp/op-2.h: Likewise.
43103         * soft-fp/op-4.h: Likewise.
43104         * soft-fp/op-8.h: Likewise.
43105         * soft-fp/op-common.h: Likewise.
43106         * soft-fp/quad.h: Likewise.
43107         * soft-fp/single.h: Likewise.
43108         * soft-fp/soft-fp.h: Likewise.
43109         * soft-fp/sqrtdf2.c: Likewise.
43110         * soft-fp/sqrtsf2.c: Likewise.
43111         * soft-fp/sqrttf2.c: Likewise.
43112         * soft-fp/subdf3.c: Likewise.
43113         * soft-fp/subsf3.c: Likewise.
43114         * soft-fp/subtf3.c: Likewise.
43115         * soft-fp/truncdfsf2.c: Likewise.
43116         * soft-fp/trunctfdf2.c: Likewise.
43117         * soft-fp/trunctfsf2.c: Likewise.
43118         * soft-fp/trunctfxf2.c: Likewise.
43119         * soft-fp/unorddf2.c: Likewise.
43120         * soft-fp/unordsf2.c: Likewise.
43121         * soft-fp/unordtf2.c: Likewise.
43123 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
43125         [BZ #15672]
43126         * misc/error.c (error_tail): Fix possible buffer overflow.
43128 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
43130         [BZ #13028]
43131         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
43132         address.
43134 2013-10-14  P. J. McDermott  <pj@pehjota.net>
43136         [BZ #832]
43137         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
43138         testing pipefail option.
43140 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43142         * soft-fp/double.h: Indent preprocessor directives inside #if.
43143         * soft-fp/extended.h: Likewise.
43144         * soft-fp/op-2.h: Likewise.
43145         * soft-fp/op-4.h: Likewise.
43146         * soft-fp/op-common.h: Likewise.
43147         * soft-fp/quad.h: Likewise.
43148         * soft-fp/single.h: Likewise.
43149         * soft-fp/soft-fp.h: Likewise.
43151 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
43153         * iconv/iconv_prog.c: Fix typos.
43154         * stdio-common/psiginfo-data.h: Likewise.
43156 2013-10-12   Reuben Thomas <rrt@sc3d.org>
43158         [BZ #15764]
43159         * locale/setlocale.c: Fix typo.
43161 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43163         [BZ #16036]
43164         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43165         signaling NaN arguments.
43166         * soft-fp/unordsf2.c (__unordsf2): Likewise.
43167         * soft-fp/unordtf2.c (__unordtf2): Likewise.
43169         [BZ #14910]
43170         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
43171         unordered operands.
43172         * soft-fp/gesf2.c (__gesf2): Likewise.
43173         * soft-fp/getf2.c (__getf2): Likewise.
43174         * soft-fp/ledf2.c (__ledf2): Likewise.
43175         * soft-fp/lesf2.c (__lesf2): Likewise.
43176         * soft-fp/letf2.c (__letf2): Likewise.
43178         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43179         * soft-fp/eqsf2.c (__eqsf2): Likewise.
43180         * soft-fp/eqtf2.c (__eqtf2): Likewise.
43181         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43182         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43183         * soft-fp/fixdfti.c (__fixdfti): Likewise.
43184         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43185         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43186         * soft-fp/fixsfti.c (__fixsfti): Likewise.
43187         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43188         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43189         * soft-fp/fixtfti.c (__fixtfti): Likewise.
43190         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43191         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43192         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43193         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43194         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43195         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43196         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43197         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43198         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43199         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43200         * soft-fp/floatdisf.c (__floatdisf): Likewise.
43201         * soft-fp/floatsisf.c (__floatsisf): Likewise.
43202         * soft-fp/floattidf.c (__floattidf): Likewise.
43203         * soft-fp/floattisf.c (__floattisf): Likewise.
43204         * soft-fp/floattitf.c (__floattitf): Likewise.
43205         * soft-fp/floatundidf.c (__floatundidf): Likewise.
43206         * soft-fp/floatundisf.c (__floatundisf): Likewise.
43207         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43208         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43209         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43210         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43211         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43212         * soft-fp/gesf2.c (__gesf2): Likewise.
43213         * soft-fp/getf2.c (__getf2): Likewise.
43214         * soft-fp/ledf2.c (__ledf2): Likewise.
43215         * soft-fp/lesf2.c (__lesf2): Likewise.
43216         * soft-fp/letf2.c (__letf2): Likewise.
43218         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
43219         Undefine and redefine.
43220         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
43221         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
43222         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
43223         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
43224         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43225         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
43226         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43227         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
43228         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43229         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
43230         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43231         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
43232         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43233         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
43234         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43236         [BZ #16032]
43237         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
43238         without decrementing exponent if mantissa >= that for the
43239         denominator, not >.
43240         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
43241         denominator, not >.  Decrement exponent in < case instead of
43242         incrementing in >= case.
43243         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
43244         without decrementing exponent if mantissa >= that for the
43245         denominator, not >.
43247         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
43248         computing saturated result for unsigned overflow.
43250 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43251             Jeff Law  <law@redhat.com>
43253         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
43254         (atan2Mp): Add systemtap probe marker.
43255         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
43256         (__ieee754_log): Add systemtap probe marker.
43257         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
43258         (atanMp): Add systemtap probe marker.
43259         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
43260         (tanMp): Add systemtap probe marker.
43261         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
43262         (__slowexp): Add systemtap probe marker.
43263         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
43264         (__slowpow): Add systemtap probe marker.
43265         * manual/probes.texi: Document probes.
43267 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
43269         [BZ #15362]
43270         * libio/fileops.c (_IO_new_file_write): Return count of bytes
43271         written.
43272         (_IO_new_file_xsputn): Don't return EOF if nothing has been
43273         written.
43274         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
43275         written to buffer but not flushed.
43276         * libio/iofwrite_u.c:  Likewise.
43277         * libio/iopadn.c:  Return bytes returned even if EOF was
43278         encountered.
43279         * libio/iowpadn.c:  Likewise.
43280         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
43281         if _IO_padn does not write the whole buffer.
43282         [!COMPILE_WPRINTF] (PAD): Likewise.
43284 2013-10-10  David S. Miller  <davem@davemloft.net>
43286         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43287         directory block.
43289 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43291         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
43292         instead of FSF address.
43293         * soft-fp/fixdfti.c: Likewise.
43294         * soft-fp/fixsfti.c: Likewise.
43295         * soft-fp/fixtfti.c: Likewise.
43296         * soft-fp/fixunsdfti.c: Likewise.
43297         * soft-fp/fixunssfti.c: Likewise.
43298         * soft-fp/fixunstfti.c: Likewise.
43299         * soft-fp/floattidf.c: Likewise.
43300         * soft-fp/floattisf.c: Likewise.
43301         * soft-fp/floattitf.c: Likewise.
43302         * soft-fp/floatuntidf.c: Likewise.
43303         * soft-fp/floatuntisf.c: Likewise.
43304         * soft-fp/floatuntitf.c: Likewise.
43305         * soft-fp/trunctfxf2.c: Likewise.
43307         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
43308         * soft-fp/fixdfti.c: Likewise.
43309         * soft-fp/fixsfti.c: Likewise.
43310         * soft-fp/fixtfti.c: Likewise.
43311         * soft-fp/fixunsdfti.c: Likewise.
43312         * soft-fp/fixunssfti.c: Likewise.
43313         * soft-fp/fixunstfti.c: Likewise.
43314         * soft-fp/floattidf.c: Likewise.
43315         * soft-fp/floattisf.c: Likewise.
43316         * soft-fp/floattitf.c: Likewise.
43317         * soft-fp/floatuntidf.c: Likewise.
43318         * soft-fp/floatuntisf.c: Likewise.
43319         * soft-fp/floatuntitf.c: Likewise.
43320         * soft-fp/trunctfxf2.c: Likewise.
43322 2013-10-10  David S. Miller  <davem@davemloft.net>
43324         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43326 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
43328         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43329         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43330         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43331         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43332         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43333         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43334         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43336         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43337         for NaNs before doing comparisons on argument.
43338         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43339         Likewise.
43341 2013-10-10  Will Newton  <will.newton@linaro.org>
43343         * malloc/hooks.c (memalign_check): Ensure the value of bytes
43344         passed to _int_memalign does not overflow.
43346 2013-10-10  Torvald Riegel  <triegel@redhat.com>
43348         * scripts/bench.pl: Add include-sources directive.
43349         * benchtests/README: Update documentation.
43351 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43353         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43354         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43355         instead of FP_INIT_ROUNDMODE.
43356         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43357         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43359         [BZ #16034]
43360         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
43361         copy class of input value.
43362         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
43363         not handle exceptions.
43364         * soft-fp/negsf2.c (__negsf2): Likewise.
43365         * soft-fp/negtf2.c (__negtf2): Likewise.
43366         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43368 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
43370         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
43371         semicolon.  From Linux kernel.
43373 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
43375         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
43377 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
43379         [BZ #156]
43380         * manual/socket.texi: Added statement about buffer
43381         for gethostbyname2_r.
43383 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
43385         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
43386         Use .p2align directive instead, throughout.
43387         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43388         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43389         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
43390         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43391         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43392         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
43393         * sysdeps/x86_64/strchr.S: Likewise.
43394         * sysdeps/x86_64/strrchr.S: Likewise.
43396 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43398         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
43400         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
43402         * sysdeps/generic/math_private.h (__mpsin1): Remove
43403         declaration.
43404         (__mpcos1): Likewise.
43405         (__mpsin): New argument __range_reduce.
43406         (__mpcos): Likewise.
43407         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43408         (slow): Use __mpsin and __mpcos.
43409         (slow1): Likewise.
43410         (slow2): Likewise.
43411         (sloww): Likewise.
43412         (sloww1): Likewise.
43413         (sloww2): Likewise.
43414         (bsloww): Likewise.
43415         (bsloww1): Likewise.
43416         (bsloww2): Likewise.
43417         (cslow2): Likewise.
43418         (csloww): Likewise.
43419         (csloww1): Likewise.
43420         (csloww2): Likewise.
43421         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
43422         range_reduce.  Merge in __mpsin1.
43423         (__mpcos): Likewise.
43424         (__mpsin1): Remove.
43425         (__mpcos1): Likewise.
43427 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
43429         * locale/loadlocale.c (_nl_intern_locale_data): Use
43430         LOCFILE_ALIGNED_P.
43431         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
43432         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
43433         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
43434         obstack data is appropriately aligned.
43435         (obstack_int32_grow_fast): Likewise.
43436         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
43437         * locale/programs/locfile.c (add_locale_uint32): Likewise.
43438         (add_locale_uint32_array): Likewise.
43440 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43442         * benchtests/Makefile: Remove ARGLIST and RET variables.
43443         ($(objpfx)bench-%.c): Pass only function name to the script.
43444         * benchtests/README: Update documentation.
43445         * benchtests/acos-inputs: Add new directives.
43446         * benchtests/acosh-inputs: Likewise.
43447         * benchtests/asin-inputs: Likewise.
43448         * benchtests/asinh-inputs: Likewise.
43449         * benchtests/atan-inputs: Likewise.
43450         * benchtests/atanh-inputs: Likewise.
43451         * benchtests/cos-inputs: Likewise.
43452         * benchtests/cosh-inputs: Likewise.
43453         * benchtests/exp-inputs: Likewise.
43454         * benchtests/log-inputs: Likewise.
43455         * benchtests/pow-inputs: Likewise.
43456         * benchtests/rint-inputs: Likewise.
43457         * benchtests/sin-inputs: Likewise.
43458         * benchtests/sinh-inputs: Likewise.
43459         * benchtests/tan-inputs: Likewise.
43460         * benchtests/tanh-inputs: Likewise.
43461         * scripts/bench.pl: Add support for new directives.
43463 2013-10-07  Alan Modra  <amodra@gmail.com>
43465         * README: Fix careless merge.
43467 2013-10-05  Alan Modra  <amodra@gmail.com>
43469         * NEWS: Mention powerpc64le support and bugs fixed.
43470         * README: Both big-endian and little-endian powerpc64 supported.
43472 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43474         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
43475         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
43476         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
43477         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
43479 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
43481         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
43482         match prototype.
43484 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
43486         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
43487         Move -mhard-float appending from
43488         ports/sysdeps/powerpc/powerpc32/Makefile.
43489         [$(with-fp) = yes] (ASFLAGS): Likewise.
43490         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
43491         * sysdeps/powerpc/nofpu: Move directory from
43492         ports/sysdeps/powerpc/nofpu.
43493         * sysdeps/powerpc/soft-fp: Move directory from
43494         ports/sysdeps/powerpc/soft-fp.
43495         * sysdeps/powerpc/powerpc32/405: Move directory from
43496         ports/sysdeps/powerpc/powerpc32/405.
43497         * sysdeps/powerpc/powerpc32/440: Move directory from
43498         ports/sysdeps/powerpc/powerpc32/440.
43499         * sysdeps/powerpc/powerpc32/464: Move directory from
43500         ports/sysdeps/powerpc/powerpc32/464.
43501         * sysdeps/powerpc/powerpc32/476: Move directory from
43502         ports/sysdeps/powerpc/powerpc32/476.
43503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
43504         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
43505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
43506         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
43507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
43508         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
43509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
43510         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
43511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
43512         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
43513         * README: Update for powerpc-*-linux-gnu software floating point
43514         support in libc.
43516         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
43517         case to powerpc/powerpc32*.
43518         * sysdeps/unix/sysv/linux/configure: Regenerated.
43520         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
43521         (_FPU_MASK_OM): Define as 0x04.
43522         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
43523         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
43524         0x00c10080.
43525         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
43526         0x0000003c.
43527         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
43529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
43530         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43531         getcontext_e500.
43532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
43533         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43534         setcontext_e500.
43535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
43536         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
43537         and setcontext_e500.
43539 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
43541         * locale/iso-3166.def: Update iso-1366.def and related occurrences
43543 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43545         * manual/threads.texi (Default Thread Attributes): Fix typo.
43547 2013-10-04  Will Newton  <will.newton@linaro.org>
43549         * malloc/Makefile: Add tst-memalign.
43550         * malloc/tst-memalign.c: New file.
43552         * malloc/tst-posix_memalign.c: Add comments.
43553         (do_test): Add comments and call free on all potentially
43554         allocated pointers. Add space after cast.
43556         * malloc/tst-pvalloc.c: Add comments.
43557         (do_test): Add comments and call free on all potentially
43558         allocated pointers. Remove duplicate check for NULL pointer.
43559         Add space after cast.
43561         * malloc/tst-valloc.c: Add comments.
43562         (do_test): Add comments and call free on all potentially
43563         allocated pointers. Remove duplicate check for NULL pointer.
43564         Add space after cast.
43566 2013-10-04  Alan Modra  <amodra@gmail.com>
43568         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43569         Use stdint types in rather than __attribute__((mode())).
43570         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43572 2013-10-04  Alan Modra  <amodra@gmail.com>
43574         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43575         Correct handling of unaligned relocs for little-endian.
43576         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43578 2013-10-04  Alan Modra  <amodra@gmail.com>
43580         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
43581         * configure: Regenerate.
43582         * nptl/shlib-versions: Powerpc*le starts at 2.18.
43583         * shlib-versions: Likewise.
43585 2013-10-04  Alan Modra  <amodra@gmail.com>
43587         * string/tester.c (test_memrchr): Increment reported test cycle.
43589 2013-10-04  Alan Modra  <amodra@gmail.com>
43591         * string/test-memcpy.c (do_one_test): When reporting errors, print
43592         string address and don't overrun end of string.
43594 2013-10-04  Alan Modra  <amodra@gmail.com>
43596         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
43597         insrdi.  Make better use of reg selection to speed exit slightly.
43598         Schedule entry path a little better.  Remove useless "are we done"
43599         checks on entry to main loop.  Handle wrapping around zero address.
43600         Correct main loop count.  Handle single left-over word from main
43601         loop inline rather than by using loop_small.  Remove extra word
43602         case in loop_small caused by wrong loop count.  Add little-endian
43603         support.
43604         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43605         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
43606         cache hint.
43607         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43608         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
43609         support.  Avoid rlwimi.
43610         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
43612 2013-10-04  Alan Modra  <amodra@gmail.com>
43614         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
43615         insrdi.  Formatting.
43616         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
43617         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43618         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43619         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43620         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43621         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
43623 2013-10-04  Alan Modra  <amodra@gmail.com>
43625         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
43626         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43627         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43628         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
43629         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43630         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43631         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43632         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43633         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
43634         use of regs.  Use power7 mtocrf.  Tidy function tails.
43636 2013-10-04  Alan Modra  <amodra@gmail.com>
43638         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
43639         Formatting.  Consistently use rXXX register defines or rN defines.
43640         Use early exit labels that avoid restoring unused non-volatile regs.
43641         Make cr field use more consistent with rWORDn compares.  Rename
43642         regs used as shift registers for unaligned loop, using rN defines
43643         for short lifetime/multiple use regs.
43644         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43645         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
43646         addi 1,1,64 to pop stack frame.  Simplify return value code.
43647         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43649 2013-10-04  Alan Modra  <amodra@gmail.com>
43651         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
43652         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
43653         rather than rlwimi.
43654         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
43655         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
43656         little-endian support.  Correct typos.
43657         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
43658         rather than rlwimi.
43659         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
43660         in loop and entry code to keep "and." results.
43661         (strchr): Add little-endian support.  Comment.  Move cntlzd
43662         earlier in tail.
43663         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
43665 2013-10-04  Alan Modra  <amodra@gmail.com>
43667         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
43668         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
43669         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
43670         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
43672 2013-10-04  Alan Modra  <amodra@gmail.com>
43674         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
43675         (rTMP): Define as r11.
43676         (strcmp): Add little-endian support.  Optimise tail.
43677         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
43678         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43679         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43680         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43681         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43682         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43683         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43685 2013-10-04  Alan Modra  <amodra@gmail.com>
43687         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
43688         little-endian support.  Remove unnecessary "are we done" tests.
43689         Handle "s" wrapping around zero and extremely large "size".
43690         Correct main loop count.  Handle single left-over word from main
43691         loop inline rather than by using small_loop.  Correct comments.
43692         Delete "zero" tail, use "end_max" instead.
43693         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
43695 2013-10-04  Alan Modra  <amodra@gmail.com>
43697         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
43698         support.  Don't branch over align.
43699         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
43700         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
43701         support.  Rearrange tmp reg use to suit.  Comment.
43702         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
43704 2013-10-04  Alan Modra  <amodra@gmail.com>
43706         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
43708 2013-10-04  Alan Modra  <amodra@gmail.com>
43710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
43711         conditional form of branch and link when obtaining pc.
43712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43714 2013-10-04  Alan Modra  <amodra@gmail.com>
43716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
43717         HIWORD/LOWORD.
43718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
43719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
43721 2013-10-04  Alan Modra  <amodra@gmail.com>
43723         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
43724         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
43725         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43726         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
43727         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43728         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43729         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
43730         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43731         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43732         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
43734 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43735             Alistair Popple <alistair@ozlabs.au.ibm.com>
43736             Alan Modra <amodra@gmail.com>
43738         [BZ #15723]
43739         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
43740         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
43741         _dl_hwcap access for little-endian.
43742         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
43743         destroy vmx regs when saving unaligned.
43744         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
43745         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
43746         destroy vmx regs when saving unaligned.
43748 2013-10-04  Alan Modra  <amodra@gmail.com>
43750         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
43751         Don't use a union to pack hi/low value.
43753 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43755         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
43756         for little-endian.
43757         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43758         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
43759         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43760         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43761         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43763 2013-10-04  Alan Modra  <amodra@gmail.com>
43765         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
43766         constants to usual value for .cst8 section, and remove redundant
43767         high address load.
43768         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
43769         constant for 0x1p52.  Load little-endian words of double from
43770         correct stack offsets.
43772 2013-10-04  Alan Modra  <amodra@gmail.com>
43774         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
43775         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
43776         words of double from correct stack offsets.
43777         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43778         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
43779         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43780         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43781         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43782         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43783         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43784         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43785         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43786         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43787         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43788         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43789         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43790         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43791         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43792         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
43793         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43795 2013-10-04  Alan Modra  <amodra@gmail.com>
43797         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
43798         64-bit int/double union.
43799         (_FPU_SETCW): Likewise.
43800         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
43801         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
43803 2013-10-04  Alan Modra  <amodra@gmail.com>
43805         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
43806         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
43808 2013-10-04  Alan Modra  <amodra@gmail.com>
43810         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
43811         use vector int constants.
43812         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
43814 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43816         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
43817         array with long long.
43818         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
43819         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
43820         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
43821         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
43822         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
43823         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
43824         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
43825         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
43826         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
43827         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
43828         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
43829         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
43830         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
43832 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43834         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
43835         (__signbit): Likewise.  Correct for little-endian.
43836         (__signbitl): Call __signbit.
43837         (lrint): Correct for little-endian.
43838         (lrintf): Call lrint.
43840 2013-10-04  Alan Modra  <amodra@gmail.com>
43842         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
43843         union 32-bit int array member with 64-bit int array.
43844         (t515, tm256): Double rather than long double.
43845         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
43847 2013-10-04  Alan Modra  <amodra@gmail.com>
43849         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
43850         Delete.
43851         (IEEE854_LONG_DOUBLE_BIAS): Delete.
43852         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
43853         version of math_ldbl.h.
43855 2013-10-04  Alan Modra  <amodra@gmail.com>
43857         [BZ #15734], [BZ #15735]
43858         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
43859         all uses of ieee875 long double macros and unions.  Simplify test
43860         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
43861         ldbl_extract_mantissa value for ix,iy exponents.  Properly
43862         normalize after ldbl_extract_mantissa, and don't add hidden bit
43863         already handled.  Don't treat low word of ieee854 mantissa like
43864         low word of IBM long double and mask off bit when testing for
43865         zero.
43866         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
43867         all uses of ieee875 long double macros and unions.  Simplify tests
43868         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
43869         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
43870         two1022, instead use their values.  Recognise that tests for large
43871         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
43872         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
43873         Rewrite all uses of ieee875 long double macros and unions.  Simplify
43874         test for 0.0L and nan.  Correct negation.
43875         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
43876         ieee875 long double macros and unions.  Correct output for large
43877         magnitude x.  Correct absolute value calculation.
43878         (__erfcl): Likewise.
43879         * math/libm-test.inc: Add tests for errors discovered in IBM long
43880         double versions of fmodl, remainderl, erfl and erfcl.
43882 2013-10-04  Alan Modra  <amodra@gmail.com>
43884         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
43885         all uses of ieee854 long double macros and unions.  Simplify tests
43886         for long doubles that are fully specified by the high double.
43887         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
43888         Likewise.
43889         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
43890         Remove dead code too.
43891         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
43892         (__ieee754_ynl): Likewise.
43893         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
43894         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
43895         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
43896         Remove dead code too.
43897         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
43898         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
43899         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
43900         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
43901         Simplify.
43902         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
43903         Simplify.
43904         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
43905         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
43906         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
43907         Comment on variable precision.
43908         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
43909         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43910         Likewise.
43911         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
43912         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43913         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43914         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
43915         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
43917 2013-10-04  Alan Modra  <amodra@gmail.com>
43919         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
43920         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
43921         all uses of ieee854 long double macros and unions.
43922         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
43923         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43924         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
43925         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
43926         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
43927         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43928         Likewise.
43929         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
43930         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43931         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
43932         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43933         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
43934         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
43935         Simplify sign and nan test too.
43936         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
43937         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
43938         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
43939         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
43940         Likewise.
43941         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43942         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
43943         Likewise.
43944         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43945         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
43946         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
43947         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
43948         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
43949         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
43951 2013-10-04  Alan Modra  <amodra@gmail.com>
43953         * stdio-common/printf_size.c (__printf_size): Don't use
43954         union ieee854_long_double in fpnum union.
43955         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
43956         signbit macro to retrieve sign from long double.
43957         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
43958         retrieve sign from long double.
43959         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
43960         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
43961         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
43962         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43963         * math/test-misc.c (main): Don't use union ieee854_long_double.
43965 2013-10-04  Alan Modra  <amodra@gmail.com>
43967         [BZ #15680]
43968         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
43969         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
43970         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
43971         calculation.  Remove unnecessary test for denormal exponent.
43972         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
43973         Correct handling of denormals.  Avoid undefined shift behaviour.
43974         Correct normalisation of low mantissa when low double is denormal.
43975         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
43976         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
43977         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
43978         Correct normalisation of low mantissa.  Test for overflow of high
43979         mantissa and normalise.
43980         (ldbl_nearbyint): Use more readable constant for two52.
43981         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
43982         (__mpn_construct_long_double): Fix test for overflow of high
43983         mantissa and correct normalisation.  Avoid undefined shift.
43985 2013-10-04  Alan Modra  <amodra@gmail.com>
43987         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43988         (union ibm_extended_long_double): Define as an array of ieee754_double.
43989         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
43990         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
43991         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
43992         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43993         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43994         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
43995         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43996         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43997         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43998         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
43999         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44001 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
44003         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
44004         page size instead of calling getpagesize.
44006         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
44007         (LOCFILE_ALIGN_MASK): Likewise.
44008         (LOCFILE_ALIGN_UP): Likewise.
44009         (LOCFILE_ALIGNED_P): Likewise.
44010         * locale/programs/ld-collate.c (collate_output): Use the new
44011         macros instead of __alignof__ (int32_t).
44012         * locale/weight.h (findidx): Likewise.
44014 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
44016         [BZ #431]
44017         * manual/string.texi: Fix strncat and wcsncat.
44019 2013-10-03  Brooks Moses  <bmoses@google.com>
44021         [BZ #15915]
44022         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
44023         * Makerules: ...here, and adjust associated comments.
44025 2013-10-02  Will Newton  <will.newton@linaro.org>
44027         * malloc/Makefile: Add tst-pvalloc.
44028         * malloc/tst-pvalloc.c: New file.
44030 2013-10-02  Will Newton  <will.newton@linaro.org>
44032         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
44033         improve test coverage.
44035 2013-10-02  Will Newton  <will.newton@linaro.org>
44037         * malloc/Makefile: Add tst-posix_memalign.
44038         * malloc/tst-posix_memalign.c: New file.
44040 2013-10-01  Eric Blake  <eblake@redhat.com>
44042         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
44043         Use __THROWNL rather than __THROW on static functions.
44045 2013-09-30  Petr Machata  <pmachata@redhat.com>
44047         * elf/elf.h (R_AARCH64_ABS16): New macro.
44048         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
44049         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
44050         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
44051         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
44052         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
44053         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
44054         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
44055         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
44056         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
44057         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
44058         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
44059         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
44060         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
44061         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
44062         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
44063         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
44064         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
44065         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
44066         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
44067         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
44068         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
44069         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
44070         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
44071         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
44072         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
44073         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
44074         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
44075         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
44076         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
44077         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
44078         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
44079         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
44080         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
44081         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
44082         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
44083         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
44084         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
44085         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
44086         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
44087         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
44088         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
44089         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
44090         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
44091         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
44092         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
44093         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
44094         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
44095         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
44096         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
44097         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
44098         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
44099         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
44100         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
44101         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
44102         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
44103         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
44104         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
44105         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
44106         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
44107         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
44108         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
44109         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
44110         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
44111         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
44112         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
44113         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
44114         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
44115         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
44116         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
44117         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
44118         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
44119         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
44120         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
44121         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
44122         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
44123         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
44124         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
44125         (R_AARCH64_TLSDESC_LDR): Likewise.
44126         (R_AARCH64_TLSDESC_ADD): Likewise.
44127         (R_AARCH64_TLSDESC_CALL): Likewise.
44129 2013-09-30  Andreas Schwab  <schwab@suse.de>
44131         [BZ #15048]
44132         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
44133         the nss database lookup.
44134         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44135         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44137 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
44139         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
44141 2013-09-28  P. J. McDermott  <pj@pehjota.net>
44143         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
44144         ${Bash-specific parameter/pattern/string} parameter expansion.
44145         * sysdeps/unix/make-syscalls.sh: Likewise.
44147 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44149         * sysdeps/sh/stackguard-macros.h: New file.
44151 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
44153         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44154         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
44155         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
44156         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
44157         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44158         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
44160 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44162         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
44163         Fix thread ID register.
44165 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
44167         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
44168         [POSIX || UNIX98]: Require rather than permitting all symbols from
44169         <time.h>.
44170         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
44171         element of struct sched_param.
44172         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
44173         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
44174         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
44175         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
44176         constant.
44178 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
44180         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44181         argument calculation.
44183 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44185         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44186         Expect macro.
44187         [POSIX] (pthread_attr_t): Do not require type.
44188         [POSIX] (pthread_cond_t): Likewise.
44189         [POSIX] (pthread_condattr_t): Likewise.
44190         [POSIX] (pthread_key_t): Likewise.
44191         [POSIX] (pthread_mutex_t): Likewise.
44192         [POSIX] (pthread_mutexattr_t): Likewise.
44193         [POSIX] (pthread_once_t): Likewise.
44194         [POSIX] (pthread_t): Likewise.
44195         [POSIX-based standards] (pthread_atfork): Expect function.
44197 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44198             Richard Sandiford  <richard@codesourcery.com>
44200         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44201         (swap_endianness_p): New extern variable.
44202         (set_big_endian): New inline function.
44203         (maybe_swap_uint32): Likewise.
44204         (maybe_swap_uint32_array): Likewise.
44205         (maybe_swap_uint32_obstack): Likewise.
44206         * locale/programs/locfile.c: Include <stdbool.h>.
44207         (swap_endianness_p): New variable.
44208         (add_locale_uint32): Call maybe_swap_uint32.
44209         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44210         (write_locale_data): Call maybe_swap_uint32_array.
44211         * locale/programs/ld-collate.c (obstack_int32_grow): Call
44212         maybe_swap_uint32.
44213         (obstack_int32_grow_fast): Likewise.
44214         (output_weightwc): Call maybe_swap_uint32_obstack.
44215         (collate_output): Likewise.
44216         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
44217         (OPT_LITTLE_ENDIAN): Likewise.
44218         (options): Add --little-endian and --big-endian options.
44219         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
44220         * locale/programs/locarchive.c: Include "locfile.h".
44221         (GET): New macro.
44222         (SET): Likewise.
44223         (INC): Likewise.
44224         (create_archive): Use the new macros to access fields of
44225         structures directly mapped from or written to locale archives.
44226         (oldlocrecentcmp): Likewise.
44227         (enlarge_archive): Likewise.
44228         (insert_name): Likewise.
44229         (add_alias): Likewise.
44230         (add_locale): Likewise.
44231         (delete_locales_from_archive): Likewise.
44232         (show_archive_content): Likewise.
44233         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
44234         locale data.
44236 2013-09-24  Roland McGrath  <roland@hack.frob.com>
44238         * manual/freemanuals.texi: Updated from (newly) canonical copy at
44239         http://www.gnu.org/doc/freemanuals.texi.
44240         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
44242 2013-09-24  Will Newton  <will.newton@linaro.org>
44244         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
44245         macro.
44247 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
44249         * locale/hashval.h (compute_hashval): Interpret bytes of key as
44250         unsigned char.
44252 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
44254         * manual/threads.texi (POSIX Threads): Fix a typo.
44256 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44258         [BZ #14547]
44259         * string/tst-strcoll-overflow.c: New test case.
44260         * string/Makefile (xtests): Add tst-strcoll-overflow.
44261         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
44262         cache if string sizes may cause integer overflow.
44264         [BZ #14547]
44265         * string/strcoll_l.c (coll_seq): New members rule, idx,
44266         save_idx and back_us.
44267         (get_next_seq_nocache): New function.
44268         (do_compare_nocache): New function.
44269         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
44270         when malloc fails.
44272 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
44274         [BZ #15754]
44275         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
44276         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
44277         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
44279         [BZ #15754]
44280         * elf/Makefile (tests): Add tst-ptrguard1.
44281         (tests-static): Add tst-ptrguard1-static.
44282         (tst-ptrguard1-ARGS): Define.
44283         (tst-ptrguard1-static-ARGS): Define.
44284         * elf/tst-ptrguard1.c: New file.
44285         * elf/tst-ptrguard1-static.c: New file.
44286         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
44287         * sysdeps/i386/stackguard-macros.h: Likewise.
44288         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44289         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44290         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44291         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44292         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44293         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44295 2013-09-23  Hector Marco  <hecmargi@upv.es>
44296             Ismael Ripoll  <iripoll@disca.upv.es>
44297             Carlos O'Donell  <carlos@redhat.com>
44299         [BZ #15754]
44300         * sysdeps/generic/stackguard-macros.h: Define
44301         __pointer_chk_guard_local and POINTER_CHK_GUARD.
44302         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44303         Define __pointer_chk_guard_local.
44304         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44305         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44307 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
44309         [BZ #15859]
44310         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44312 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
44314         * include/string.h (__ffs): Declare as hidden.
44315         * string/ffs.c (__ffs): Define as hidden.
44316         * sysdeps/i386/ffs.c (__ffs): Likewise.
44317         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44318         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44319         * sysdeps/s390/ffs.c (__ffs): Likewise.
44320         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44322 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
44324         * NEWS: Mention malloc probes.
44326         * malloc/arena.c (new_heap): New memory_heap_new probe.
44327         (grow_heap): New memory_heap_more probe.
44328         (shrink_heap): New memory_heap_less probe.
44329         (heap_trim): New memory_heap_free probe.
44330         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44331         (systrim): New memory_sbrk_less probe.
44332         * manual/probes.texi: Document them.
44334         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44335         * manual/probes.texi: Document it.
44337         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44338         (__libc_realloc): Add memory_realloc_retry probe.
44339         (__libc_memalign): Add memory_memalign_retry probe.
44340         (__libc_valloc): Add memory_valloc_retry probe.
44341         (__libc_pvalloc): Add memory_pvalloc_retry probe.
44342         (__libc_calloc): Add memory_calloc_retry probe.
44343         * manual/probes.texi: Document them.
44345         * malloc/arena.c (get_free_list): Add probe
44346         memory_arena_reuse_free_list.
44347         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44348         and memory_arena_reuse.
44349         (arena_get2) [!PER_THREAD]: Likewise.
44350         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44351         memory_arena_reuse_realloc.
44352         * manual/probes.texi: Document them.
44354         * malloc/malloc.c (__libc_free): Add
44355         memory_mallopt_free_dyn_thresholds probe.
44356         (__libc_mallopt): Add multiple memory_mallopt probes.
44357         * manual/probes.texi: Document them.
44359         * malloc/malloc.c: Include stap-probe.h.
44360         (__libc_mallopt): Add memory_mallopt probe.
44361         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44362         * manual/probes.texi: New.
44363         * manual/Makefile (chapters): Add probes.
44364         * manual/threads.texi: Set next node.
44366 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
44368         [BZ #15963, #13985]
44369         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
44370         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
44371         Add `Chinese' to `nan' entry name.
44373 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44375         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
44376         (POLYNOMIAL): Likewise.
44377         (TAYLOR_SINCOS): Likewise.
44378         (TAYLOR_SLOW): Likewise.
44379         (__sin): Use TAYLOR_SINCOS.
44380         (__cos): Likewise.
44381         (slow): Use TAYLOR_SLOW.
44382         (sloww): Likewise.
44383         (bsloww): Likewise.
44384         (csloww): Likewise.
44386 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44388         * stdlib/strtod_l.c: Fix buffer overrun.
44390 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44392         * benchtests/Makefile (bench): Add sincos.
44393         * benchtests/bench-sincos.c: New file.
44395         * math/libm-test.inc (cos_test_data): New test inputs.
44396         (sin_test_data): Likewise.
44398         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
44399         macro.
44400         (__sin): Use it.
44401         (__cos): Likewise.
44402         (slow1): Likewise.
44403         (slow2): Likewise.
44404         (sloww1): Likewise.
44405         (sloww2): Likewise.
44406         (bsloww1): Likewise.
44407         (bsloww2): Likewise.
44408         (cslow2): Likewise.
44409         (csloww1): Likewise.
44410         (csloww2): Likewise.
44412         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
44413         function.
44414         (__sin): Use it.
44415         (__cos): Likewise.
44417         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
44418         gotos.
44419         (__cos): Likewise.
44421 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
44423         * config.h.in (HAVE_MIPS_NAN2008): New macro.
44424         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
44425         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
44426         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
44427         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
44428         * elf/cache.c (print_entry): Handle the new cache flags.
44430 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44431             Aldy Hernandez  <aldyh@redhat.com>
44433         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
44434         Change condition to [_SOFT_FLOAT].
44435         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44436         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
44437         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
44438         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44439         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
44440         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
44441         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
44442         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
44443         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
44444         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
44445         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
44446         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
44447         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
44448         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
44449         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
44450         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
44451         declaration.
44453 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44455         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
44456         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44457         (__longjmp): Use LOAD_GP to load saved GPRs.
44458         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
44459         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44460         (__sigsetjmp): Use SAVE_GP to save GPRs.
44462         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
44463         Do not append -msoft-float.
44464         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
44466 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44468         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
44470 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
44472         [BZ #15966]
44473         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
44474         (_FPU_GETCW): Use initial "__" on variable and field names but not
44475         on macro parameter name.
44476         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
44477         parentheses around reference to macro parameter.
44479 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
44481         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
44482         prototype.
44483         (ctype_startup): Use uint32_t in cast and sizeof for
44484         ctype->charnames.
44486 2013-09-11  Jia Liu  <proljc@gmail.com>
44488         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
44489         __daddr_t_defined.
44490         [__FreeBSD__]: Likewise.
44492 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
44494         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
44495         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
44496         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
44497         (strchr): Remove __strchr_sse42 ifunc selection.
44498         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
44499         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
44501 2013-09-11  Will Newton  <will.newton@linaro.org>
44503         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
44504         parameter to RES. Remove hardcoded 1000 value.
44505         * benchtests/bench-skeleton.c (main): Pass RES parameter
44506         to TIMING_INIT and multiply result by 1000.
44508 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44512 2013-09-11  Andreas Schwab  <schwab@suse.de>
44514         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
44515         if not defined.
44516         (O_TMPFILE) [__USE_GNU]: Define.
44517         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
44518         Define.
44520 2013-09-11  Will Newton  <will.newton@linaro.org>
44522         [BZ #15857]
44523         * malloc/malloc.c (__libc_memalign): Check the value of bytes
44524         does not overflow.
44526 2013-09-11  Will Newton  <will.newton@linaro.org>
44528         [BZ #15856]
44529         * malloc/malloc.c (__libc_valloc): Check the value of bytes
44530         does not overflow.
44532 2013-09-11  Will Newton  <will.newton@linaro.org>
44534         [BZ #15855]
44535         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
44536         does not overflow.
44538 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
44540         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
44541         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44542         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44543         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44544         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44546 2013-09-10  Allan McRae  <allan@archlinux.org>
44548         [BZ #15748]
44549         * manual/arith.texi (Parsing of Floats): Clarify
44550         cross-reference.
44552         [BZ #15849]
44553         * manual/install.texi (Running make install): Mention
44554         --enable-pt-chown.
44555         * INSTALL: Regenerated.
44557 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
44559         * csu/init-first.c (_init): Remove the !SHARED condition around
44560         FPU control word initialization.
44561         * elf/dl-support.c (_dl_fpu_control): New variable.
44562         (_dl_aux_init) <AT_FPUCW>: Initialize it.
44563         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
44564         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
44565         * math/test-fpucw-static.c: New file.
44566         * math/test-fpucw-ieee.c: New file.
44567         * math/test-fpucw-ieee-static.c: New file.
44568         * math/Makefile (tests): Add `test-fpucw-ieee' and
44569         `$(tests-static)'.
44570         (tests-static): New variable.
44571         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
44572         dependency to...
44573         [($(build-shared),yes)]
44574         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44575         ... this.
44576         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
44577         New dependency.
44579 2013-09-09  Allan McRae  <allan@archlinux.org>
44581         [BZ #15939]
44582         * manual/string.texi (Collation Functions): Fix typo in
44583         strcoll example.
44584         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
44586         [BZ #15893]
44587         * stdlib/isomac.c (get_null_defines): Fix memory leak.
44589         [BZ #15892]
44590         * libio/memstream.c (open_memstream): Fix memory leak.
44591         * libio/wmemstream.c (open_wmemstream): Likewise.
44593         [BZ #15895]
44594         * nscd/netgroupcache.c: Fix nesting of ifdefs.
44596 2013-09-09  Will Newton  <will.newton@linaro.org>
44598         * malloc/Makefile: Add tst-realloc to tests.
44599         * malloc/tst-realloc.c: New file.
44601 2013-09-09  Allan McRae  <allan@archlinux.org>
44603         [BZ #15844]
44604         * COPYING: Update from GNU website to fix FSF address.
44605         * COPYING.LIB: Likewise.
44607 2013-09-06  David S. Miller  <davem@davemloft.net>
44609         * po/zh_TW.po: Update Chinese (traditional) translation from
44610         translation project.
44612 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
44613             Joseph Myers  <joseph@codesourcery.com>
44615         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
44616         "localeinfo.h".
44617         (obstack_chunk_alloc): New macro.
44618         (obstack_chunk_free): Likewise.
44619         (record_offset): New function.
44620         (init_locale_data): Likewise.
44621         (align_locale_data): Likewise.
44622         (add_locale_empty): Likewise.
44623         (add_locale_raw_data): Likewise.
44624         (add_locale_raw_obstack): Likewise.
44625         (add_locale_string): Likewise.
44626         (add_locale_wstring): Likewise.
44627         (add_locale_uint32): Likewise.
44628         (add_locale_uint32_array): Likewise.
44629         (add_locale_char): Likewise.
44630         (start_locale_structure): Likewise.
44631         (end_locale_structure): Likewise.
44632         (start_locale_prelude): Likewise.
44633         (end_locale_prelude): Likewise.
44634         (write_locale_data): Take locale_file structure rather than an
44635         iovec.
44636         * locale/programs/locfile.h: Include "obstack.h".
44637         (struct locale_file): Change to store locale file contents instead
44638         of header.
44639         (init_locale_data): New prototype.
44640         (align_locale_data): Likewise.
44641         (add_locale_empty): Likewise.
44642         (add_locale_raw_data): Likewise.
44643         (add_locale_raw_obstack): Likewise.
44644         (add_locale_string): Likewise.
44645         (add_locale_wstring): Likewise.
44646         (add_locale_uint32): Likewise.
44647         (add_locale_uint32_array): Likewise.
44648         (add_locale_char): Likewise.
44649         (start_locale_structure): Likewise.
44650         (end_locale_structure): Likewise.
44651         (start_locale_prelude): Likewise.
44652         (end_locale_prelude): Likewise.
44653         (write_locale_data): Update prototype.
44654         * locale/programs/3level.h (struct TABLE): Remove result field.
44655         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
44656         Use new locale_file interface.
44657         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
44658         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
44659         * locale/programs/ld-address.c (address_output): Use new
44660         locale_file interface.
44661         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
44662         NO_ADD_LOCALE.
44663         (collate_finish): Don't call collseq_table_finalize.
44664         (collate_output): Use new locale_file interface.
44665         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
44666         in file.
44667         (NO_FINALIZE): Change to NO_ADD_LOCALE.
44668         (TABLE): Move defines earlier in file.
44669         (ELEMENT): Likewise.
44670         (DEFAULT): Likewise.
44671         (wctrans_table_add): Move macro and inline function earlier in
44672         file.
44673         (struct wctype_table): Move type earlier in file.
44674         (add_locale_wctype_table): New static prototype.
44675         (struct locale_ctype_t): Use logical types instead of struct iovec
44676         pointers for members.
44677         (ctype_output): Use new locale_file interface.
44678         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
44679         new locale_file interface.
44680         (allocate_arrays): Update for use of new locale_file interface.
44681         * locale/programs/ld-identification.c (identification_output): Use
44682         new locale_file interface.
44683         * locale/programs/ld-measurement.c (measurement_output): Likewise.
44684         * locale/programs/ld-messages.c (messages_output): Likewise.
44685         * locale/programs/ld-monetary.c (monetary_output): Likewise.
44686         * locale/programs/ld-name.c (name_output): Likewise.
44687         * locale/programs/ld-numeric.c (numeric_output): Likewise.
44688         * locale/programs/ld-paper.c (paper_output): Likewise.
44689         * locale/programs/ld-telephone.c (telephone_output): Likewise.
44690         * locale/programs/ld-time.c (time_output): Likewise.
44692 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44694         * benchtests/Makefile: Add memrchr benchmark.
44695         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
44696         benchmark as memrchr.
44697         * benchtests/bench-memrchr-ifunc.c: New file.
44698         * benchtests/bench-memrchr.c: New file.
44700 2013-09-06   Will Newton  <will.newton@linaro.org>
44702         * benchtests/Makefile (string-bench): Add memcpy.
44704 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
44705             Cong Wang  <amwang@redhat.com>
44707         [BZ #15850]
44708         * sysdeps/unix/sysv/linux/bits/in.h
44709         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
44710         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
44711         before __USE_KERNEL_IPV6_DEFS uses.
44712         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
44713         IPPROTO_BEETPH.
44714         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
44715         sockaddr_in6, or ipv6_mreq.
44717 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44719         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
44720         memory access for final bytes in some large inputs.
44721         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
44723 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44725         * string/test-memrchr.c: New file.
44726         * string/test-memrchr-ifunc.c: New file.
44727         * string/Makefile: Add new memrchr testcase.
44729 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
44731         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
44732         fanotify_init returns EPERM.
44734 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44736         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
44737         errors.
44738         (top level): Treat second token from macro or constant entries for
44739         allowed headers as allowed.
44740         * include/complex.h: Condition internal declarations on
44741         [!_ISOMAC].
44742         * include/fenv.h: Condition include of <stdbool.h> and internal
44743         declarations on [!_ISOMAC].
44745 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
44747         [BZ #15923]
44748         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
44750 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44752         * configure.in (--enable-versioning): Remove configure option.
44753         (libc_cv_asm_symver_directive): Remove configure test.
44754         (libc_cv_ld_version_script_option): Likewise.
44755         (VERSIONING): Remove variable and AC_SUBST.
44756         (DO_VERSIONING): Remove AC_DEFINE.
44757         * configure: Regenerated.
44758         * config.h.in (DO_VERSIONING): Remove macro.
44759         * Makerules [$(versioning) = yes]: Change conditionals to
44760         [$(build-shared) = yes].
44761         * config.make.in (versioning): Remove variable.
44762         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
44763         [$(build-shared) = yes].
44764         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
44765         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
44766         * elf/Makefile [$(versioning) = yes]: Change conditionals to
44767         [$(build-shared) = yes].
44768         * extra-lib.mk [$(versioning) = yes]: Likewise.
44769         * hurd/Makefile [$(versioning) = yes]: Likewise.
44770         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
44771         [SHARED].
44772         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
44773         [SHARED].
44774         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44775         [SHARED && !NO_HIDDEN].
44776         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
44777         [SHARED].
44778         [SHARED && DO_VERSIONING]: Likewise..
44779         * libio/Makefile [$(versioning) = yes]: Change conditionals to
44780         [$(build-shared) = yes].
44781         * manual/install.texi (--disable-versioning): Remove
44782         documentation.
44783         * INSTALL: Regenerated.
44784         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
44785         to [SHARED].
44786         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
44787         [$(build-shared) = yes].
44788         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
44789         * sysdeps/i386/i686/multiarch/strstr-c.c
44790         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44791         [SHARED && !NO_HIDDEN].
44792         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
44793         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
44794         * sysdeps/powerpc/powerpc32/dl-machine.c
44795         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
44796         * sysdeps/powerpc/powerpc32/sysdep.h
44797         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
44798         to [SHARED && PIC && !NO_HIDDEN].
44799         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
44800         conditional to [SHARED].
44802 2013-09-04   Will Newton  <will.newton@linaro.org>
44804         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
44805         * benchtests/bench-string.h: Include bench-timing.h instead
44806         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
44807         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
44808         call to HP_TIMING_DIFF_INIT.
44809         * benchtests/bench-memccpy.c: Use bench-timing.h macros
44810         instead of hp-timing.h macros.
44811         * benchtests/bench-memchr.c: Likewise.
44812         * benchtests/bench-memcmp.c: Likewise.
44813         * benchtests/bench-memcpy.c: Likewise.
44814         * benchtests/bench-memmem.c: Likewise.
44815         * benchtests/bench-memmove.c: Likewise.
44816         * benchtests/bench-memset.c: Likewise.
44817         * benchtests/bench-rawmemchr.c: Likewise.
44818         * benchtests/bench-strcasecmp.c: Likewise.
44819         * benchtests/bench-strcasestr.c: Likewise.
44820         * benchtests/bench-strcat.c: Likewise.
44821         * benchtests/bench-strchr.c: Likewise.
44822         * benchtests/bench-strcmp.c: Likewise.
44823         * benchtests/bench-strcpy.c: Likewise.
44824         * benchtests/bench-strcpy_chk.c: Likewise.
44825         * benchtests/bench-strlen.c: Likewise.
44826         * benchtests/bench-strncasecmp.c: Likewise.
44827         * benchtests/bench-strncat.c: Likewise.
44828         * benchtests/bench-strncmp.c: Likewise.
44829         * benchtests/bench-strncpy.c: Likewise.
44830         * benchtests/bench-strnlen.c: Likewise.
44831         * benchtests/bench-strpbrk.c: Likewise.
44832         * benchtests/bench-strrchr.c: Likewise.
44833         * benchtests/bench-strspn.c: Likewise.
44834         * benchtests/bench-strstr.c: Likewise.
44836 2013-09-04  Will Newton  <will.newton@linaro.org>
44838         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
44840 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
44842         [BZ #15427]
44843         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
44844         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
44845         * math/libm-test.inc (lgamma_test_data): Add more tests.
44846         * sysdeps/i386/fpu/libm-test-ulps: Update.
44847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44849 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
44851         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
44852         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44853         Add ifunc.
44854         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44855         Add strcmp-sse2-unaligned
44856         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
44858 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44860         * Versions.def (libc): Add GLIBC_2.19.
44862 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44864         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
44865         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
44867 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
44869         [BZ #14155]
44870         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
44871         intermediate calculations in recurrence.
44872         (__ieee754_ynf): Likewise.
44873         * math/libm-test.inc (jn_test_data): Do not allow spurious
44874         underflow exception.  Add more tests.
44875         (yn_test_data): Add more tests.
44876         * sysdeps/i386/fpu/libm-test-ulps: Update.
44877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44879 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
44881         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
44883 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44885         * csu/init-first.c: Fix then/than typos.
44886         * locale/programs/ld-collate.c: Likewise.
44887         * locale/programs/linereader.h: Likewise.
44888         * manual/charset.texi: Likewise.
44889         * manual/filesys.texi: Likewise.
44890         * manual/stdio.texi: Likewise.
44891         * manual/string.texi: Likewise.
44892         * stdlib/fmtmsg.c: Likewise.
44893         * sysdeps/i386/stpncpy.S: Likewise.
44894         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44895         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44896         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44897         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44899 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44901         * elf/dl-open.c: Fix typos.
44902         * iconvdata/gbbig5.c: Likewise.
44903         * iconvdata/iso-2022-jp.c: Likewise.
44904         * iconv/gconv_int.h: Likewise.
44905         * iconv/loop.c: Likewise.
44906         * nis/rpcsvc/nis.h: Likewise.
44907         * resolv/ns_name.c: Likewise.
44908         * stdio-common/vfscanf.c: Likewise.
44909         * streams/stropts.h: Likewise.
44910         * sunrpc/rpc_thread.c: Likewise.
44911         * sysdeps/i386/strpbrk.S: Likewise.
44912         * sysdeps/ieee754/k_standard.c: Likewise.
44913         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44914         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44915         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
44916         * sysdeps/mach/hurd/profil.c: Likewise.
44917         * sysdeps/s390/dl-procinfo.h: Likewise.
44918         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
44919         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44920         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
44921         * sysdeps/x86_64/dl-trampoline.S: Likewise.
44922         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44924 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
44926         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
44927         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
44929 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
44931         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
44932         aix specific files.
44933         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
44934         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
44935         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
44936         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
44937         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
44938         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
44939         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
44940         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
44942 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44943             Roland McGrath  <roland@hack.frob.com>
44945         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
44946         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
44948 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44950         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
44951         __executable_start symbol instead of _start.
44953 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44955         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
44956         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
44957         Move macros to...
44958         * sysdeps/gnu/ldsodefs.h: ... this new file.
44960         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
44961         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
44962         instead of ELFOSABI_LINUX.
44964         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
44965         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
44966         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
44967         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
44968         Likewise.
44969         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
44970         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
44971         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
44972         Likewise.
44973         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44974         (ibm_extended_long_double): Add ieee_nan member.
44975         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
44976         (do_test): New function.
44978         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
44979         TEST_TRUNC.
44980         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
44981         functions, renamed from truncdfsf_test, trunctfsf_test,
44982         trunctfdf_test.
44983         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
44984         functions.
44985         (do_test): Run all these.
44987 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
44989         * argp/argp-help.c: Fix typos.
44990         * argp/argp-parse.c: Likewise.
44991         * debug/backtracesyms.c: Likewise.
44992         * elf/elf.h: Likewise.
44993         * malloc/malloc.c: Likewise.
44994         * nis/nis_print.c: Likewise.
44995         * resolv/res_comp.c: Likewise.
44996         * stdlib/stdlib.h: Likewise.
44997         * sunrpc/clnt_tcp.c: Likewise.
44998         * sunrpc/clnt_udp.c: Likewise.
44999         * sunrpc/clnt_unix.c: Likewise.
45000         * sysdeps/unix/bsd/ptsname.c: Likewise.
45001         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45002         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
45003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
45004         Likewise.
45005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
45006         Likewise.
45007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
45008         Likewise.
45009         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45011 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45013         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
45014         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45016 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
45018         [BZ #15897]
45019         * dlfcn/Makefile (tests): Add bug-dl-leaf.
45020         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
45021         ($(objpfx)bug-dl-leaf): New rule.
45022         ($(objpfx)bug-dl-leaf.so): Likewise.
45023         ($(objpfx)bug-dl-leaf.out): Likewise.
45024         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
45025         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
45026         * dlfcn/bug-dl-leaf.c: New test.
45027         * dlfcn/bug-dl-leaf-lib.c: Likewise.
45028         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
45029         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
45030         (dlclose): Likewise.
45031         (dlmopen): Likewise.
45033 2013-08-27  Roland McGrath  <roland@hack.frob.com>
45035         * include/netdb.h [!_ISOMAC]:
45036         Don't include <tls.h>.
45037         (h_errno, __libc_h_errno): Move declaration and macros out of
45038         [_LIBC_REENTRANT].
45040         * include/resolv.h [_RESOLV_H_]:
45041         Don't include <tls.h>.
45042         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
45043         * resolv/res_libc.c: Don't include <tls.h>.
45044         (_res): Use __attribute__ ((nocommon)) in place of
45045         __attribute__ ((section (".bss"))).
45047         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
45048         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
45050         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
45052         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
45053         only under [SIOCGIFCONF && SIOCGIFNETMASK].
45055         * resolv/res_mkquery.c: Include <sys/time.h>.
45057         * inet/ifreq.c: Moved to ...
45058         * sysdeps/unix/ifreq.c: ... here.
45059         * inet/ifreq.c: New file, true stub version.
45061         * socket/sa_len.c: New file.
45062         * socket/Makefile (aux): Add it.
45063         * sysdeps/unix/sysv/linux/Makefile
45064         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
45065         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
45066         and #include <socket/sa_len.c>.
45067         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
45068         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
45070         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
45071         * bits/socket.h: ... here.
45073         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
45074         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
45075         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
45077 2013-08-27  Andreas Schwab  <schwab@suse.de>
45079         [BZ #15736]
45080         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
45081         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
45082         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
45083         * string/test-strcasecmp.c (test_main): Run tests in several
45084         locales.
45085         * string/test-strncasecmp.c (test_main): Likewise.
45087         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
45088         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
45089         to __strcasecmp_nonascii and __strncasecmp_nonascii.
45090         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
45091         (__strncasecmp_ssse3) [PIC]: Likewise.
45093 2013-08-26  Roland McGrath  <roland@hack.frob.com>
45095         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
45097         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
45098         instead of explicitly declaring xdecrypt.
45099         * nis/nss_nis/nis-publickey.c: Likewise.
45101 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45103         [BZ #15890]
45104         * nscd/aicache.c: Include res_hconf.h.
45105         (addhstaiX): Initialize res_hconf.
45107 2013-08-26  Andreas Schwab  <schwab@suse.de>
45109         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
45110         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
45112 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45114         * nscd/aicache.c (addhstaiX): Fix indentation.
45116 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
45118         * configure.ac: Quote $build_pt_chown test.
45119         * configure: Regenerated.
45121 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
45123         [BZ #15532]
45124         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
45125         * math/s_cexpf.c (__cexpf): Likewise.
45126         * math/s_cexpl.c (__cexpl): Likewise.
45127         * math/libm-test.inc (cexp_test_data): Correct expected return
45128         value for NaN + i0.  Add another test.
45130 2013-08-22  David S. Miller  <davem@davemloft.net>
45132         * po/ca.po: Update Catalan translation from translation project.
45133         * po/uk.po: Add Ukrainian translations from translation project.
45135 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
45137         [BZ #15797]
45138         * math/s_fdim.c (__fdim): Check for infinite arguments if result
45139         is infinite, not alongside NaN test.
45140         * math/s_fdimf.c (__fdimf): Likewise.
45141         * math/s_fdiml.c (__fdiml): Likewise.
45142         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
45143         errno is unchanged.
45145 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
45147         * argp/argp-help.c: Fix typos.
45148         * crypt/speeds.c: Likewise.
45149         * csu/check_fds.c: Likewise.
45150         * elf/dl-load.c: Likewise.
45151         * elf/dl-open.c: Likewise.
45152         * elf/reldep3.c: Likewise.
45153         * elf/reldep.c: Likewise.
45154         * elf/sprof.c: Likewise.
45155         * iconv/iconv_charmap.c: Likewise.
45156         * iconv/skeleton.c: Likewise.
45157         * iconv/strtab.c: Likewise.
45158         * io/lockf64.c: Likewise.
45159         * libio/libioP.h: Likewise.
45160         * resolv/gai_notify.c: Likewise.
45161         * resolv/ns_name.c: Likewise.
45162         * resolv/ns_samedomain.c: Likewise.
45163         * resolv/res_send.c: Likewise.
45164         * stdlib/random.c: Likewise.
45165         * sunrpc/rpc/xdr.h: Likewise.
45166         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
45167         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45168         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45169         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45170         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45171         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45172         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45173         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45174         * sysdeps/mach/hurd/check_fds.c: Likewise.
45175         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45176         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45177         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45178         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45179         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45180         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45181         * sysdeps/pthread/aio_notify.c: Likewise.
45182         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45183         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45184         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45185         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45186         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45188 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45190         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45191         version if bit_Slow_SSE4_2 is set.
45192         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45193         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45195 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45197         [BZ #15867]
45198         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45199         trampoline stack frame information.
45200         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45201         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45202         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45203         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45204         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45205         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45206         (_libc_vdso_platform_setup): Initialize the signal trampolines.
45207         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45208         sa_flags value.
45209         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45210         interrupting a syscall and set with option SA_SIGINFO.
45212 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45214         [BZ #15531]
45215         * math/s_cproj.c (__cproj): Only return an infinity if one part of
45216         argument is infinite.
45217         * math/s_cprojf.c (__cprojf): Likewise.
45218         * math/s_cprojl.c (__cprojl): Likewise.
45219         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
45220         * math/libm-test.inc (cproj_test_data): Add more tests.
45222         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
45224         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
45225         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
45226         size.  Use __ffs to determine corresponding shift.
45228 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45229             Roland McGrath  <roland@hack.frob.com>
45231         * Makefile (INSTALL): Remove trailing blank lines from output of
45232         makeinfo.
45234 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45236         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
45237         Align 32 bit compat elf_greg to 8 bytes.
45239 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
45241         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
45243 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45245         * string/strcoll_l.c (coll_seq): New structure.
45246         (get_next_seq_cached): New function.
45247         (get_next_seq): New function.
45248         (do_compare): New function.
45249         (STRCOLL): Use GNU style definition.  Simplify implementation
45250         by using get_next_seq, get_next_seq_cached and do_compare.
45252 2013-08-16  Florian Weimer  <fweimer@redhat.com>
45254         [BZ #14699]
45255         CVE-2013-4237
45256         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
45257         member.
45258         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
45259         member.
45260         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
45261         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
45262         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
45263         conditional.
45264         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
45265         GETDENTS_64BIT_ALIGNED.
45266         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45267         * manual/filesys.texi (Reading/Closing Directory): Document
45268         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
45269         strongly.
45270         * manual/conf.texi (Limits for Files): Add portability note to
45271         NAME_MAX, PATH_MAX.
45272         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
45274 2013-08-13  Andreas Schwab  <schwab@suse.de>
45276         [BZ #15749]
45277         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
45278         of fabs.
45279         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
45280         LDBL_MAX_EXP >= 16384]: Add tests for it.
45282 2013-08-12  David S. Miller  <davem@davemloft.net>
45284         * version.h (RELEASE): Set to "development".
45285         (VERSION): Set to "2.18.90".
45286         * NEWS: Add 2.19 section.
45288 2013-08-03  David S. Miller  <davem@davemloft.net>
45290         * po/ko.po: Update Korean translation from translation project.
45292 2013-08-01  David S. Miller  <davem@davemloft.net>
45294         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
45295         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45296         Bilka.
45298 2013-07-30  David S. Miller  <davem@davemloft.net>
45300         * po/fr.po: Update French translation from translation project.
45302 2013-07-28  David S. Miller  <davem@davemloft.net>
45304         * po/cs.po: Update Czech translation from translation project.
45306         * po/sv.po: Update Swedish translation from translation project.
45308 2013-07-27  David S. Miller  <davem@davemloft.net>
45310         * po/eo.po: Update Esperanto translation from translation project.
45312         * po/vi.po: Update Vietnamese translation from translation project.
45314         * po/de.po: Update German translation from translation project.
45316 2013-07-26  David S. Miller  <davem@davemloft.net>
45318         * po/bg.po: Update Bulgarian translation from translation project.
45320         * po/nl.po: Update Dutch translation from translation project.
45321         * po/pl.po: Update Polish translation from translation project.
45322         * po/ru.po: Update Russian translation from translation project.
45324 2013-07-24  David S. Miller  <davem@davemloft.net>
45326         * po/libc.pot: Update.
45328 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45330         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45331         variable page size.
45332         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45333         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45334         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45336 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45338         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45340 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45341             Andreas Schwab  <schwab@suse.de>
45342             Roland McGrath  <roland@hack.frob.com>
45343             Joseph Myers  <joseph@codesourcery.com>
45344             Carlos O'Donell  <carlos@redhat.com>
45346         [BZ #15755]
45347         * config.h.in: Define HAVE_PT_CHOWN.
45348         * config.make.in (build-pt-chown): New variable.
45349         * configure.in (--enable-pt_chown): New configure option.
45350         * configure: Regenerate.
45351         * login/Makefile: Include Makeconfig.  Build pt_chown only if
45352         build-pt-chown is enabled.
45353         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45354         pt_chown to fix pty ownership.
45355         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45356         CLOSE_ALL_FDS.
45357         * manual/install.texi (Configuring and compiling): Mention
45358         --enable-pt_chown. Add @findex for grantpt.
45359         * INSTALL: Regenerate.
45361 2013-07-20  David S. Miller  <davem@davemloft.net>
45363         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45364         difference between 32-bit and 64-bit.
45366 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
45368         [BZ #15711]
45369         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
45370         Avoid system header dependency with -ffreestanding.
45371         ($(objpfx)bits/syscall%d): Likewise.
45373 2013-07-13  David S. Miller  <davem@davemloft.net>
45375         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
45376         underflows from atanl/atan2l due to bug 15319.
45377         (casinh_test_data): Likewise.
45379 2013-07-07  David S. Miller  <davem@davemloft.net>
45381         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
45383 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
45385         * sysdeps/i386/fpu/libm-test-ulps: Update.
45386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45388 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45390         * configure.in (--enable-lock-elision): Fix message text.
45391         * INSTALL: Regenerate.
45392         * configure: Regenerate.
45394 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45398 2013-07-03  Andreas Jaeger  <aj@suse.de>
45400         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
45401         define.
45402         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
45403         (ptrace_peeksiginfo_args): Add.
45404         (__ptrace_peeksiginfo_flags): Add.
45405         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45406         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45407         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45409 2013-07-03  Allan McRae  <allan@archlinux.org>
45411         * sysdeps/i386/fpu/libm-test-ulps: Update.
45413 2013-07-02  David S. Miller  <davem@davemloft.net>
45415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45417 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
45419         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45421 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45423         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45426 2013-07-02  Andi Kleen <ak@linux.intel.com>
45428         * config.h.in (ENABLE_LOCK_ELISION): Add.
45429         * configure.in (--enable-lock-elision): Add option.
45430         * manual/install.texi: Document --enable lock elision.
45431         * configure: Regenerate
45432         * INSTALL: Regenerate.
45434 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
45436         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
45437         SSE4.2 strcasecmp for libc.a.
45438         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45440 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45442         [BZ #13304]
45443         * soft-fp/op-common.h (_FP_FMA): New macro.
45444         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
45445         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
45446         (_FP_MUL_MEAT_1_imm): ... here.
45447         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
45448         (_FP_MUL_MEAT_1_wide): ... here.
45449         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
45450         (_FP_MUL_MEAT_1_hard): ... here.
45451         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
45452         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
45453         (_FP_MUL_MEAT_2_wide): ... here.
45454         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
45455         (_FP_MUL_MEAT_2_wide_3mul): ... here.
45456         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
45457         (_FP_MUL_MEAT_2_gmp): ... here.
45458         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
45459         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
45460         (_FP_MUL_MEAT_4_wide): ... here.
45461         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
45462         (_FP_MUL_MEAT_4_gmp): ... here.
45463         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
45464         (_FP_WFRACBITS_DW_S): Likewise.
45465         (_FP_WFRACXBITS_DW_S): Likewise.
45466         (_FP_HIGHBIT_DW_S): Likewise.
45467         (FP_FMA_S): Likewise.
45468         (_FP_FRAC_HIGH_DW_S): Likewise.
45469         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
45470         (_FP_WFRACBITS_DW_D): Likewise.
45471         (_FP_WFRACXBITS_DW_D): Likewise.
45472         (_FP_HIGHBIT_DW_D): Likewise.
45473         (FP_FMA_D): Likewise.
45474         (_FP_FRAC_HIGH_DW_D): Likewise.
45475         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
45476         (_FP_WFRACBITS_DW_E): Likewise.
45477         (_FP_WFRACXBITS_DW_E): Likewise.
45478         (_FP_HIGHBIT_DW_E): Likewise.
45479         (FP_FMA_E): Likewise.
45480         (_FP_FRAC_HIGH_DW_E): Likewise.
45481         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
45482         (_FP_WFRACBITS_DW_Q): Likewise.
45483         (_FP_WFRACXBITS_DW_Q): Likewise.
45484         (_FP_HIGHBIT_DW_Q): Likewise.
45485         (FP_FMA_Q): Likewise.
45486         (_FP_FRAC_HIGH_DW_Q): Likewise.
45487         * soft-fp/fmasf4.c: New file.
45488         * soft-fp/fmadf4.c: Likewise.
45489         * soft-fp/fmatf4.c: Likewise.
45491 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45493         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45494         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
45495         Silvermont.
45496         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
45497         macro.
45498         (index_Slow_SSE4_2): Likewise.
45499         (index_Prefer_PMINUB_for_stringop): Likewise.
45500         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
45501         bit_Slow_SSE4_2 is set.
45502         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45503         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45505 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45507         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
45508         rtld_global._dl_hwcap2.
45509         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
45510         POWER8.
45511         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
45512         POWER8 feature descriptions defined in _dl_hwcap2.
45513         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
45514         string handling for POWER8 feature bits.
45515         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
45516         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
45517         _dl_powerpc_cap_flags.
45518         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
45519         * sysdeps/powerpc/rtld-global-offsets.sym
45520         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
45521         _dl_hwcap2 in the rtld_global_ro structure.
45523 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45525         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
45526         hardware capabilities in support of AT_HWCAP2.
45527         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
45528         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
45529         GLRO(dl_hwcap2).
45530         (_dl_show_auxv): Add support for calling _dl_procinfo to display
45531         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
45532         explicitly the unknown a_type display mechanism is used.
45533         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
45534         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
45535         struct member.
45536         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
45537         to macro prototype for AT_HWCAP2 support.
45538         * sysdeps/i386/dl-procinfo.h: Likewise.
45539         * sysdeps/s390/dl-procinfo.h: Likewise.
45540         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
45541         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
45542         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
45543         return -1 for unknown a_type display fallback.
45544         * sysdeps/sparc/dl-procinfo.h: Likewise.
45545         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
45546         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
45548 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
45550         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
45551         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
45553 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
45555         [BZ #12492]
45556         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
45557         mprotect making __stack_prot writable.
45559 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
45560             Joseph Myers  <joseph@codesourcery.com>
45562         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
45563         as being properly aligned.
45565 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
45567         * dlfcn/modstatic5.c: New file.
45568         * dlfcn/tststatic5.c: New file.
45569         * dlfcn/Makefile (tests): Add tststatic5.
45570         (tests-static): Likewise.
45571         (modules-names): Add modstatic5.
45572         (tststatic5-ENV): New variable.
45573         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
45575         [BZ #15022]
45576         * elf/dl-support.c (_dl_main_map): New variable.
45577         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
45578         (_dl_nns, _dl_load_adds): Set to 1.
45579         (_dl_initial_searchlist): Refer to _dl_main_map.
45580         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
45581         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
45582         call to _dl_get_origin.
45583         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
45584         around call_map.
45585         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
45586         * dlfcn/modstatic3.c: New file.
45587         * dlfcn/tststatic3.c: New file.
45588         * dlfcn/tststatic4.c: New file.
45589         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
45590         (tests-static): Likewise.
45591         (modules-names): Add modstatic3.
45592         (tststatic3-ENV, tststatic4-ENV): New variables.
45593         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
45594         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
45596 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
45598         * configure.in (CC): Require GCC version 4.4 or later.
45599         * configure: Regenerated.
45600         * manual/install.texi (Tools for Compilation): Update GCC version
45601         requirement.
45602         * INSTALL: Regenerated.
45604 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45606         [BZ #15674]
45607         * string/test-memcmp.c (check2): New.
45608         (main): Call check2.
45610         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
45612 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
45614         [BZ #15022]
45615         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
45616         over to...
45617         (dl_open_worker) [!SHARED]: ... here.
45619 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45621         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
45623 2013-06-25  Richard Henderson  <rth@redhat.com>
45625         * locale/programs/locarchive.c: Include <libc-internal.h>
45627 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
45629         * manual/texinfo.tex: Update to version 2013-06-21.17, with
45630         trailing whitespace removed.
45632 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45634         [BZ #10283]
45635         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
45636         * locale/programs/locarchive.c: Include libc-mmap.h.
45637         (prepare_address_space): Take two new outputs (the mmap base and len).
45638         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
45639         values.
45640         (create_archive): Declare new mmap base and len values for
45641         prepare_address_space, and store the result in ah.
45642         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
45643         (enlarge_archive): If ah->mmap_base is not NULL, use that and
45644         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45645         Declare new mmap base and len values for
45646         prepare_address_space, and store the result in new_ah.
45647         (open_archive): Declare new mmap base and len values for
45648         prepare_address_space, and store the result in ah.
45649         (close_archive): If ah->mmap_base is not NULL, use that and
45650         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45651         * sysdeps/generic/libc-mmap.h: New file.
45653 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45655         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
45656         (ALIGN_UP): Likewise.
45657         (PTR_ALIGN_DOWN): Likewise.
45658         (PTR_ALIGN_UP): Likewise.
45660 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45662         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
45663         entry mapped to PPC_PLATFORM_POWER8.
45664         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
45665         POWER8.
45666         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
45667         (_dl_string_platform): Add case for exporting platform position for
45668         POWER8.
45669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
45670         search path to sysdeps/powerpc/powerpc32/power8 directory.
45671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
45672         search path to sysdeps/powerpc/powerpc64/power8 directory.
45673         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
45674         power7 directories.
45675         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
45676         power7 directories.
45678 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45680         * INSTALL: Regenerate.
45682         * nscd/connections.c (nscd_init): Fix comment.
45684 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
45686         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
45688         [BZ #15667]
45689         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
45690         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
45692 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45694         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
45695         DL_DST_REQ_STATIC.
45696         (DL_DST_REQ_STATIC): Remove macro.
45698 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
45700         [BZ #7006]
45701         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
45702         with a shift of 0 bits.
45704 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45706         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
45707         $(tststatic-ENV).
45709 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45711         [BZ #15655]
45712         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
45714 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45716         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
45717         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
45718         accepts -fno-tree-loop-distribute-patterns.
45719         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
45720         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
45721         recursive call.
45722         * string/memset.c (memset): Likewise.
45723         * string/test-memmove.c (simple_memmove): Disable loop transformation
45724         to library calls.
45725         * string/test-memset.c (simple_memset): Likewise.
45726         * benchtests/bench-memmove.c (simple_memmove): Likewise.
45727         * benchtests/bench-memset.c (simple_memset): Likewise.
45728         * configure: Regenerated.
45730 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
45732         * math/test-misc.c (main): Ignore fesetround failure when failures
45733         of subsequent rounding tests would be ignored.
45735         [BZ #15654]
45736         * math/fedisblxcpt.c (fedisableexcept): Return 0.
45737         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
45738         * math/fegetenv.c (__fegetenv): Return 0.
45739         * math/fegetexcept.c (fegetexcept): Return 0.
45740         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
45741         FE_TONEAREST.
45742         * math/feholdexcpt.c (feholdexcept): Return 0.
45743         * math/fesetenv.c (__fesetenv): Return 0.
45744         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
45745         argument FE_TONEAREST.
45746         * math/feupdateenv.c (__feupdateenv): Return 0.
45747         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
45749 2013-06-18  Roland McGrath  <roland@hack.frob.com>
45751         * elf/rtld-Rules (rtld-compile-command.S): New variable.
45752         (rtld-compile-command.s, rtld-compile-command.c): New variables.
45753         ($(objpfx)rtld-%.os rules): Use them.
45755 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45757         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
45758         fields.
45760 2013-06-17  Roland McGrath  <roland@hack.frob.com>
45762         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
45763         length of target pattern, then descending length of dependency pattern.
45764         * configure.in (AWK): Require gawk 3.1.2 or newer.
45765         * manual/install.texi (Tools for Compilation): Say that we do.
45766         * configure: Regenerated.
45768         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
45769         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
45770         * scripts/sysd-rules.awk: ... this new script.
45771         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
45772         than a glob-style pattern.
45774 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
45776         * math/test-misc.c (main): Do not treat incorrectly rounded
45777         conversions as failure unless ROUNDING_TESTS passes.
45779 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
45781         [BZ #15631]
45782         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
45783         restore exception state around main square root computation, then
45784         check for inexactness explicitly.
45786         * math/libm-test.inc (fma_test_data): Add another test.
45788 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45790         * manual/threads.texi (Non-POSIX Extensions): New document
45791         node.  Document pthread_getattr_default_np and
45792         pthread_setattr_default_np.
45794         * Versions.def (libpthread): Add GLIBC_2.18.
45795         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
45796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45797         Likewise.
45798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45799         Likewise.
45800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45801         Likewise.
45802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45803         Likewise.
45804         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
45805         Likewise.
45806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45807         Likewise.
45808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45809         Likewise.
45810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45811         Likewise.
45812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45813         Likewise.
45815 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45817         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45818         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
45820 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45821             H.J. Lu  <hjl.tools@gmail.com>
45823         [BZ #15627]
45824         * sysdeps/x86_64/rtld-memset.c: Remove file.
45825         * sysdeps/x86_64/rtld-memset.S: New file.
45827 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
45829         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
45830         (test_in_one_mode): Take arguments for whether the rounding mode
45831         is supported for each floating-point type.
45832         (do_test): Pass new arguments to test_in_one_mode using
45833         ROUNDING_TESTS.
45835 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45837         * posix/tst-waitid.c (do_test): Distinguish different instances of
45838         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
45839         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
45840         before entering the kernel for waitpid.
45842 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45844         * NEWS: Fix note on clock function precision.  Text by Roland
45845         McGrath.
45847 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45849         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
45850         it into place only when and if the sanity check passes.
45852 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
45854         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
45855         output for whether conversion result is exact.  Take argument
45856         indicating whether type is IBM long double.
45857         (round_for_all): Change need_exact field to ibm_ld.
45858         * stdlib/tst-strtod-round.c (struct exactness): New type.
45859         (struct test): Change bool ld_ok field to struct exactness exact.
45860         (TEST): Update all definitions for change to field.
45861         (tests): Regenerate array contents.
45862         (test_in_one_mode): Take pointer to new field instead of old ld_ok
45863         field value.  Check for IBM long double here.
45864         (do_test): Update calls to test_in_one_mode.
45866 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45868         [BZ #12515]
45869         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
45870         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
45872 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45874         [BZ #15605]
45875         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
45876         generated by the compiler on loop optimizations.
45877         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
45878         general definitions.
45880 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
45882         * math/bug-nextafter.c: Include <math-tests.h>.
45883         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45884         the relevant type.
45885         * math/bug-nexttoward.c: Include <math-tests.h>.
45886         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45887         the relevant type.
45888         * math/test-misc.c: Include <math-tests.h>.
45889         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45890         the relevant type.
45892 2013-06-12  Andreas Jaeger  <aj@suse.de>
45894         * po/ia.po: Update Interlingua translation from translation
45895         project.
45897 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45899         * include/fenv.h: Include stdbool.h.
45900         (struct rm_ctx): New structure.
45901         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
45902         Define macro.
45903         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
45904         (SET_RESTORE_ROUNDF): Likewise.
45905         (SET_RESTORE_ROUNDL): Likewise.
45906         (SET_RESTORE_ROUND_NOEX): Likewise.
45907         (SET_RESTORE_ROUND_NOEXF): Likewise.
45908         (SET_RESTORE_ROUND_NOEXL): Likewise.
45909         (SET_RESTORE_ROUND_53BIT): Likewise.
45910         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
45911         (libc_feresetround_noexf_ctx): Likewise.
45912         (libc_feresetround_noexl_ctx): Likewise.
45913         (libc_feholdsetround_53bit_ctx): Likewise.
45914         (libc_feresetround_53bit_ctx): Likewise.
45915         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
45916         (libc_feholdexcept_setround_sse_ctx): New function.
45917         (libc_fesetenv_sse_ctx): Likewise.
45918         (libc_feupdateenv_sse_ctx): Likewise.
45919         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
45920         (libc_feholdexcept_setround_387_ctx): Likewise.
45921         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
45922         (libc_feholdsetround_387_prec_ctx): Likewise.
45923         (libc_feholdsetround_387_ctx): Likewise.
45924         (libc_feholdsetround_387_53bit_ctx): Likewise.
45925         (libc_feholdsetround_sse_ctx): Likewise.
45926         (libc_feresetround_sse_ctx): Likewise.
45927         (libc_feresetround_387_ctx): Likewise.
45928         (libc_feupdateenv_387_ctx): Likewise.
45929         (libc_feholdexcept_setroundf_ctx): Define macro.
45930         (libc_fesetenvf_ctx): Likewise.
45931         (libc_feupdateenvf_ctx): Likewise.
45932         (libc_feholdsetroundf_ctx): Likewise.
45933         (libc_feresetroundf_ctx): Likewise.
45934         (libc_feholdexcept_setround_ctx): Likewise.
45935         (libc_fesetenv_ctx): Likewise.
45936         (libc_feupdateenv_ctx): Likewise.
45937         (libc_feholdsetround_ctx): Likewise.
45938         (libc_feresetround_ctx): Likewise.
45939         (libc_feholdexcept_setroundl_ctx): Likewise.
45940         (libc_feupdateenvl_ctx): Likewise.
45941         (libc_feholdsetroundl_ctx): Likewise.
45942         (libc_feresetroundl_ctx): Likewise.
45943         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
45944         (libc_feresetround_53bit_ctx): Likewise.
45946 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45948         * locale/iso-639.def: Convert to UTF-8.
45950 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
45952         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
45953         (EXCEPTION_TESTS_double): Likewise.
45954         (EXCEPTION_TESTS_long_double): Likewise.
45955         (EXCEPTION_TESTS): Likewise.
45956         * math/libm-test.inc (test_exceptions): Only test exceptions if
45957         EXCEPTION_TESTS (FLOAT).
45959 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45961         * benchtests/Makefile (string-bench): Add strcpy_chk and
45962         stpcpy_chk.
45963         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
45964         * benchtests/bench-stpcpy_chk.c: New file.
45965         * benchtests/bench-strcpy_chk-ifunc.c: New file.
45966         * benchtests/bench-strcpy_chk.c: New file.
45967         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
45968         code.
45969         (do_test): Likewise.
45971 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45973         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
45974         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
45975         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
45976         with tabs where appropriate.
45977         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
45978         dl-procinfo.h.
45979         [PPC_PLATFORM_PPC440]: Likewise.
45980         [PPC_PLATFORM_PPC464]: Likewise.
45981         [PPC_PLATFORM_PPC476]: Likewise.
45982         (_dl_string_platform): Add support for detecting ppc405, ppc440,
45983         ppc464, and ppc476 platform strings merging from ports/
45984         dl-procinfo.h.
45986 2013-06-11  Andreas Schwab  <schwab@suse.de>
45988         [BZ #14991]
45989         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
45990         (from_ucs4_idx): Regenerate.
45991         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
45992         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
45993         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
45994         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
45995         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
45996         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
45997         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
45998         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
45999         from FROM_LOOP and TO_LOOP specific macros.
46000         (BODY): Handle combining characters.
46001         * iconvdata/BIG5HKSCS.irreversible: Update.
46002         * iconvdata/BIG5HKSCS.precomposed: New file.
46003         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
46004         characters.
46005         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
46007 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46009         * include/sys/time.h: Fix indentation and add copyright header.
46011         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
46012         (do_test): Likewise.
46013         * string/test-memchr.c (do_one_test): Likewise.
46014         (do_test): Likewise.
46015         * string/test-memcmp.c (do_one_test): Likewise.
46016         (do_test): Likewise.
46017         * string/test-memcpy.c (do_one_test): Likewise.
46018         (do_test): Likewise.
46019         * string/test-memmem.c (do_one_test): Likewise.
46020         (do_test): Likewise.
46021         (do_random_tests): Likewise.
46022         * string/test-memmove.c (do_one_test): Likewise.
46023         (do_test): Likewise.
46024         * string/test-memset.c (do_one_test): Likewise.
46025         (do_test): Likewise.
46026         * string/test-rawmemchr.c (do_one_test): Likewise.
46027         (do_test): Likewise.
46028         * string/test-strcasecmp.c (do_one_test): Likewise.
46029         (do_test): Likewise.
46030         * string/test-strcasestr.c (do_one_test): Likewise.
46031         (do_test): Likewise.
46032         * string/test-strcat.c (do_one_test): Likewise.
46033         (do_test): Likewise.
46034         * string/test-strchr.c (do_one_test): Likewise.
46035         (do_test): Likewise.
46036         * string/test-strcmp.c (do_one_test): Likewise.
46037         (do_test): Likewise.
46038         * string/test-strcpy.c (do_one_test): Likewise.
46039         (do_test): Likewise.
46040         * string/test-string.h: Likewise.
46041         (test_init): Likewise.
46042         * string/test-strlen.c (do_one_test): Likewise.
46043         (do_test): Likewise.
46044         * string/test-strncasecmp.c (do_one_test): Likewise.
46045         (do_test): Likewise.
46046         * string/test-strncat.c (do_one_test): Likewise.
46047         (do_test): Likewise.
46048         * string/test-strncmp.c (do_one_test): Likewise.
46049         (do_test_limit): Likewise.
46050         (do_test): Likewise.
46051         * string/test-strncpy.c (do_one_test): Likewise.
46052         (do_test): Likewise.
46053         * string/test-strnlen.c (do_one_test): Likewise.
46054         (do_test): Likewise.
46055         * string/test-strpbrk.c (do_one_test): Likewise.
46056         (do_test): Likewise.
46057         * string/test-strrchr.c (do_one_test): Likewise.
46058         (do_test): Likewise.
46059         * string/test-strspn.c (do_one_test): Likewise.
46060         (do_test): Likewise.
46061         * string/test-strstr.c (do_one_test): Likewise.
46062         (do_test): Likewise.
46064         * benchtests/Makefile (string-bench): Add string benchmarks.
46065         * benchtests/bench-bcopy-ifunc.c: New file.
46066         * benchtests/bench-bcopy.c: New file.
46067         * benchtests/bench-bzero-ifunc.c: New file.
46068         * benchtests/bench-bzero.c: New file.
46069         * benchtests/bench-memccpy-ifunc.c: New file.
46070         * benchtests/bench-memccpy.c: New file.
46071         * benchtests/bench-memchr-ifunc.c: New file.
46072         * benchtests/bench-memchr.c: New file.
46073         * benchtests/bench-memcmp-ifunc.c: New file.
46074         * benchtests/bench-memcmp.c: New file.
46075         * benchtests/bench-memmem-ifunc.c: New file.
46076         * benchtests/bench-memmem.c: New file.
46077         * benchtests/bench-memmove-ifunc.c: New file.
46078         * benchtests/bench-memmove.c: New file.
46079         * benchtests/bench-mempcpy-ifunc.c: New file.
46080         * benchtests/bench-mempcpy.c: New file.
46081         * benchtests/bench-memset-ifunc.c: New file.
46082         * benchtests/bench-memset.c: New file.
46083         * benchtests/bench-rawmemchr-ifunc.c: New file.
46084         * benchtests/bench-rawmemchr.c: New file.
46085         * benchtests/bench-stpcpy-ifunc.c: New file.
46086         * benchtests/bench-stpcpy.c: New file.
46087         * benchtests/bench-stpncpy-ifunc.c: New file.
46088         * benchtests/bench-stpncpy.c: New file.
46089         * benchtests/bench-strcasecmp-ifunc.c: New file.
46090         * benchtests/bench-strcasecmp.c: New file.
46091         * benchtests/bench-strcasestr-ifunc.c: New file.
46092         * benchtests/bench-strcasestr.c: New file.
46093         * benchtests/bench-strcat-ifunc.c: New file.
46094         * benchtests/bench-strcat.c: New file.
46095         * benchtests/bench-strchr-ifunc.c: New file.
46096         * benchtests/bench-strchr.c: New file.
46097         * benchtests/bench-strchrnul-ifunc.c: New file.
46098         * benchtests/bench-strchrnul.c: New file.
46099         * benchtests/bench-strcmp-ifunc.c: New file.
46100         * benchtests/bench-strcmp.c: New file.
46101         * benchtests/bench-strcpy-ifunc.c: New file.
46102         * benchtests/bench-strcpy.c: New file.
46103         * benchtests/bench-strcspn-ifunc.c: New file.
46104         * benchtests/bench-strcspn.c: New file.
46105         * benchtests/bench-strlen-ifunc.c: New file.
46106         * benchtests/bench-strlen.c: New file.
46107         * benchtests/bench-strncasecmp-ifunc.c: New file.
46108         * benchtests/bench-strncasecmp.c: New file.
46109         * benchtests/bench-strncat-ifunc.c: New file.
46110         * benchtests/bench-strncat.c: New file.
46111         * benchtests/bench-strncmp-ifunc.c: New file.
46112         * benchtests/bench-strncmp.c: New file.
46113         * benchtests/bench-strncpy-ifunc.c: New file.
46114         * benchtests/bench-strncpy.c: New file.
46115         * benchtests/bench-strnlen-ifunc.c: New file.
46116         * benchtests/bench-strnlen.c: New file.
46117         * benchtests/bench-strpbrk-ifunc.c: New file.
46118         * benchtests/bench-strpbrk.c: New file.
46119         * benchtests/bench-strrchr-ifunc.c: New file.
46120         * benchtests/bench-strrchr.c: New file.
46121         * benchtests/bench-strspn-ifunc.c: New file.
46122         * benchtests/bench-strspn.c: New file.
46123         * benchtests/bench-strstr-ifunc.c: New file.
46124         * benchtests/bench-strstr.c: New file.
46126         * benchtests/Makefile: Disable parallel execution of targets.
46127         (string-bench): Add memcpy.
46128         (benchset): New variable to store a list of benchmark sets.
46129         (bench-func): Renamed from bench.
46130         (bench-set): New target.
46131         (bench): Depend on bench-func and bench-set.
46132         * benchtests/README: Add section on benchmark sets.
46133         * benchtests/bench-memcpy-ifunc.c: New file.
46134         * benchtests/bench-memcpy.c: New file.
46135         * benchtests/bench-string.h: New file.
46137 2013-06-11  Andreas Schwab  <schwab@suse.de>
46139         [BZ #15577]
46140         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
46141         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
46142         values in the triple.
46143         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
46144         terminator in the group key.
46146 2013-06-11  Andreas Jaeger  <aj@suse.de>
46148         * po/zh_TW.po: Update Chinese (traditional) translation from
46149         translation project.
46151 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46153         * include/time.h (__clock_gettime): Add libc_hidden_proto.
46154         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
46155         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
46156         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46157         (clock_getcpuclockid): Likewise.
46158         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
46159         Add weak_alias and libc_hidden_def.
46160         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
46161         * rt/clock_gettime.c (clock_gettime): Rename to
46162         __clock_gettime.  Add weak_alias and libc_hidden_def.
46163         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
46164         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
46165         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
46166         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
46167         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46168         Likewise.
46169         * rt/clock_settime.c (clock_settime): Rename to
46170         __clock_settime.  Add weak_alias and libc_hidden_def.
46171         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
46173 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
46175         * mach/err_boot.sub: Remove trailing whitespace.
46176         * mach/err_ipc.sub: Likewise.
46177         * mach/err_mach.sub: Likewise.
46179         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46180         (ROUNDING_TESTS_double): Likewise.
46181         (ROUNDING_TESTS_long_double): Likewise.
46182         (ROUNDING_TESTS): Likewise.
46183         * math/libm-test.inc: Include <math-tests.h>.
46184         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46185         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46186         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46187         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46189 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46191         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46192         of assigning.
46194 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
46196         * sysdeps/gnu/errlist.awk: Do not generate space at end of
46197         otherwise empty TRANS lines.
46198         * sysdeps/gnu/errlist.c: Regenerated.
46200         * catgets/gencat.c (error_print): Use (void) in function
46201         definition.
46202         * crypt/crypt_util.c (__init_des): Likewise.
46203         * crypt/speeds.c (Stop): Likewise.
46204         (main): Likewise.
46205         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46206         * inet/ruserpass.c (token): Likewise.
46207         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46208         * intl/localealias.c (extend_alias_table): Likewise.
46209         * intl/plural-exp.c (init_germanic_plural): Likewise.
46210         * libio/fcloseall.c (__fcloseall): Likewise.
46211         * libio/genops.c (_IO_flush_all): Likewise.
46212         (_IO_flush_all_linebuffered): Likewise.
46213         (_IO_cleanup): Likewise.
46214         (_IO_iter_begin): Likewise.
46215         (_IO_iter_end): Likewise.
46216         (_IO_list_lock): Likewise.
46217         (_IO_list_unlock): Likewise.
46218         (_IO_list_resetlock): Likewise.
46219         * libio/getchar.c (getchar): Likewise.
46220         * libio/getchar_u.c (getchar_unlocked): Likewise.
46221         * libio/getwchar.c (getwchar): Likewise.
46222         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
46223         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
46224         * login/getpt.c (__getpt): Likewise.
46225         * login/tst-utmp.c (main): Likewise.
46226         * malloc/hooks.c (__malloc_check_init): Likewise.
46227         * malloc/malloc.c (__malloc_stats): Likewise.
46228         * malloc/mtrace.c (tr_break): Likewise.
46229         (mtrace): Likewise.
46230         (muntrace): Likewise.
46231         * misc/fstab.c (endfsent): Likewise.
46232         * misc/getclktck.c (__getclktck): Likewise.
46233         * misc/getdtsz.c (__getdtablesize): Likewise.
46234         * misc/gethostid.c (gethostid): Likewise.
46235         * misc/getpagesize.c (__getpagesize): Likewise.
46236         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
46237         (__get_nprocs): Likewise.
46238         (__get_phys_pages): Likewise.
46239         (__get_avphys_pages): Likewise.
46240         * misc/getttyent.c (getttyent): Likewise.
46241         (setttyent): Likewise.
46242         (endttyent): Likewise.
46243         * misc/getusershell.c (getusershell): Likewise.
46244         (endusershell): Likewise.
46245         (setusershell): Likewise.
46246         (initshells): Likewise.
46247         * misc/hsearch.c (__hdestroy): Likewise.
46248         * misc/sync.c (sync): Likewise.
46249         * misc/syslog.c (closelog_internal): Likewise.
46250         (closelog): Likewise.
46251         * misc/ttyslot.c (ttyslot): Likewise.
46252         * misc/vhangup.c (vhangup): Likewise.
46253         * posix/fork.c (__fork): Likewise.
46254         * posix/getegid.c (__getegid): Likewise.
46255         * posix/geteuid.c (__geteuid): Likewise.
46256         * posix/getgid.c (__getgid): Likewise.
46257         * posix/getpid.c (__getpid): Likewise.
46258         * posix/getppid.c (__getppid): Likewise.
46259         * posix/getuid.c (__getuid): Likewise.
46260         * posix/pause.c (pause): Likewise.
46261         * posix/setpgrp.c (setpgrp): Likewise.
46262         * posix/setsid.c (__setsid): Likewise.
46263         * posix/test-vfork.c (noop): Likewise.
46264         * resolv/gethnamaddr.c (_endhtent): Likewise.
46265         (_gethtent): Likewise.
46266         (ht_endhostent): Likewise.
46267         (gethostent): Likewise.
46268         (dns_service): Likewise.
46269         * stdlib/drand48.c (drand48): Likewise.
46270         * stdlib/lrand48.c (lrand48): Likewise.
46271         * stdlib/mrand48.c (mrand48): Likewise.
46272         * stdlib/rand.c (rand): Likewise.
46273         * stdlib/random.c (__random): Likewise.
46274         * stdlib/setenv.c (clearenv): Likewise.
46275         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
46276         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
46277         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
46278         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
46279         (__get_nprocs): Likewise.
46280         (__get_phys_pages): Likewise.
46281         (__get_avphys_pages): Likewise.
46282         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
46283         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
46284         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
46285         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
46286         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
46287         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
46288         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
46289         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
46290         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46291         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46292         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46293         * sysdeps/mach/hurd/sync.c (sync): Likewise.
46294         * sysdeps/posix/clock.c (clock): Likewise.
46295         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46296         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46297         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46298         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46299         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46300         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46301         (__get_nprocs_conf): Likewise.
46302         (__get_phys_pages): Likewise.
46303         (__get_avphys_pages): Likewise.
46304         * time/clock.c (clock): Likewise.
46305         * time/tzset.c (__tzname_max): Likewise.
46307 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
46309         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46310         (__bswap_32): Do not use "register".
46311         * crypt/crypt.c (_ufc_doit_r): Likewise.
46312         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46313         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46314         * gmon/gmon.c (__monstartup): Likewise.
46315         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46316         * hurd/hurdmalloc.c (more_memory): Likewise.
46317         (malloc): Likewise.
46318         (free): Likewise.
46319         (realloc): Likewise.
46320         (malloc_fork_prepare): Likewise.
46321         (malloc_fork_parent): Likewise.
46322         (malloc_fork_child): Likewise.
46323         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46324         (_svcauth_des): Likewise.
46325         * inet/inet_lnaof.c (inet_lnaof): Likewise.
46326         * inet/inet_net.c (inet_network): Likewise.
46327         * inet/inet_netof.c (inet_netof): Likewise.
46328         * inet/rcmd.c (__validuser2_sa): Likewise.
46329         * io/fts.c (fts_open): Likewise.
46330         (fts_load): Likewise.
46331         (fts_close): Likewise.
46332         (fts_read): Likewise.
46333         (fts_children): Likewise.
46334         (fts_build): Likewise.
46335         (fts_stat): Likewise.
46336         (fts_sort): Likewise.
46337         (fts_alloc): Likewise.
46338         (fts_lfree): Likewise.
46339         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46340         (_IO_file_xsgetn): Likewise.
46341         (_IO_file_xsgetn_mmap): Likewise.
46342         * libio/iofopncook.c (_IO_cookie_read): Likewise.
46343         (_IO_cookie_write): Likewise.
46344         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46345         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46346         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46347         * malloc/obstack.c (_obstack_begin): Likewise.
46348         (_obstack_begin_1): Likewise.
46349         (_obstack_newchunk): Likewise.
46350         (_obstack_allocated_p): Likewise.
46351         (obstack_free): Likewise.
46352         (_obstack_memory_used): Likewise.
46353         * misc/getttyent.c (getttynam): Likewise.
46354         (getttyent): Likewise.
46355         (skip): Likewise.
46356         (value): Likewise.
46357         * misc/getusershell.c (initshells): Likewise.
46358         * misc/syslog.c (__vsyslog_chk): Likewise.
46359         * misc/ttyslot.c (ttyslot): Likewise.
46360         * nis/nis_hash.c (__nis_hash): Likewise.
46361         * posix/fnmatch_loop.c (FCT): Likewise.
46362         * posix/getconf.c (print_all): Likewise.
46363         (main): Likewise.
46364         * posix/getopt.c (exchange): Likewise.
46365         * posix/glob.c (globfree): Likewise.
46366         (prefix_array): Likewise.
46367         (__glob_pattern_type): Likewise.
46368         * resolv/arpa/nameser.h (NS_GET16): Likewise.
46369         (NS_GET32): Likewise.
46370         (NS_PUT16): Likewise.
46371         (NS_PUT32): Likewise.
46372         * resolv/gethnamaddr.c (getanswer): Likewise.
46373         (gethostbyname2): Likewise.
46374         (gethostbyaddr): Likewise.
46375         (_gethtent): Likewise.
46376         (_gethtbyname2): Likewise.
46377         (_gethtbyaddr): Likewise.
46378         * resolv/ns_print.c (dst_s_get_int16): Likewise.
46379         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
46380         * resolv/res_init.c (__res_vinit): Likewise.
46381         (net_mask): Likewise.
46382         * resolv/res_mkquery.c (outchar): Likewise.
46383         (PRINT): Likewise.
46384         * stdio-common/printf_fp.c (outchar): Likewise.
46385         (PRINT): Likewise.
46386         * stdio-common/printf_fphex.c (outchar): Likewise.
46387         (PRINT): Likewise.
46388         * stdio-common/printf_size.c (outchar): Likewise.
46389         (PRINT): Likewise.
46390         * stdio-common/test_rdwr.c (main): Likewise.
46391         * stdio-common/tfformat.c (matches): Likewise.
46392         * stdio-common/vfprintf.c (outchar): Likewise.
46393         (printf_unknown): Likewise.
46394         (buffered_vfprintf): Likewise.
46395         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46396         * stdio-common/xbug.c (AppendToBuffer): Likewise.
46397         (ReadFile): Likewise.
46398         * stdlib/qsort.c (SWAP): Likewise.
46399         (_quicksort): Likewise.
46400         * stdlib/setenv.c (__add_to_environ): Likewise.
46401         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46402         * stdlib/strtol_l.c (__strtol_l): Likewise.
46403         * stdlib/tst-strtod.c (main): Likewise.
46404         * stdlib/tst-strtol.c (main): Likewise.
46405         * stdlib/tst-strtoll.c (main): Likewise.
46406         * string/bits/string2.h (__strcmp_cc): Likewise.
46407         (__strcmp_cg): Likewise.
46408         (__strcspn_c1): Likewise.
46409         (__strcspn_c2): Likewise.
46410         (__strcspn_c3): Likewise.
46411         (__strspn_c1): Likewise.
46412         (__strspn_c2): Likewise.
46413         (__strspn_c3): Likewise.
46414         (__strsep_1c): Likewise.
46415         (__strsep_2c): Likewise.
46416         (__strsep_3c): Likewise.
46417         * string/memccpy.c (__memccpy): Likewise.
46418         * string/stpcpy.c (__stpcpy): Likewise.
46419         * string/strcmp.c (strcmp): Likewise.
46420         * string/strrchr.c (strrchr): Likewise.
46421         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
46422         Likewise.
46423         * sysdeps/mach/hurd/getcwd.c
46424         (_hurd_canonicalize_directory_name_internal): Likewise.
46425         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
46426         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
46427         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
46428         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
46429         Likewise, in both definitions.
46430         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
46431         definitions.
46432         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
46433         64] (__bswap_64): Likewise.
46434         * time/test_time.c (main): Likewise.
46435         * time/tzfile.c (__tzfile_read): Likewise.
46436         (__tzfile_compute): Likewise.
46437         * time/tzset.c (__tzset_parse_tz): Likewise.
46438         (tzset_internal): Likewise.
46439         (compute_change): Likewise.
46440         * wcsmbs/wcscat.c (__wcscat): Likewise.
46441         * wcsmbs/wcschr.c (wcschr): Likewise.
46442         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
46443         * wcsmbs/wcscspn.c (wcscspn): Likewise.
46444         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
46445         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
46446         * wcsmbs/wcsspn.c (wcsspn): Likewise.
46447         * wcsmbs/wcsstr.c (wcsstr): Likewise.
46448         * wcsmbs/wmemchr.c (wmemchr): Likewise.
46449         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46450         * wcsmbs/wmemset.c (wmemset): Likewise.
46452 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
46454         * scripts/config.guess: Update to version 2013-05-16.
46455         * scripts/config.sub: Update to version 2013-04-24.
46456         * scripts/install-sh: Update to version 2011-11-20.07.
46457         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
46458         * scripts/move-if-change: Update to version 2012-01-06 07:23.
46460 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
46462         * debug/fgetws_u_chk.c: Fix leading whitespaces.
46463         * elf/sln.c: Likewise.
46464         * hurd/hurd/ioctl.h: Likewise.
46465         * hurd/hurdmalloc.c: Likewise.
46466         * hurd/xattr.c: Likewise.
46467         * include/shlib-compat.h: Likewise.
46468         * inet/ruserpass.c: Likewise.
46469         * libio/iofgets_u.c: Likewise.
46470         * libio/iofgetws_u.c: Likewise.
46471         * locale/programs/ld-identification.c: Likewise.
46472         * locale/programs/ld-time.c: Likewise.
46473         * mach/msg-destroy.c: Likewise.
46474         * nss/nss_files/files-netgrp.c: Likewise.
46475         * resolv/res_data.c: Likewise.
46476         * soft-fp/op-1.h: Likewise.
46477         * soft-fp/op-2.h: Likewise.
46478         * soft-fp/op-4.h: Likewise.
46479         * soft-fp/op-common.h: Likewise.
46480         * stdio-common/printf_fphex.c: Likewise.
46481         * stdlib/strtod_l.c: Likewise.
46482         * sunrpc/rpc/clnt.h: Likewise.
46483         * sysdeps/generic/framestate.c: Likewise.
46484         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46485         * sysdeps/i386/bsd-setjmp.S: Likewise.
46486         * sysdeps/i386/__longjmp.S: Likewise.
46487         * sysdeps/i386/setjmp.S: Likewise.
46488         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46489         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46490         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46491         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46492         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46493         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46494         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46495         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46496         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46497         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46498         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46499         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46500         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46501         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46502         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46503         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46504         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46505         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
46506         * sysdeps/ieee754/support.c: Likewise.
46507         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46508         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
46509         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
46510         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
46511         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
46512         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
46513         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
46514         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
46515         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
46516         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
46517         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
46518         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
46519         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
46520         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
46521         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
46522         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
46523         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46526 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
46528         * posix/transbug.c: Remove executable mode.
46530 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
46532         * crypt/speeds.c: Remove trailing whitespace.
46533         * dlfcn/default.c: Likewise.
46534         * elf/ifuncdep2.c: Likewise.
46535         * elf/ifuncmain1.c: Likewise.
46536         * elf/ifuncmain1vis.c: Likewise.
46537         * elf/testobj.h: Likewise.
46538         * elf/tst-stackguard1.c: Likewise.
46539         * gmon/sys/gmon.h: Likewise.
46540         * hurd/hurdmsg.c: Likewise.
46541         * hurd/new-fd.c: Likewise.
46542         * hurd/ports-get.c: Likewise.
46543         * iconvdata/ibm1008_420.c: Likewise.
46544         * inet/tst-getni1.c: Likewise.
46545         * inet/tst-getni2.c: Likewise.
46546         * libio/ioungetc.c: Likewise.
46547         * libio/wfiledoalloc.c: Likewise.
46548         * manual/libm-err-tab.pl: Likewise.
46549         * math/w_dremf.c: Likewise.
46550         * misc/ftruncate.c: Likewise.
46551         * posix/bug-glob2.c: Likewise.
46552         * posix/tst-pcre.c: Likewise.
46553         * posix/wait4.c: Likewise.
46554         * resolv/README: Likewise.
46555         * resolv/res_debug.h: Likewise.
46556         * resolv/tst-inet_ntop.c: Likewise.
46557         * setjmp/bug269-setjmp.c: Likewise.
46558         * soft-fp/extended.h: Likewise.
46559         * soft-fp/op-1.h: Likewise.
46560         * soft-fp/op-2.h: Likewise.
46561         * soft-fp/op-4.h: Likewise.
46562         * soft-fp/op-8.h: Likewise.
46563         * soft-fp/testit.c: Likewise.
46564         * stdio-common/bug16.c: Likewise.
46565         * stdlib/random.c: Likewise.
46566         * sunrpc/rpcsvc/rquota.x: Likewise.
46567         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
46568         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46569         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46570         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46571         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46572         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46573         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46574         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46575         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46576         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46577         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46578         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46579         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46580         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46581         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46582         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46583         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46584         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46585         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46586         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46587         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46588         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46589         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
46590         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46591         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46592         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46593         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46594         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46595         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46596         * sysdeps/ieee754/s_lib_version.c: Likewise.
46597         * sysdeps/mach/hurd/check_fds.c: Likewise.
46598         * sysdeps/mach/hurd/getsockname.c: Likewise.
46599         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
46600         * sysdeps/mach/hurd/recvfrom.c: Likewise.
46601         * sysdeps/powerpc/bits/link.h: Likewise.
46602         * sysdeps/powerpc/dl-procinfo.c: Likewise.
46603         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
46604         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
46605         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
46606         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46607         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46608         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
46609         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46610         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
46611         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46612         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
46613         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46614         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
46615         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46616         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46617         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46618         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46619         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46620         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46621         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46622         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46623         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
46624         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46625         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46626         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
46627         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46628         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46629         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46630         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46631         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46632         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46633         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46634         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46635         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46636         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
46637         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46638         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
46639         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46640         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
46641         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
46642         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
46643         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
46644         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
46645         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
46646         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46647         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
46648         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
46649         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46650         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
46651         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
46652         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46653         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46654         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46655         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46656         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
46657         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
46658         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
46659         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46660         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
46661         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
46662         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
46663         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
46664         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
46665         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46666         * sysdeps/powerpc/sysdep.h: Likewise.
46667         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46668         * sysdeps/s390/s390-64/sub_n.S: Likewise.
46669         * sysdeps/sh/dl-trampoline.S: Likewise.
46670         * sysdeps/sh/memset.S: Likewise.
46671         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
46672         * sysdeps/sh/strlen.S: Likewise.
46673         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
46674         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
46675         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
46676         * sysdeps/sparc/sparc32/rem.S: Likewise.
46677         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
46678         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
46679         * sysdeps/sparc/sparc32/strchr.S: Likewise.
46680         * sysdeps/sparc/sparc32/udiv.S: Likewise.
46681         * sysdeps/sparc/sparc32/urem.S: Likewise.
46682         * sysdeps/sparc/sparc64/add_n.S: Likewise.
46683         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46684         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
46685         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
46686         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
46687         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
46688         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
46689         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
46690         * sysdeps/unix/bsd/times.c: Likewise.
46691         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
46692         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
46693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46696         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
46697         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46698         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
46699         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
46700         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
46701         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
46702         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46703         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
46704         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46705         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46706         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
46707         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46708         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
46709         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
46710         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
46711         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
46712         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
46713         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46714         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
46715         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
46716         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
46717         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
46718         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46719         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
46720         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
46721         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
46722         * sysdeps/x86_64/strcspn.S: Likewise.
46724 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46726         * locale/C-translit.h: Revert #include <stdint.h> because this is a
46727         generated file.  Regenerate properly from gen-translit.pl.
46728         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
46729         locale/C-translit.h.
46731 2013-06-05  Andreas Schwab  <schwab@suse.de>
46733         [BZ #15100]
46734         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
46735         week as 6 instead of -1.
46736         * time/tst-strptime.c (day_tests): Add test case.
46738 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46740         * sysdeps/generic/math_private.h
46741         (libc_feholdexcept_setround_53bit): Replace with
46742         libc_feholdsetround_53bit.
46743         (libc_feupdateenv_53bit): Replace with
46744         libc_feresetround_53bit.
46745         (SET_RESTORE_ROUND_53BIT): Adjust.
46747 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46749         * string/test-strchrnul.c: Add copyright header.
46751         * posix/tst-getaddrinfo4.c: Increase test timeout.
46753 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
46755         [BZ #15536]
46756         * math/libm-test.inc (MAX_EXP): Remove
46757         (MIN_EXP): Define.
46758         (ulp): Use MIN_EXP - MANT_DIG.
46759         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
46761 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
46763         * po/be.po: Revert last change.
46764         * po/zh_CN.po: Likewise.
46765         * po/header.pot: Likewise.
46767 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
46769         * Makefile ($(common-objpfx)linkobj/libc.so): Define
46770         link-libc-deps to empty as target-specific variable.
46771         * Makerules (link-libc-args): New variable.
46772         (libc-for-link): Likewise.
46773         (link-libc-deps): Likewise.
46774         (lib%.so): Depend on $(link-libc-deps).  Link with
46775         $(link-libc-args).
46776         (build-module): Link with $(link-libc-args).
46777         (build-module-asneeded): Likewise.
46778         (build-module-helper-objlist): Filter out $(link-libc-deps) from
46779         list of objects.
46780         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
46781         target-specific variable.
46782         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
46783         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
46784         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
46785         libc.
46786         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
46787         libc and ld.so.
46788         ($(objpfx)libpcprofile.so): Likewise.
46789         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
46790         libc_nonshared.a.
46791         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
46792         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
46793         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
46794         $(link-libc-deps).
46795         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
46796         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
46797         * login/Makefile ($(objpfx)libutil.so): Likewise.
46798         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
46799         * math/Makefile ($(objpfx)libm.so): Likewise.
46800         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
46801         $(objpfx)libnsl.so): Define libc-for-link as target-specific
46802         variable instead of depending directly on libc.
46803         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
46804         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
46805         $(link-libc-deps).
46806         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
46807         libc.
46808         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
46809         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
46810         ($(objpfx)libanl.so): Likewise.
46811         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
46812         ld.so.
46813         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
46814         $(link-libc-deps).
46815         * sysdeps/i386/fpu/Makefile: Remove file.
46816         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
46817         ($(objpfx)libm.so): Remove dependency on ld.so.
46819 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
46821         [BZ # 15553]
46822         * nis/yp_xdr.c (XDRMAXNAME): Define.
46823         (XDRMAXRECORD): Define.
46824         (xdr_domainname): Use XDRMAXNAME.
46825         (xdr_mapname): Likewise.
46826         (xdr_peername): Likewise.
46827         (xdr_keydat): Use XDRMAXRECORD.
46828         (xdr_valdat): Likewise.
46830 2013-05-30  Jeff Law  <law@redhat.com>
46832         [BZ #14256]
46833         * manual/errno.texi (ESTALE): Update to account for more than
46834         just NFS file systems.
46835         * sysdeps/gnu/errlist.c: Regenerated.
46837 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46839         [BZ #15465]
46840         * elf/Makefile (tests): Add tst-null-argv.
46841         (modules-names):  Add tst-null-argv-lib.
46842         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
46843         (tst-null-argv-ENV): Set environment for tst-null-argv.
46844         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
46845         (RTLD_PROGNAME): New macro.
46846         * elf/tst-null-argv.c: New test case.
46847         * elf/tst-null-argv-lib.c: Library for test case.
46848         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
46849         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
46850         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
46851         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
46852         * elf/dl-init.c (call_init): Likewise.
46853         (_dl_init): Likewise.
46854         * elf/dl-load.c (print_search_path): Likewise.
46855         (_dl_map_object): Likewise.
46856         * elf/dl-lookup.c (do_lookup_x): Likewise.
46857         (add_dependency): Likewise.
46858         (_dl_lookup_symbol_x): Likewise.
46859         (_dl_debug_bindings): Likewise.
46860         * elf/dl-open.c (_dl_show_scope): Likewise.
46861         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46862         * elf/dl-version.c (match_symbol): Likewise.
46863         (_dl_check_map_versions): Likewise.
46864         * elf/rtld.c (dl_main): Likewise.
46865         (print_unresolved): Use RTLD_PROGNAME.
46866         (print_missing_version): Likewise.
46867         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
46868         (elf_machine_rela): Likewise.
46869         * sysdeps/powerpc/powerpc32/dl-machine.c
46870         (__process_machine_rela): Likewise.
46871         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46872         Likewise.
46873         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46874         Likewise.
46875         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
46876         Likewise.
46877         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46878         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
46879         Likewise.
46880         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
46881         Likewise.
46882         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46884 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
46886         * po/be.po: Add descriptive title.
46887         * po/zh_CN.po: Likewise.
46888         * po/header.pot: Likewise.
46890 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
46892         * locale/programs/locarchive.c (create_archive): Inlucde fname in
46893         error message.
46894         (enlarge_archive): Likewise.
46896 2013-05-28  Ben North  <ben@redfrontdoor.org>
46898         * manual/arith.texi (frexp): It is the magnitude of the return
46899         value which lies in [0.5, 1), not the return value itself.
46901 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46905 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
46907         * stdio-common/bug26.c (main): Correct fscanf template.
46909         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
46910         declare _dl_skip_args.
46912         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
46913         Don't declare.
46915         * manual/platform.texi: Add missing @end deftypefun.
46917 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46919         [BZ #15529]
46920         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
46921         bit of mantissa of 2^16382.
46922         * math/libm-test.inc (hypot_test_data): Add more tests.
46924         * math/libm-test.inc: Add drem and pow10 to list of tested
46925         functions.
46926         (pow10_test): New function.
46927         (drem_test): Likewise.
46928         (drem_test_tonearest): Likewise.
46929         (drem_test_towardzero): Likewise.
46930         (drem_test_downward): Likewise.
46931         (drem_test_upward): Likewise.
46932         (main): Call the new functions.
46934         * math/libm-test.inc (finite_test_data): Remove.
46935         (finite_test): Run tests from isfinite_test_data.
46936         (gamma_test_data): Remove.
46937         (gamma_test): Run tests from lgamma_test_data.
46938         * sysdeps/i386/fpu/libm-test-ulps: Update.
46939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46941 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46943         * manual/platform.texi: Add PowerPC PPR function set documentation.
46944         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
46945         implementation.
46947 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
46949         * math/libm-test.inc (MAX_EXP): Define.
46950         (ULPDIFF): Define.
46951         (ulp): New function.
46952         (check_float_internal): Use ULPDIFF.
46953         (cpow_test): Disable failing test.
46954         (check_ulp): Test ulp() implemetnation.
46955         (main): Call check_ulp before starting tests.
46957 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46959         * math/gen-libm-test.pl (generate_testfile): Do not handle
46960         START_DATA and END_DATA.
46961         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
46962         END_DATA.
46963         (acos_tonearest_test_data): Likewise.
46964         (acos_towardzero_test_data): Likewise.
46965         (acos_downward_test_data): Likewise.
46966         (acos_upward_test_data): Likewise.
46967         (acosh_test_data): Likewise.
46968         (asin_test_data): Likewise.
46969         (asin_tonearest_test_data): Likewise.
46970         (asin_towardzero_test_data): Likewise.
46971         (asin_downward_test_data): Likewise.
46972         (asin_upward_test_data): Likewise.
46973         (asinh_test_data): Likewise.
46974         (atan_test_data): Likewise.
46975         (atanh_test_data): Likewise.
46976         (atan2_test_data): Likewise.
46977         (cabs_test_data): Likewise.
46978         (cacos_test_data): Likewise.
46979         (cacosh_test_data): Likewise.
46980         (carg_test_data): Likewise.
46981         (casin_test_data): Likewise.
46982         (casinh_test_data): Likewise.
46983         (catan_test_data): Likewise.
46984         (catanh_test_data): Likewise.
46985         (cbrt_test_data): Likewise.
46986         (ccos_test_data): Likewise.
46987         (ccosh_test_data): Likewise.
46988         (ceil_test_data): Likewise.
46989         (cexp_test_data): Likewise.
46990         (cimag_test_data): Likewise.
46991         (clog_test_data): Likewise.
46992         (clog10_test_data): Likewise.
46993         (conj_test_data): Likewise.
46994         (copysign_test_data): Likewise.
46995         (cos_test_data): Likewise.
46996         (cos_tonearest_test_data): Likewise.
46997         (cos_towardzero_test_data): Likewise.
46998         (cos_downward_test_data): Likewise.
46999         (cos_upward_test_data): Likewise.
47000         (cosh_test_data): Likewise.
47001         (cosh_tonearest_test_data): Likewise.
47002         (cosh_towardzero_test_data): Likewise.
47003         (cosh_downward_test_data): Likewise.
47004         (cosh_upward_test_data): Likewise.
47005         (cpow_test_data): Likewise.
47006         (cproj_test_data): Likewise.
47007         (creal_test_data): Likewise.
47008         (csin_test_data): Likewise.
47009         (csinh_test_data): Likewise.
47010         (csqrt_test_data): Likewise.
47011         (ctan_test_data): Likewise.
47012         (ctan_tonearest_test_data): Likewise.
47013         (ctan_towardzero_test_data): Likewise.
47014         (ctan_downward_test_data): Likewise.
47015         (ctan_upward_test_data): Likewise.
47016         (ctanh_test_data): Likewise.
47017         (ctanh_tonearest_test_data): Likewise.
47018         (ctanh_towardzero_test_data): Likewise.
47019         (ctanh_downward_test_data): Likewise.
47020         (ctanh_upward_test_data): Likewise.
47021         (erf_test_data): Likewise.
47022         (erfc_test_data): Likewise.
47023         (exp_test_data): Likewise.
47024         (exp_tonearest_test_data): Likewise.
47025         (exp_towardzero_test_data): Likewise.
47026         (exp_downward_test_data): Likewise.
47027         (exp_upward_test_data): Likewise.
47028         (exp10_test_data): Likewise.
47029         (exp2_test_data): Likewise.
47030         (expm1_test_data): Likewise.
47031         (fabs_test_data): Likewise.
47032         (fdim_test_data): Likewise.
47033         (finite_test_data): Likewise.
47034         (floor_test_data): Likewise.
47035         (fma_test_data): Likewise.
47036         (fma_towardzero_test_data): Likewise.
47037         (fma_downward_test_data): Likewise.
47038         (fma_upward_test_data): Likewise.
47039         (fmax_test_data): Likewise.
47040         (fmin_test_data): Likewise.
47041         (fmod_test_data): Likewise.
47042         (fpclassify_test_data): Likewise.
47043         (frexp_test_data): Likewise.
47044         (gamma_test_data): Likewise.
47045         (hypot_test_data): Likewise.
47046         (ilogb_test_data): Likewise.
47047         (isfinite_test_data): Likewise.
47048         (isgreater_test_data): Likewise.
47049         (isgreaterequal_test_data): Likewise.
47050         (isinf_test_data): Likewise.
47051         (isless_test_data): Likewise.
47052         (islessequal_test_data): Likewise.
47053         (islessgreater_test_data): Likewise.
47054         (isnan_test_data): Likewise.
47055         (isnormal_test_data): Likewise.
47056         (issignaling_test_data): Likewise.
47057         (isunordered_test_data): Likewise.
47058         (j0_test_data): Likewise.
47059         (j1_test_data): Likewise.
47060         (jn_test_data): Likewise.
47061         (ldexp_test_data): Likewise.
47062         (lgamma_test_data): Likewise.
47063         (lrint_test_data): Likewise.
47064         (lrint_tonearest_test_data): Likewise.
47065         (lrint_towardzero_test_data): Likewise.
47066         (lrint_downward_test_data): Likewise.
47067         (lrint_upward_test_data): Likewise.
47068         (llrint_test_data): Likewise.
47069         (llrint_tonearest_test_data): Likewise.
47070         (llrint_towardzero_test_data): Likewise.
47071         (llrint_downward_test_data): Likewise.
47072         (llrint_upward_test_data): Likewise.
47073         (log_test_data): Likewise.
47074         (log10_test_data): Likewise.
47075         (log1p_test_data): Likewise.
47076         (log2_test_data): Likewise.
47077         (logb_test_data): Likewise.
47078         (logb_downward_test_data): Likewise.
47079         (lround_test_data): Likewise.
47080         (llround_test_data): Likewise.
47081         (modf_test_data): Likewise.
47082         (nearbyint_test_data): Likewise.
47083         (nextafter_test_data): Likewise.
47084         (nexttoward_test_data): Likewise.
47085         (pow_test_data): Likewise.
47086         (pow_tonearest_test_data): Likewise.
47087         (pow_towardzero_test_data): Likewise.
47088         (pow_downward_test_data): Likewise.
47089         (pow_upward_test_data): Likewise.
47090         (remainder_test_data): Likewise.
47091         (remainder_tonearest_test_data): Likewise.
47092         (remainder_towardzero_test_data): Likewise.
47093         (remainder_downward_test_data): Likewise.
47094         (remainder_upward_test_data): Likewise.
47095         (remquo_test_data): Likewise.
47096         (rint_test_data): Likewise.
47097         (rint_tonearest_test_data): Likewise.
47098         (rint_towardzero_test_data): Likewise.
47099         (rint_downward_test_data): Likewise.
47100         (rint_upward_test_data): Likewise.
47101         (round_test_data): Likewise.
47102         (scalb_test_data): Likewise.
47103         (scalbn_test_data): Likewise.
47104         (scalbln_test_data): Likewise.
47105         (signbit_test_data): Likewise.
47106         (sin_test_data): Likewise.
47107         (sin_tonearest_test_data): Likewise.
47108         (sin_towardzero_test_data): Likewise.
47109         (sin_downward_test_data): Likewise.
47110         (sin_upward_test_data): Likewise.
47111         (sincos_test_data): Likewise.
47112         (sinh_test_data): Likewise.
47113         (sinh_tonearest_test_data): Likewise.
47114         (sinh_towardzero_test_data): Likewise.
47115         (sinh_downward_test_data): Likewise.
47116         (sinh_upward_test_data): Likewise.
47117         (sqrt_test_data): Likewise.
47118         (tan_test_data): Likewise.
47119         (tan_tonearest_test_data): Likewise.
47120         (tan_towardzero_test_data): Likewise.
47121         (tan_downward_test_data): Likewise.
47122         (tan_upward_test_data): Likewise.
47123         (tanh_test_data): Likewise.
47124         (tgamma_test_data): Likewise.
47125         (trunc_test_data): Likewise.
47126         (y0_test_data): Likewise.
47127         (y1_test_data): Likewise.
47128         (yn_test_data): Likewise.
47129         (significand_test_data): Likewise.
47131         * math/gen-libm-test.pl (@functions): Remove variable.
47132         (generate_testfile): Don't handle START and END lines.
47133         * math/libm-test.inc (START): New macro.
47134         (END): Likewise.
47135         (END_COMPLEX): Likewise.
47136         (acos_test): Use END macro without arguments.
47137         (acos_test_tonearest): Likewise.
47138         (acos_test_towardzero): Likewise.
47139         (acos_test_downward): Likewise.
47140         (acos_test_upward): Likewise.
47141         (acosh_test): Likewise.
47142         (asin_test): Likewise.
47143         (asin_test_tonearest): Likewise.
47144         (asin_test_towardzero): Likewise.
47145         (asin_test_downward): Likewise.
47146         (asin_test_upward): Likewise.
47147         (asinh_test): Likewise.
47148         (atan_test): Likewise.
47149         (atanh_test): Likewise.
47150         (atan2_test): Likewise.
47151         (cabs_test): Likewise.
47152         (cacos_test): Use END_COMPLEX macro without arguments.
47153         (cacosh_test): Likewise.
47154         (carg_test): Use END macro without arguments.
47155         (casin_test): Use END_COMPLEX macro without arguments.
47156         (casinh_test): Likewise.
47157         (catan_test): Likewise.
47158         (catanh_test): Likewise.
47159         (cbrt_test): Use END macro without arguments.
47160         (ccos_test): Use END_COMPLEX macro without arguments.
47161         (ccosh_test): Likewise.
47162         (ceil_test): Use END macro without arguments.
47163         (cexp_test): Use END_COMPLEX macro without arguments.
47164         (cimag_test): Use END macro without arguments.
47165         (clog_test): Use END_COMPLEX macro without arguments.
47166         (clog10_test): Likewise.
47167         (conj_test): Likewise.
47168         (copysign_test): Use END macro without arguments.
47169         (cos_test): Likewise.
47170         (cos_test_tonearest): Likewise.
47171         (cos_test_towardzero): Likewise.
47172         (cos_test_downward): Likewise.
47173         (cos_test_upward): Likewise.
47174         (cosh_test): Likewise.
47175         (cosh_test_tonearest): Likewise.
47176         (cosh_test_towardzero): Likewise.
47177         (cosh_test_downward): Likewise.
47178         (cosh_test_upward): Likewise.
47179         (cpow_test): Use END_COMPLEX macro without arguments.
47180         (cproj_test): Likewise.
47181         (creal_test): Use END macro without arguments.
47182         (csin_test): Use END_COMPLEX macro without arguments.
47183         (csinh_test): Likewise.
47184         (csqrt_test): Likewise.
47185         (ctan_test): Likewise.
47186         (ctan_test_tonearest): Likewise.
47187         (ctan_test_towardzero): Likewise.
47188         (ctan_test_downward): Likewise.
47189         (ctan_test_upward): Likewise.
47190         (ctanh_test): Likewise.
47191         (ctanh_test_tonearest): Likewise.
47192         (ctanh_test_towardzero): Likewise.
47193         (ctanh_test_downward): Likewise.
47194         (ctanh_test_upward): Likewise.
47195         (erf_test): Use END macro without arguments.
47196         (erfc_test): Likewise.
47197         (exp_test): Likewise.
47198         (exp_test_tonearest): Likewise.
47199         (exp_test_towardzero): Likewise.
47200         (exp_test_downward): Likewise.
47201         (exp_test_upward): Likewise.
47202         (exp10_test): Likewise.
47203         (exp2_test): Likewise.
47204         (expm1_test): Likewise.
47205         (fabs_test): Likewise.
47206         (fdim_test): Likewise.
47207         (finite_test): Likewise.
47208         (floor_test): Likewise.
47209         (fma_test): Likewise.
47210         (fma_test_towardzero): Likewise.
47211         (fma_test_downward): Likewise.
47212         (fma_test_upward): Likewise.
47213         (fmax_test): Likewise.
47214         (fmin_test): Likewise.
47215         (fmod_test): Likewise.
47216         (fpclassify_test): Likewise.
47217         (frexp_test): Likewise.
47218         (gamma_test): Likewise.
47219         (hypot_test): Likewise.
47220         (ilogb_test): Likewise.
47221         (isfinite_test): Likewise.
47222         (isgreater_test): Likewise.
47223         (isgreaterequal_test): Likewise.
47224         (isinf_test): Likewise.
47225         (isless_test): Likewise.
47226         (islessequal_test): Likewise.
47227         (islessgreater_test): Likewise.
47228         (isnan_test): Likewise.
47229         (isnormal_test): Likewise.
47230         (issignaling_test): Likewise.
47231         (isunordered_test): Likewise.
47232         (j0_test): Likewise.
47233         (j1_test): Likewise.
47234         (jn_test): Likewise.
47235         (ldexp_test): Likewise.
47236         (lgamma_test): Likewise.
47237         (lrint_test): Likewise.
47238         (lrint_test_tonearest): Likewise.
47239         (lrint_test_towardzero): Likewise.
47240         (lrint_test_downward): Likewise.
47241         (lrint_test_upward): Likewise.
47242         (llrint_test): Likewise.
47243         (llrint_test_tonearest): Likewise.
47244         (llrint_test_towardzero): Likewise.
47245         (llrint_test_downward): Likewise.
47246         (llrint_test_upward): Likewise.
47247         (log_test): Likewise.
47248         (log10_test): Likewise.
47249         (log1p_test): Likewise.
47250         (log2_test): Likewise.
47251         (logb_test): Likewise.
47252         (logb_test_downward): Likewise.
47253         (lround_test): Likewise.
47254         (llround_test): Likewise.
47255         (modf_test): Likewise.
47256         (nearbyint_test): Likewise.
47257         (nextafter_test): Likewise.
47258         (nexttoward_test): Likewise.
47259         (pow_test): Likewise.
47260         (pow_test_tonearest): Likewise.
47261         (pow_test_towardzero): Likewise.
47262         (pow_test_downward): Likewise.
47263         (pow_test_upward): Likewise.
47264         (remainder_test): Likewise.
47265         (remainder_test_tonearest): Likewise.
47266         (remainder_test_towardzero): Likewise.
47267         (remainder_test_downward): Likewise.
47268         (remainder_test_upward): Likewise.
47269         (remquo_test): Likewise.
47270         (rint_test): Likewise.
47271         (rint_test_tonearest): Likewise.
47272         (rint_test_towardzero): Likewise.
47273         (rint_test_downward): Likewise.
47274         (rint_test_upward): Likewise.
47275         (round_test): Likewise.
47276         (scalb_test): Likewise.
47277         (scalbn_test): Likewise.
47278         (scalbln_test): Likewise.
47279         (signbit_test): Likewise.
47280         (sin_test): Likewise.
47281         (sin_test_tonearest): Likewise.
47282         (sin_test_towardzero): Likewise.
47283         (sin_test_downward): Likewise.
47284         (sin_test_upward): Likewise.
47285         (sincos_test): Likewise.
47286         (sinh_test): Likewise.
47287         (sinh_test_tonearest): Likewise.
47288         (sinh_test_towardzero): Likewise.
47289         (sinh_test_downward): Likewise.
47290         (sinh_test_upward): Likewise.
47291         (sqrt_test): Likewise.
47292         (tan_test): Likewise.
47293         (tan_test_tonearest): Likewise.
47294         (tan_test_towardzero): Likewise.
47295         (tan_test_downward): Likewise.
47296         (tan_test_upward): Likewise.
47297         (tanh_test): Likewise.
47298         (tgamma_test): Likewise.
47299         (trunc_test): Likewise.
47300         (y0_test): Likewise.
47301         (y1_test): Likewise.
47302         (yn_test): Likewise.
47303         (significand_test): Likewise.
47305 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
47307         [BZ #15381]
47308         * libio/genops.c (_IO_no_init): Initialize wide struct info.
47310 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47312         [BZ #14894]
47313         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47314         __ppc_mdoio and __ppc_mdoom.
47315         * manual/platform.texi: Document new functions __ppc_yield,
47316         __ppc_mdoio and __ppc_mdoom.
47318 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
47320         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47321         (main): Mention "tls" pseudo-hwcap is legacy.
47322         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47324 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47326         * math/gen-libm-test.pl (parse_args): Output only string of
47327         arguments as text for test name, not full call or descriptions of
47328         tests for extra outputs.
47329         (generate_testfile): Do not pass function name to parse_args.
47330         Generate this_func variable from START.
47331         * math/libm-test.inc (struct test_f_f_data): Rename test_name
47332         field to arg_str.
47333         (struct test_ff_f_data): Likewise.
47334         (test_ff_f_data_nexttoward): Likewise.
47335         (struct test_fi_f_data): Likewise.
47336         (struct test_fl_f_data): Likewise.
47337         (struct test_if_f_data): Likewise.
47338         (struct test_fff_f_data): Likewise.
47339         (struct test_c_f_data): Likewise.
47340         (struct test_f_f1_data): Likewise.  Remove field extra_name.
47341         (struct test_fF_f1_data): Likewise.
47342         (struct test_ffI_f1_data): Likewise.
47343         (struct test_c_c_data): Rename test_name field to arg_str.
47344         (struct test_cc_c_data): Likewise.
47345         (struct test_f_i_data): Likewise.
47346         (struct test_ff_i_data): Likewise.
47347         (struct test_f_l_data): Likewise.
47348         (struct test_f_L_data): Likewise.
47349         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
47350         and extra2_name.
47351         (COMMON_TEST_SETUP): New macro.
47352         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47353         (COMMON_TEST_CLEANUP): Likewise.
47354         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47355         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
47356         macros.
47357         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47358         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
47359         macros.
47360         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47361         (RUN_TEST_fff_f): Take argument string.  Call new setup and
47362         cleanup macros.
47363         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47364         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
47365         macros.
47366         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47367         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
47368         macros.
47369         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47370         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
47371         cleanup macros.
47372         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47373         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
47374         cleanup macros.
47375         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47376         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
47377         cleanup macros.
47378         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47379         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
47380         macros.
47381         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
47382         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
47383         macros.
47384         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
47385         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
47386         macros.
47387         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
47388         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
47389         cleanup macros.
47390         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
47391         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
47392         cleanup macros.
47393         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
47394         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
47395         macros.
47396         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
47397         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
47398         cleanup macros.
47399         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
47400         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
47401         macros.
47402         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
47403         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
47404         macros.
47405         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
47406         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
47407         cleanup macros.
47408         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
47410 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
47412         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
47413         to _sifields.sigfault.
47414         (si_addr_lsb): Define new macro.
47415         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47416         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47417         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
47419 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
47421         [BZ #15441]
47422         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
47423         returns -1.
47424         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
47425         null return -1.
47426         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
47427         loading the domain.
47429 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47431         * math/gen-libm-test.pl (parse_args): Do not include expected
47432         result in test name.
47433         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
47434         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47435         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47436         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47437         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47440 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47442         * benchtests/Makefile: Sort function entries.
47444         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
47445         tanh, asinh, acosh, atanh.
47446         * benchtests/acos-inputs: New file.
47447         * benchtests/acosh-inputs: New file.
47448         * benchtests/asin-inputs: New file.
47449         * benchtests/asinh-inputs: New file.
47450         * benchtests/atanh-inputs: New file.
47451         * benchtests/cosh-inputs: New file.
47452         * benchtests/log-inputs: New file.
47453         * benchtests/sinh-inputs: New file.
47454         * benchtests/tanh-inputs: New file.
47456 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
47458         [BZ #15339]
47459         * posix/tst-getaddrinfo4.c: New test.
47460         * posix/Makefile (tests): Add it.
47462 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47464         [BZ #15339]
47465         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
47466         when no services were used.
47467         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
47468         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
47470 2013-05-21  Andreas Schwab  <schwab@suse.de>
47472         [BZ #15014]
47473         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
47474         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
47475         successful.
47476         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
47477         redundant variable declarations and reallocation of buffer when
47478         parsing as IPv6 address.  Always set NSS status when called from
47479         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
47480         buffer too small.  Correct computation of needed size.
47481         * nss/Makefile (tests): Add test-digits-dots.
47482         * nss/test-digits-dots.c: New test.
47484 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47486         * benchtests/Makefile: Remove instructions for adding
47487         benchmark tests.
47488         * benchtests/README: New file to explain how to execute and
47489         enhance the benchmark tests.
47491 2013-05-21  Andreas Schwab  <schwab@suse.de>
47493         [BZ #15493]
47494         * setjmp/Makefile (tests): Add tst-sigsetjmp.
47495         * setjmp/tst-sigsetjmp.c: New test.
47497 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47499         * sysdeps/x86_64/memset.S (memset): New implementation.
47500         (__bzero): Likewise.
47501         (__memset_tail): New function.
47503 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47505         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
47506         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
47507         __memcpy_sse2_unaligned ifunc selection.
47508         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47509         Add memcpy-sse2-unaligned.S.
47510         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47511         Add: __memcpy_sse2_unaligned.
47513 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
47515         [BZ #15490]
47516         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47517         math_force_eval before restoring floating-point envrionment.
47518         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
47519         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
47520         Likewise.
47521         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
47522         <math_private.h>.
47523         (__nearbyintl): Use math_force_eval before restoring
47524         floating-point environment.
47525         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
47527         * math/gen-libm-test.pl (special_functions): Remove.
47528         (parse_args): Don't handle TEST_extra.  Handle functions with no
47529         return value.
47530         * math/libm-test.inc (struct test_sincos_data): Replace with
47531         struct test_fFF_11_data.
47532         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
47533         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
47534         (sincos_test_data): Change element type to struct
47535         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
47536         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
47537         RUN_TEST_LOOP_sincos.
47538         * math/README.libm-test: Don't mention special handling of
47539         individual functions.
47540         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
47541         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47542         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47543         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47544         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47547         * math/gen-libm-test.pl (get_variable): Remove function.
47548         (parse_args): Don't show pointer parameters to call in test
47549         names.  Use "extra output N" in test names for extra outputs
47550         rather than naming variables.
47552 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
47554         [BZ #15488]
47555         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
47556         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
47557         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
47558         double tests.
47559         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
47560         disable.
47561         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
47562         check_long_double.
47564         * math/gen-libm-test.pl (@tests): Remove variable.
47565         ($count): Likewise.
47566         (new_test): Remove function.
47567         (show_exceptions): New function.
47568         (special_functions): Use show_exceptions instead of new_test.
47569         (parse_args): Likewise.
47570         (generate_testfile): Pass only function name in generated call to
47571         print_max_error or print_complex_max_error.
47572         (get_ulps): Do not handle complex tests specially.
47573         (output_test): Rename to ...
47574         (get_all_ulps_for_test): ... this.  Return a string rather than
47575         printing to a file.  Require ulps to be present.
47576         (output_ulps): Generate arrays rather than #defines.
47577         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
47578         (struct ulp_data): New type.
47579         (BUILD_COMPLEX_ULP): Remove macro.
47580         (compare_ulp_data): New function.
47581         (find_ulps): Likewise.
47582         (find_test_ulps): Likewise.
47583         (find_function_ulps): Likewise.
47584         (find_complex_function_ulps): Likewise.
47585         (print_max_error): Determine allowed ulps using
47586         find_function_ulps.
47587         (print_complex_max_error): Determine allowed ulps using
47588         find_complex_function_ulps.
47589         (check_float_internal): Determine max ulps using find_test_ulps.
47590         (check_float): Do not take max_ulp parameter.  Update call to
47591         check_float_internal.
47592         (check_complex): Likewise.
47593         (check_int): Do not take max_ulp parameter.
47594         (check_long): Likewise.
47595         (check_bool): Likewise.
47596         (check_longlong): Likewise.
47597         (struct test_f_f_data): Remove max_ulp field.
47598         (struct test_ff_f_data): Likewise.
47599         (struct test_ff_f_data_nexttoward): Likewise.
47600         (struct test_fi_f_data): Likewise.
47601         (struct test_fl_f_data): Likewise.
47602         (struct test_if_f_data): Likewise.
47603         (struct test_fff_f_data): Likewise.
47604         (struct test_c_f_data): Likewise.
47605         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
47606         (struct test_fF_f1_data): Likewise.
47607         (struct test_ffI_f1_data): Likewise.
47608         (struct test_c_c_data): Remove max_ulp field.
47609         (struct test_cc_c_data): Likewise.
47610         (struct test_f_i_data): Likewise.
47611         (struct test_ff_i_data): Likewise.
47612         (struct test_f_l_data): Likewise.
47613         (struct test_f_L_data): Likewise.
47614         (struct test_sincos_data): Likewise.
47615         (RUN_TEST_f_f): Do not handle ulps.
47616         (RUN_TEST_LOOP_f_f): Likewise.
47617         (RUN_TEST_2_f): Likewise.
47618         (RUN_TEST_LOOP_2_f): Likewise.
47619         (RUN_TEST_fff_f): Likewise.
47620         (RUN_TEST_LOOP_fff_f): Likewise.
47621         (RUN_TEST_c_f): Likewise.
47622         (RUN_TEST_LOOP_c_f): Likewise.
47623         (RUN_TEST_f_f1): Likewise.
47624         (RUN_TEST_LOOP_f_f1): Likewise.
47625         (RUN_TEST_fF_f1): Likewise.
47626         (RUN_TEST_LOOP_fF_f1): Likewise.
47627         (RUN_TEST_fI_f1): Likewise.
47628         (RUN_TEST_LOOP_fI_f1): Likewise.
47629         (RUN_TEST_ffI_f1): Likewise.
47630         (RUN_TEST_LOOP_ffI_f1): Likewise.
47631         (RUN_TEST_c_c): Likewise.
47632         (RUN_TEST_LOOP_c_c): Likewise.
47633         (RUN_TEST_cc_c): Likewise.
47634         (RUN_TEST_LOOP_cc_c): Likewise.
47635         (RUN_TEST_f_i): Likewise.
47636         (RUN_TEST_LOOP_f_i): Likewise.
47637         (RUN_TEST_f_i_tg): Likewise.
47638         (RUN_TEST_LOOP_f_i_tg): Likewise.
47639         (RUN_TEST_ff_i_tg): Likewise.
47640         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47641         (RUN_TEST_f_b): Likewise.
47642         (RUN_TEST_LOOP_f_b): Likewise.
47643         (RUN_TEST_f_b_tg): Likewise.
47644         (RUN_TEST_LOOP_f_b_tg): Likewise.
47645         (RUN_TEST_f_l): Likewise.
47646         (RUN_TEST_LOOP_f_l): Likewise.
47647         (RUN_TEST_f_L): Likewise.
47648         (RUN_TEST_LOOP_f_L): Likewise.
47649         (RUN_TEST_sincos): Likewise.
47650         (RUN_TEST_LOOP_sincos): Likewise.
47652 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
47654         [BZ #15480]
47655         [BZ #15485]
47656         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
47657         main case of finite arguments, set rounding mode to FE_TONEAREST
47658         and discard exceptions.
47659         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
47660         exceptions.
47661         (remainder_tonearest_test_data): New variable.
47662         (remainder_test_tonearest): New function.
47663         (remainder_towardzero_test_data): New variable.
47664         (remainder_test_towardzero): New function.
47665         (remainder_downward_test_data): New variable.
47666         (remainder_test_downward): New function.
47667         (remainder_upward_test_data): New variable.
47668         (remainder_test_upward): New function.
47669         (main): Call the new test functions.
47671         * math/libm-test.inc (struct test_f_f1_data): Remove field
47672         extra_init.
47673         (struct test_fF_f1_data): Likewise.
47674         (struct test_ffI_f1_data): Likewise.
47675         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
47676         based on value of EXTRA_EXPECTED.
47677         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47678         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
47679         EXTRA_VAR based on value of EXTRA_EXPECTED.
47680         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47681         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
47682         EXTRA_VAR based on value of EXTRA_EXPECTED.
47683         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47684         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
47685         EXTRA_VAR based on value of EXTRA_EXPECTED.
47686         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47687         * math/gen-libm-test.pl (parse_args): Don't output initializers
47688         for extra output values.
47690         * math/libm-test.inc (check_int): Expect result to be exactly
47691         equal to expected value and do not handle ulps.
47692         (check_long): Likewise.
47693         (check_longlong): Likewise.
47695         * math/libm-test.inc (ceil_test_data): Test for "inexact"
47696         exceptions.
47697         (cimag_test_data): Likewise.
47698         (conj_test_data): Likewise.
47699         (copysign_test_data): Likewise.
47700         (cproj_test_data): Likewise.
47701         (creal_test_data): Likewise.
47702         (fabs_test_data): Likewise.
47703         (fdim_test_data): Likewise.
47704         (finite_test_data): Likewise.
47705         (floor_test_data): Likewise.
47706         (fmax_test_data): Likewise.
47707         (fmin_test_data): Likewise.
47708         (fmod_test_data): Likewise.
47709         (fpclassify_test_data): Likewise.
47710         (frexp_test_data): Likewise.
47711         (ilogb_test_data): Likewise.
47712         (isfinite_test_data): Likewise.
47713         (isgreater_test_data): Likewise.
47714         (isgreaterequal_test_data): Likewise.
47715         (isinf_test_data): Likewise.
47716         (isless_test_data): Likewise.
47717         (islessequal_test_data): Likewise.
47718         (islessgreater_test_data): Likewise.
47719         (isnan_test_data): Likewise.
47720         (isnormal_test_data): Likewise.
47721         (issignaling_test_data): Likewise.
47722         (isunordered_test_data): Likewise.
47723         (ldexp_test_data): Likewise.
47724         (lrint_test_data): Likewise.
47725         (lrint_test_data) [TEST_FLOAT]: Disable one test.
47726         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
47727         (lrint_tonearest_test_data): Test for "inexact" exceptions.
47728         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47729         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
47730         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47731         test input.
47732         (lrint_towardzero_test_data): Test for "inexact" exceptions.
47733         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47734         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
47735         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
47736         that test input.
47737         (lrint_downward_test_data): Test for "inexact" exceptions.
47738         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47739         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
47740         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47741         test input.
47742         (lrint_upward_test_data): Test for "inexact" exceptions.
47743         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
47744         test input.
47745         (llrint_test_data): Test for "inexact" exceptions.
47746         (llrint_test_data) [TEST_FLOAT]: Disable one test.
47747         (llrint_tonearest_test_data): Test for "inexact" exceptions.
47748         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47749         (llrint_towardzero_test_data): Test for "inexact" exceptions.
47750         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47751         (llrint_downward_test_data): Test for "inexact" exceptions.
47752         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47753         (llrint_upward_test_data): Test for "inexact" exceptions.
47754         (logb_test_data): Likewise.
47755         (logb_downward_test_data): Likewise.
47756         (nextafter_test_data): Likewise.
47757         (nexttoward_test_data): Likewise.
47758         (remainder_test_data): Likewise.
47759         (remquo_test_data): Likewise.
47760         (scalbn_test_data): Likewise.
47761         (scalbln_test_data): Likewise.
47762         (signbit_test_data): Likewise.
47763         (sqrt_test_data): Likewise.
47764         (significand_test_data): Likewise.
47766 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47768         [BZ #15424]
47769         * benchtests/bench-modf.c (struct args): Mark arg0 as
47770         volatile.
47771         * scripts/bench.pl: Mark members of struct args as volatile.
47773 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47775         [BZ # 15497]
47776         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
47777         negative infinity on POWER6 or lower.
47778         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
47780 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
47782         [BZ #15442]
47783         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
47784         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
47785         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
47786         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
47787         (_FP_SETQNAN): New macro.
47788         (_FP_SETQNAN_SEMIRAW): Likewise.
47789         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
47790         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
47791         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
47792         (FP_EXTEND): Use _FP_FRAC_SNANP.
47793         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
47794         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
47795         into account.
47796         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47797         New macro.
47798         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47799         Likewise.
47801 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47803         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
47804         with DIVIDE_BY_ZERO_EXCEPTION.
47805         (gamma_test_data): Likewise.
47806         (lgamma_test_data): Likewise.
47807         (log_test_data): Likewise.
47808         (log10_test_data): Likewise.
47809         (log2_test_data): Likewise.
47810         (tgamma_test_data): Likewise.
47812         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
47813         (acos_test_tonearest): Likewise.
47814         (acos_test_towardzero): Likewise.
47815         (acos_test_downward): Likewise.
47816         (acos_test_upward): Likewise.
47817         (acosh_test): Likewise.
47818         (asin_test): Likewise.
47819         (asin_test_tonearest): Likewise.
47820         (asin_test_towardzero): Likewise.
47821         (asin_test_downward): Likewise.
47822         (asin_test_upward): Likewise.
47823         (asinh_test): Likewise.
47824         (atan_test): Likewise.
47825         (atanh_test): Likewise.
47826         (atan2_test): Likewise.
47827         (cabs_test): Likewise.
47828         (cacos_test): Likewise.
47829         (cacosh_test): Likewise.
47830         (casin_test): Likewise.
47831         (casinh_test): Likewise.
47832         (catan_test): Likewise.
47833         (catanh_test): Likewise.
47834         (cbrt_test): Likewise.
47835         (ccos_test): Likewise.
47836         (ccosh_test): Likewise.
47837         (cexp_test): Likewise.
47838         (clog_test): Likewise.
47839         (clog10_test): Likewise.
47840         (cos_test): Likewise.
47841         (cos_test_tonearest): Likewise.
47842         (cos_test_towardzero): Likewise.
47843         (cos_test_downward): Likewise.
47844         (cos_test_upward): Likewise.
47845         (cosh_test): Likewise.
47846         (cosh_test_tonearest): Likewise.
47847         (cosh_test_towardzero): Likewise.
47848         (cosh_test_downward): Likewise.
47849         (cosh_test_upward): Likewise.
47850         (cpow_test): Likewise.
47851         (csin_test): Likewise.
47852         (csinh_test): Likewise.
47853         (csqrt_test): Likewise.
47854         (ctan_test): Likewise.
47855         (ctan_test_tonearest): Likewise.
47856         (ctan_test_towardzero): Likewise.
47857         (ctan_test_downward): Likewise.
47858         (ctan_test_upward): Likewise.
47859         (ctanh_test): Likewise.
47860         (ctanh_test_tonearest): Likewise.
47861         (ctanh_test_towardzero): Likewise.
47862         (ctanh_test_downward): Likewise.
47863         (ctanh_test_upward): Likewise.
47864         (erf_test): Likewise.
47865         (erfc_test): Likewise.
47866         (exp_test): Likewise.
47867         (exp_test_tonearest): Likewise.
47868         (exp_test_towardzero): Likewise.
47869         (exp_test_downward): Likewise.
47870         (exp_test_upward): Likewise.
47871         (exp10_test): Likewise.
47872         (exp2_test): Likewise.
47873         (expm1_test): Likewise.
47874         (fmod_test): Likewise.
47875         (gamma_test): Likewise.
47876         (hypot_test): Likewise.
47877         (j0_test): Likewise.
47878         (j1_test): Likewise.
47879         (jn_test): Likewise.
47880         (lgamma_test): Likewise.
47881         (log_test): Likewise.
47882         (log10_test): Likewise.
47883         (log1p_test): Likewise.
47884         (log2_test): Likewise.
47885         (logb_test_downward): Likewise.
47886         (pow_test): Likewise.
47887         (pow_test_tonearest): Likewise.
47888         (pow_test_towardzero): Likewise.
47889         (pow_test_downward): Likewise.
47890         (pow_test_upward): Likewise.
47891         (remainder_test): Likewise.
47892         (remquo_test): Likewise.
47893         (sin_test): Likewise.
47894         (sin_test_tonearest): Likewise.
47895         (sin_test_towardzero): Likewise.
47896         (sin_test_downward): Likewise.
47897         (sin_test_upward): Likewise.
47898         (sincos_test): Likewise.
47899         (sinh_test): Likewise.
47900         (sinh_test_tonearest): Likewise.
47901         (sinh_test_towardzero): Likewise.
47902         (sinh_test_downward): Likewise.
47903         (sinh_test_upward): Likewise.
47904         (sqrt_test): Likewise.
47905         (tan_test): Likewise.
47906         (tan_test_tonearest): Likewise.
47907         (tan_test_towardzero): Likewise.
47908         (tan_test_downward): Likewise.
47909         (tan_test_upward): Likewise.
47910         (tanh_test): Likewise.
47911         (tgamma_test): Likewise.
47912         (y0_test): Likewise.
47913         (y1_test): Likewise.
47914         (yn_test): Likewise.
47916         * math/gen-libm-test.pl (adjust_arg): Remove function.
47917         (special_function): Remove argument $in_func.  Only handle
47918         generating output for tables of tests, not inside functions.
47919         (parse_args): Likewise.
47920         (generate_testfile): Remove variable $in_func.  Update call to
47921         parse_args.
47922         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
47923         (MINUS_ZERO_INIT): Rename macro to minus_zero.
47924         (PLUS_INFTY_INIT): Rename macro to plus_infty.
47925         (MINUS_INFTY_INIT): Rename macro to minus_infty.
47926         (QNAN_VALUE_INIT): Rename macro to qnan_value.
47927         (MAX_VALUE_INIT): Rename macro to max_value.
47928         (MIN_VALUE_INIT): Rename macro to min_value.
47929         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
47930         (plus_zero): Remove variable.
47931         (minus_zero): Likewise.
47932         (plus_infty): Likewise.
47933         (minus_infty): Likewise.
47934         (qnan_value): Likewise.
47935         (max_value): Likewise.
47936         (min_value): Likewise.
47937         (min_subnorm_value): Likewise.
47939 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47941         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
47942         uint64_t or uint32_t usage.
47943         * crypt/sha256-block.c: Likewise.
47944         * crypt/sha256-crypt.c: Likewise.
47945         * crypt/sha256.c: Likewise.
47946         * crypt/sha512-block.c: Likewise.
47947         * crypt/sha512-crypt.c: Likewise.
47948         * crypt/sha512.c: Likewise.
47949         * debug/backtrace-tst.c: Likewise.
47950         * debug/pcprofiledump.c: Likewise.
47951         * elf/cache.c: Likewise.
47952         * elf/dl-cache.c: Likewise.
47953         * elf/dl-misc.c: Likewise.
47954         * elf/dl-profile.c: Likewise.
47955         * elf/dl-support.c: Likewise.
47956         * elf/ldconfig.c: Likewise.
47957         * elf/sprof.c: Likewise.
47958         * iconv/dummy-repertoire.c: Likewise.
47959         * iconv/iconv_charmap.c: Likewise.
47960         * iconv/skeleton.c: Likewise.
47961         * iconvdata/8bit-generic.c: Likewise.
47962         * iconvdata/cp737.h: Likewise.
47963         * iconvdata/cp775.h: Likewise.
47964         * iconvdata/ibm1008.h: Likewise.
47965         * iconvdata/ibm1025.h: Likewise.
47966         * iconvdata/ibm1046.h: Likewise.
47967         * iconvdata/ibm1097.h: Likewise.
47968         * iconvdata/ibm1112.h: Likewise.
47969         * iconvdata/ibm1122.h: Likewise.
47970         * iconvdata/ibm1123.h: Likewise.
47971         * iconvdata/ibm1124.h: Likewise.
47972         * iconvdata/ibm1129.h: Likewise.
47973         * iconvdata/ibm1130.h: Likewise.
47974         * iconvdata/ibm1132.h: Likewise.
47975         * iconvdata/ibm1133.h: Likewise.
47976         * iconvdata/ibm1137.h: Likewise.
47977         * iconvdata/ibm1140.h: Likewise.
47978         * iconvdata/ibm1141.h: Likewise.
47979         * iconvdata/ibm1142.h: Likewise.
47980         * iconvdata/ibm1143.h: Likewise.
47981         * iconvdata/ibm1144.h: Likewise.
47982         * iconvdata/ibm1145.h: Likewise.
47983         * iconvdata/ibm1146.h: Likewise.
47984         * iconvdata/ibm1147.h: Likewise.
47985         * iconvdata/ibm1148.h: Likewise.
47986         * iconvdata/ibm1149.h: Likewise.
47987         * iconvdata/ibm1153.h: Likewise.
47988         * iconvdata/ibm1154.h: Likewise.
47989         * iconvdata/ibm1155.h: Likewise.
47990         * iconvdata/ibm1156.h: Likewise.
47991         * iconvdata/ibm1157.h: Likewise.
47992         * iconvdata/ibm1158.h: Likewise.
47993         * iconvdata/ibm1160.h: Likewise.
47994         * iconvdata/ibm1161.h: Likewise.
47995         * iconvdata/ibm1162.h: Likewise.
47996         * iconvdata/ibm1163.h: Likewise.
47997         * iconvdata/ibm1164.h: Likewise.
47998         * iconvdata/ibm1166.h: Likewise.
47999         * iconvdata/ibm1167.h: Likewise.
48000         * iconvdata/ibm12712.h: Likewise.
48001         * iconvdata/ibm1390.h: Likewise.
48002         * iconvdata/ibm1399.h: Likewise.
48003         * iconvdata/ibm16804.h: Likewise.
48004         * iconvdata/ibm4517.h: Likewise.
48005         * iconvdata/ibm4899.h: Likewise.
48006         * iconvdata/ibm4909.h: Likewise.
48007         * iconvdata/ibm4971.h: Likewise.
48008         * iconvdata/ibm5347.h: Likewise.
48009         * iconvdata/ibm803.h: Likewise.
48010         * iconvdata/ibm856.h: Likewise.
48011         * iconvdata/ibm901.h: Likewise.
48012         * iconvdata/ibm902.h: Likewise.
48013         * iconvdata/ibm9030.h: Likewise.
48014         * iconvdata/ibm9066.h: Likewise.
48015         * iconvdata/ibm921.h: Likewise.
48016         * iconvdata/ibm922.h: Likewise.
48017         * iconvdata/ibm9448.h: Likewise.
48018         * iconvdata/isiri-3342.h: Likewise.
48019         * iconvdata/jis0201.h: Likewise.
48020         * include/link.h: Likewise.
48021         * include/netdb.h: Likewise.
48022         * inet/check_native.c: Likewise.
48023         * inet/check_pf.c: Likewise.
48024         * inet/getipv4sourcefilter.c: Likewise.
48025         * inet/getnameinfo.c: Likewise.
48026         * inet/getsourcefilter.c: Likewise.
48027         * inet/htonl.c: Likewise.
48028         * inet/setipv4sourcefilter.c: Likewise.
48029         * inet/setsourcefilter.c: Likewise.
48030         * inet/test-inet6_opt.c: Likewise.
48031         * inet/tst-network.c: Likewise.
48032         * locale/C-collate.c: Likewise.
48033         * locale/C-ctype.c: Likewise.
48034         * locale/C-time.c: Likewise.
48035         * locale/C-translit.h: Likewise.
48036         * locale/loadarchive.c: Likewise.
48037         * locale/programs/3level.h: Likewise.
48038         * locale/programs/charmap.c: Likewise.
48039         * locale/programs/charmap.h: Likewise.
48040         * locale/programs/ld-address.c: Likewise.
48041         * locale/programs/ld-collate.c: Likewise.
48042         * locale/programs/ld-ctype.c: Likewise.
48043         * locale/programs/ld-identification.c: Likewise.
48044         * locale/programs/ld-measurement.c: Likewise.
48045         * locale/programs/ld-messages.c: Likewise.
48046         * locale/programs/ld-monetary.c: Likewise.
48047         * locale/programs/ld-name.c: Likewise.
48048         * locale/programs/ld-numeric.c: Likewise.
48049         * locale/programs/ld-paper.c: Likewise.
48050         * locale/programs/ld-telephone.c: Likewise.
48051         * locale/programs/ld-time.c: Likewise.
48052         * locale/programs/linereader.c: Likewise.
48053         * locale/programs/locale.c: Likewise.
48054         * locale/programs/locarchive.c: Likewise.
48055         * locale/programs/locfile.h: Likewise.
48056         * locale/programs/repertoire.c: Likewise.
48057         * locale/programs/simple-hash.c: Likewise.
48058         * locale/programs/simple-hash.h: Likewise.
48059         * malloc/memusage.c: Likewise.
48060         * malloc/memusagestat.c: Likewise.
48061         * nis/nis_defaults.c: Likewise.
48062         * nis/nis_hash.c: Likewise.
48063         * nis/nis_print.c: Likewise.
48064         * nis/nis_xdr.c: Likewise.
48065         * nscd/connections.c: Likewise.
48066         * nscd/hstcache.c: Likewise.
48067         * nscd/nscd_gethst_r.c: Likewise.
48068         * nscd/nscd_getserv_r.c: Likewise.
48069         * nscd/nscd_helper.c: Likewise.
48070         * nscd/servicescache.c: Likewise.
48071         * nss/makedb.c: Likewise.
48072         * nss/nss_db/db-XXX.c: Likewise.
48073         * nss/nss_db/db-initgroups.c: Likewise.
48074         * nss/nss_db/db-netgrp.c: Likewise.
48075         * nss/nss_files/files-network.c: Likewise.
48076         * nss/nss_files/files-parse.c: Likewise.
48077         * posix/bug-regex5.c: Likewise.
48078         * posix/fnmatch_loop.c: Likewise.
48079         * posix/regcomp.c: Likewise.
48080         * posix/regexec.c: Likewise.
48081         * posix/tst-rfc3484-2.c: Likewise.
48082         * posix/tst-rfc3484-3.c: Likewise.
48083         * posix/tst-rfc3484.c: Likewise.
48084         * resolv/nss_dns/dns-canon.c: Likewise.
48085         * resolv/nss_dns/dns-network.c: Likewise.
48086         * resolv/res_init.c: Likewise.
48087         * resolv/res_mkquery.c: Likewise.
48088         * resolv/tst-aton.c: Likewise.
48089         * stdlib/cxa_atexit.c: Likewise.
48090         * stdlib/cxa_finalize.c: Likewise.
48091         * stdlib/gen-fpioconst.c: Likewise.
48092         * stdlib/strtol_l.c: Likewise.
48093         * string/tst-endian.c: Likewise.
48094         * sunrpc/auth_des.c: Likewise.
48095         * sunrpc/clnt_udp.c: Likewise.
48096         * sunrpc/rtime.c: Likewise.
48097         * sunrpc/svcauth_des.c: Likewise.
48098         * sunrpc/xdr.c: Likewise.
48099         * sunrpc/xdr_intXX_t.c: Likewise.
48100         * sunrpc/xdr_rec.c: Likewise.
48101         * sysdeps/generic/ldconfig.h: Likewise.
48102         * sysdeps/generic/ldsodefs.h: Likewise.
48103         * sysdeps/generic/memusage.h: Likewise.
48104         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48105         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
48106         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
48107         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48108         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48109         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48110         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48111         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48112         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48113         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48114         * sysdeps/posix/getaddrinfo.c: Likewise.
48115         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48116         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48117         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48118         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48119         * sysdeps/powerpc/test-gettimebase.c: Likewise.
48120         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48121         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
48122         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
48123         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48124         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
48125         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48126         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48127         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
48128         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
48129         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
48130         * sysdeps/x86_64/dl-tls.h: Likewise.
48131         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
48132         * time/alt_digit.c: Likewise.
48133         * time/era.c: Likewise.
48134         * wcsmbs/tst-c16c32-1.c: Likewise.
48136 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48138         * math/libm-test.inc (struct test_sincos_data): New type.
48139         (RUN_TEST_LOOP_sincos): New macro.
48140         (sincos_test_data): New variable.
48141         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
48143 2013-05-16  Richard Henderson  <rth@redhat.com>
48145         * math/atest-exp2.c (LIMB64): New macro.
48146         (CONSTSZ): New macro.
48147         (mp_exp1, mp_exp_m1, mp_log2): New variables.
48148         (hexdig): Move ...
48149         (print_mpn_fp): ... to function scope.
48150         (read_mpn_hex): Remove.
48151         (get_log2): Remove.
48152         (exp2_mpn): Use mp_log2.
48153         (main): Use mp_exp1.
48155 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48157         * math/libm-test.inc: Remove comment about not testing "inexact"
48158         exceptions.
48159         (INEXACT_EXCEPTION): New macro.
48160         (NO_INEXACT_EXCEPTION): Likewise.
48161         (INVALID_EXCEPTION_OK): Update value.
48162         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48163         (OVERFLOW_EXCEPTION_OK): Likewise.
48164         (UNDERFLOW_EXCEPTION_OK): Likewise.
48165         (IGNORE_ZERO_INF_SIGN): Likewise.
48166         (ERRNO_UNCHANGED): Likewise.
48167         (ERRNO_EDOM): Likewise.
48168         (ERRNO_ERANGE): Likewise.
48169         (test_exceptions): Handle testing "inexact" exceptions.
48170         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
48171         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
48172         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
48173         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
48174         INEXACT_EXCEPTION.
48175         (rint_towardzero_test_data): Likewise.
48176         (rint_downward_test_data): Likewise.
48177         (rint_upward_test_data): Likewise.
48179         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48180         with OVERFLOW_EXCEPTION.
48181         (exp10_test_data): Likewise.
48182         (exp2_test_data): Likewise.
48183         (expm1_test_data): Likewise.
48184         (lgamma_test_data): Likewise.
48185         (pow_test_data): Likewise.
48186         (tgamma_test_data): Likewise.
48187         (yn_test_data): Remove duplicate test of overflow.
48189         * math/libm-test.inc (struct test_cc_c_data): New type.
48190         (RUN_TEST_LOOP_cc_c): New macro.
48191         (cpow_test_data): New variable.
48192         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48194         * math/libm-test.inc (struct test_f_L_data): New type.
48195         (RUN_TEST_LOOP_f_L): New macro.
48196         (llrint_test_data): New variable.
48197         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48198         (llrint_tonearest_test_data): New variable.
48199         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48200         (llrint_towardzero_test_data): New variable.
48201         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48202         (llrint_downward_test_data): New variable.
48203         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48204         (llrint_upward_test_data): New variable.
48205         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48206         (llround_test_data): New variable.
48207         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48209 2013-05-13  Peter Collingbourne  <pcc@google.com>
48211         * math/atest-exp2.c (get_log2): Remove const attribute.
48213 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48215         * math/libm-test.inc (struct test_f_l_data): New type.
48216         (RUN_TEST_LOOP_f_l): New macro.
48217         (lrint_test_data): New variable.
48218         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
48219         (lrint_tonearest_test_data): New variable.
48220         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
48221         (lrint_towardzero_test_data): New variable.
48222         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
48223         (lrint_downward_test_data): New variable.
48224         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
48225         (lrint_upward_test_data): New variable.
48226         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
48227         (lround_test_data): New variable.
48228         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
48230 2013-05-15  Peter Collingbourne  <pcc@google.com>
48232         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
48233         (EXTRACT_WORDS64) Use where appropriate.
48234         (INSERT_WORDS64) Likewise.
48236         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
48237         constraints with x constraints.
48238         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
48240         * malloc/obstack.c (_obstack_compat): Add initializer.
48242 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48244         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
48245         si_trapno and add si_addr_lsb to _sifields.sigfault.
48246         (si_trapno): Remove macro.
48247         (si_addr_lsb): Define new macro.
48248         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48250 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48252         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
48253         instead of TEST_f_l.
48254         (llrint_test_tonearest): Likewise.
48255         (llrint_test_towardzero): Likewise.
48256         (llrint_test_downward): Likewise.
48257         (llrint_test_upward): Likewise.
48258         (llround_test): Likewise.
48260         * math/libm-test.inc (struct test_f_i_data): Add comment.
48261         (RUN_TEST_LOOP_f_b): New macro.
48262         (RUN_TEST_LOOP_f_b_tg): Likewise.
48263         (finite_test_data): New variable.
48264         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
48265         (isfinite_test_data): New variable.
48266         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48267         (isinf_test_data): New variable.
48268         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48269         (isnan_test_data): New variable.
48270         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48271         (isnormal_test_data): New variable.
48272         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48273         (issignaling_test_data): New variable.
48274         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48275         (signbit_test_data): New variable.
48276         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48278         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
48279         with INVALID_EXCEPTION.
48280         (acosh_test_data): Likewise.
48281         (asin_test_data): Likewise.
48282         (atanh_test_data): Likewise.
48283         (fmod_test_data): Likewise.
48284         (log_test_data): Likewise.
48285         (log10_test_data): Likewise.
48286         (log2_test_data): Likewise.
48287         (pow_test_data): Likewise.
48288         (sqrt_test_data): Likewise.
48289         (y0_test_data): Likewise.
48290         (y1_test_data): Likewise.
48291         (yn_test_data): Likewise.
48293         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48294         function contents.
48296         * math/libm-test.inc (struct test_ff_i_data): New type.
48297         (RUN_TEST_LOOP_ff_i_tg): New macro.
48298         (isgreater_test_data): New variable.
48299         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48300         (isgreaterequal_test_data): New variable.
48301         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48302         (isless_test_data): New variable.
48303         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48304         (islessequal_test_data): New variable.
48305         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48306         (islessgreater_test_data): New variable.
48307         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48308         (isunordered_test_data): New variable.
48309         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48311 2013-05-14  David S. Miller  <davem@davemloft.net>
48313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48315 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
48317         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48319         * math/libm-test.inc (struct test_fF_f1_data): Change type of
48320         extra_test to int.
48321         (struct test_f_i_data): Change type of max_ulp to int.
48323         * math/libm-test.inc (test_ffI_f1_data): New type.
48324         (RUN_TEST_LOOP_ffI_f1): New macro.
48325         (remquo_test_data): New variable.
48326         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48328         * setjmp/tst-setjmp-fp.c: New file.
48329         * setjmp/Makefile (tests): Add tst-setjmp-fp.
48330         (link-libm): New variable.
48331         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48333         * math/libm-test.inc (struct test_f_i_data): New type.
48334         (RUN_TEST_LOOP_f_i): New macro.
48335         (RUN_TEST_LOOP_f_i_tg): Likewise.
48336         (fpclassify_test_data): New variable.
48337         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48338         (ilogb_test_data): New variable.
48339         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48341         * math/libm-test.inc (scalbln_test): Correct function name in END
48342         call.
48344         * math/libm-test.inc (struct test_f_f1_data): Add comment.
48345         (RUN_TEST_LOOP_fI_f1): New macro.
48346         (frexp_test_data): New variable.
48347         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48349         * math/libm-test.inc (struct test_fF_f1_data): New type.
48350         (RUN_TEST_LOOP_fF_f1): New macro.
48351         (modf_test_data): New variable.
48352         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48354         * math/libm-test.inc (struct test_f_f1_data): New type.
48355         (RUN_TEST_LOOP_f_f1): New macro.
48356         (gamma_test_data): New variable.
48357         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48358         (lgamma_test_data): New variable.
48359         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48361 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
48363         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48364         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48365         (main): Comment "tls" pseudo-hwcap.
48367 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
48369         * math/libm-test.inc (struct test_fl_f_data): New type.
48370         (RUN_TEST_LOOP_fl_f): New variable.
48371         (scalbln_test_data): New variable.
48372         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
48374         * math/libm-test.inc (struct test_fi_f_data): New type.
48375         (RUN_TEST_LOOP_fi_f): New macro.
48376         (ldexp_test_data): New variable.
48377         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48378         (scalbn_test_data): New variable.
48379         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
48381         * math/libm-test.inc (struct test_c_f_data): New type.
48382         (RUN_TEST_LOOP_c_f): New macro.
48383         (cabs_test_data): New variable.
48384         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
48385         (carg_test_data): New variable.
48386         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
48387         (cimag_test_data): New variable.
48388         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48389         (creal_test_data): New variable.
48390         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
48392         * math/libm-test.inc (struct test_if_f_data): New type.
48393         (RUN_TEST_LOOP_if_f): New macro.
48394         (jn_test_data): New variable.
48395         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
48396         (yn_test_data): New variable.
48397         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48399         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
48401 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48403         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
48404         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
48406 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48408         * benchtests/Makefile (CPPFLAGS-nonlib): Add
48409         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
48410         (bench-deps): Add bench-timing.h.
48411         * benchtests-bench-skeleton.c: Include bench-timing.h.
48412         (main): Use TIMING_* macros instead of clock_gettime.
48413         * benchtests/bench-timing.h: New file.
48415         [BZ #14582]
48416         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
48417         Renamed from _LIB_VERSION.
48418         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
48420 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
48422         * math/libm-test.inc (struct test_fff_f_data): New type.
48423         (RUN_TEST_LOOP_fff_f): New macro.
48424         (fma_test_data): New variable.
48425         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48426         (fma_towardzero_test_data): New variable.
48427         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
48428         (fma_downward_test_data): New variable.
48429         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
48430         (fma_upward_test_data): New variable.
48431         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
48433         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
48434         (struct test_c_c_data): New type.
48435         (RUN_TEST_LOOP_c_c): New macro.
48436         (cacos_test_data): New variable.
48437         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
48438         (cacosh_test_data): New variable.
48439         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
48440         (casin_test_data): New variable.
48441         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
48442         (casinh_test_data): New variable.
48443         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
48444         (catan_test_data): New variable.
48445         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
48446         (catanh_test_data): New variable.
48447         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
48448         (ccos_test_data): New variable.
48449         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
48450         (ccosh_test_data): New variable.
48451         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
48452         (cexp_test_data): New variable.
48453         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
48454         (clog_test_data): New variable.
48455         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
48456         (clog10_test_data): New variable.
48457         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
48458         (conj_test_data): New variable.
48459         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
48460         (cproj_test_data): New variable.
48461         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
48462         (csin_test_data): New variable.
48463         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
48464         (csinh_test_data): New variable.
48465         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
48466         (csqrt_test_data): New variable.
48467         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
48468         (ctan_test_data): New variable.
48469         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
48470         (ctan_tonearest_test_data): New variable.
48471         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48472         (ctan_towardzero_test_data): New variable.
48473         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48474         (ctan_downward_test_data): New variable.
48475         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48476         (ctan_upward_test_data): New variable.
48477         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48478         (ctanh_test_data): New variable.
48479         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
48480         (ctanh_tonearest_test_data): New variable.
48481         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48482         (ctanh_towardzero_test_data): New variable.
48483         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48484         (ctanh_downward_test_data): New variable.
48485         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48486         (ctanh_upward_test_data): New variable.
48487         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48488         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
48489         of BUILD_COMPLEX.
48491         * math/libm-test.inc (struct test_ff_f_data): New type.
48492         (struct test_ff_f_data_nexttoward): Likewise.
48493         (RUN_TEST_LOOP_2_f): New macro.
48494         (RUN_TEST_LOOP_ff_f): Likewise.
48495         (atan2_test_data): New variable.
48496         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
48497         (copysign_test_data): New variable.
48498         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
48499         (fdim_test_data): New variable.
48500         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
48501         (fmax_test_data): New variable.
48502         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
48503         (fmin_test_data): New variable.
48504         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
48505         (fmod_test_data): New variable.
48506         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
48507         (hypot_test_data): New variable.
48508         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
48509         (nextafter_test_data): New variable.
48510         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
48511         (nexttoward_test_data): New variable.
48512         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
48513         (pow_test_data): New variable.
48514         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
48515         (pow_tonearest_test_data): New variable.
48516         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
48517         (pow_towardzero_test_data): New variable.
48518         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
48519         (pow_downward_test_data): New variable.
48520         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
48521         (pow_upward_test_data): New variable.
48522         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
48523         (remainder_test_data): New variable.
48524         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
48525         (scalb_test_data): New variable.
48526         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
48527         * sysdeps/i386/fpu/libm-test-ulps: Update.
48529 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
48531         * math/libm-test.inc (fma_test): Use max_value instead of local
48532         variable fltmax.
48533         (nextafter_test): Likewise.
48535         * math/libm-test.inc (acos_towardzero_test_data): New variable.
48536         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48537         (acos_downward_test_data): New variable.
48538         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48539         (acos_upward_test_data): New variable.
48540         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48541         (acosh_test_data): New variable.
48542         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
48543         (asin_test_data): New variable.
48544         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
48545         (asin_tonearest_test_data): New variable.
48546         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48547         (asin_towardzero_test_data): New variable.
48548         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48549         (asin_downward_test_data): New variable.
48550         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48551         (asin_upward_test_data): New variable.
48552         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48553         (asinh_test_data): New variable.
48554         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
48555         (atan_test_data): New variable.
48556         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
48557         (atanh_test_data): New variable.
48558         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
48559         (cbrt_test_data): New variable.
48560         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
48561         (ceil_test_data): New variable.
48562         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
48563         (cos_test_data): New variable.
48564         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
48565         (cos_tonearest_test_data): New variable.
48566         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48567         (cos_towardzero_test_data): New variable.
48568         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48569         (cos_downward_test_data): New variable.
48570         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48571         (cos_upward_test_data): New variable.
48572         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48573         (cosh_test_data): New variable.
48574         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
48575         (cosh_tonearest_test_data): New variable.
48576         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48577         (cosh_towardzero_test_data): New variable.
48578         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48579         (cosh_downward_test_data): New variable.
48580         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48581         (cosh_upward_test_data): New variable.
48582         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48583         (erf_test_data): New variable.
48584         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
48585         (erfc_test_data): New variable.
48586         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
48587         (exp_test_data): New variable.
48588         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
48589         (exp_tonearest_test_data): New variable.
48590         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48591         (exp_towardzero_test_data): New variable.
48592         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48593         (exp_downward_test_data): New variable.
48594         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48595         (exp_upward_test_data): New variable.
48596         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48597         (exp10_test_data): New variable.
48598         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
48599         (exp2_test_data): New variable.
48600         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
48601         (expm1_test_data): New variable.
48602         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
48603         (fabs_test_data): New variable.
48604         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
48605         (floor_test_data): New variable.
48606         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
48607         (j0_test_data): New variable.
48608         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
48609         (j1_test_data): New variable.
48610         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
48611         (log_test_data): New variable.
48612         (log_test): Run tests with RUN_TEST_LOOP_f_f.
48613         (log10_test_data): New variable.
48614         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
48615         (log1p_test_data): New variable.
48616         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
48617         (log2_test_data): New variable.
48618         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
48619         (logb_test_data): New variable.
48620         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
48621         (logb_downward_test_data): New variable.
48622         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48623         (nearbyint_test_data): New variable.
48624         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
48625         (rint_test_data): New variable.
48626         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
48627         (rint_tonearest_test_data): New variable.
48628         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48629         (rint_towardzero_test_data): New variable.
48630         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48631         (rint_downward_test_data): New variable.
48632         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48633         (rint_upward_test_data): New variable.
48634         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48635         (round_test_data): New variable.
48636         (round_test): Run tests with RUN_TEST_LOOP_f_f.
48637         (sin_test_data): New variable.
48638         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
48639         (sin_tonearest_test_data): New variable.
48640         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48641         (sin_towardzero_test_data): New variable.
48642         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48643         (sin_downward_test_data): New variable.
48644         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48645         (sin_upward_test_data): New variable.
48646         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48647         (sinh_test_data): New variable.
48648         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
48649         (sinh_tonearest_test_data): New variable.
48650         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48651         (sinh_towardzero_test_data): New variable.
48652         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48653         (sinh_downward_test_data): New variable.
48654         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48655         (sinh_upward_test_data): New variable.
48656         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48657         (sqrt_test_data): New variable.
48658         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
48659         (tan_test_data): New variable.
48660         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
48661         (tan_tonearest_test_data): New variable.
48662         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48663         (tan_towardzero_test_data): New variable.
48664         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48665         (tan_downward_test_data): New variable.
48666         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48667         (tan_upward_test_data): New variable.
48668         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48669         (tanh_test_data): New variable.
48670         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
48671         (tgamma_test_data): New variable.
48672         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
48673         (trunc_test_data): New variable.
48674         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
48675         (y0_test_data): New variable.
48676         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
48677         (y1_test_data): New variable.
48678         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
48679         (significand_test_data): New variable.
48680         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
48682 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
48684         [BZ #12387]
48685         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
48687 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48689         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
48691 2013-05-10  Andreas Jaeger  <aj@suse.de>
48693         [BZ #15448]
48694         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
48695         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
48697 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48699         * math/gen-libm-test.pl (adjust_arg): New function.
48700         (special_functions): Handle generating output in both functions
48701         and arrays.
48702         (parse_args): Likewise.
48703         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
48704         $in_func argument to parse_args.
48705         * math/libm-test.inc (struct test_f_f_data): New type.
48706         (IF_ROUND_INIT_): New macro.
48707         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
48708         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48709         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48710         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48711         (ROUND_RESTORE_): Likewise.
48712         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
48713         (ROUND_RESTORE_FE_TONEAREST): Likewise.
48714         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
48715         (ROUND_RESTORE_FE_UPWARD): Likewise.
48716         (RUN_TEST_LOOP_f_f): New macro.
48717         (acos_test_data): New variable.
48718         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
48719         (acos_tonearest_test_data): New variable.
48720         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48722 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48724         * benchtests/bench-skeleton.c (startup): Fix coding style.
48726 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48728         [BZ #6809]
48729         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
48730         negative infinity argument.
48731         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
48732         negative infinity argument.
48733         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
48734         negative infinity argument.
48735         * math/libm-test.inc (tgamma_test): Expect errno to be set for
48736         domain errors.
48738 2013-05-10  Florian Weimer  <fweimer@redhat.com>
48740         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
48741         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
48742         * iconv/iconv_prog.c (main): Likewise.
48743         * locale/programs/charmap-dir.c (charmap_readdir)
48744         (fopen_uncompressed): Likewise.
48745         * locale/programs/locfile.c (siblings_uncached)
48746         (write_locale_data): Use lstat64 instead of lstat.
48747         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
48748         stat.
48750 2013-05-10  Andreas Jaeger  <aj@suse.de>
48752         [BZ #15395]
48753         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
48754         localization.
48755         Include <locale.h>.
48757 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
48759         * elf/dl-close.c (_dl_close_worker): Add comments.
48761 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
48763         [BZ #15359]
48764         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
48765         high part of pi/2.
48766         (__ieee754_rem_pio2l): Update comments.
48768         [BZ #15429]
48769         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
48770         high part of pi/2.
48771         (__ieee754_rem_pio2l): Update comments.
48773         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
48774         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
48776         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
48777         M_PI_4l.
48779         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
48780         (M_PI_34_LOG10El): Likewise.
48781         (M_PI2_LOG10El): Likewise.
48782         (M_PI4_LOG10El): Likewise.
48783         (M_PI_LOG10El): Likewise.
48785 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48789 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
48791         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
48792         (MINUS_ZERO_INIT): Likewise.
48793         (PLUS_INFTY_INIT): Likewise.
48794         (MINUS_INFTY_INIT): Likewise.
48795         (QNAN_VALUE_INIT): Likewise.
48796         (MAX_VALUE_INIT): Likewise.
48797         (MIN_VALUE_INIT): Likewise.
48798         (MIN_SUBNORM_VALUE_INIT): Likewise.
48799         (plus_zero): Initialize with PLUS_ZERO_INIT.
48800         (minus_zero): Initialize with MINUS_ZERO_INIT.
48801         (plus_infty): Initialize with PLUS_INFTY_INIT.
48802         (minus_infty): Initialize with MINUS_INFTY_INIT.
48803         (qnan_value): Initialize with QNAN_VALUE_INIT.
48804         (max_value): Initialize with MAX_VALUE_INIT.
48805         (min_value): Initialize with MIN_VALUE_INIT.
48806         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
48808         * math/libm-test.inc (RUN_TEST_if_f): New macro.
48809         (jn_test): Use TEST_if_f instead of TEST_ff_f.
48810         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
48811         (yn_test): Use TEST_if_f instead of TEST_ff_f.
48813         * math/libm-test.inc (RUN_TEST_f_f): New macro.
48814         (RUN_TEST_2_f): Likewise.
48815         (RUN_TEST_ff_f): Likewise.
48816         (RUN_TEST_fi_f): Likewise.
48817         (RUN_TEST_fl_f): Likewise.
48818         (RUN_TEST_fff_f): Likewise.
48819         (RUN_TEST_c_f): Likewise.
48820         (RUN_TEST_f_f1): Likewise.
48821         (RUN_TEST_fF_f1): Likewise.
48822         (RUN_TEST_fI_f1): Likewise.
48823         (RUN_TEST_ffI_f1): Likewise.
48824         (RUN_TEST_c_c): Likewise.
48825         (RUN_TEST_cc_c): Likewise.
48826         (RUN_TEST_f_i): Likewise.
48827         (RUN_TEST_f_i_tg): Likewise.
48828         (RUN_TEST_ff_i_tg): Likewise.
48829         (RUN_TEST_f_b): Likewise.
48830         (RUN_TEST_f_b_tg): Likewise.
48831         (RUN_TEST_f_l): Likewise.
48832         (RUN_TEST_f_L): Likewise.
48833         (RUN_TEST_sincos): Likewise.
48834         * math/gen-libm-test.pl (new_test): Take new argument to indicate
48835         whether to show exceptions.  Do not include ");\n" in return
48836         value.
48837         (special_functions): Output call to RUN_TEST_sincos instead of
48838         check_float calls.  Update calls to new_test.
48839         (parse_args): Output call to single RUN_TEST_* macro instead of
48840         check_* calls and other assignments.  Update calls to new_test.
48842         [BZ #2546]
48843         [BZ #2560]
48844         [BZ #5159]
48845         [BZ #15426]
48846         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
48847         input to result for tgamma overflow.
48848         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
48849         (gamma_coeff): New variable.
48850         (NCOEFF): New macro.
48851         (gamma_positive): New function.
48852         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
48853         underflow here.  Use gamma_positive instead of exp (lgamma) for
48854         other arguments.
48855         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
48856         (gamma_coeff): New variable.
48857         (NCOEFF): New macro.
48858         (gammaf_positive): New function.
48859         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
48860         underflow here.  Use gamma_positive instead of exp (lgamma) for
48861         other arguments.
48862         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
48863         (gamma_coeff): New variable.
48864         (NCOEFF): New macro.
48865         (gammal_positive): New function.
48866         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
48867         underflow here.  Use gamma_positive instead of exp (lgamma) for
48868         other arguments.
48869         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
48870         (gamma_coeff): New variable.
48871         (NCOEFF): New macro.
48872         (gammal_positive): New function.
48873         (__ieee754_gammal_r): Handle positive infinity, overflow and
48874         underflow here.  Handle NaN the same as positive infinity.  Remove
48875         check x < 0xffffffff for negative integers.  Use gamma_positive
48876         instead of exp (lgamma) for other arguments.
48877         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
48878         (gamma_coeff): New variable.
48879         (NCOEFF): New macro.
48880         (gammal_positive): New function.
48881         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
48882         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
48883         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
48884         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
48885         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
48886         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
48887         * sysdeps/generic/math_private.h (__gamma_productf): New
48888         prototype.
48889         (__gamma_product): Likewise.
48890         (__gamma_productl): Likewise.
48891         * math/Makefile (libm-calls): Add gamma_product.
48892         * math/libm-test.inc (tgamma_test): Add more tests.
48893         * sysdeps/i386/fpu/libm-test-ulps: Update.
48894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48896 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
48898         * benchtests/bench-skeleton.c (main): Preheat CPU.
48900 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
48902         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
48904 2013-05-07  Roland McGrath  <roland@hack.frob.com>
48906         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
48907         and _dl_skip_args_internal.
48909 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
48911         * manual/message.texi (Message Translation): Talk about users.
48912         Message to key mapping impacts design.
48914 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48916         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
48918         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
48920         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
48921         * sysdeps/wordsize-64/glob64.c: ... here.
48923         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
48924         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
48925         New macros.
48927         * debug/getlogin_r_chk.c: Moved to ...
48928         * login/getlogin_r_chk.c: ... here.
48929         * debug/Makefile (routines): Move getlogin_r_chk to ...
48930         * login/Makefile (routines): ... here.
48931         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
48932         * login/Versions (libc: GLIBC_2.4): ... here.
48934         * io/poll.c (__poll): Renamed from poll.
48935         Add libc_hidden_def.
48936         (poll): Define as weak alias.
48938         * debug/ptsname_r_chk.c: Moved to ...
48939         * login/ptsname_r_chk.c: ... here.
48940         * debug/Makefile (routines): Move ptsname_r_chk to ...
48941         * login/Makefile (routines): ... here.
48942         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
48943         * login/Versions (libc: GLIBC_2.4): ... here.
48945         * posix/getlogin.c: Moved to ...
48946         * login/getlogin.c: ... here.
48947         * posix/getlogin_r.c: Moved to ...
48948         * login/getlogin_r.c: ... here.
48949         * posix/getlogin_r.c: Moved to ...
48950         * login/getlogin_r.c: ... here.
48951         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
48952         * login/Makefile (routines): ... here.
48953         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
48954         * login/Versions (libc: GLIBC_2.0): ... here.
48956         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
48957         (setrlimit): Define as weak alias.
48959         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
48960         Call __ names for open, ftruncate, and close.
48961         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
48962         (truncate): Define as weak alias.
48964 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
48966         * math/gen-libm-test.pl (parse_args): Initialize x before each
48967         test of frexp, modf and remquo.
48969         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
48970         test signgam value.
48972 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48974         [BZ #15418]
48975         [BZ #15419]
48976         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
48977         internal tests.
48978         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48980 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48982         * elf/dl-writev.h: New file.
48983         * elf/dl-misc.c: Include it.
48984         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
48985         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
48987 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
48989         * math/libm-test.inc (noXFails): Remove variable.
48990         (noXPasses): Likewise.
48991         (BUILD_COMPLEX_INT): Remove macro.
48992         (print_screen): Remove xfail argument.
48993         (print_screen_max_error): Likewise.
48994         (update_stats): Likewise.
48995         (print_max_error): Likewise.  Update calls to other affected
48996         functions.
48997         (print_complex_max_error): Likewise.
48998         (test_single_exception): Update calls to print_screen.
48999         (test_single_errno): Likewise.
49000         (check_float_internal): Remove xfail argument.  Update calls to
49001         other affected functions.
49002         (check_float): Likewise.
49003         (check_complex): Likewise.
49004         (check_int): Likewise.
49005         (check_long): Likewise.
49006         (check_bool): Likewise.
49007         (check_longlong): Likewise.
49008         (main): Don't print noXFails and noXPasses.
49009         * math/gen-libm-test.pl (top level): Don't mention expected
49010         failure handling in comment.
49011         (new_test): Don't handle expected failures.
49012         (parse_args): Don't mention expected failure handling in comment.
49013         (generate_testfile): Don't handle expected failures.
49014         (parse_ulps): Likewise.
49015         (print_ulps_file): Likewise.
49016         (get_failure): Remove function.
49017         (output_test): Don't handle expected failures.
49018         * make/README.libm-test: Don't mention expected failure handling.
49020         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
49021         (minus_zero): Likewise.
49022         (plus_infty): Likewise.
49023         (minus_infty): Likewise.
49024         (qnan_value): Likewise.
49025         (max_value): Likewise.
49026         (min_value): Likewise.
49027         (min_subnorm_value): Likewise.
49028         (initialize): Do not initialize those variables dynamically.
49030 2013-05-03  Roland McGrath  <roland@hack.frob.com>
49032         * io/open.c (__open_2): Moved to ...
49033         * io/open_2.c: ... this new file.
49034         * io/open64.c (__open64_2): Moved to ...
49035         * io/open64_2.c: ... this new file.
49036         * io/openat.c (__openat_2): Moved to ...
49037         * io/openat_2.c: ... this new file.
49038         * io/openat64.c (__openat64_2): Moved to ...
49039         * io/openat64_2.c: ... this new file.
49040         * io/Makefile (routines): Add them.
49041         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
49042         * sysdeps/unix/sysv/linux/open_2.c: File removed.
49043         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
49044         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
49045         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
49046         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
49047         (__openat64): Add hidden_ver.
49048         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
49049         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
49051         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
49052         Separately conditionalize setting of GLRO(dl_sysinfo) so
49053         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
49054         as well, but the actual setting is only under [NEED_DL_SYSINFO].
49056 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49058         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
49059         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
49060         definition.
49061         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
49062         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49063         (_libc_vdso_platform_setup): Add __vdso_time initialization.
49064         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
49065         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
49067 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
49069         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
49070         test signgam value.
49072         * math/libm-test.inc (hypot_test): Do not use
49073         IGNORE_ZERO_INF_SIGN.
49075 2013-05-03  Andreas Jaeger  <aj@suse.de>
49077         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
49078         Linux 3.9.
49079         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
49080         (PF_MAX): Adjust for VSOCK change.
49082 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49086 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
49088         [BZ #15264]
49089         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
49090         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
49091         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
49093 2013-05-02  David S. Miller  <davem@davemloft.net>
49095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49097 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
49099         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
49101 2013-05-01  Roland McGrath  <roland@hack.frob.com>
49103         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
49105 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
49107         [BZ #14952]
49108         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
49109         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49110         Use __attribute__ ((__gnu_inline__)).
49111         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49112         Don't use __attribute__ ((__gnu_inline__)).
49114 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
49116         [BZ #15423]
49117         * math/s_catan.c (__catan): Handle small real or imaginary part of
49118         input specially to avoid spurious underflow.
49119         * math/s_catanf.c (__catanf): Likewise.
49120         * math/s_catanh.c (__catanh): Likewise.
49121         * math/s_catanhf.c (__catanhf): Likewise.
49122         * math/s_catanhl.c (__catanhl): Likewise.
49123         * math/s_catanl.c (__catanl): Likewise.
49124         * math/libm-test.inc (catan_test): Add more tests.
49125         (catanh_test): Likewise.
49126         * sysdeps/i386/fpu/libm-test-ulps: Update.
49127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49129 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49133 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
49135         [BZ #15416]
49136         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
49137         accurately for denominator in atan2.
49138         * math/s_catanf.c (__catanf): Likewise.
49139         * math/s_catanh.c (__catanh): Likewise.
49140         * math/s_catanhf.c (__catanhf): Likewise.
49141         * math/s_catanhl.c (__catanhl): Likewise.
49142         * math/s_catanl.c (__catanl): Likewise.
49143         * math/libm-test.inc (catan_test): Add more tests.
49144         (catanh_test): Likewise.
49145         * sysdeps/i386/fpu/libm-test-ulps: Update.
49146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49148 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49150         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
49152         * benchtests/Makefile (bench): Remove slow benchmarks.
49153         * benchtests/atan-inputs: Add slow benchmark inputs.
49154         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
49155         (BENCH_FUNC): Accept variant offset.
49156         (VARIANT): Define.
49157         * benchtests/bench-skeleton.c (main): Run benchmark for each
49158         variant.
49159         * benchtests/cos-inputs: Add slow benchmark inputs.
49160         * benchtests/exp-inputs: Likewise.
49161         * benchtests/pow-inputs: Likewise.
49162         * benchtests/sin-inputs: Likewise.
49163         * benchtests/slowatan-inputs: Remove.
49164         * benchtests/slowatan.c: Remove.
49165         * benchtests/slowcos-inputs: Remove.
49166         * benchtests/slowcos.c: Remove.
49167         * benchtests/slowexp-inputs: Remove.
49168         * benchtests/slowexp.c: Remove.
49169         * benchtests/slowpow-inputs: Remove.
49170         * benchtests/slowpow.c: Remove.
49171         * benchtests/slowsin-inputs: Remove.
49172         * benchtests/slowsin.c: Remove.
49173         * benchtests/slowtan-inputs: Remove.
49174         * benchtests/slowtan.c: Remove.
49175         * benchtests/tan-inputs: Add slow benchmark inputs.
49176         * scripts/bench.pl: Parse comments and directives.
49178         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
49179         in CPPFLAGS.
49180         ($(objpfx)bench-%.c): Remove *-ITER.
49181         * benchtests/bench-modf.c: Remove definition of ITER.
49182         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49183         (main): Loop for DURATION seconds instead of fixed number of
49184         iterations.
49185         * scripts/bench.pl: Don't expect iterations in parameters.
49187 2013-04-29  Roland McGrath  <roland@hack.frob.com>
49189         * io/fchdir.c (__fchdir): Renamed from fchdir.
49190         (fchdir): Define as weak alias.
49192 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49194         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49195         (ERRNO_EDOM): Likewise.
49196         (ERRNO_ERANGE): Likewise.
49197         (noErrnoTests): New variable.
49198         (init_max_error): Set errno to 0.
49199         (test_single_errno): New function.
49200         (test_errno): Likewise.
49201         (check_float_internal): Call test_errno.  Set errno to 0.
49202         (check_complex): Refer to errno tests in comment.
49203         (check_int): Call test_errno.  Set errno to 0.
49204         (check_long): Likewise.
49205         (check_bool): Likewise.
49206         (check_longlong): Likewise.
49207         (cos_test): Use ERRNO_* flags for errno tests instead of
49208         check_int.
49209         (expm1_test): Likewise.
49210         (fmod_test): Likewise.
49211         (ilogb_test): Likewise.
49212         (lgamma_test): Likewise.
49213         (pow_test): Likewise.
49214         (remainder_test): Likewise.
49215         (sin_test): Likewise.
49216         (tan_test): Likewise.
49217         (yn_test): Likewise.
49218         (initialize): Set errno to 0.
49219         (main): Print number of errno tests.
49220         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
49222 2013-04-29  Andreas Jaeger  <aj@suse.de>
49224         [BZ #15084]
49225         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
49226         and RES_USEVC.
49228         [BZ #15085]
49229         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
49230         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
49231         unimplemented.
49233         [BZ #15380]
49234         * stdlib/random.c (__initstate): Return NULL if
49235         __initstate fails.
49237         [BZ #15086]
49238         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
49239         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
49240         RES_SNGLKUPREOP.
49242 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49246 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49248         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
49249         of individual tests.
49250         (casin_test): Likewise.
49251         (casinh_test): Likewise.
49253 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
49255         [BZ #15409]
49256         * math/s_catan.c (__catan): Handle arguments with large real or
49257         imaginary part separately without squaring.
49258         * math/s_catanf.c (__catanf): Likewise.
49259         * math/s_catanh.c (__catanh): Likewise.
49260         * math/s_catanhf.c (__catanhf): Likewise.
49261         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49262         and redefine.
49263         (__catanhl): Handle arguments with large real or imaginary part
49264         separately without squaring.
49265         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49266         and redefine.
49267         (__catanl): Handle arguments with large real or imaginary part
49268         separately without squaring.
49269         * math/libm-test.inc (catan_test): Add more tests.
49270         (catanh_test): Likewise.
49271         * sysdeps/i386/fpu/libm-test-ulps: Update.
49272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49274 2013-04-27  Andreas Jaeger  <aj@suse.de>
49276         [BZ #15007]
49277         * stdlib/stdlib.h: Update guards for qecvt.
49278         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
49279         <stdlib.h>.
49281 2013-04-27  Allan McRae  <allan@archlinux.org>
49283         * sysdeps/i386/fpu/libm-test-ulps: Update.
49285 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
49287         [BZ #15406]
49288         * math/s_catan.c: Include <float.h>.
49289         (__catan): Ensure underflow exception occurs for underflowed
49290         result.
49291         * math/s_catanf.c: Include <float.h>.
49292         (__catanf): Ensure underflow exception occurs for underflowed
49293         result.
49294         * math/s_catanh.c: Include <float.h>.
49295         (__catanh): Ensure underflow exception occurs for underflowed
49296         result.
49297         * math/s_catanhf.c: Include <float.h>.
49298         (__catanhf): Ensure underflow exception occurs for underflowed
49299         result.
49300         * math/s_catanhl.c: Include <float.h>.
49301         (__catanhl): Ensure underflow exception occurs for underflowed
49302         result.
49303         * math/s_catanl.c: Include <float.h>.
49304         (__catanl): Ensure underflow exception occurs for underflowed
49305         result.
49306         * math/libm-test.inc (catan_test): Add more tests.
49307         (catanh_test): Likewise.
49309         [BZ #15405]
49310         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49311         underflowed result.
49312         * math/s_ccoshf.c (__ccoshf): Likewise.
49313         * math/s_ccoshl.c (__ccoshl): Likewise.
49314         * math/s_csin.c (__csin): Likewise.
49315         * math/s_csinf.c (__csinf): Likewise.
49316         * math/s_csinh.c (__csinh): Likewise.
49317         * math/s_csinhf.c (__csinhf): Likewise.
49318         * math/s_csinhl.c (__csinhl): Likewise.
49319         * math/s_csinl.c (__csinl): Likewise.
49320         * math/libm-test.inc (ccos_test): Add more tests.
49321         (ccosh_test): Likewise.
49322         (csin_test): Likewise.
49323         (csinh_test): Likewise.
49325 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49327         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49328         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49329         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49330         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49331         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49332         powerpc/power5+/fpu folders.
49333         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49336 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49338         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49340 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
49342         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49343         additions to variable.
49344         [$(config-machine) = x86_64] (modules-names): Likewise.
49345         ($(objpfx)tst-audit3): Remove dependency.
49346         ($(objpfx)tst-audit3.out): Likewise.
49347         ($(objpfx)tst-audit4): Likewise.
49348         ($(objpfx)tst-audit4.out): Likewise.
49349         ($(objpfx)tst-audit5): Likewise.
49350         ($(objpfx)tst-audit5.out): Likewise.
49351         ($(objpfx)tst-audit6): Likewise.
49352         ($(objpfx)tst-audit6.out): Likewise.
49353         ($(objpfx)tst-audit7): Likewise.
49354         ($(objpfx)tst-audit7.out): Likewise.
49355         (tst-audit3-ENV): Remove variable.
49356         (tst-audit4-ENV): Likewise.
49357         (tst-audit5-ENV): Likewise.
49358         (tst-audit6-ENV): Likewise.
49359         (tst-audit7-ENV): Likewise.
49360         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49361         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49362         addition to variable.
49363         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49364         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49365         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49366         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49367         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49368         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49369         tst-audit3, tst-audit4 and tst-audit5.
49370         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
49371         tst-audit6 and tst-audit7.
49372         [$(subdir) = elf] (modules-names): Add audit modules for those
49373         tests.
49374         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
49375         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
49376         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
49377         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
49378         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
49379         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
49380         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
49381         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
49382         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
49383         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
49384         [$(subdir) = elf] (tst-audit3-ENV): New variable.
49385         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
49386         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
49387         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
49388         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
49389         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
49390         Likewise.
49391         [$(subdir) = elf && $(config-cflags-avx) = yes]
49392         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
49393         [$(subdir) = elf && $(config-cflags-avx) = yes]
49394         (CFLAGS-tst-auditmod4a.c): Likewise.
49395         [$(subdir) = elf && $(config-cflags-avx) = yes]
49396         (CFLAGS-tst-auditmod4b.c): Likewise.
49397         [$(subdir) = elf && $(config-cflags-avx) = yes]
49398         (CFLAGS-tst-auditmod6b.c): Likewise.
49399         [$(subdir) = elf && $(config-cflags-avx) = yes]
49400         (CFLAGS-tst-auditmod6c.c): Likewise.
49401         [$(subdir) = elf && $(config-cflags-avx) = yes]
49402         (CFLAGS-tst-auditmod7b.c): Likewise.
49403         * elf/tst-audit3.c: Move to ...
49404         * sysdeps/x86_64/tst-audit3.c: ... here.
49405         * elf/tst-audit4.c: Move to ...
49406         * sysdeps/x86_64/tst-audit4.c: ... here.
49407         * elf/tst-audit5.c: Move to ...
49408         * sysdeps/x86_64/tst-audit5.c: ... here.
49409         * elf/tst-audit6.c: Move to ...
49410         * sysdeps/x86_64/tst-audit6.c: ... here.
49411         * elf/tst-audit7.c: Move to ...
49412         * sysdeps/x86_64/tst-audit7.c: ... here.
49413         * elf/tst-auditmod3a.c: Move to ...
49414         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
49415         * elf/tst-auditmod3b.c: Move to ...
49416         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
49417         * elf/tst-auditmod4a.c: Move to ...
49418         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
49419         * elf/tst-auditmod4b.c: Move to ...
49420         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
49421         * elf/tst-auditmod5a.c: Move to ...
49422         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
49423         * elf/tst-auditmod5b.c: Move to ...
49424         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
49425         * elf/tst-auditmod6a.c: Move to ...
49426         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
49427         * elf/tst-auditmod6b.c: Move to ...
49428         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
49429         * elf/tst-auditmod6c.c: Move to ...
49430         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
49431         * elf/tst-auditmod7a.c: Move to ...
49432         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
49433         * elf/tst-auditmod7b.c: Move to ...
49434         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
49436 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
49438         [BZ #15366]
49439         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
49440         define unconditionally.
49441         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
49442         define unconditionally.
49443         (INT8_C, INT16_C, etc.): Likewise.
49445 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
49447         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
49448         __ehdr_start with hidden visibility.
49450         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
49452 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
49454         * math/libm-test.inc (cos_test): Use accurate hex constants.
49455         (sincost_test): Likewise.
49457 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
49459         * math/libm-test.inc (catan_test): Add more tests.
49460         (catanh_test): Likewise.
49462         * math/s_catanf.c (__catanf): Use suffixed floating-point
49463         constants.
49464         * math/s_catanhf.c (__catanhf): Likewise.
49465         * math/s_catanhl.c (__catanhl): Likewise.
49466         * math/s_catanl.c (__catanl): Likewise.
49468         [BZ #15394]
49469         * math/s_catan.c (__catan): Calculate imaginary part of result
49470         with log1p not log unless computing log of number close to 0.
49471         * math/s_catanf.c (__catanf): Likewise.
49472         * math/s_catanl.c (__catanl): Likewise.
49473         * math/s_catanh.c (__catanh): Calculate real part of result with
49474         log1p not log unless computing log of number close to 0.
49475         * math/s_catanhf.c (__catanhf): Likewise.
49476         * math/s_catanhl.c (__catanhl): Likewise.
49477         * math/libm-test.inc (catan_test): Add more tests.
49478         (catanh_test): Likewise.
49479         * sysdeps/i386/fpu/libm-test-ulps: Update.
49480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49482 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49484         * benchtests/Makefile: Mention files in which fast and slow
49485         paths of math functions are implemented.
49487 2013-04-23  Roland McGrath  <roland@hack.frob.com>
49489         * sysdeps/posix/timespec_get.c: New file.
49491 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49493         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
49494         POWER.
49495         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
49496         for POWER.
49497         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
49498         powerpc/power5/fpu folders.
49499         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
49500         * benchtests/Makefile: Add modf testcase.
49501         * benchtests/bench-modf.c: New file: Benchmark test for mo
49503 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49505         [BZ #14888]
49506         * time/Makefile (tests): Add tst-strptime-whitespace.
49507         * time/strptime_l.c (get_number): Use ISSPACE.
49508         (__strptime_internal): Likewise.
49509         * time/tst-strptime-whitespace.c: New test case.
49511 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
49513         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
49514         member.
49515         (_nss_files_init): Set it here.
49517 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
49519         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
49520         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
49521         unsigned.
49523 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
49525         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
49527 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49529         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
49530         size just once.
49532 2013-04-21  David S. Miller  <davem@davemloft.net>
49534         * po/ru.po: Update Russion translation from translation project.
49536 2013-04-17  Adam Conrad  <adconrad@0c3.net>
49538         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
49539         and setfsgid.
49541 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
49543         * configure.in: Remove i386 configure warning. Remove i386 case.
49544         * configure: Regenerate.
49545         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
49546         Add example to error message.
49547         * sysdeps/i386/configure: Regenerate.
49549 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49551         * benchtests/Makefile (bench): Add cos, tan, slowcos and
49552         slowtan.
49553         * benchtests/cos-inputs: New file.
49554         * benchtests/slowcos-inputs: New file.
49555         * benchtests/slowcos.c: New file.
49556         * benchtests/slowtan-inputs: New file.
49557         * benchtests/slowtan.c: New file.
49558         * benchtests/tan-inputs: New file.
49560 2013-04-16  Roland McGrath  <roland@hack.frob.com>
49562         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
49563         considered kosher.
49565 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49567         * benchtests/Makefile: Include cppflags-iterator.mk to add
49568         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
49570         * Makefile.in (bench-clean): New target.
49571         * benchtests/Makefile (bench-clean): Likewise.
49573 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
49575         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
49577 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
49579         * stdio-common/tstdiomisc.c: Fix coding-style violation.
49581 2013-04-15  Andreas Schwab  <schwab@suse.de>
49583         * nscd/grpcache.c (cache_addgr): Properly check for short write.
49584         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49585         * nscd/pwdcache.c (cache_addpw): Likewise.
49586         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
49587         more than recsize.
49589 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49591         * benchtests/Makefile (bench): Write all output to
49592         bench-out.tmp together.
49594 2013-04-15  Andreas Schwab  <schwab@suse.de>
49596         * nscd/nscd.c (main): Don't fork again after closing files.
49598 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49600         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
49602         * benchtests/Rules (bench-deps): Collect dependencies into a
49603         single variable.  Add Makefile to dependencies.
49604         ($(objpfx)bench-%.c): Depend on bench-deps.
49606 2013-04-12  Roland McGrath  <roland@hack.frob.com>
49607             Xavier Roche  <roche+kml2@exalead.com>
49609         [BZ #15361]
49610         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
49611         just that it's a file descriptor.
49612         * manual/llio.texi (Synchronizing AIO Operations): Update description
49613         for EBADF error from aio_fsync.
49615 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49617         * Rules (bench): Move target definition...
49618         * benchtests/Makefile: ... here.
49620 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
49622         * math/libm-test.inc (cos_test): Fix PI/2 test.
49623         (sincos_test): Likewise.
49624         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49625         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
49627 2013-04-11  Andreas Schwab  <schwab@suse.de>
49629         [BZ #13988]
49630         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
49631         accept exponent character only when digits were seen.
49632         * stdio-common/Makefile (tests): Add bug26.
49633         * stdio-common/bug26.c: New file.
49635         [BZ #14293]
49636         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
49637         non-freeable.
49639 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49641         * Makeconfig (rtld-prefix): Define built linker prefix.
49642         * Rules (run-bench): Use it.
49643         * math/Makefile (run-regen-ulps): Likewise.
49645         * Rules (bench): Remove eval.
49647 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49648             Roland McGrath  <roland@hack.frob.com>
49649             Ondrej Bilka  <neleai@seznam.cz>
49651         [BZ #15346]
49652         * time/getdate.c: Include ctype.h and alloca.h.
49653         (__getdate_r): Trim leading and trailing spaces of input.
49654         * time/tst-getdate.c (tests): Add tests with leading and
49655         trailing spaces.
49657 2013-04-08  Roland McGrath  <roland@hack.frob.com>
49659         [BZ #14280]
49660         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
49661         when computing value.
49663 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49665         * math/README.libm-test (How can I generate "libm-test-ulps"?):
49666         Use testrun.sh to run libm tests.
49668         [BZ #15309]
49669         * elf/dl-open.c (dl_open_worker): memset all of seen array.
49671 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
49673         [BZ #15264]
49674         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
49676 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49678         * Makefile.in (regen-ulps): New target.
49679         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
49680         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
49681         [ifneq (no,$(PERL)] (regen-ulps): New target.
49682         [ifeq (no,$(PERL)] (regen-ulps): New target.
49683         * math/libm-test.inc (ulps_file_name): Define.
49684         (output_dir): New variable.
49685         (options): Add "output-dir" option.
49686         (parse_opt): Handle 'o' case.
49687         (main): If output_dir is non-NULL use it as a prefix
49688         otherwise use "".
49689         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
49691 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49693         [BZ #10060, #10062]
49694         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
49695         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
49696         fail configure if __sync_val_compare_and_swap is not inlined.
49697         * sysdeps/i386/configure: Regenerate.
49698         * configure.in: Build for i686 when configured for i386.
49699         * configure: Regenerate.
49700         * README: Remove i386 reference.
49702 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49704         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
49705         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49707 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49709         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
49710         (lmsnanval): New variables.
49711         (F): Add conversion tests.
49712         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
49713         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
49715         * stdio-common/tstdiomisc.c (F): Properly collect individual
49716         tests' results.
49718         [BZ #14686, #15336]
49719         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
49720         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
49721         Instead, use input NaN values or generate a qNaN by arithmetic
49722         operation.  Also fix bugs to comply with the standard.
49723         * math/libm-test.inc (remainder_test): Add more tests.
49725         [BZ #15335, #15342]
49726         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
49727         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
49728         input NaN values or generate a qNaN by arithmetic operation.
49730         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
49731         unreachable code.
49733         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
49734         definitions.
49736 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
49738         [BZ #14478]
49739         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
49740         underflowed result.
49741         * math/s_cexpf.c (__cexpf): Likewise.
49742         * math/s_cexpl.c (__cexpl): Likewise.
49743         * math/libm-test.inc (cexp_test): Add more tests.
49745 2013-04-03  Andreas Schwab  <schwab@suse.de>
49747         [BZ #15330]
49748         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
49749         order arrays from heap if bigger than alloca cutoff.
49751 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
49753         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
49754         (SNAN_TESTS_double): Refer to GCC PR56831.
49755         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
49756         GCC PR56828.
49758 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49760         * Rules (bench): Move bench.out after the run is complete.
49762         * Rules (bench): Echo currently running benchmark.
49764         * benchtests/Makefile (bench): Add atan and slowatan.
49765         * benchtests/atan-inputs: New file.
49766         * benchtests/slowatan-inputs: New file.
49767         * benchtests/slowatan.c: New file.
49769         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
49770         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
49771         its value.
49773         [BZ #15305]
49774         * sysdeps/unix/sysv/linux/kernel-features.h
49775         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
49776         __ASSUME_XFS_RESTRICTED_CHOWN.
49777         * sysdeps/unix/sysv/linux/pathconf.c
49778         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49779         Save and restore errno.
49781 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
49783         [BZ #15327]
49784         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
49785         arguments using __kernel_casinh.
49786         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
49787         arguments using __kernel_casinhf.
49788         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
49789         arguments using __kernel_casinhl.
49790         * math/libm-test.inc (cacosh_test): Add more tests.
49791         * sysdeps/i386/fpu/libm-test-ulps: Update.
49792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49794 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49796         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
49797         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
49799         * bench/Makefile (bench): Add sin and slowsin.
49800         * benchtests/sin-inputs: New file.
49801         * benchtests/slowsin-inputs: New file.
49802         * benchtests/slowsin.c: New file.
49804         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
49805         (bench): Add slowexp and slowpow.
49806         (exp-ITER): Increase iterations.
49807         (pow-ITER): Likewise.
49808         * benchtests/exp-inputs: Change input.
49809         * benchtests/pow-inputs: Likewise.
49810         * benchtests/slowexp-inputs: New file.
49811         * benchtests/slowexp.c: New file.
49812         * benchtests/slowpow-inputs: New file.
49813         * benchtests/slowpow.c: New file.
49815 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49817         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
49818         instructions.
49819         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49820         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
49821         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49822         * benchtests/Makefile: Add rint benchtest.
49823         * benchtests/rint-inputs: Input for rint benchtest.
49825 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49827         * Versions.def (libm): Add GLIBC_2.18.
49828         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
49829         hidden libm prototypes.
49830         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
49831         * math/Makefile (libm-calls): Add s_issignaling.
49832         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
49833         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
49834         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
49835         declaration.
49836         * math/math.h [__USE_GNU] (issignaling): New macro.
49837         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
49838         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
49839         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
49840         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
49841         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
49842         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
49843         * manual/arith.texi (issignaling): New section.
49844         * manual/libm-err-tab.pl (@all_functions): Update comment.
49845         * math/gen-libm-test.pl (parse_args): Apply special handling for
49846         issignaling.
49847         * math/libm-test.inc (print_float, issignaling_test): New
49848         functions.
49849         (check_float_internal): Add issignaling checks.
49850         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
49851         default definition.
49852         * sysdeps/powerpc/math-tests.h: New file.
49853         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
49854         tests.
49855         * math/test-snan.c (TEST_FUNC): Likewise.
49857 2013-03-30  David S. Miller  <davem@davemloft.net>
49859         * po/de.po: Update from translation team.
49861 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
49863         [BZ #10357]
49864         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49865         imaginary part less than 1.0 and real part less than 0.5
49866         specially.
49867         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49868         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49869         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
49870         (cacos_test): Add more tests.
49871         (casin_test): Likewise.
49872         (casinh_test): Likewise.
49873         * sysdeps/i386/fpu/libm-test-ulps: Update.
49874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49876 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49878         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
49879         ONE with its value.
49881         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
49882         (__pow_mp): Replace ONE and MONE with their values.
49883         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49884         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
49885         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49886         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
49887         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49888         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49890         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
49892         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
49893         (__pow_mp): Replace ZERO and MZERO with their values.
49894         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49895         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49896         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49897         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49898         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49899         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
49900         (__sqr): Likewise.
49902         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
49904         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
49906 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49908         * include/stdlib.h [!SHARED] (__call_tls_dtors):
49909         Declare with __attribute__ ((weak)).
49910         * stdlib/exit.c (__libc_atexit) [!SHARED]:
49911         Call __call_tls_dtors only if it's not NULL.
49913 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49915         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
49916         didn't do it already, then set _dl_phdr and _dl_phnum based on the
49917         magic __ehdr_start linker symbol if it's defined.
49918         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
49919         them up here if it was already done.
49921         * elf/dl-support.c (_dl_phdr): Make pointer to const.
49922         (_dl_aux_init): Use const in cast when setting it.
49923         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
49924         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
49925         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
49927         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
49928         Declare them here.
49929         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
49930         * csu/libc-tls.c: Nor here.
49931         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
49933         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
49934         (__libc_message): Never call vsyslog.
49936 2013-03-28  Alan Modra  <amodra@gmail.com>
49938         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
49939         Define as empty.
49940         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
49941         Likewise.
49943 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49945         [BZ #15214]
49946         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
49947         underflow.
49948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49950 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49952         [BZ #15304]
49953         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49954         Don't add gid passed as argument.
49956         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
49958 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
49960         [BZ #15307]
49961         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49962         imaginary part between 1.0 and 1.5 and real part less than 0.5
49963         specially.
49964         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49965         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49966         * math/libm-test.inc (cacos_test): Add more tests.
49967         (casin_test): Likewise.
49968         (casinh_test): Likewise.
49969         * sysdeps/i386/fpu/libm-test-ulps: Update.
49970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49972 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49974         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
49975         constants.
49976         (norm): Likewise.
49977         (denorm): Likewise.
49978         (__dbl_mp): Likewise.
49979         (add_magnitudes): Likewise.
49980         (sub_magnitudes): Likewise.
49981         (__add): Likewise.
49982         (__sub): Likewise.
49983         (__mul): Likewise.
49984         (__sqr): Likewise.
49985         (__inv): Likewise.
49986         (__dvd): Likewise.
49988         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
49989         commented code.
49990         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
49991         (__dubcos): Likewise.
49992         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
49993         (__ieee754_acos): Likewise.
49994         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49995         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
49996         (__exp1): Likewise.
49997         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49998         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49999         (log1): Likewise.
50000         (my_log2): Likewise.
50001         (checkint): Likewise.
50002         * sysdeps/ieee754/dbl-64/e_remainder.c
50003         (__ieee754_remainder): Likewise.
50004         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50005         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
50006         (bsloww): Likewise.
50007         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50009         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50010         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
50011         MANTISSA_STORE_T to store computations on mantissa.  Use
50012         macros for rounding and division.
50013         (denorm): Likewise.
50014         (__dbl_mp): Likewise.
50015         (add_magnitudes): Likewise.
50016         (sub_magnitudes): Likewise.
50017         (__mul): Likewise.
50018         (__sqr): Likewise.
50019         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50020         powers of two in terms of TWOPOW macro.
50021         (mp_no): Make type of mantissa as MANTISSA_T.
50022         [!RADIXI]: Define RADIXI.
50023         [!TWO52]: Define TWO52.
50024         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50026 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50028         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
50029         llroundl symbol when building for PPC32.
50031 2013-03-24  Mark H Weaver  <mhw@netris.org>
50033         * manual/arith.texi (Normalization Functions): Fix prototypes for
50034         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
50036 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50038         [BZ #13889]
50039         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
50040         high value to check if expl overflow.
50041         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
50042         to check for underflow and overflow.
50043         * math/libm-test.inc: Add exp test.
50045 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
50047         [BZ #11120]
50048         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
50049         with NOT_IN_libc.
50051 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50053         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
50054         symbol.
50056 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50058         * math/gen-libm-test.pl (parse_args, special_functions): Properly
50059         wrap blocks consisting of several statements.
50061         * sysdeps/generic/math-tests.h: New file.
50062         * sysdeps/i386/fpu/math-tests.h: Likewise.
50063         * math/test-snan.c: Include it.
50064         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
50066 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50068         [BZ #15285]
50069         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
50070         (__ieee754_j0l): Do not improve calculations using cos of twice
50071         input for inputs above LDBL_MAX / 2.0L.
50072         (__ieee754_y0l): Likewise.
50073         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
50074         (__ieee754_j1l): Do not improve calculations using cos of twice
50075         input for inputs above LDBL_MAX / 2.0L.
50076         (__ieee754_y1l): Likewise.
50077         * math/libm-test.inc (j0_test): Add another test.
50078         (j1_test): Likewise.
50079         (y0_test): Likewise.
50080         (y1_test): Likewise.
50081         * sysdeps/i386/fpu/libm-test-ulps: Update.
50083 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50085         * Rules ($(objpfx)bench-%.c): Include code from a C source
50086         file.
50088 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50090         [BZ #15287]
50091         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50092         imaginary part 1.0 and real part less than 0.5 specially.
50093         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50094         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50095         * math/libm-test.inc (cacos_test): Add more tests.
50096         (casin_test): Likewise.
50097         (casinh_test): Likewise.
50098         * sysdeps/i386/fpu/libm-test-ulps: Update.
50099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50101 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50103         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
50104         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
50106 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
50108         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
50109         * config.make.in (config-cflags-sse4): Remove variable.
50110         (config-cflags-avx): Likewise.
50111         (config-cflags-sse2avx): Likewise.
50112         (config-cflags-novzeroupper): Likewise.
50113         (config-asflags-i686): Likewise.
50114         (have-mfma4): Likewise.
50115         (have-as-vis3): Likewise.
50116         (MIG): Likewise.
50117         * configure.in (MIG): Do not AC_SUBST.
50118         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
50119         (libc_cv_cc_sse4): Do not AC_SUBST.
50120         (libc_cv_cc_avx): Likewise.
50121         (libc_cv_cc_sse2avx): Likewise.
50122         (libc_cv_cc_novzeroupper): Likewise.
50123         (libc_cv_cc_fma4): Likewise.
50124         (libc_cv_as_i686): Likewise.
50125         (libc_cv_sparc_as_vis3): Likewise.
50126         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
50127         LIBC_CONFIG_VAR.
50128         (config-asflags-i686): Likewise.
50129         (config-cflags-avx): Likewise.
50130         (config-cflags-sse2avx): Likewise.
50131         (have-mfma4): Likewise.
50132         (config-cflags-novzeroupper): Likewise.
50133         * sysdeps/mach/configure.in (MIG): Likewise.
50134         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
50135         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
50136         LIBC_CONFIG_VAR.
50137         (config-cflags-avx): Likewise.
50138         (config-cflags-sse2avx): Likewise.
50139         (have-mfma4): Likewise.
50140         (config-cflags-novzeroupper): Likewise.
50141         * configure: Regenerated.
50142         * sysdeps/i386/configure: Likewise.
50143         * sysdeps/mach/configure: Likewise.
50144         * sysdeps/sparc/configure: Likewise.
50145         * sysdeps/x86_64/configure: Likewise.
50147 2013-03-20  Roland McGrath  <roland@hack.frob.com>
50149         [BZ #14812]
50150         * locale/programs/localedef.c (options): Put N_ translation marker
50151         on argument names, not just descriptions.
50153 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50155         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
50157 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
50159         [BZ #14176]
50160         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
50162 2013-03-19  Roland McGrath  <roland@hack.frob.com>
50164         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
50165         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
50166         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
50167         [!BEFORE_ABORT] (before_abort): New function.
50168         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
50169         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
50170         (writev_for_fatal): New function.
50171         (WRITEV_FOR_FATAL): New macro; call that.
50172         (backtrace_and_maps): New function.
50173         (BEFORE_ABORT): New macro; call that.
50174         (struct str_list): Type removed.
50175         (__libc_message, __libc_fatal): Functions removed.
50176         Include <sysdeps/posix/libc_fatal.c> instead.
50178 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
50180         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50181         constants.
50182         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50183         double constants.
50185 2013-03-19  Andreas Schwab  <schwab@suse.de>
50187         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50188         * sysdeps/gnu/configure: Regenerate.
50190         * configure.in: Substitute libc_cv_rtlddir.
50191         * configure: Regenerate.
50192         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50193         * Makeconfig (rtlddir, inst_rtlddir): New variables.
50194         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50195         * elf/Makefile (install-others, CFLAGS-interp.c)
50196         (ldso_install, common-ldd-rewrite): Likewise.
50197         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50198         $(inst_slibdir)/$(rtld-installed-name).
50199         * scripts/rellns-sh: Add -p option.
50200         * Makerules (make-shlib-link): Use rellns-sh to get relative name
50201         for source.
50203 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50205         * manual/nptl.texi: Renamed to ...
50206         * manual/threads.texi: ... this.
50207         * manual/Makefile (chapters): Update.
50209 2013-03-18  Roland McGrath  <roland@hack.frob.com>
50211         [BZ #14812]
50212         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50213         on argument names, not just descriptions.
50214         * malloc/memusagestat.c (options): Likewise.
50215         * nss/getent.c (options): Likewise.
50217 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
50219         [BZ #14812]
50220         * iconv/iconv_prog.c (options): Put N_ translation marker
50221         on argument names, not just descriptions.
50222         * iconv/iconvconfig.c (options): Likewise.
50224 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
50226         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
50227         implementation which is faster on all x86_64 architectures.
50228         Tested on AMD, Intel Nehalem, SNB, IVB.
50229         * sysdeps/x86_64/strnlen.S: Likewise.
50231         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50232         Remove all multiarch strlen and strnlen versions.
50233         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50234         Remove strlen and strnlen related parts.
50236         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50237         Inline strlen part.
50238         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
50240         * sysdeps/x86_64/multiarch/strlen.S: Remove.
50241         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
50242         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
50243         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
50244         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50245         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
50247 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
50249         * manual/memory.texi (Malloc Tunable Parameters):
50250         Sort parameters alphabetically. Add comments for missing entries.
50252 2013-03-17  David S. Miller  <davem@davemloft.net>
50254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50256 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
50258         [BZ #15283]
50259         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
50260         for arguments at most half maximum finite value.
50261         * math/libm-test.inc (j0_test): Add more tests.
50262         (j1_test): Likewise.
50263         (y0_test): Likewise.
50264         (y1_test): Likewise.
50265         * sysdeps/i386/fpu/libm-test-ulps: Update.
50266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50268         [BZ #14155]
50269         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
50270         1 / x and functions P and Q for arguments above 0x1p256L.
50271         (__ieee754_y0l): Likewise.
50272         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
50273         (__ieee754_y1l): Likewise.
50274         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
50275         (j1_test): Likewise.
50276         (y0_test): Likewise.
50277         (y1_test): Likewise.
50279 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
50281         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
50282         variable.
50284 2013-03-15  Roland McGrath  <roland@hack.frob.com>
50286         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
50287         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
50288         zero since it's initialized to EXEC_PAGESIZE.
50290         * sysdeps/unix/sysv/linux/ldsodefs.h
50291         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50292         * sysdeps/generic/ldsodefs.h: ... here.
50294 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
50296         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50298         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50299         math/test-snan.c.
50300         * math/test-snan.c: Renamed from
50301         sysdeps/powerpc/fpu/test-powerpc-snan.c.
50302         * math/Makefile (tests): Add test-snan.
50303         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50304         test-powerpc-snan.
50306         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50307         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
50308         functions.
50309         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
50310         __builtin_nan family of functions.
50311         * math/libm-test.inc (initialize): Initialize qnan_value with
50312         __builtin_nan family of functions.
50313         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50314         Remove variables.
50315         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50316         Remove functions.
50317         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
50318         storage class.  Initialize qNaN_var and sNaN_var with
50319         __builtin_nan and __builtin_nans families of functions,
50320         respectively.
50322         * math/libm-test.inc (acosh_test): Also test with qNaN input.
50323         (sqrt_test): Remove duplicate test with qNaN input.
50324         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50325         (round_test, signbit_test, significand_test): Note missing +/-Inf
50326         as well as qNaN tests.
50328         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50329         qNaN_var.  Fix a few strings, too.
50330         * math/libm-test.inc (nan_value): Rename to qnan_value.
50331         * math/gen-libm-test.pl (%beautify): Adjust to that.
50332         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50333         * math/test-misc.c (main): Likewise.
50334         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50335         to __qnan_bytes, and __qnan_union, respectively.
50336         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50337         Likewise.
50338         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50339         and lqnanval, respectively.
50340         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50341         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50342         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50343         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50345         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50346         * math/test-misc.c (main) [__x86_64__]: Enable test for long
50347         doubles.
50349         * math/test-misc.c (main): Fix copy'n'pastos.
50350         * misc/tst-efgcvt.c (special): Likewise.
50352         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50353         Remove declarations.
50355 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50357         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50358         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50359         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50360         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50362 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50364         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50365         macro to return vdso values correctly in IFUNC implementations.
50366         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50367         Optimization by using IFUNC.
50369 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50370             Richard Henderson  <rth@redhat.com>
50371             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50373         * Makefile.in (bench): New target.
50374         * NEWS: Mention the benchmark framework.
50375         * Rules (bench): Likewise.
50376         (binaries-bench): Generate binaries for functions to
50377         benchmark.
50378         * benchtests/Makefile: New makefile for benchmark tests.
50379         * benchtests/bench-skeleton.c: New skeleton file for benchmark
50380         programs.
50381         * benchtests/exp-inputs: New input file for EXP function.
50382         * benchtests/pow-inputs: New input file for POW function.
50383         * scripts/bench.pl: New script to generate source files for
50384         benchmark programs.
50386 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50388         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50389         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
50390         computations on mantissa.  Use macros for rounding and
50391         division.
50392         (denorm): Likewise.
50393         (__dbl_mp): Likewise.
50394         (add_magnitudes): Likewise.
50395         (sub_magnitudes): Likewise.
50396         (__mul): Likewise.
50397         (__sqr): Likewise.
50398         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50399         powers of two in terms of TWOPOW macro.
50400         (mp_no): Make type of mantissa as MANTISSA_T.
50401         [!RADIXI]: Define RADIXI.
50402         [!TWO52]: Define TWO52.
50403         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50405         * manual/nptl.texi (cindex): Modify threads to pthreads.
50407 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
50409         * sysdeps/x86_64/preconfigure: Regenerated.
50411 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
50413         [BZ #14155]
50414         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
50415         0x1p28 and above.
50416         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
50417         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
50418         0x1p28 and above.
50419         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
50420         * math/libm-test.inc (j0_test): Do not allow one spurious
50421         underflow exception.
50422         (y1_test): Likewise.
50424 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50426         * manual/Makefile (chapters): Add nptl.
50427         * manual/debug.texi (Debugging Support): Add link to Threads
50428         chapter.
50429         * manual/nptl.texi: New file.
50431         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
50433 2013-03-14  Petr Baudis  <pasky@ucw.cz>
50435         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
50436         for non-NULL pointer before the memory validity test. Pointed
50437         out by Holger Brunck <holger.brunck@keymile.com>.
50439 2013-03-13  Andreas Schwab  <schwab@suse.de>
50441         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
50442         instead of .os.
50444 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
50446         * timezone/zic.c: Update from tzcode 2013b.
50448 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
50450         * manual/install.texi (Configuring and compiling):
50451         Mention i686 and i586.
50452         * INSTALL: Regenerate.
50454 2013-03-12  Roland McGrath  <roland@hack.frob.com>
50456         * sysdeps/init_array/elf-init.c: New file.
50457         * csu/elf-init.c
50458         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
50459         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
50461         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
50462         __gmon_start__ as global, but as static with a .preinit_array pointer.
50463         * sysdeps/init_array/gmon-start.c: New file.  Use that.
50464         * sysdeps/init_array/crti.S: New file, empty except for comments.
50465         * sysdeps/init_array/crtn.S: Likewise.
50467 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
50469         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
50470         definining bcopy.
50471         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50472         Remove Prefer_SSE_for_memop.
50473         * sysdeps/x86_64/multiarch/init-arch.h: Remove
50474         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
50475         HAS_PREFER_SSE_FOR_MEMOP.
50476         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
50477         memset-x86-64.
50478         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50479         Remove bzero, memset ifunc support.
50480         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
50481         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
50482         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50483         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50485 2013-03-11  Andreas Schwab  <schwab@suse.de>
50487         [BZ #15234]
50488         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
50489         by SHLIB_COMPAT.
50490         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
50491         (GLIBC_2.16): Remove pthread_atfork.
50493 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
50495         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
50496         (ptestcases.h): Likewise.
50498 2013-03-08  Roland McGrath  <roland@hack.frob.com>
50500         * Makeconfig ($(common-objpfx)config.status): Depend on
50501         sysdeps/*/preconfigure{,.in} too.
50503 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
50505         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
50506         (__free_hook): Use void * instead of __malloc_ptr_t.
50507         (__malloc_hook): Likewise.
50508         (__realloc_hook): Likewise.
50509         (__memalign_hook): Likewise.
50510         (__after_morecore_hook): Likewise.
50511         * malloc/arena.c (save_malloc_hook): Likewise.
50512         (save_free_hook): Likewise.
50513         * malloc/hooks.c (malloc_hook_ini): Likewise.
50514         (realloc_hook_ini): Likewise.
50515         (memalign_hook_ini): Likewise.
50516         * malloc/malloc.c (malloc_hook_ini): Likewise.
50517         (realloc_hook_ini): Likewise.
50518         (memalign_hook_ini): Likewise.
50519         (__free_hook): Likewise.
50520         (__malloc_hook): Likewise.
50521         (__realloc_hook): Likewise.
50522         (__memalign_hook): Likewise.
50523         (__libc_malloc): Likewise.
50524         (__libc_free): Likewise.
50525         (__libc_realloc): Likewise.
50526         (__libc_memalign): Likewise.
50527         (__libc_valloc): Likewise.
50528         (__libc_pvalloc): Likewise.
50529         (__libc_calloc): Likewise.
50530         (__posix_memalign): Likewise.
50531         * malloc/morecore.c (__sbrk): Likewise.
50532         (__default_morecore): Likewise.
50534         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
50536         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
50537         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
50538         __malloc_ptrdiff_t.
50540         * malloc/malloc.h (__malloc_size_t): Remove macro.
50541         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
50542         __malloc_size_t.
50543         (old_memalign_hook): Likewise.
50544         (old_realloc_hook): Likewise.
50545         (struct hdr): Likewise.
50546         (flood): Likewise.
50547         (mallochook): Likewise.
50548         (memalignhook): Likewise.
50549         (reallochook): Likewise.
50550         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
50551         (tr_old_realloc_hook): Likewise.
50552         (tr_old_memalign_hook): Likewise.
50553         (tr_mallochook): Likewise.
50554         (tr_reallochook): Likewise.
50555         (tr_memalignhook): Likewise.
50557 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50559         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
50560         default_ldbl_pack and using as default implementation.
50561         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
50562         implementation.
50563         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
50564         redundant definition.
50565         (ldbl_insert_mantissa): Likewise.
50566         (ldbl_canonicalize): Likewise.
50567         (ldbl_nearbyint): Likewise.
50568         (ldbl_pack): Rename to ldbl_pack_ppc.
50569         (ldbl_unpack): Rename to ldbl_unpack_ppc.
50570         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
50571         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
50573 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50575         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
50576         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
50577         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
50578         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
50579         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
50580         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
50581         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
50582         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
50584 2013-03-07  Andreas Jaeger  <aj@suse.de>
50586         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50587         bits/mman-linux.h.
50589 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50591         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
50592         Include mpa.h and declare __MPEXP.
50593         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
50594         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50595         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50596         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
50597         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50598         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50599         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
50601         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
50602         (__slowpow): Use long double EXPL and LOGL functions to
50603         compute POW.
50604         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50605         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50606         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
50607         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50608         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50609         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
50611         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
50612         intermediate variable to calculate exponent.
50613         (__sqr): Likewise.
50614         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50615         Likewise.
50616         (__sqr): Likewise.
50618         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
50619         [!NO__SQR]: Define __sqr.
50620         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
50621         and NO__SQR.  Remove all code except __mul and __sqr.  Include
50622         sysdeps/ieee754/dbl-64/mpa.c.
50623         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50625         [BZ #12723]
50626         * posix/Makefile (tests): Add tst-pathconf.
50627         * posix/tst-pathconf.c: New test case.
50628         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
50629         _PC_PIPE_BUF.
50630         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
50632 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
50634         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
50636 2013-03-06  Andreas Jaeger  <aj@suse.de>
50638         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
50639         definition via __MAP_ANONYMOUS.
50641         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
50642         it's not part of Linux headers.
50644         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
50645         (MAP_HUGE_MASK): Define.
50647         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50648         Define.
50649         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50650         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50651         Define.
50652         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50653         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50654         Define.
50655         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50656         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
50657         Define.
50658         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50660         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
50661         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
50662         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
50663         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
50664         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
50665         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
50667         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50668         Handle f2fs.
50670         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50671         Handle f2fs and efivarfs.
50673         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
50674         f2fs.
50676         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
50677         (EFIVARFS_MAGIC): Add.
50678         (F2FS_LINK_MAX): Add.
50680 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50682         * stdio-common/vfprintf.c: Replace __builtin_expect with
50683         __glibc_unlikely.
50685 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
50687         [BZ #13550]
50688         * sysdeps/generic/bp-sym.h: Remove file.
50689         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
50690         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
50691         <bp-sym.h> and <bp-asm.h>.
50692         (__longjmp): Don't use BP_SYM.
50693         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
50694         and <bp-asm.h>.
50695         (memcpy): Don't use BP_SYM.
50696         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
50697         <bp-sym.h> and <bp-asm.h>.
50698         (memcpy): Don't use BP_SYM.
50699         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
50700         <bp-asm.h>.
50701         (memcpy): Don't use BP_SYM.
50702         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
50703         <bp-asm.h>.
50704         (memset): Don't use BP_SYM.
50705         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50706         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50707         (__bzero): Don't use BP_SYM.
50708         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50709         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50710         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
50711         <bp-sym.h> and <bp-asm.h>.
50712         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50713         pointers.
50714         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
50715         <bp-sym.h> and <bp-asm.h>.
50716         (memcpy): Don't use BP_SYM.
50717         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
50718         <bp-sym.h> and <bp-asm.h>.
50719         (memset): Don't use BP_SYM.
50720         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50721         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50722         (__bzero): Don't use BP_SYM.
50723         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50724         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50725         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
50726         <bp-sym.h> and <bp-asm.h>.
50727         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50728         pointers.
50729         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
50730         <bp-sym.h> and <bp-asm.h>.
50731         (memcpy): Don't use BP_SYM.
50732         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
50733         <bp-sym.h> and <bp-asm.h>.
50734         (memset): Don't use BP_SYM.
50735         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50736         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50737         (__bzero): Don't use BP_SYM.
50738         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50739         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50740         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
50741         <bp-sym.h> and <bp-asm.h>.
50742         (__memchr): Don't use BP_SYM.
50743         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
50744         <bp-sym.h> and <bp-asm.h>.
50745         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50746         pointers.
50747         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
50748         <bp-sym.h> and <bp-asm.h>.
50749         (memcpy): Don't use BP_SYM.
50750         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
50751         <bp-sym.h> and <bp-asm.h>.
50752         (__mempcpy): Don't use BP_SYM.
50753         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
50754         <bp-sym.h> and <bp-asm.h>.
50755         (__memrchr): Don't use BP_SYM.
50756         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
50757         <bp-sym.h> and <bp-asm.h>.
50758         (memset): Don't use BP_SYM.
50759         (__bzero): Likewise.
50760         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
50761         <bp-sym.h> and <bp-asm.h>.
50762         (__rawmemchr): Don't use BP_SYM.
50763         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
50764         <bp-sym.h> and <bp-asm.h>.
50765         (__STRCMP): Don't use BP_SYM.
50766         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
50767         <bp-sym.h> and <bp-asm.h>.
50768         (strchr): Don't use BP_SYM.
50769         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
50770         <bp-sym.h> and <bp-asm.h>.
50771         (__strchrnul): Don't use BP_SYM.
50772         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
50773         <bp-sym.h> and <bp-asm.h>.
50774         (strlen): Don't use BP_SYM.
50775         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
50776         <bp-sym.h> and <bp-asm.h>.
50777         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50778         pointers.
50779         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
50780         <bp-sym.h> and <bp-asm.h>.
50781         (__strnlen): Don't use BP_SYM.
50782         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
50783         <bp-sym.h> and <bp-asm.h>.
50784         (__GI__setjmp): Don't use BP_SYM.
50785         (_setjmp): Likewise.
50786         (__sigsetjmp): Likewise.
50787         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
50788         (L(start_addresses)): Don't use BP_SYM.
50789         (_start): Likewise.
50790         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
50791         <bp-asm.h>.
50792         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
50793         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
50794         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50795         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50796         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
50797         <bp-asm.h>.
50798         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
50799         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
50800         about bounded pointers.
50801         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50802         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50803         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
50804         <bp-asm.h>.
50805         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50806         about bounded pointers.  Remove GKM FIXME comments.
50807         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50808         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
50809         <bp-asm.h>.
50810         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
50811         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
50812         Remove GKM FIXME comments.
50813         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50814         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50815         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
50816         <bp-asm.h>.
50817         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50818         about bounded pointers.  Remove GKM FIXME comment.
50819         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
50820         and <bp-asm.h>.
50821         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50822         pointers.
50823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
50824         <bp-sym.h> and <bp-asm.h>.
50825         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
50827         <bp-sym.h> and <bp-asm.h>.
50828         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50829         comment.
50831 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50833         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
50834         call free(NULL).
50836 2013-03-05  David S. Miller  <davem@davemloft.net>
50838         * po/es.po: Update from translation team.
50840 2013-03-05  Andreas Jaeger  <aj@suse.de>
50842         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
50843         <bits/mman-linux.h>.
50844         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50845         is fine.
50846         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
50847         <bits/mman-linux.h> to end of file.
50848         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50849         is fine.
50850         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
50851         <bits/mman-linux.h> to end of file.
50852         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50853         is fine.
50854         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
50855         <bits/mman-linux.h> to end of file.
50857         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
50858         (MCL_CURRENT, MCL_FUTURE): Define here.
50860 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50862         [BZ #15232]
50863         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
50864         attribute_hidden.
50865         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50867 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50869         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
50870         fourth parameter needed for rt_sigprocmask syscall.
50871         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
50872         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50873         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
50874         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50875         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50876         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
50878 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
50880         [BZ #13550]
50881         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
50882         comment about bounded pointers.
50883         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
50884         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
50886 2013-03-04  Andreas Jaeger  <aj@suse.de>
50888         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
50889         common definitions.
50891         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
50892         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
50893         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
50894         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50895         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50896         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50898 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50900         [BZ #15055]
50901         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
50902         __ieee754_sqrl instead of __sqrl.
50904 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
50906         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
50907         * sysdeps/powerpc/fpu_control.h: ... here.
50908         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
50909         * sysdeps/powerpc/bits/fenvinline.h: ... here.
50910         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
50911         * sysdeps/powerpc/bits/mathinline.h: ... here.
50913 2013-03-01  Roland McGrath  <roland@hack.frob.com>
50915         * elf/dl-hwcaps.c (_dl_important_hwcaps):
50916         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
50917         to just [NEED_DL_SYSINFO_DSO].
50918         * elf/dl-support.c: Likewise.
50919         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
50920         * elf/rtld.c (dl_main): Likewise.
50921         * elf/setup-vdso.h (setup_vdso): Likewise.
50922         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
50923         * sysdeps/unix/sysv/linux/dl-sysdep.c
50924         (_dl_discover_osversion): Likewise.
50926 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
50928         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
50929         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50931 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
50933         * NEWS: Mention libm performance improvements and non-x86 PI
50934         futex support.
50936         * csu/libc-start.c (__pthread_initialize_minimal): Change
50937         function arguments.
50938         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50940 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
50942         [BZ #13550]
50943         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
50944         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
50945         <bp-sym.h> and <bp-asm.h>.
50946         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50947         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
50948         and <bp-asm.h>.
50949         (memcpy): Don't use BP_SYM.
50950         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
50951         <bp-asm.h>.
50952         (__mpn_add_n): Don't use BP_SYM.
50953         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
50954         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
50955         and <bp-asm.h>.
50956         (__mpn_addmul_1): Don't use BP_SYM.
50957         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50958         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
50959         <bp-sym.h>.
50960         (_setjmp): Don't use BP_SYM.
50961         (__novmx_setjmp): Likewise.
50962         (__GI__setjmp): Likewise.
50963         (__vmx_setjmp): Likewise.
50964         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
50965         <bp-sym.h>.
50966         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
50967         (__bzero): Don't use BP_SYM.
50968         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50969         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50970         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
50971         <bp-sym.h> and <bp-asm.h>.
50972         (memcpy): Don't use BP_SYM.
50973         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
50974         <bp-sym.h> and <bp-asm.h>.
50975         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50976         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
50977         <bp-sym.h> and <bp-asm.h>.
50978         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50979         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
50980         <bp-asm.h>.
50981         (__mpn_lshift): Don't use BP_SYM.
50982         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50983         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
50984         <bp-asm.h>.
50985         (memset): Don't use BP_SYM.
50986         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50987         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50988         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
50989         <bp-asm.h>.
50990         (__mpn_mul_1): Don't use BP_SYM.
50991         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50992         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
50993         <bp-sym.h> and <bp-asm.h>.
50994         (memcmp): Don't use BP_SYM.
50995         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
50996         <bp-sym.h> and <bp-asm.h>.
50997         (memcpy): Don't use BP_SYM.
50998         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
50999         <bp-sym.h> and <bp-asm.h>.
51000         (memset): Don't use BP_SYM.
51001         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
51002         <bp-sym.h> and <bp-asm.h>.
51003         (strncmp): Don't use BP_SYM.
51004         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
51005         <bp-sym.h> and <bp-asm.h>.
51006         (memcpy): Don't use BP_SYM.
51007         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
51008         <bp-sym.h> and <bp-asm.h>.
51009         (memset): Don't use BP_SYM.
51010         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
51011         <bp-sym.h> and <bp-asm.h>.
51012         (__memchr): Don't use BP_SYM.
51013         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
51014         <bp-sym.h> and <bp-asm.h>.
51015         (memcmp): Don't use BP_SYM.
51016         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
51017         <bp-sym.h> and <bp-asm.h>.
51018         (memcpy): Don't use BP_SYM.
51019         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
51020         <bp-sym.h> and <bp-asm.h>.
51021         (__mempcpy): Don't use BP_SYM.
51022         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
51023         <bp-sym.h> and <bp-asm.h>.
51024         (__memrchr): Don't use BP_SYM.
51025         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
51026         <bp-sym.h> and <bp-asm.h>.
51027         (memset): Don't use BP_SYM.
51028         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
51029         <bp-sym.h> and <bp-asm.h>.
51030         (__rawmemchr): Don't use BP_SYM.
51031         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
51032         <bp-sym.h> and <bp-asm.h>.
51033         (__STRCMP): Don't use BP_SYM.
51034         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
51035         <bp-sym.h> and <bp-asm.h>.
51036         (strchr): Don't use BP_SYM.
51037         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
51038         <bp-sym.h> and <bp-asm.h>.
51039         (__strchrnul): Don't use BP_SYM.
51040         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
51041         <bp-sym.h> and <bp-asm.h>.
51042         (strlen): Don't use BP_SYM.
51043         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
51044         <bp-sym.h> and <bp-asm.h>.
51045         (strncmp): Don't use BP_SYM.
51046         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
51047         <bp-sym.h> and <bp-asm.h>.
51048         (__strnlen): Don't use BP_SYM.
51049         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
51050         <bp-asm.h>.
51051         (__mpn_rshift): Don't use BP_SYM.
51052         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51053         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
51054         <bp-sym.h> and <bp-asm.h>.
51055         (__sigsetjmp): Don't use BP_SYM.
51056         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
51057         (L(start_addresses)): Don't use BP_SYM.
51058         (_start): Likewise.
51059         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
51060         <bp-asm.h>.
51061         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
51062         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51063         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51064         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
51065         <bp-asm.h>.
51066         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
51067         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51068         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51069         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
51070         <bp-asm.h>.
51071         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51072         comments.
51073         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51074         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
51075         <bp-asm.h>.
51076         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
51077         FIXME comments.
51078         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51079         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51080         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
51081         <bp-asm.h>.
51082         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51083         comment.
51084         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
51085         and <bp-asm.h>.
51086         (strncmp): Don't use BP_SYM,
51087         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
51088         <bp-asm.h>.
51089         (__mpn_sub_n): Don't use BP_SYM.
51090         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51091         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
51092         and <bp-asm.h>.
51093         (__mpn_submul_1): Don't use BP_SYM.
51094         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
51096         <bp-sym.h> and <bp-asm.h>.
51097         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
51099         <bp-sym.h> and <bp-asm.h>.
51100         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51101         comment.
51103 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51105         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
51106         Use ZK to minimize writes to Z.
51107         (sub_magnitudes): Simplify code a bit.
51108         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
51109         Use ZK to minimize writes to Z.
51110         (sub_magnitudes): Simplify code a bit.
51112 2013-02-27  Roland McGrath  <roland@hack.frob.com>
51114         * csu/gmon-start.c: Add special exception to license text.
51116 2013-02-27  Richard Henderson  <rth@redhat.com>
51118         * scripts/config.guess: Update from config.git.
51119         * scripts/config.sub: Likewise.
51121 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51123         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
51125         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
51127         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
51129         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
51131         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
51133 2013-02-26  Roland McGrath  <roland@hack.frob.com>
51135         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
51136         [$(build-shared = yes].
51138 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51140         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
51141         (__mul): Reduce iterations for calculating mantissa.
51143         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
51144         MPTWO.
51145         (__mpranred): Likewise.
51147         [BZ #15160]
51148         * malloc/memusagestat.c (main): Draw graphs for heap and stack
51149         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
51151 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
51153         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
51154         Define __attribute__.
51156 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51158         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
51159         unused.
51160         * posix/regex_internal.h (__attribute): Remove.
51161         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51162         (re_string_context_at): Likewise.
51163         (bitset_not): Use __attribute__ and mark function as possibly
51164         unused.
51165         (bitset_merge): Likewise.
51166         (bitset_mask): Likewise.
51167         (re_string_char_size_at): Likewise.
51168         (re_string_wchar_at): Likewise.
51169         (re_string_elem_size_at): Likewise.
51171 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51173         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
51174         code.
51175         (cc32): Likewise.
51177         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51178         (__acr): Likewise.
51179         (__cpy): Likewise.
51180         (norm): Likewise.
51181         (denorm): Likewise.
51182         (__dbl_mp): Likewise.
51183         (add_magnitudes): Likewise.
51184         (sub_magnitudes): Likewise.
51185         (__mul): Likewise.
51186         (__inv): Likewise.
51188         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51189         style.
51191         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51192         style.
51194         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51195         code.
51197         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51198         up changes with default code.
51199         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51200         Likewise.
51202 2013-02-24  Allan McRae  <allan@archlinux.org>
51204         * manual/socket.texi (The Internet Namespace): Order menu items
51205         to match that in the file.
51207         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51208         node listing of the info page menu.
51210 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
51212         [BZ #13550]
51213         * sysdeps/i386/bp-asm.h: Remove file.
51214         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51215         (PARMS): Do not use macros from bp-asm.h.
51216         (S1): Likewise.
51217         (S2): Likewise.
51218         (SIZE): Likewise.
51219         (__mpn_add_n): Do not use BP_SYM
51220         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
51221         "bp-asm.h".
51222         (PARMS): Do not use macros from bp-asm.h.
51223         (S1): Likewise.
51224         (SIZE): Likewise.
51225         (__mpn_addmul_1): Do not use BP_SYM
51226         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
51227         "bp-asm.h".
51228         (PARMS): Do not use macros from bp-asm.h.
51229         (SIGMSK): Likewise.
51230         (_setjmp): Likewise.  Do not use BP_SYM.
51231         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
51232         "bp-asm.h".
51233         (PARMS): Do not use macros from bp-asm.h.
51234         (SIGMSK): Likewise.
51235         (setjmp): Likewise.  Do not use BP_SYM.
51236         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
51237         "bp-asm.h".
51238         (PARMS): Do not use macros from bp-asm.h.
51239         (__frexp): Do not use BP_SYM.
51240         (frexp): Likewise.
51241         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51242         "bp-asm.h".
51243         (PARMS): Do not use macros from bp-asm.h.
51244         (__frexpf): Do not use BP_SYM.
51245         (frexpf): Likewise.
51246         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
51247         "bp-asm.h".
51248         (PARMS): Do not use macros from bp-asm.h.
51249         (__frexpl): Do not use BP_SYM.
51250         (frexpl): Likewise.
51251         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
51252         "bp-asm.h".
51253         (PARMS): Do not use macros from bp-asm.h.
51254         (__remquo): Do not use BP_SYM.
51255         (remquo): Likewise.
51256         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
51257         "bp-asm.h".
51258         (PARMS): Do not use macros from bp-asm.h.
51259         (__remquof): Do not use BP_SYM.
51260         (remquof): Likewise.
51261         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
51262         "bp-asm.h".
51263         (PARMS): Do not use macros from bp-asm.h.
51264         (__remquol): Do not use BP_SYM.
51265         (remquol): Likewise.
51266         * sysdeps/i386/i486/strcat.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         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
51272         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
51273         "bp-asm.h".
51274         (PARMS): Do not use macros from bp-asm.h.
51275         (strlen): Do not use BP_SYM.
51276         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
51277         "bp-asm.h".
51278         (PARMS): Do not use macros from bp-asm.h.
51279         (S1): Likewise.
51280         (S2): Likewise.
51281         (SIZE): Likewise.
51282         (__mpn_add_n): Do not use BP_SYM.
51283         * sysdeps/i386/i586/addmul_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_addmul_1): Do not use BP_SYM.
51289         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51290         weak_alias.
51291         (bzero): Likewise.
51292         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51293         "bp-asm.h".
51294         (PARMS): Do not use macros from bp-asm.h.
51295         (S): Likewise.
51296         (SIZE): Likewise.
51297         (__mpn_lshift): Do not use BP_SYM.
51298         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
51299         "bp-asm.h".
51300         (PARMS): Do not use macros from bp-asm.h.
51301         (DEST): Likewise.
51302         (SRC): Likewise.
51303         (LEN): Likewise.
51304         (memcpy): Likewise.  Do not use BP_SYM.
51305         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51306         libc_hidden_def and weak_alias.
51307         (mempcpy): Do not use BP_SYM in weak_alias.
51308         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
51309         "bp-asm.h".
51310         (PARMS): Do not use macros from bp-asm.h.
51311         (DEST): Likewise.
51312         (LEN): Likewise.
51313         [!BZERO_P] (CHR): Likewise.
51314         (memset): Likewise.  Do not use BP_SYM.
51315         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51316         "bp-asm.h".
51317         (PARMS): Do not use macros from bp-asm.h.
51318         (S1): Likewise.
51319         (SIZE): Likewise.
51320         (__mpn_mul_1): Do not use BP_SYM.
51321         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51322         "bp-asm.h".
51323         (PARMS): Do not use macros from bp-asm.h.
51324         (S): Likewise.
51325         (SIZE): Likewise.
51326         (__mpn_rshift): Do not use BP_SYM.
51327         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51328         "bp-asm.h".
51329         (PARMS): Do not use macros from bp-asm.h.
51330         (STR): Likewise.
51331         (CHR): Likewise.
51332         (strchr): Likewise.  Do not use BP_SYM.
51333         (index): Do not use BP_SYM in weak_alias.
51334         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51335         "bp-asm.h".
51336         (PARMS): Do not use macros from bp-asm.h.
51337         (DEST): Likewise.
51338         (SRC): Likewise.
51339         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
51340         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51341         "bp-asm.h".
51342         (PARMS): Do not use macros from bp-asm.h.
51343         (strlen): Do not use BP_SYM.
51344         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
51345         "bp-asm.h".
51346         (PARMS): Do not use macros from bp-asm.h.
51347         (S1): Likewise.
51348         (S2): Likewise.
51349         (SIZE): Likewise.
51350         (__mpn_sub_n): Do not use BP_SYM.
51351         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51352         "bp-asm.h".
51353         (PARMS): Do not use macros from bp-asm.h.
51354         (S1): Likewise.
51355         (SIZE): Likewise.
51356         (__mpn_submul_1): Do not use BP_SYM.
51357         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51358         "bp-asm.h".
51359         (PARMS): Do not use macros from bp-asm.h.
51360         (S1): Likewise.
51361         (S2): Likewise.
51362         (SIZE): Likewise.
51363         (__mpn_add_n): Do not use BP_SYM.
51364         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51365         weak_alias.
51366         (bzero): Likewise.
51367         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51368         "bp-asm.h".
51369         (PARMS): Do not use macros from bp-asm.h.
51370         (BLK2): Likewise.
51371         (LEN): Likewise.
51372         (memcmp): Do not use BP_SYM.
51373         (bcmp): Do not use BP_SYM in weak_alias.
51374         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
51375         "bp-asm.h".
51376         (PARMS): Do not use macros from bp-asm.h.
51377         (DEST): Likewise.
51378         (SRC): Likewise.
51379         (LEN): Likewise.
51380         (memcpy): Likewise.  Do not use BP_SYM.
51381         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
51382         "bp-asm.h".
51383         (PARMS): Do not use macros from bp-asm.h.
51384         (DEST): Likewise.
51385         (SRC): Likewise.
51386         (LEN): Likewise.
51387         (memmove): Likewise.  Do not use BP_SYM.
51388         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
51389         "bp-asm.h".
51390         (PARMS): Do not use macros from bp-asm.h.
51391         (DEST): Likewise.
51392         (SRC): Likewise.
51393         (LEN): Likewise.
51394         (__mempcpy): Likewise.  Do not use BP_SYM.
51395         (mempcpy): Do not use BP_SYM in weak_alias.
51396         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
51397         "bp-asm.h".
51398         (PARMS): Do not use macros from bp-asm.h.
51399         (DEST): Likewise.
51400         (LEN): Likewise.
51401         [!BZERO_P] (CHR): Likewise.
51402         (memset): Likewise.  Do not use BP_SYM.
51403         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
51404         "bp-asm.h".
51405         (PARMS): Do not use macros from bp-asm.h.
51406         (STR2): Likewise.
51407         (strcmp): Do not use BP_SYM.
51408         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
51409         "bp-asm.h".
51410         (PARMS): Do not use macros from bp-asm.h.
51411         (STR): Likewise.
51412         (DELIM): Likewise.
51413         [USE_AS_STRTOK_R] (SAVE): Likewise.
51414         (FUNCTION): Likewise.  Do not use BP_SYM.
51415         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
51416         aliases.
51417         (strtok_r): Likewise.
51418         (__GI___strtok_r): Likewise.
51419         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51420         (PARMS): Do not use macros from bp-asm.h.
51421         (S): Likewise.
51422         (SIZE): Likewise.
51423         (__mpn_lshift): Do not use BP_SYM.
51424         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51425         (PARMS): Do not use macros from bp-asm.h.
51426         (STR): Likewise.
51427         (CHR): Likewise.
51428         (__memchr): Do not use BP_SYM.
51429         (memchr): Do not use BP_SYM in weak_alias.
51430         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51431         (PARMS): Do not use macros from bp-asm.h.
51432         (BLK2): Likewise.
51433         (LEN): Likewise.
51434         (memcmp): Do not use BP_SYM.
51435         (bcmp): Do not use BP_SYM in weak_alias.
51436         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
51437         (PARMS): Do not use macros from bp-asm.h.
51438         (S1): Likewise.
51439         (SIZE): Likewise.
51440         (__mpn_mul_1): Do not use BP_SYM.
51441         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
51442         "bp-asm.h".
51443         (PARMS): Do not use macros from bp-asm.h.
51444         (STR): Likewise.
51445         (CHR): Likewise.
51446         (__rawmemchr): Do not use BP_SYM.
51447         (rawmemchr): Do not use BP_SYM in weak_alias.
51448         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51449         (PARMS): Do not use macros from bp-asm.h.
51450         (S): Likewise.
51451         (SIZE): Likewise.
51452         (__mpn_rshift): Do not use BP_SYM.
51453         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51454         (PARMS): Do not use macros from bp-asm.h.
51455         (SIGMSK): Likewise.
51456         (__sigsetjmp): Likewise.  Do not use BP_SYM.
51457         * sysdeps/i386/start.S: Do not include "bp-sym.h".
51458         (_start): Do not use BP_SYM.
51459         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
51460         (PARMS): Do not use macros from bp-asm.h.
51461         (DEST): Likewise.
51462         (SRC): Likewise.
51463         (__stpcpy): Likewise.  Do not use BP_SYM.
51464         (stpcpy): Do not use BP_SYM in weak_alias.
51465         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
51466         "bp-asm.h".
51467         (PARMS): Do not use macros from bp-asm.h.
51468         (DEST): Likewise.
51469         (SRC): Likewise.
51470         (LEN): Likewise.
51471         (__stpncpy): Likewise.  Do not use BP_SYM.
51472         (stpncpy): Do not use BP_SYM in weak_alias.
51473         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51474         (PARMS): Do not use macros from bp-asm.h.
51475         (STR): Likewise.
51476         (CHR): Likewise.
51477         (strchr): Likewise.  Do not use BP_SYM.
51478         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
51479         "bp-asm.h".
51480         (PARMS): Do not use macros from bp-asm.h.
51481         (STR): Likewise.
51482         (CHR): Likewise.
51483         (__strchrnul): Likewise.  Do not use BP_SYM.
51484         (strchrnul): Do not use BP_SYM in weak_alias.
51485         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
51486         "bp-asm.h".
51487         (PARMS): Do not use macros from bp-asm.h.
51488         (STOP): Likewise.
51489         (strcspn): Do not use BP_SYM.
51490         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
51491         "bp-asm.h".
51492         (PARMS): Do not use macros from bp-asm.h.
51493         (STR): Likewise.
51494         (STOP): Likewise.
51495         (strpbrk): Likewise.  Do not use BP_SYM.
51496         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
51497         "bp-asm.h".
51498         (PARMS): Do not use macros from bp-asm.h.
51499         (STR): Likewise.
51500         (CHR): Likewise.
51501         (strrchr): Likewise.  Do not use BP_SYM.
51502         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
51503         (PARMS): Do not use macros from bp-asm.h.
51504         (SKIP): Likewise.
51505         (strspn): Do not use BP_SYM.
51506         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
51507         (PARMS): Do not use macros from bp-asm.h.
51508         (STR): Likewise.
51509         (DELIM): Likewise.
51510         (SAVE): Likewise.
51511         (FUNCTION): Likewise.  Do not use BP_SYM.
51512         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
51513         aliases.
51514         (strtok_r): Likewise.
51515         (__GI___strtok_r): Likewise.
51516         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51517         (PARMS): Do not use macros from bp-asm.h.
51518         (S1): Likewise.
51519         (S2): Likewise.
51520         (SIZE): Likewise.
51521         (__mpn_sub_n): Do not use BP_SYM.
51522         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
51523         "bp-asm.h".
51524         (PARMS): Do not use macros from bp-asm.h.
51525         (S1): Likewise.
51526         (SIZE): Likewise.
51527         (__mpn_submul_1): Do not use BP_SYM.
51528         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
51529         <bp-sym.h>.
51530         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
51531         and <bp-asm.h>.
51532         (PARMS): Do not use macros from bp-asm.h.
51533         (FLAGS): Likewise.
51534         (PTID): Likewise.
51535         (TLS): Likewise.
51536         (CTID): Likewise.
51537         (__clone): Do not use BP_SYM.
51538         (clone): Do not use BP_SYM in weak_alias.
51539         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
51540         and <bp-asm.h>.
51541         (PARMS): Do not use macros from bp-asm.h.
51542         (LEN): Likewise.
51543         (__mmap64): Do not use BP_SYM.
51544         (mmap64): Do not use BP_SYM in weak_alias.
51545         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51546         <bp-sym.h> and <bp-asm.h>.
51547         (PARMS): Do not use macros from bp-asm.h.
51548         (__posix_fadvise64_l64): Do not use BP_SYM.
51549         * sysdeps/unix/sysv/linux/i386/semtimedop.S
51550         (PARMS): Do not use macros from bp-asm.h.
51551         (NSOPS): Likewise.
51552         (semtimedop): Do not use BP_SYM.
51553         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
51554         and <bp-asm.h>.
51556 2013-02-21  Allan McRae  <allan@archlinux.org>
51558         * manual/message.texi (Charset conversion in gettext):
51559         Move @end statement to beginning of line.
51561 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51563         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
51564         static.
51565         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51566         Likewise.
51568         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
51569         (denorm): Likewise.
51570         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
51571         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
51573 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51575         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
51576         tail-call to the resolved function if pltexit isn't needed.
51578 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51580         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
51581         or Y being zero as being unlikely.
51582         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51583         Likewise.
51585 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
51587         * manual/nss.texi (System Databases and Name Service Switch):
51588         Remove frobnicate @pxref.
51590 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51592         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51593         __attribute__ ((unused)) to __attribute__ ((__unused__)).
51595 2013-02-20  Petr Machata  <pmachata@redhat.com>
51597         * elf/elf.h (R_ARM_TARGET1): New macro.
51598         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
51599         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
51600         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
51601         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
51602         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
51603         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
51604         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
51605         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
51606         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
51607         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
51608         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
51609         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
51610         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
51611         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
51612         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
51613         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
51614         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
51615         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
51616         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
51617         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
51618         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
51619         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
51620         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
51621         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
51622         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
51623         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
51624         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
51625         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
51626         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
51627         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
51628         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
51629         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
51630         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
51631         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
51632         (R_ARM_THM_GOT_BREL12): Likewise.
51633         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
51634         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
51635         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
51636         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
51637         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
51638         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
51639         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
51640         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
51641         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
51643 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51645         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51646         __attribute_used__ to __attribute__ ((unused)).
51648 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51650         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
51651         powerpc mpa.c.
51652         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
51653         comment formatting.
51654         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
51656 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
51658         [BZ #13550]
51659         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
51660         Remove macro.
51661         (ENTER): Remove both macro definitions.
51662         (LEAVE): Likewise.
51663         (CHECK_BOUNDS_LOW): Likewise.
51664         (CHECK_BOUNDS_HIGH): Likewise.
51665         (CHECK_BOUNDS_BOTH): Likewise.
51666         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
51667         (RETURN_BOUNDED_POINTER): Likewise.
51668         (RETURN_NULL_BOUNDED_POINTER): Likewise.
51669         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
51670         (POP_ERRNO_LOCATION_RETURN): Likewise.
51671         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
51672         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51673         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
51674         macros.
51675         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51676         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
51677         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
51678         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
51679         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
51680         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
51681         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
51682         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
51683         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
51684         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
51685         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
51686         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
51687         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51688         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
51689         removed macros.
51690         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51691         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
51692         macros.
51693         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51694         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
51695         * sysdeps/i386/i586/memset.S (memset): Likewise.
51696         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
51697         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51698         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
51699         macros.
51700         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51701         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
51702         Change uses of L(2) to L(out).
51703         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
51704         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
51705         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
51706         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51707         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
51708         removed macros.
51709         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51710         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
51711         macros.
51712         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51713         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
51714         (RETURN): Do not use macro LEAVE.
51715         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
51716         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
51717         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
51718         * sysdeps/i386/i686/memset.S (memset): Likewise.
51719         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
51720         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
51721         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51722         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
51723         Likewise.
51724         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51725         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
51726         L(1_2) and L(1_3) into L(1).
51727         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51728         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
51729         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51730         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
51731         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51732         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
51733         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
51734         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51735         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
51736         macros.
51737         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
51738         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51739         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
51740         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
51741         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
51742         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51743         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
51744         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
51745         * sysdeps/i386/strcspn.S (strcspn): Likewise.
51746         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
51747         * sysdeps/i386/strrchr.S (strrchr): Likewise.
51748         * sysdeps/i386/strspn.S (strspn): Likewise.
51749         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
51750         conditional code.
51751         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51752         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
51753         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51754         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
51755         L(1_3) into L(1_1).
51756         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
51757         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51758         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
51759         macros.
51760         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51762 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
51764         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
51765         macro.
51767 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51769         * math/atest-exp.c (exp_mpn): Remove ROUND.
51770         * math/atest-exp2.c (exp_mpn): Likewise.
51771         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
51773         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
51774         * stdlib/tst-tls-atexit-lib.c: Likewise.
51775         * stdlib/tst-tls-atexit.c: Likewise.
51777 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51779         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
51780         and __attribute_alloc_size__.
51782 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51784         * include/programs/xmalloc.h: Change __attribute_alloc_size to
51785         __attribute_alloc_size__.
51786         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
51787         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
51789 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51791         * include/programs/xmalloc.h: New file.
51792         * catgets/gencat.c: Include it.
51793         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
51794         * elf/pldd.c: Likewise.
51795         * iconv/iconv_charmap.c: Likewise.
51796         * iconv/iconvconfig.c: Likewise.
51797         * iconv/strtab.c: Likewise.
51798         * locale/programs/locale.c: Likewise.
51799         * locale/programs/localedef.h: Likewise.
51800         * locale/programs/simple-hash.c: Likewise.
51801         * nscd/nscd.h: Likewise.
51802         * nss/makedb.c: Likewise.
51803         * sysdeps/generic/ldconfig.h: Likewise.
51805 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51807         * Versions.def: Add GLIBC_2.18.
51808         * include/link.h (struct link_map): New member l_tls_dtor_count.
51809         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
51810         (__call_tls_dtors): Likewise.
51811         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
51812         __cxa_thread_atexit_impl.
51813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51814         Likewise.
51815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51816         Likewise.
51817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51818         Likewise.
51819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51820         Likewise.
51821         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
51823         Likewise.
51824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
51825         Likewise.
51826         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51828         Likewise.
51829         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
51830         (tests): Add test case tst-tls-atexit.
51831         (modules-names): Add shared library for tst-tls-atexit.
51832         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
51833         (GLIBC_PRIVATE): Add __call_tls_dtors.
51834         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
51835         for libstdc++.
51836         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
51837         * stdlib/tst-tls-atexit.c: New test case.
51838         * stdlib/tst-tls-atexit-lib.c: New test case.
51840         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
51842         * elf/Versions (ld): Add _dl_find_dso_for_object.
51843         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
51844         * elf/dl-open.c (_dl_find_dso_for_object): New function.
51845         (dl_open_worker): Use _dl_find_dso_for_object.
51846         * elf/dl-sym.c (do_sym): Likewise.
51847         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
51849 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51851         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
51852         Syntactic changes only.
51853         (_dl_runtime_profile): Do a tail-call to the resolved function.
51855 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
51857         [BZ #13550]
51858         * sysdeps/x86_64/bp-asm.h: Remove file.
51859         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
51860         <bp-sym.h> and <bp-asm.h>.
51861         (__clone): Do not use BP_SYM.
51862         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
51863         <bp-sym.h> and <bp-asm.h>.
51864         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51865         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
51866         "bp-asm.h".
51867         (_setjmp): Do not use BP_SYM.
51868         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
51869         "bp-asm.h".
51870         (setjmp): Do not use BP_SYM.
51871         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
51872         libc_hidden_def.
51873         (mempcpy): Do not use BP_SYM in weak_alias.
51874         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
51875         "bp-asm.h".
51876         (strchr): Do not use BP_SYM.
51877         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
51878         "bp-asm.h".
51879         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
51880         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
51881         (_start): Do not use BP_SYM.
51882         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
51883         "bp-asm.h".
51884         (strcat): Do not use BP_SYM.
51885         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
51886         "bp-asm.h".
51887         (STRCMP): Do not use BP_SYM.
51888         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
51889         "bp-asm.h".
51890         (STRCPY): Do not use BP_SYM.
51891         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
51892         "bp-asm.h".
51893         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
51894         "bp-asm.h".
51895         (FUNCTION): Do not use BP_SYM.
51896         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
51897         weak_alias.
51898         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
51900 2013-02-17  Andreas Jaeger  <aj@suse.de>
51902         * time/Versions: Sort entries.
51903         * string/Versions: Likewise.
51904         * resolv/Versions: Likewise.
51905         * posix/Versions: Likewise.
51906         * iconv/Versions: Likewise.
51907         * elf/Versions: Likewise.
51908         * wcsmbs/Versions: Likewise.
51910 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51912         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
51913         loop termination condition.
51915         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
51916         variable to calculate EZ.
51917         (__sqr): Likewise.
51919         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
51920         the lower precision input.
51922 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
51924         [BZ #13550]
51925         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
51926         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
51927         (run-via-rtld-prefix): Do not handle %-bp tests.
51928         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
51929         (all-object-suffixes): Remove .ob.
51930         (bppfx): Remove variable.
51931         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
51932         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
51933         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
51934         [$(build-bounded) = yes] (libtype.ob): Likewise.
51935         * Makerules (elide-routines.ob): Remove variable.
51936         (do-tests-clean): Do not handle *-bp.out.
51937         (common-mostlyclean): Do not handle *-bp and *-bp.out.
51938         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
51939         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
51940         (tests): Do not include $(tests-bp.out).
51941         (xtests): Do not include $(xtests-bp.out).
51942         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
51943         [$(build-bounded) = yes] ($(addprefix
51944         $(objpfx),$(binaries-bounded))): Remove rule.
51945         ($(objpfx)%-bp.out): Remove rule.
51946         * config.make.in (build-bounded): Remove variable.
51947         * crypt/Makefile [$(build-bounded) = yes]
51948         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
51949         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
51950         append to variable.
51951         [$(build-bounded) = yes] (install-lib): Likewise.
51952         [$(build-bounded) = yes] (generated): Likewise.
51953         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
51954         Remove rule.
51955         * intl/Makefile [$(build-bounded) = yes]
51956         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
51957         * math/Makefile [$(build-bounded) = yes]
51958         ($(tests:%=$(objpfx)%-bp): Likewise.
51959         * misc/Makefile [$(build-bounded) = yes]
51960         ($(objpfx)tst-tsearch-bp): Likewise.
51961         * nptl/Makeconfig (bounded-thread-library): Remove variable.
51962         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
51963         Remove dependency.
51964         * string/Makefile (o-objects.ob): Remove variable.
51965         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
51966         (CFLAGS-.ob): Remove variable.
51967         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
51968         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
51969         both definitions of variable.
51970         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
51971         (ASFLAGS-.ob): Remove variable.
51973 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
51975         [BZ #13550]
51976         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
51977         Remove __BOUNDED_POINTERS__ from condition.
51978         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
51979         * string/bits/string2.h [!__NO_STRING_INLINES &&
51980         !__BOUNDED_POINTERS__]: Likewise.
51981         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
51982         Likewise.
51983         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
51984         Remove conditional code.
51985         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
51986         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
51987         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
51988         condition.
51990         [BZ #13550]
51991         * csu/libc-start.c: Do not include <bp-sym.h>.
51992         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
51993         * elf/dl-open.c: Do not include <bp-sym.h>.
51994         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
51995         * math/fegetenv.c: Do not include <bp-sym.h>.
51996         (fegetenv): Do not use BP_SYM in versioned symbols.
51997         * nptl/sysdeps/pthread/bits/libc-lockP.h
51998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
51999         <bp-sym.h>.
52000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52001         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
52002         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52003         (__pthread_mutex_destroy): Likewise.
52004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52005         (__pthread_mutex_lock): Likewise.
52006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52007         (__pthread_mutex_trylock): Likewise.
52008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52009         (__pthread_mutex_unlock): Likewise.
52010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52011         (__pthread_mutexattr_init): Likewise.
52012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52013         (__pthread_mutexattr_destroy): Likewise.
52014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52015         (__pthread_mutexattr_settype): Likewise.
52016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52017         (__pthread_rwlock_init): Likewise.
52018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52019         (__pthread_rwlock_destroy): Likewise.
52020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52021         (__pthread_rwlock_rdlock): Likewise.
52022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52023         (__pthread_rwlock_tryrdlock): Likewise.
52024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52025         (__pthread_rwlock_wrlock): Likewise.
52026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52027         (__pthread_rwlock_trywrlock): Likewise.
52028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52029         (__pthread_rwlock_unlock): Likewise.
52030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52031         (__pthread_key_create): Likewise.
52032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52033         (__pthread_setspecific): Likewise.
52034         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52035         (__pthread_getspecific): Likewise.
52036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
52037         Likewise.
52038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52039         (_pthread_cleanup_push_defer): Likewise.
52040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52041         (_pthread_cleanup_pop_restore): Likewise.
52042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52043         (pthread_setcancelstate): Likewise.
52044         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
52045         <bp-sym.h>.
52046         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
52047         (memchr): Do not use BP_SYM in weak_alias.
52048         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
52049         (fegetenv): Do not use BP_SYM in versioned symbols.
52050         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
52051         (fesetenv): Do not use BP_SYM in versioned symbols.
52052         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52053         (feupdateenv): Do not use BP_SYM in versioned symbols.
52054         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52055         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52056         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
52057         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
52058         (open64): Do not use BP_SYM in weak_alias.
52059         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
52060         (fegetenv): Do not use BP_SYM in versioned symbols.
52061         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
52062         (fesetenv): Do not use BP_SYM in versioned symbols.
52063         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52064         (feupdateenv): Do not use BP_SYM in versioned symbols.
52065         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
52066         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
52067         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
52068         (feraiseexcept): Do not use BP_SYM in versioned symbols.
52069         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52070         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52071         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
52072         <bp-sym.h>.
52073         (__libc_start_main): Do not use BP_SYM.
52075 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52077         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
52078         redundant return line.
52079         (norm): Likewise.
52080         (denorm): Likewise.
52081         (dbl_mp): Likewise.
52082         (sub_magnitudes): Likewise.
52083         (__add): Likewise.
52084         (__sub): Likewise.
52085         (__mul): Likewise.
52086         (__inv): Likewise.
52087         (__dvd): Likewise.
52088         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
52089         (norm): Likewise.
52090         (denorm): Likewise.
52091         (dbl_mp): Likewise.
52092         (sub_magnitudes): Likewise.
52093         (__add): Likewise.
52094         (__sub): Likewise.
52095         (__mul): Likewise.
52096         (__inv): Likewise.
52097         (__dvd): Likewise.
52099         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
52100         instead of __mul.
52101         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52102         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
52103         (cc32): Likewise.
52105         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
52106         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
52107         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
52108         of __mul for squares.
52109         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
52110         function
52111         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
52112         Likewise.
52113         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
52114         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52116 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
52118         [BZ #13550]
52119         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
52120         code.
52121         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
52122         prototype or function definition.  Rename ubp_* variables and
52123         parameters.  Remove argv definitions conditional on
52124         [__BOUNDED_POINTERS__].
52125         * debug/backtrace.c (__backtrace): Do not use __unbounded.
52126         * elf/dl-runtime.c (_dl_fixup): Likewise.
52127         * include/set-hooks.h (RUN_HOOK): Likewise.
52128         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
52129         definition.
52130         * string/strcpy.c (strcpy): Do not use __unbounded.
52131         * sysdeps/generic/frame.h (struct layout): Likewise.
52132         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
52133         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
52134         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
52135         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
52136         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
52137         (__backtrace): Likewise.
52138         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
52139         use __ptrvalue.
52140         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
52141         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52142         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
52143         Likewise.
52144         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
52145         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
52146         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52147         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52148         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
52149         Do not use __unbounded.
52150         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
52151         Rename __unboundedrlimits parameter to rlimits in prototype.
52152         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
52153         Do not use __unbounded.
52154         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
52155         not use __ptrvalue.
52156         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52157         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
52158         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52159         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
52160         __ptrvalue or __unbounded.
52161         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
52162         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
52163         use __unbounded.
52164         (__new_msgctl): Do not use __ptrvalue.
52165         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
52166         __unbounded.
52167         (__libc_msgrcv): Do not use __ptrvalue.
52168         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
52169         startup_info): Do not use __unbounded.
52170         (__libc_start_main): Likewise.  Rename ubp_* variables and
52171         parameters.  Remove argv definitions conditional on
52172         [__BOUNDED_POINTERS__].
52173         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
52174         __ptrvalue.
52175         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
52176         use __unbounded.
52177         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52178         or __ptrvalue.
52179         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52180         use __unbounded.
52181         (__new_shmctl): Do not use __ptrvalue.
52182         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52183         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52184         Likewise.
52185         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52186         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52187         (__libc_sigaction): Likewise.
52188         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52189         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52190         Likewise.
52191         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52193 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
52195         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52197         * string/mempcpy.c: Implement by calling memcpy.
52199 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52201         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52203         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52204         evaluation.
52206         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52207         values in the mantissa.
52209         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52210         minimize writes to Z.
52211         (sub_magnitudes): Simplify code a bit.
52213 2013-02-12  Roland McGrath  <roland@hack.frob.com>
52215         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
52216         from the message.  The linker prefixes all warnings with that already.
52218 2013-02-12  Andreas Schwab  <schwab@suse.de>
52220         [BZ #15078]
52221         * posix/regexec.c (extend_buffers): Add parameter min_len.
52222         (check_matching): Pass minimum needed length.
52223         (clean_state_log_if_needed): Likewise.
52224         (get_subexp): Likewise.
52225         * posix/Makefile (tests): Add bug-regex34.
52226         (bug-regex34-ENV): Define.
52227         * posix/bug-regex34.c: New file.
52229         [BZ #11561]
52230         * posix/regcomp.c (parse_bracket_exp): When looking up collating
52231         elements compare against the byte sequence of it, not its name.
52232         * posix/Makefile (tests): Add bug-regex35.
52233         (bug-regex35-ENV): Define.
52234         * posix/bug-regex35.c: New file.
52236 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52238         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
52239         comment.
52240         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
52241         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52242         (CHECK_EOL): Add undef.
52244 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
52246         * bits/stdlib-bsearch.h: New file.
52247         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
52248         * stdlib/stdlib.h: Likewise.
52250 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52252         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
52253         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
52254         declaration.
52255         * manual/search.texi (Array Search Function): Add missing const in
52256         lfind prototype.
52257         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
52258         declaration to use rlim_t.
52259         (Basic Scheduling Functions): Remove erroneous const from
52260         sched_getparam prototype.  Remove erroneous * from
52261         sched_get_priority_max and sched_get_priority_min prototypes.
52262         (Resource Usage): Fix summary @comment on vtimes to refer to
52263         sys/vtimes.h rather than vtimes.h.
52264         Add missing *s in vtimes prototype.
52265         (Limits on Resources): Fix ulimit prototype to return long int.
52266         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
52267         prototypes to use long int rather than double.
52268         (BSD Random): Fix initstate and setstate to use char *, not void *.
52269         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
52270         prototype to make second argument 'struct aiocb64 *const[]'.
52271         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
52272         (Status of AIO Operations): Remove erroneous const in aio_return and
52273         aio_return64 prototypes.
52274         (Synchronizing I/O): Fix sync prototype to return void.
52275         * manual/startup.texi (Suboptions): Remove an erroneous const in
52276         getsubopt prototype.
52277         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
52278         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
52279         use size_t rather than int.
52280         (Scanning All Users): Likewise for getpwent_r.
52281         (Setting Groups): Add missing const to setgroups prototype.
52282         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
52283         * manual/socket.texi (Host Names): Fix gethostbyaddr and
52284         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
52285         'const void *' rather than 'const char *'.
52286         (Host Address Functions): Likewise for inet_ntop.
52287         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
52288         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
52289         ssize_t for return value.
52290         (Sending Data): Likewise for send, sendto, sendmsg.
52291         (Socket Option Functions): Add a missing const in setsockopt prototype.
52292         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52293         use wchar_t for the argument.
52294         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52295         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52296         take no arguments.
52297         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52298         double/float/long double for second argument.
52299         Fix return types of significand, significandf, significandl.
52300         * manual/filesys.texi (Setting Permissions): Use mode_t for second
52301         argument in fchmod prototype.
52302         (File Owner): Use uid_t and gid_t in fchown prototype.
52303         (File Times): Add const to utimes, futimes, and lutimes prototypes.
52304         (Making Special Files): Use mode_t and dev_t in mknod prototype.
52305         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52306         use 'const struct dirent **' as argument types to CMP function pointer
52307         argument.
52308         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52309         (File Times): Fix summary magic @comment for struct utimbuf and utime
52310         to refer to utime.h, not time.h.
52311         * manual/string.texi (Argz Functions): Add missing const in
52312         argz_extract and argz_next prototypes.
52313         (Finding Tokens in a String): Likewise for basename.
52314         (String/Array Comparison): Fix typo in wcscasecmp prototype.
52315         (Copying and Concatenation): Fix typo in wmemmove prototype.
52316         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52317         (Signal Stack): Remove erroneous const in sigstack prototype.
52318         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52319         prototype.
52320         (Simple Calendar Time): Likewise for stime.
52321         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52322         prototype.
52323         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52324         say sys/sysctl.h instead.
52325         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52326         and vsyslog prototypes.
52328 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52330         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52331         Remove.
52333 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52335         * misc/sys/mman.h: Fix typo in mremap comment.
52337 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52339         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52340         the '\0' terminator.
52342 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52344         [BZ #13550]
52345         * debug/segfault.c: Don't include <bp-checks.h>.
52346         * sysdeps/generic/bp-checks.h: Remove file.
52347         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52348         (__GETDENTS): Don't use CHECK_N.
52349         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52350         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52351         (__getgroups): Don't use CHECK_N.
52352         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52353         (setgroups): Don't use CHECK_N.
52354         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52355         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52356         (__libc_msgrcv): Don't use CHECK_N.
52357         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52358         (__libc_msgsnd): Don't use CHECK_N.
52359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52360         <bp-checks.h>.
52361         (__libc_pread): Don't use CHECK_N.
52362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52363         include <bp-checks.h>.
52364         (__libc_pread64): Don't use CHECK_N.
52365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52366         include <bp-checks.h>.
52367         (__libc_pwrite): Don't use CHECK_N.
52368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52369         include <bp-checks.h>.
52370         (__libc_pwrite64): Don't use CHECK_N.
52371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
52372         <bp-checks.h>.
52373         (__libc_pread): Don't use CHECK_N.
52374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
52375         include <bp-checks.h>.
52376         (__libc_pread64): Don't use CHECK_N.
52377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
52378         include <bp-checks.h>.
52379         (__libc_pwrite): Don't use CHECK_N.
52380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
52381         include <bp-checks.h>.
52382         (__libc_pwrite64): Don't use CHECK_N.
52383         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52384         (do_pread): Don't use CHECK_N.
52385         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
52386         (do_pread64): Don't use CHECK_N.
52387         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52388         (do_pwrite): Don't use CHECK_N.
52389         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
52390         (do_pwrite64): Don't use CHECK_N.
52391         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
52392         (__libc_readv): Don't use CHECK_N.
52393         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
52394         (semop): Don't use CHECK_N.
52395         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
52396         <bp-checks.h>.
52397         (semtimedop): Don't use CHECK_N.
52398         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
52399         (__libc_pread): Don't use CHECK_N.
52400         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
52401         <bp-checks.h>.
52402         (__libc_pread64): Don't use CHECK_N.
52403         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
52404         <bp-checks.h>.
52405         (__libc_pwrite): Don't use CHECK_N.
52406         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
52407         <bp-checks.h>.
52408         (__libc_pwrite64): Don't use CHECK_N.
52409         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
52410         <bp-checks.h>.
52411         (__libc_msgrcv): Don't use CHECK_N.
52412         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
52413         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
52414         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
52415         (__libc_writev): Don't use CHECK_N.
52417 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52419         * string/strcpy.c: Removed unused variable.
52421         * Makeconfig (+sysdep-includes): Define with := rather than =.
52422         Use an existing include/ subdir of each sysdeps dir before it.
52424 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52426         * nscd/connection.c (register_traced_file): Comment function.
52427         [HAVE_INOTIFY] (union __inev): Define.
52428         [HAVE_INOTIFY] (inotify_check_files): New function.
52429         [HAVE_INOTIFY] (clear_db_cache): Likewise.
52430         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
52431         clear_db_cache.
52432         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
52434 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52436         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
52437         loaded if not already and that a failure is permanent.
52439 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52441         [BZ #15006]
52442         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
52443         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
52445 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52447         [BZ #13550]
52448         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
52449         (CHECK_1_NULL_OK): Likewise.
52450         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
52451         (__fxstat): Do not use CHECK_1.
52452         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
52453         <bp-checks.h>.
52454         (___fxstat64): Do not use CHECK_1.
52455         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
52456         <bp-checks.h>.
52457         (__fxstatat): Do not use CHECK_1.
52458         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
52459         <bp-checks.h>.
52460         (__fxstatat64): Do not use CHECK_1.
52461         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
52462         <bp-checks.h>.
52463         (__fxstat): Do not use CHECK_1.
52464         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
52465         <bp-checks.h>.
52466         (__fxstatat): Do not use CHECK_1.
52467         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52468         <bp-checks.h>.
52469         (__getresgid): Do not use CHECK_1.
52470         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52471         <bp-checks.h>.
52472         (__getresuid): Do not use CHECK_1.
52473         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
52474         <bp-checks.h>.
52475         (__lxstat): Do not use CHECK_1.
52476         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52477         <bp-checks.h>.
52478         (__old_msgctl): Do not use CHECK_1.
52479         (__new_msgctl): Likewise.
52480         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
52481         <bp-checks.h>.
52482         (__new_setrlimit): Do not use CHECK_1.
52483         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52484         <bp-checks.h>.
52485         (__old_shmctl): Do not use CHECK_1.
52486         (__new_shmctl): Likewise.
52487         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
52488         <bp-checks.h>.
52489         (__xstat): Do not use CHECK_1.
52490         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
52491         (__lxstat): Do not use CHECK_1.
52492         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
52493         <bp-checks.h>.
52494         (___lxstat64): Do not use CHECK_1.
52495         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
52496         (__old_msgctl): Do not use CHECK_1.
52497         (__new_msgctl): Likewise.
52498         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
52499         <bp-checks.h>.
52500         (__gettimeofday): Do not use CHECK_1.
52501         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
52502         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
52503         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
52504         <bp-checks.h>.
52505         (__gettimeofday): Do not use CHECK_1.
52506         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
52507         (__old_shmctl): Do not use CHECK_1_NULL_OK.
52508         (__new_shmctl): Do not use CHECK_1.
52509         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
52510         <bp-checks.h>.
52511         (do_sigtimedwait): Do not use CHECK_1.
52512         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
52513         <bp-checks.h>.
52514         (do_sigwaitinfo): Do not use CHECK_1.
52515         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
52516         <bp-checks.h>.
52517         (msgctl): Do not use CHECK_1.
52518         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
52519         <bp-checks.h>.
52520         (shmctl): Do not use CHECK_1.
52521         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
52522         (ustat): Do not use CHECK_1.
52523         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
52524         <bp-checks.h>.
52525         (__fxstat): Do not use CHECK_1.
52526         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
52527         <bp-checks.h>.
52528         (__fxstatat): Do not use CHECK_1.
52529         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
52530         <bp-checks.h>.
52531         (__lxstat): Do not use CHECK_1.
52532         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
52533         <bp-checks.h>.
52534         (__xstat): Do not use CHECK_1.
52535         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
52536         (__xstat): Do not use CHECK_1.
52537         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
52538         (___xstat64): Do not use CHECK_1.
52540         [BZ #13550]
52541         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
52542         definitions.
52543         (CHECK_BOUNDS_HIGH): Likewise.
52544         * string/strcpy.c: Do not include <bp-checks.h>.
52545         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
52547 2013-02-07  Roland McGrath  <roland@hack.frob.com>
52549         * nscd/nscd-client.h (__nscd_drop_map_ref):
52550         Add __attribute__ ((unused)).
52551         * nis/nss-nisplus.h (niserr2nss): Likewise.
52553         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
52554         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
52556         * csu/libc-tls.c (init_static_tls, init_slotinfo):
52557         Remove inline keyword.
52558         * include/rounding-mode.h (round_away): Likewise.
52559         * libio/wfileops.c (adjust_wide_data): Likewise.
52560         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
52561         (__m128i_strloadu_tolower): Likewise.
52562         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
52563         (__m128i_strloadu_tolower): Likewise.
52564         * time/mktime.c (ydhms_diff): Likewise.
52565         * locale/elem-hash.h (elem_hash): Likewise.
52566         * locale/setlocale.c (setdata): Likewise.
52567         * posix/regex_internal.h (re_string_char_size_at): Likewise.
52568         (re_string_wchar_at): Likewise.
52569         (bitset_not, bitset_merge, bitset_mask): Likewise.
52570         [!(__GNUC__ > 3)] (inline): Remove macro.
52571         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
52572         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
52573         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
52574         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
52575         * string/memcmp.c (memcmp_bytes): Likewise.
52576         * locale/programs/locarchive.c (compute_hashval): Likewise.
52577         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
52578         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
52579         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
52580         * nss/getent.c (print_rpc, print_protocols): Likewise.
52581         (print_passwd, print_group, print_aliases): Likewise.
52582         * nis/nss-nisplus.h (niserr2nss): Likewise.
52583         * nscd/connections.c (restart_p): Likewise.
52584         Change return type to bool.
52586 2013-02-05  Roland McGrath  <roland@hack.frob.com>
52588         * Makeconfig (all-Depend-files): Add existing
52589         $(sorted-subdirs:=/Depend) files.
52590         (all-subdirs): Remove nss.
52591         * sysdeps/unix/inet/Subdirs: Add it here instead.
52592         * hesiod/Depend: New file.
52594         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
52595         instead of calling alloca.
52597         * io/lseek.c (__lseek): Rename to __libc_lseek.
52598         Define __lseek as an alias.
52600         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
52602 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
52604         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
52605         else clause and remove check for non-standard endianness.
52607 2013-02-04  David S. Miller  <davem@davemloft.net>
52609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52611 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
52613         [BZ #13550]
52614         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
52615         (__ubp_memchr): Remove prototype.
52616         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
52617         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52618         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
52619         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52620         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
52621         Remove alias.
52622         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
52623         (__ubp_memchr): Likewise.
52624         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
52625         (__ubp_memchr): Likewise.
52626         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
52627         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
52628         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
52629         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
52630         CHECK_STRING.
52631         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52632         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
52633         (__getcwd): Do not use CHECK_STRING.
52634         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52635         <bp-checks.h>.
52636         (__real_chown): Do not use CHECK_STRING.
52637         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
52638         <bp-checks.h>.
52639         (fchownat): Do not use CHECK_STRING.
52640         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
52641         CHECK_STRING.
52642         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52643         <bp-checks.h>.
52644         (__lchown): Do not use CHECK_STRING.
52645         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52646         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52647         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52648         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
52649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52650         include <bp-checks.h>.
52651         (truncate64): Do not use CHECK_STRING.
52652         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
52653         <bp-checks.h>.
52654         (__real_chown): Do not use CHECK_STRING.
52655         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
52656         <bp-checks.h>.
52657         (__lchown): Do not use CHECK_STRING.
52658         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
52659         <bp-checks.h>.
52660         (__chown): Do not use CHECK_STRING.
52661         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
52662         <bp-checks.h>.
52663         (truncate64): Do not use CHECK_STRING.
52664         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
52665         Likewise.
52666         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
52667         (__xmknod): Do not use CHECK_STRING.
52668         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
52669         <bp-checks.h>.
52670         (__xmknodat): Do not use CHECK_STRING.
52671         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52672         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
52674 2013-02-04  Andreas Schwab  <schwab@suse.de>
52676         [BZ #14142]
52677         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
52678         * include/netdb.h: Likewise for h_errno.
52679         * elf/tst-stackguard1.c: Include <tls.h>.
52681 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
52683         * elf/link.h (struct link_map): Extend the l_addr comment.
52684         * include/link.h (struct link_map): Likewise.
52686 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
52688         [BZ #13550]
52689         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
52690         (BOUNDED_1): Remove macro.
52691         * debug/backtrace.c: Don't include <bp-checks.h>.
52692         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
52693         (__backtrace): Likewise.
52694         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
52695         <bp-checks.h>.
52696         (__backtrace): Don't use BOUNDED_1.
52697         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
52698         <bp-checks.h>.
52699         (__backtrace): Don't use BOUNDED_1.
52700         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
52701         (__backtrace): Don't use BOUNDED_1.
52702         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
52703         (shmat): Don't use BOUNDED_N.
52705 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
52707         [BZ #13550]
52708         * sysdeps/generic/bp-start.h: Remove file.
52709         * csu/libc-start.c: Don't include <bp-start.h>.
52710         (LIBC_START_MAIN): Set up __environ directly instead of using
52711         INIT_ARGV_and_ENVIRON.
52712         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
52713         <bp-start.h>.
52715         [BZ #13550]
52716         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
52717         definitions.
52718         (CHECK_FCNTL): Likewise.
52719         (CHECK_N_PAGES): Likewise.
52721         [BZ #13550]
52722         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
52723         definitions.
52724         (CHECK_SIGSET_NULL_OK): Likewise.
52725         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
52726         <bp-checks.h>.
52727         (sigpending): Don't use CHECK_SIGSET.
52728         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
52729         <bp-checks.h>.
52730         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52731         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
52732         <bp-checks.h>.
52733         (do_sigsuspend): Don't use CHECK_SIGSET.
52734         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
52735         use CHECK_SIGSET.
52736         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
52737         (do_sigwait): Don't use CHECK_SIGSET.
52738         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
52739         use CHECK_SIGSET.
52740         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
52741         include <bp-checks.h>.
52742         (sigpending): Don't use CHECK_SIGSET.
52743         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
52744         include <bp-checks.h>.
52745         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52746         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
52747         <bp-checks.h>.
52748         (sigpending): Don't use CHECK_SIGSET.
52749         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
52750         <bp-checks.h>.
52751         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52753         [BZ #13550]
52754         * sysdeps/generic/bp-semctl.h: Remove file.
52755         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
52756         <bp-checks.h> and <bp-semctl.h>.
52757         (__old_semctl): Don't use CHECK_SEMCTL.
52758         (__new_semctl): Likewise.
52759         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
52760         and <bp-semctl.h>.
52761         (__old_semctl): Don't use CHECK_SEMCTL.
52762         (__new_semctl): Likewise.
52763         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
52764         <bp-checks.h> and <bp-semctl.h>.
52765         (__old_semctl): Don't use CHECK_SEMCTL.
52766         (__new_semctl): Likewise.
52767         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
52768         <bp-checks.h> and <bp-semctl.h>.
52769         (semctl): Don't use CHECK_SEMCTL.
52771         [BZ #13550]
52772         * Makerules (elide-bp-thunks): Remove variable.
52773         (elide-routines.oS): Don't use $(elide-bp-thunks).
52774         (elide-routines.os): Likewise.
52775         (elide-routines.o): Likewise.
52776         (elide-routines.op): Likewise.
52777         (elide-routines.og): Likewise.
52778         (objects): Don't use $(bp-thunks).
52779         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
52780         include.
52781         (common-generated): Do not add s-proto-bp.d.
52782         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
52783         (int): Likewise.
52784         (typ): Likewise.
52785         Do not generate makefile rules for bounded-pointer thunks.
52786         * sysdeps/generic/bp-thunks.h: Remove file.
52787         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
52788         * sysdeps/unix/s-proto-bp.S: Likewise.
52790         [BZ #15062]
52791         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
52792         parts of result separately when argument is not close to line from
52793         -i to i and one part of argument is small.
52794         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52795         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52796         * math/libm-test.inc (cacos_test): Add more tests.
52797         (casin_test): Likewise.
52798         (casinh_test): Likewise.
52799         * sysdeps/i386/fpu/libm-test-ulps: Update.
52800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52802 2013-01-31  David S. Miller  <davem@davemloft.net>
52804         * po/de.po: Update from translation team.
52806 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
52808         * time/tzfile.c: Include stdint.h for SIZE_MAX.
52810 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
52812         * configure.in (_AC_PROG_CC_C89): New definition.
52813         * configure: Regenerate.
52815         * configure.in (AC_PROG_CPP): New definition.
52816         * configure: Regenerate.
52818 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52820         * debug/tst-backtrace.h: New file.
52821         * debug/tst-backtrace2.c: Include tst-backtrace.h.
52822         (ret): Remove variable.
52823         (x): Likewise.
52824         (FAIL): Remove macro.
52825         (NO_INLINE): Likewise.
52826         (fn1): Use match function instead of strstr.
52827         * debug/tst-backtrace3.c: Include tst-backtrace.h.
52828         (ret): Remove variable.
52829         (x): Likewise.
52830         (FAIL): Remove macro.
52831         (NO_INLINE): Likewise.
52832         (fn): Use match function instead of strstr.
52833         * debug/tst-backtrace4.c: Include tst-backtrace.h.
52834         (ret): Remove variable.
52835         (x): Likewise.
52836         (FAIL): Remove macro.
52837         (NO_INLINE): Likewise.
52838         (handle_signal): Use match function instead of strstr.
52839         * debug/tst-backtrace5.c: Include tst-backtrace.h.
52840         (ret): Remove variable.
52841         (x): Likewise.
52842         (FAIL): Remove macro.
52843         (NO_INLINE): Likewise.
52844         (handle_signal): Use match function instead of strstr.
52846 2013-01-23  Roland McGrath  <roland@hack.frob.com>
52848         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
52850 2013-01-23  David S. Miller  <davem@davemloft.net>
52852         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
52853         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
52854         argument of CAS if possible.
52855         * sysdeps/sparc/sparc64/bits/atomic.h
52856         (__arch_compare_and_exchange_val_32_acq): Likewise.
52857         (__arch_compare_and_exchange_val_64_acq): Likewise.
52859 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
52861         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
52862         * sysdeps/posix/ulimit.c: ... this.
52863         Include <limits.h>.
52864         * sysdeps/unix/bsd/ulimit.c: Remove file.
52866 2013-01-23  Adam Conrad  <adconrad@0c3.net>
52868         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
52869         (LDFLAGS-tst-array5): Likewise.
52871 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52873         [BZ #15036]
52874         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
52875         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
52876         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
52877         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
52879 2013-01-21  David S. Miller  <davem@davemloft.net>
52881         * sysdeps/sparc/backtrace.c: New file.
52882         * sysdeps/sparc/sparc32/backtrace.h: New file.
52883         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
52884         * sysdeps/sparc/sparc64/backtrace.h: New file.
52885         * sysdeps/sparc/sparc64/backtrace.c: Delete.
52886         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
52887         -funwind-tables.
52889 2013-01-21  Andreas Schwab  <schwab@suse.de>
52891         [BZ #15020]
52892         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
52893         closed its stdout.
52895 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
52897         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
52898         "mpa2.h".
52899         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52901 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
52902             Mark Mitchell  <mark@codesourcery.com>
52903             Tom de Vries  <tom@codesourcery.com>
52904             Paul Pluzhnikov  <ppluzhnikov@google.com>
52906         * debug/tst-backtrace2.c: New file.
52907         * debug/tst-backtrace3.c: Likewise.
52908         * debug/tst-backtrace4.c: Likewise.
52909         * debug/tst-backtrace5.c: Likewise.
52910         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
52911         (CFLAGS-tst-backtrace3.c): Likewise.
52912         (CFLAGS-tst-backtrace4.c): Likewise.
52913         (CFLAGS-tst-backtrace5.c): Likewise.
52914         (LDFLAGS-tst-backtrace2): Likewise.
52915         (LDFLAGS-tst-backtrace3): Likewise.
52916         (LDFLAGS-tst-backtrace4): Likewise.
52917         (LDFLAGS-tst-backtrace5): Likewise.
52918         (tests): Add new tests tst-backtrace2, tst-backtrace3,
52919         tst-backtrace4 and tst-backtrace5.
52921 2013-01-18  Anton Blanchard  <anton@samba.org>
52922             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52924         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
52925         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
52926         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
52927         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
52928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52929         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
52930         "+r" and remove output regs list as redundant.  Add explicit inline
52931         asm to specify register of return val to work around compiler codegen
52932         bug.  Remove (int) cast on return value.  Add return type parameter to
52933         use in macro so that this macro does not truncate return value for
52934         64-bit values.
52935         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
52936         pass to INTERNAL_VSYSCALL_NCS.
52937         (INLINE_VSYSCALL): Add 'long int' as return type to
52938         INTERNAL_VSYSCALL_NCS macro invocation.
52939         (INTERNAL_VSYSCALL): Add 'long int' as return type to
52940         INTERNAL_VSYSCALL_NCS macro invocation.
52941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52943 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52945         [BZ #14496]
52946         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
52947         Fix application of SIMD FP exception mask.
52949         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
52950         mp_no from a power of two.
52951         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
52952         __mpexp_twomm1.  Use __pow_mp.
52954         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
52955         multiplication.
52957 2013-01-17  David S. Miller  <davem@davemloft.net>
52959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52961 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52963         [BZ #15023]
52964         * include/complex.h: Condition contents on [!_COMPLEX_H].
52965         (__kernel_casinhf): New prototype.
52966         (__kernel_casinh): Likewise.
52967         (__kernel_casinhl): Likewise.
52968         * math/Makefile (libm_calls): Add k_casinh.
52969         * math/k_casinh.c: New file.
52970         * math/k_casinhf.c: Likewise.
52971         * math/k_casinhl.c: Likewise.
52972         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
52973         finite nonzero arguments.
52974         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
52975         finite nonzero arguments.
52976         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
52977         finite nonzero arguments.
52978         * math/s_casinh.c: Do not include <float.h>.
52979         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
52980         * math/s_casinhf.c: Do not include <float.h>.
52981         (__casinhf): Move code for finite nonzero arguments to
52982         k_casinhf.c.
52983         * math/s_casinhl.c: Do not include <float.h>.
52984         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
52985         redefine.
52986         (__casinhl): Move code for finite nonzero arguments to
52987         k_casinhl.c.
52988         * math/libm-test.inc (cacos_test): Add more tests.
52989         * sysdeps/i386/fpu/libm-test-ulps: Update.
52990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52992 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
52994         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
52995         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
52996         [!HAVE_MREMAP]: Remove [defined linux] case.
52997         * malloc/arena.c: Do not include <malloc-sysdep.h>.
52999 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53001         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
53003 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
53005         * elf/elf.h (R_386_SIZE32): New relocation.
53006         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
53007         R_386_SIZE32.
53008         (elf_machine_rela): Likewise.
53009         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
53010         R_X86_64_SIZE64 and R_X86_64_SIZE32.
53012 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53014         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
53015         (FP_FAST_FMA): Do not define.
53016         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
53017         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
53018         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
53019         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
53020         !_SOFT_FLOAT]: Likewise.
53021         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
53022         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
53023         value.
53024         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
53025         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
53026         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
53027         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
53028         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
53029         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
53030         file.
53032 2013-01-16  Andreas Schwab  <schwab@suse.de>
53034         [BZ #14327]
53035         * include/stdlib.h (__mktemp): Add declaration.
53036         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
53037         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
53039 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53041         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
53042         definitions.
53043         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53044         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
53045         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
53046         definitions here.
53047         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
53048         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
53049         definitions.
53050         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53051         and ONE.
53052         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
53053         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
53054         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
53055         definitions.
53056         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
53057         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
53058         definitions.
53059         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53061         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
53063 2013-01-15  David S. Miller  <davem@davemloft.net>
53065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53066         trunc{,f} to libm-sysdep_routes.
53067         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
53069         file.
53070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
53071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
53072         file.
53073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
53074         file.
53075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
53076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
53077         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
53078         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
53079         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
53080         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
53081         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
53082         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
53084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53085         nearbyint{,f} to libm-sysdep_routes.
53086         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
53088         New file.
53089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
53090         file.
53091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
53092         New file.
53093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
53094         file.
53095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
53096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
53097         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
53098         file.
53099         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
53100         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
53101         file.
53102         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
53103         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
53104         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
53106         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53107         libc_feholdexcept and libc_fesetenv.
53109 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
53111         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
53113 2013-01-14  David S. Miller  <davem@davemloft.net>
53115         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
53116         (SPARC_ASM_VIS2_IFUNC): Likewise.
53117         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
53118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
53119         use of 'siam' instruction.
53120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
53121         Likewise.
53122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
53123         Likewise.
53124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
53125         Likewise.
53126         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
53127         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
53128         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53129         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
53130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
53131         file.
53132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
53133         file.
53134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
53135         file.
53136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
53137         file.
53138         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
53139         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
53140         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
53141         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
53142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
53143         new VIS2 routines.
53144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53147         Likewise.
53148         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53149         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53150         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53151         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
53153         routines to libm-sysdep_routines.
53154         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53157         fdim/fdimf to libm-sysdep_routines.
53158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
53159         file.
53160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
53161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
53162         file.
53163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
53164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
53165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
53166         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
53167         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
53168         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
53169         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
53171 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53173         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
53174         to optimize copies.
53176         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
53177         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53178         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53180         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53181         local variable MPTWO.
53182         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53183         Likewise.
53185 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53187         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53188         GLOB_NOESCAPE.
53190 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53192         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53194 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53196         * manual/pattern.texi (glob_t): Document gl_flags.
53197         (glob64_t): Likewise.
53199 2013-01-11  David S. Miller  <davem@davemloft.net>
53201         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53202         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53203         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
53204         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53205         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53206         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53207         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53208         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53209         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53210         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53211         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53212         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53213         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
53215         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53216         sparc V9 rather than using V8 code.
53217         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53218         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53220         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53221         Move to...
53222         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53223         Here.
53225 2013-01-11  Roland McGrath  <roland@hack.frob.com>
53227         [BZ #14941]
53228         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
53229         not in the main loop.
53230         * configure: Regenerated.
53232 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
53234         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
53235         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
53236         to just #else.
53237         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
53238         [!__GLIBC_HAVE_LONG_LONG] case.
53239         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
53240         condition to just #else.
53241         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
53242         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
53243         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
53244         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
53245         unconditional.
53246         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
53247         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53248         #elif condition to just #else.
53249         * sysdeps/unix/sysv/linux/sys/sysmacros.h
53250         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
53251         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53252         #elif condition to just #else.
53254 2013-01-11  Steve Ellcey  <sellcey@mips.com>
53256         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
53257         (EF_MIPS_ARCH_64): Fix value.
53258         (EF_MIPS_ARCH_32R2): New.
53259         (EF_MIPS_ARCH_64R2): New.
53261 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
53263         * Makeconfig (+link-pie-before-libc): New.
53264         (+link-pie-after-libc): Likewise.
53265         (+link-pie-tests): Likewise.
53266         (+link-pie): Rewritten.
53267         (link-before-libc): Remove $(config-LDFLAGS).
53268         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
53269         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
53270         (config-LDFLAGS): Renamed to ...
53271         (rtld-LDFLAGS): This.
53272         (rtld-tests-LDFLAGS): New macro.
53273         (link-libc-rpath-link): Likewise.
53274         (link-libc-tests-rpath-link): Likewise.
53275         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
53276         (link-libc): Prepand $(link-libc-rpath-link).
53277         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
53278         (test-program-prefix): New macro.
53279         (test-via-rtld-prefix): Likewise.
53280         (test-program-cmd): Likewise.
53281         (host-test-program-cmd): Likewise.
53282         * Makefile ($(common-objpfx)testrun.sh): Replace
53283         $(run-program-prefix) with $(test-program-prefix).
53284         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
53285         $(rtld-LDFLAGS).
53286         ($(common-objpfx)shlib.lds): Likewise.
53287         (build-module-helper): Likewise.
53288         ($(common-objpfx)format.lds): Likewise.
53289         * Rules (binaries-pie-tests): New.
53290         (binaries-pie-notests): Likewise.
53291         (binaries-pie): Rewritten.
53292         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53293         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53294         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53295         (make-test-out): Replace $(host-built-program-cmd) with
53296         $(host-test-program-cmd).
53297         * config.make.in (build-hardcoded-path-in-tests): New variable.
53298         * configure.in (--enable-hardcoded-path-in-tests): New configure
53299         option.
53300         (hardcoded_path_in_tests): New AC_SUBST.
53301         * configure: Regenerated.
53302         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53303         $(built-program-cmd) with $(test-program-cmd).
53304         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53305         (test_program_cmd): This.
53306         * elf/Makefile ($(objpfx)order.out): Run test with
53307         $(test-program-prefix).
53308         ($(objpfx)order2.out): Likewise.
53309         ($(objpfx)tst-initorder.out): Likewise.
53310         ($(objpfx)tst-initorder2.out): Likewise.
53311         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53312         $(test-program-cmd).
53313         ($(objpfx)tst-array1-static.out): Likewise.
53314         ($(objpfx)tst-array2.out): Likewise.
53315         ($(objpfx)tst-array3.out): Likewise.
53316         ($(objpfx)tst-array4.out): Likewise.
53317         ($(objpfx)tst-array5.out): Likewise.
53318         ($(objpfx)tst-array5-static.out): Likewise.
53319         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53320         $(test-program-cmd).
53321         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53322         $(run-program-prefix) with $(test-program-prefix).
53323         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53324         (test_program_prefix): This.
53325         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53326         $(run-program-prefix) with $(test-program-prefix).
53327         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53328         (test_program_prefix): This.
53329         * iconvdata/tst-tables.sh: Likewise.
53330         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53331         $(run-program-prefix) with $(test-program-prefix).
53332         ($(objpfx)tst-translit.out): Likewise.
53333         ($(objpfx)tst-gettext2.out): Likewise.
53334         ($(objpfx)tst-gettext4.out): Likewise.
53335         ($(objpfx)tst-gettext6.out): Likewise.
53336         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53337         (test_program_prefix): This.
53338         * intl/tst-gettext2.sh: Likewise.
53339         * intl/tst-gettext4.sh  Likewise.
53340         * intl/tst-gettext6.sh: Likewise.
53341         * intl/tst-translit.sh: Likewise.
53342         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53343         with $(test-program-cmd).
53344         * libio/Makefile ($(objpfx)test-freopen.out): Replace
53345         $(run-program-prefix) with $(test-program-prefix).
53346         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53347         (test_program_prefix): This.
53348         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53349         $(run-program-prefix) with $(test-program-prefix).
53350         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53351         (test_program_prefix): This.
53352         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53353         * posix/Makefile ($(objpfx)globtest.out): Replace
53354         $(run-via-rtld-prefix) and $(test-wrapper) with
53355         $(test-program-prefix) and $(test-via-rtld-prefix).
53356         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53357         $(test-program-prefix).
53358         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53359         $(host-test-program-cmd).
53360         (tst-spawn-ARGS): Likewise.
53361         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53362         $(test-program-prefix).
53363         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53364         (test_via_rtld_prefix): This.
53365         (test_wrapper): Renamed to ...
53366         (test_program_prefix): This.
53367         (run_program_prefix): Replaced by test_program_prefix.
53368         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53369         (test_program_prefix): This.
53370         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
53371         with $(host-test-program-cmd).
53372         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
53373         $(run-program-prefix) with $(test-program-prefix).
53374         ($(objpfx)tst-printf.out): Likewise.
53375         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
53376         $(test-program-cmd).
53377         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
53378         (test_program_prefix): This.
53379         * stdio-common/tst-unbputc.sh: Likewise.
53380         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
53381         $(run-program-prefix) with $(test-program-prefix).
53382         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
53383         (test_program_prefix): This.
53384         * string/Makefile ($(objpfx)tst-svc.out):  Replace
53385         $(built-program-cmd) with $(test-program-cmd).
53387 2013-01-11  Andreas Jaeger  <aj@suse.de>
53389         [BZ #15003]
53390         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
53391         value. Sync with Linux 3.7.
53393 2013-01-10  David S. Miller  <davem@davemloft.net>
53395         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
53396         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53397         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53399 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53401         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
53402         never set.
53403         * configure: Regenerated.
53405 2013-01-10  David S. Miller  <davem@davemloft.net>
53407         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53408         sparc V9 rather than using V8 code.
53409         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53410         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53412 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53414         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
53415         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
53416         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
53417         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
53418         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
53419         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
53420         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
53421         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
53422         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
53423         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
53424         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
53425         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
53426         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
53427         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
53428         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
53429         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
53430         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
53431         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
53432         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
53433         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
53434         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
53435         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
53436         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
53437         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
53438         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53439         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
53440         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
53442 2013-01-10  David S. Miller  <davem@davemloft.net>
53444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53446 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53448         * posix/Makefile (tests-static): New variable.
53449         (tests): Add $(tests-static).
53450         (tst-exec-static-ARGS): New variable.
53451         (tst-spawn-static-ARGS): Likewise.
53452         * posix/tst-exec-static.c: New file.
53453         * posix/tst-spawn-static.c: Likewise.
53454         * posix/tst-exec.c: Support run directly.
53455         * posix/tst-spawn.c: Likewise.
53457 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
53459         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
53460         long.
53461         * math/bits/mathcalls.h (llrint): Likewise.
53462         (llround): Likewise.
53463         * stdlib/stdlib.h (struct drand48_data): Likewise.
53464         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
53465         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
53466         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
53467         Likewise.
53468         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
53469         Likewise.
53470         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
53471         (elf_greg_t): Likewise.
53472         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
53473         (__jmp_buf): Likewise.
53474         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
53475         definitions.
53476         (llrint): Likewise, for all definitions.
53477         (llrintl): Likewise.
53479         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
53480         Remove [__GNUC__] condition.
53481         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
53482         condition to just [__USE_ISOC99].
53483         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
53485 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53487         [BZ #14200]
53488         * sysdeps/unix/sysv/linux/x86/bits/environments.h
53489         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
53490         defined.
53491         (_POSIX_V6_ILP32_OFF32): Likewise.
53492         (_XBS5_ILP32_OFF32): Likewise.
53493         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
53494         (__ILP32_OFFBIG_LDFLAGS): Likewise.
53496 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53498         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
53500         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
53501         doubles __mpexp_twomm1.  Adjust usage.
53502         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
53503         Remove.
53505 2013-01-10  Andreas Schwab  <schwab@suse.de>
53507         [BZ #14964]
53508         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
53509         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
53511 2013-01-09  David S. Miller  <davem@davemloft.net>
53513         [BZ #15003]
53514         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
53515         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
53516         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
53517         (TCP_FASTOPEN): Define.
53518         (tcp_repair_opt): New structure.
53519         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
53520         enum values.
53521         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
53522         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
53523         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
53524         (tcp_cookie_transactions): New structure.
53526 2013-01-09  Anton Blanchard  <anton@samba.org>
53528         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
53529         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
53530         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
53531         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
53533 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
53535         * include/features.h (__USE_ANSI): Remove.
53537 2013-01-09  Roland McGrath  <roland@hack.frob.com>
53539         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
53541         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
53543 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
53545         * sysdeps/s390/fpu/libm-test-ulps: Update.
53547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53549         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
53550         (__acr): Likewise.
53551         (__cpy): Likewise.
53552         (norm): Likewise.
53553         (denorm): Likewise.
53554         (__mp_dbl): Likewise.
53555         (__dbl_mp): Likewise.
53556         (add_magnitudes): Likewise.
53557         (sub_magnitudes): Likewise.
53558         (__add): Likewise.
53559         (__sub): Likewise.
53560         (__mul): Likewise.
53561         (__inv): Likewise.
53562         (__dvd): Likewise.
53563         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
53564         (__acr): Likewise.
53565         (__cpy): Likewise.
53566         (norm): Likewise.
53567         (denorm): Likewise.
53568         (__mp_dbl): Likewise.
53569         (__dbl_mp): Likewise.
53570         (add_magnitudes): Likewise.
53571         (sub_magnitudes): Likewise.
53572         (__add): Likewise.
53573         (__sub): Likewise.
53574         (__mul): Likewise.
53575         (__inv): Likewise.
53576         (__dvd): Likewise.
53577         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
53578         (__acr): Likewise.
53579         (__cpy): Likewise.
53580         (norm): Likewise.
53581         (denorm): Likewise.
53582         (__mp_dbl): Likewise.
53583         (__dbl_mp): Likewise.
53584         (add_magnitudes): Likewise.
53585         (sub_magnitudes): Likewise.
53586         (__add): Likewise.
53587         (__sub): Likewise.
53588         (__mul): Likewise.
53589         (__inv): Likewise.
53590         (__dvd): Likewise.
53592 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
53594         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
53595         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
53596         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
53597         2 && __USE_EXTERN_INLINES]: Likewise.
53599 2013-01-08  Andreas Jaeger  <aj@suse.de>
53601         [BZ# 14985]
53602         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
53603         Remove.
53604         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53605         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53607 2013-01-07  Anton Blanchard  <anton@samba.org>
53609         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
53610         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53611         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
53612         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53613         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53614         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53615         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
53616         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53617         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53618         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53619         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53620         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53621         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53622         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53623         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53624         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53625         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53626         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53627         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53628         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53629         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53630         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
53631         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53632         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53633         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
53634         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53635         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53636         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53637         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
53638         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53639         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53640         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53641         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53642         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53643         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53644         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53645         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53646         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53647         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
53648         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53649         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
53650         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53651         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53653 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
53655         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
53656         (__MALLOC_PMT): Likewise.
53657         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
53658         [__GNUC__], only on [_LIBC].
53659         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53660         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
53661         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53662         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
53663         forward declaration.
53664         (realloc_hook_ini): Likewise.
53665         (memalign_hook_ini): Likewise.
53666         (__libc_memalign): Do not use __MALLOC_PMT in variable
53667         declaration.
53668         (__libc_valloc): Likewise.
53669         (__libc_pvalloc): Likewise.
53670         (__libc_calloc): Likewise.
53671         (__posix_memalign): Likewise.
53673         [BZ #14996]
53674         * math/s_casinh.c: Include <float.h>.
53675         (__casinh): Do not do computation with squaring and square root
53676         for large arguments.
53677         * math/s_casinhf.c: Include <float.h>.
53678         (__casinhf): Do not do computation with squaring and square root
53679         for large arguments.
53680         * math/s_casinhl.c: Include <float.h>.
53681         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
53682         (__casinhl): Do not do computation with squaring and square root
53683         for large arguments.
53684         * math/libm-test.inc (casin_test): Add more tests.
53685         (casinh_test): Likewise.
53686         * sysdeps/i386/fpu/libm-test-ulps: Update.
53687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53689 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
53691         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
53692         (__x86_64_raw_data_cache_size): Likewise.
53693         (__x86_64_data_cache_size_half): Likewise.
53694         (__x86_64_raw_data_cache_size_half): Likewise.
53695         (__x86_64_shared_cache_size): Likewise.
53696         (__x86_64_raw_shared_cache_size): Likewise.
53697         (__x86_64_shared_cache_size_half): Likewise.
53698         (__x86_64_raw_shared_cache_size_half): Likewise.
53699         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
53700         to ...
53701         (__x86_data_cache_size): This.
53702         (__x86_64_raw_data_cache_size): Renamed to ...
53703         (__x86_raw_data_cache_size): This.
53704         (__x86_64_data_cache_size_half): Renamed to ...
53705         (__x86_data_cache_size_half): This.
53706         (__x86_64_raw_data_cache_size_half): Renamed to ...
53707         (__x86_raw_data_cache_size_half): This.
53708         (__x86_64_shared_cache_size): Renamed to ...
53709         (__x86_shared_cache_size): This.
53710         (__x86_64_raw_shared_cache_size): Renamed to ...
53711         (__x86_raw_shared_cache_size): This.
53712         (__x86_64_shared_cache_size_half): Renamed to ...
53713         (__x86_shared_cache_size_half): This.
53714         (__x86_64_raw_shared_cache_size_half): Renamed to ...
53715         (__x86_raw_shared_cache_size_half): This.
53716         * sysdeps/x86_64/memcpy.S: Updated.
53717         * sysdeps/x86_64/memset.S: Likewise.
53718         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53719         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53720         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53722 2013-01-04  David S. Miller  <davem@davemloft.net>
53724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53726 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
53728         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
53729         1 to avoid redefinition warning.
53730         (__USE_GNU): Don't define.
53731         (init_signaling_nan): Protoize.
53733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53735 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53737         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
53738         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
53739         (__cpymn): Likewise.
53740         (norm): Remove commented code.
53741         (denorm): Likewise.
53742         (__mp_dbl): Likewise.
53743         (__inv): Likewise.
53744         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
53745         (__cpymn): Likewise.
53746         (norm): Remove commented code.
53747         (denorm): Likewise.
53748         (__mp_dbl): Likewise.
53749         (__inv): Likewise.
53751         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
53752         mp_no value for 1.0 and 2.0.
53753         (norm): Use RADIXI instead of radixi.d.
53754         (denorm): Likewise.
53755         (__mul): Use 0.0 instead of zero.d.
53756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
53757         mp_no value for 1.0 and 2.0.
53758         (norm): Use RADIXI instead of radixi.d.
53759         (denorm): Likewise.
53760         (__mul): Use 0.0 instead of zero.d.
53762 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
53764         [BZ #14994]
53765         * math/s_casinh.c (__casinh): Reduce finite argument to first
53766         quadrant then set signs of results at the end.
53767         * math/s_casinhf.c (__casinhf): Likewise.
53768         * math/s_casinhl.c (__casinhl): Likewise.
53769         * math/libm-test.inc (casin_test): Add more tests.
53770         (casinh_test): Likewise.
53771         * sysdeps/i386/fpu/libm-test-ulps: Update.
53772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53774 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53776         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
53778         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
53780         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
53781         declarations.
53782         (denorm): Likewise.
53783         (__mp_dbl): Likewise.
53784         (__inv): Likewise.
53786         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
53787         and adjust the header comment.
53789         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
53790         variable name from declaration.
53792 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
53794         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53795         Initialize COMMON_CPUID_INDEX_7 element.
53796         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
53797         (CPUID_RTM): Likewise.
53798         (HAS_RTM): Likewise.
53799         (COMMON_CPUID_INDEX_7): New enum.
53801 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
53803         [BZ #14981]
53804         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
53805         size is zero, record memory as freed.
53807 2013-01-03  Andreas Jaeger  <aj@suse.de>
53809         * po/ia.po: Add new Interlingua translation.
53811 2012-01-03  Allan McRae  <allan@archlinux.org>
53813         * locale/programs/localedef.c: Fix description of '--posix' flag.
53815 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
53817         * NEWS: Update dates in second copyright notice.
53818         * README: Update copyright dates in example.
53819         * manual/libc.texinfo: Update copyright dates.
53820         * scripts/test-installation.pl: Update copyright date in --version
53821         output.
53823         * hurd/ctty-input.c: Fix copyright notice formatting.
53824         * hurd/ctty-output.c: Likewise.
53825         * hurd/dtable.c: Likewise.
53826         * hurd/hurd-raise.c: Likewise.
53827         * hurd/hurdprio.c: Likewise.
53828         * hurd/msgportdemux.c: Likewise.
53829         * misc/sys/file.h: Likewise.
53830         * misc/sys/ioctl.h: Likewise.
53831         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53832         * sysdeps/mach/hurd/chdir.c: Likewise.
53833         * sysdeps/mach/hurd/fchdir.c: Likewise.
53834         * sysdeps/mach/hurd/rename.c: Likewise.
53835         * sysdeps/mach/hurd/rmdir.c: Likewise.
53836         * sysdeps/mach/hurd/seekdir.c: Likewise.
53837         * sysdeps/mach/hurd/setsid.c: Likewise.
53838         * sysdeps/posix/wait3.c: Likewise.
53840         * All files with FSF copyright notices: Update copyright dates
53841         using scripts/update-copyrights.
53842         * intl/plural.c: Regenerated.
53843         * locale/programs/charmap-kw.h: Likewise.
53844         * locale/programs/locfile-kw.h: Likewise.
53846 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53848         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
53849         four values.
53851         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
53852         calculation loop and add branch prediction.
53854         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
53855         check access beyond bounds of m1np.
53857         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53858         MPTWO.
53859         (__inv): Remove local variable MPTWO to use the global
53860         constant.
53861         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
53862         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53863         variable MPTWO.
53864         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
53865         MP3HALFS static const.
53867 2013-01-01  David S. Miller  <davem@davemloft.net>
53869         * po/ca.po: Update from translation team.
53871 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
53873         * scripts/update-copyrights: New file.
53874         * Makeconfig: Reformat copyright notice.
53875         * ctype/ctype.h: Likewise.
53876         * debug/swprintf_chk.c: Likewise.
53877         * elf/dl-cache.c: Likewise.
53878         * elf/dl-debug.c: Likewise.
53879         * elf/dl-object.c: Likewise.
53880         * grp/initgroups.c: Likewise.
53881         * hurd/Makefile: Likewise.
53882         * hurd/hurd/signal.h: Likewise.
53883         * hurd/hurdfault.c: Likewise.
53884         * hurd/hurdioctl.c: Likewise.
53885         * hurd/hurdlookup.c: Likewise.
53886         * hurd/intr-msg.c: Likewise.
53887         * iconv/gconv_open.c: Likewise.
53888         * libio/swprintf.c: Likewise.
53889         * locale/lc-ctype.c: Likewise.
53890         * locale/nl_langinfo.c: Likewise.
53891         * mach/Machrules: Likewise.
53892         * mach/Makefile: Likewise.
53893         * malloc/obstack.h: Likewise.
53894         * manual/Makefile: Likewise.
53895         * manual/tsort.awk: Likewise.
53896         * misc/bits/stab.def: Likewise.
53897         * nis/nis_print_group_entry.c: Likewise.
53898         * nis/nis_table.c: Likewise.
53899         * nis/nss_compat/compat-pwd.c: Likewise.
53900         * nis/nss_compat/compat-spwd.c: Likewise.
53901         * po/Makefile: Likewise.
53902         * posix/fnmatch.c: Likewise.
53903         * posix/regex.h: Likewise.
53904         * resolv/Makefile: Likewise.
53905         * resolv/nss_dns/dns-network.c: Likewise.
53906         * resolv/res_hconf.c: Likewise.
53907         * scripts/gen-sorted.awk: Likewise.
53908         * soft-fp/soft-fp.h: Likewise.
53909         * stdio-common/printf.h: Likewise.
53910         * stdlib/monetary.h: Likewise.
53911         * stdlib/random.c: Likewise.
53912         * stdlib/random_r.c: Likewise.
53913         * sysdeps/generic/Makefile: Likewise.
53914         * sysdeps/gnu/Makefile: Likewise.
53915         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53916         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53917         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53918         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53919         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53920         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53921         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53922         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53923         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53924         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53925         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53926         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53927         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53928         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53929         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
53930         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53931         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53932         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53933         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53934         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53935         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53936         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53937         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53938         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53939         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
53940         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53941         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
53942         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
53943         * sysdeps/mach/hurd/errnos.awk: Likewise.
53944         * sysdeps/mach/hurd/fork.c: Likewise.
53945         * sysdeps/mach/hurd/getcwd.c: Likewise.
53946         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
53947         * sysdeps/mach/hurd/mmap.c: Likewise.
53948         * sysdeps/mach/hurd/utimes.c: Likewise.
53949         * sysdeps/mach/hurd/xmknod.c: Likewise.
53950         * sysdeps/posix/profil.c: Likewise.
53951         * sysdeps/posix/readdir_r.c: Likewise.
53952         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53953         * sysdeps/powerpc/bits/setjmp.h: Likewise.
53954         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
53955         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53956         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53957         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53958         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53959         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53960         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53961         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53962         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53963         * sysdeps/pthread/lio_listio.c: Likewise.
53964         * sysdeps/sparc/dl-procinfo.h: Likewise.
53965         * sysdeps/unix/i386/sysdep.S: Likewise.
53966         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
53967         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
53968         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
53969         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
53970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53971         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
53972         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
53973         * sysdeps/unix/sysv/linux/speed.c: Likewise.
53974         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
53975         * sysdeps/wordsize-32/divdi3.c: Likewise.
53976         * time/sys/time.h: Likewise.
53977         * wcsmbs/Makefile: Likewise.
53979 2013-01-01  David S. Miller  <davem@davemloft.net>
53981         * po/fr.po: Update from translation team.
53983         * catgets/gencat.c: Update copyright year.
53984         * csu/version.c: Likewise.
53985         * debug/catchsegv.sh: Likewise.
53986         * debug/pcprofiledump.c: Likewise.
53987         * debug/xtrace.sh: Likewise.
53988         * elf/ldconfig.c: Likewise.
53989         * elf/ldd.bash.in: Likewise.
53990         * elf/pldd.c: Likewise.
53991         * elf/sotruss.ksh: Likewise.
53992         * elf/sprof.c: Likewise.
53993         * iconv/iconv_prog.c: Likewise.
53994         * iconv/iconvconfig.c: Likewise.
53995         * locale/programs/locale.c: Likewise.
53996         * locale/programs/localedef.c: Likewise.
53997         * login/programs/pt_chown.c: Likewise.
53998         * malloc/memusage.sh: Likewise.
53999         * malloc/memusagestat.c: Likewise.
54000         * malloc/mtrace.pl: Likewise.
54001         * nscd/nscd.c: Likewise.
54002         * nss/getent.c: Likewise.
54003         * nss/makedb.c: Likewise.
54004         * posix/getconf.c: Likewise.
54006 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54008         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
54009         numbers.
54011 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
54013         * math/bits/mathcalls.h (modf): Use __nonnull.
54015 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54017         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
54018         (split): Use macro CN instead of the bare value.
54019         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
54020         could be used.
54021         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
54022         instead of the bare value.
54023         (power1): Likewise.
54025 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54027         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
54028         __ATAN_TWOM.
54029         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54031         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
54032         their values.
54033         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54034         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54035         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
54036         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54038 2012-12-28  Andreas Jaeger  <aj@suse.de>
54040         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
54041         values are from Linux 3.7.
54043         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
54044         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
54046 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54048         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
54049         TRUE case.
54051         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
54052         (norm): Likewise.
54053         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
54054         variables with preprocessor constants.
54055         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54056         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54057         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54059 2012-12-27  Bruno Haible  <bruno@clisp.org>
54061         [BZ #14317]
54062         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
54063         only if needed.
54065 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54067         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
54068         and use variable directly.
54069         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
54071         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54072         MPONE.
54073         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
54074         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54075         variable MPONE.
54076         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54077         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54078         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
54079         include directive.  Remove local variable MPONE.
54080         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
54081         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
54082         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54084 2012-12-25  David S. Miller  <davem@davemloft.net>
54086         * version.h (RELEASE): Set to "development".
54087         (VERSION): Set to "2.17.90".
54088         * NEWS: Add 2.18 section.
54090 2012-12-21  David S. Miller  <davem@davemloft.net>
54092         * po/hr.po: Update from translation team.
54094 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54096         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
54098 2012-12-19  Steve Ellcey  <sellcey@mips.com>
54100         * NEWS:  Mention new memcpy for MIPS.
54102 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54104         * manual/contrib.texi (Contributors): Spelling correction.
54106 2012-12-15  David S. Miller  <davem@davemloft.net>
54108         * po/ru.po: Update from translation team.
54110 2012-12-13  David S. Miller  <davem@davemloft.net>
54112         * NEWS: Mention IFUNC testsuite enhancements.
54114         * po/pl.po: Update from translation team.
54115         * po/bg.po: Likewise.
54117         * manual/contrib.texi (Contributors): Update entries for Hongjiu
54118         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
54120 2012-12-11  David S. Miller  <davem@davemloft.net>
54122         * po/sv.po: Update from translation team.
54124         * po/vi.po: Update from translation team.
54126         * po/cs.po: Update from translation team.
54128         * po/de.po: Update from translation team.
54129         * po/eo.po: Likewise.
54130         * po/nl.po: Likewise.
54132 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54134         [BZ #14246]
54135         * manual/argp.texi (Argp Helper Functions): Move node to follow
54136         Argp Parsing State.
54138         [BZ #14872]
54139         * manual/conf.texi (Limits on File System Capacity): Mention if
54140         terminating null is included in the max size.
54142 2012-12-10  Andreas Jaeger  <aj@suse.de>
54144         * po/cs.po: Update from translation team.
54146 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54148         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
54149         void pointer and cast to uintptr_t.
54150         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
54151         path.
54152         * sysdeps/s390/s390-64/memcpy.S: Likewise.
54153         * sysdeps/s390/s390-64/memset.S: Likewise.
54155 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
54157         [BZ #14833]
54158         * menual/message.texi (Message Translation): Fix typos.
54159         (Helper programs for gettext): Likewise.
54161 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
54163         [BZ #14898]
54164         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
54165         Change to -1.
54167 2012-12-07  David S. Miller  <davem@davemloft.net>
54169         * po/libc.pot: Update.
54171 2012-12-07  Richard Henderson  <rth@redhat.com>
54173         [BZ #10114]
54174         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
54175         normal/normal case to before the switch.
54176         (_FP_DIV): Likewise.
54178 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
54179             Mike Frysinger  <vapier@gentoo.org>
54181         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54182         check for __NR_fadvise64_64.
54184 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
54186         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54187         0, not just to plain "0" as a statement.
54188         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54189         with cw.
54191 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
54193         * NEWS: Use sourceware.org in Bugzilla URL.
54195 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54198         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54200         * stdio-common/tst-put-error.c (do_test): Add newline to the
54201         padded test to ensure flush.
54203 2012-12-05  Jeff Law  <law@redhat.com>
54205         * sunrpc/etc.rpc (fedfs_admin): Add entry.
54207 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
54209         * README: Don't refer to ports add-on as distributed separately.
54210         Mention AArch64 in list of systems supported in the ports add-on.
54212         * LICENSES: Add more non-FSF copyright and license notices.
54214         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54215         ((unused)).
54217         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
54219         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
54220         10000 as width of padded output.
54222 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54224         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54226         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
54227         variable LX with __attribute__ ((unused)).
54228         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54229         Likewise.
54230         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54231         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54232         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
54233         with __attribute__ ((unused)).
54235 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
54237         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
54239 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54241         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
54242         (CFLAGS-nldbl-acos.c): New variable.
54243         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
54244         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
54245         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
54246         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
54247         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
54248         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
54249         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
54250         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
54251         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
54252         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
54253         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
54254         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
54255         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
54256         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
54257         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
54258         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
54259         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
54260         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
54261         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
54262         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
54263         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
54264         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
54265         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
54266         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
54267         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
54268         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
54269         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
54270         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
54271         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
54272         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
54273         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
54274         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
54275         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
54276         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
54277         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
54278         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
54279         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
54280         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
54281         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
54282         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
54283         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
54284         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
54285         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
54286         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
54287         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54288         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
54289         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
54290         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54291         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54292         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54293         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54294         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54295         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54296         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54297         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54298         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54299         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54300         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54301         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54302         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54303         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54304         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54305         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54306         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54307         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54308         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54309         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54310         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54311         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54312         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54313         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54314         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54315         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54316         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54317         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54318         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54319         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54320         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54321         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54322         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54323         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54324         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54325         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54326         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54327         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54328         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54329         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54330         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54331         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54332         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54333         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54334         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54335         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54336         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54337         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54338         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54339         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54342         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54344         [BZ #14914]
54345         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54346         whole low double instead of just low 47 bits when splitting values
54347         into two parts.
54349 2012-12-03  Allan McRae  <allan@archlinux.org>
54351         * manual/stdio.texi (Predefined Printf Handlers): Remove
54352         @hsep and @vsep usage.
54354 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
54356         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54357         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54359 2012-12-03  Jeff Law  <law@redhat.com>
54361         * time/sys/time.h (settimeofday): Do not mark TV argument
54362         as __nonnull.
54364 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
54366         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54367         when currently writing and seek to current position when not.
54368         * libio/Makefile (tests): Remove bug-fclose1.
54369         * libio/bug-fclose1.c: Delete.
54371 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
54373         * manual/arith.texi (feenableexcept): Fix typo.
54374         (fedisableexcept): Likewise.
54376 2012-11-30  Roland McGrath  <roland@hack.frob.com>
54378         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
54379         second, differently-typed declaration, rather than a cast.
54381 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54383         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
54384         * include/rpc/svc.h: ... here.
54386 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
54388         [BZ #13013]
54389         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
54390         depending n and resplen2 to catch cases where answer
54391         equals answerp2.
54393 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
54395         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
54396         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
54398 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
54400         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
54402 2012-11-29  Roland McGrath  <roland@hack.frob.com>
54404         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
54406 2012-11-28  Jeff Law  <law@redhat.com>
54408         [BZ #13761]
54409         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
54410         dataset_temporary.  Track alloca usage into alloca_used.
54411         If dataset is large allocate and release it via malloc/free.
54413 2012-06-04  Florian Weimer  <fweimer@redhat.com>
54415         [BZ #14197]
54416         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
54418 2012-11-28  David S. Miller  <davem@davemloft.net>
54420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54422 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54424         [BZ #14803]
54425         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
54426         of pi/2 rounded to nearest to 64 bits.
54427         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54428         nearest to 64 bits.
54429         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
54430         bits.
54432 2012-11-28  Jeff Law <law@redhat.com>
54433             Martin Osvald <mosvald@redhat.com>
54435         [BZ #14889]
54436         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
54437         * sunrpc/svc.c: Include time.h.
54438         (__svc_accept_failed): New function.
54439         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
54440         any reason other than EINTR, call __svc_accept_failed.
54441         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
54442         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
54444 2012-11-28  Andreas Schwab  <schwab@suse.de>
54446         * scripts/abilist.awk: Also handle indirect functions in .opd
54447         section.
54449 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54451         [BZ #13881]
54452         * sysdeps/x86/fpu/powl_helper.c: New file.
54453         * sysdeps/x86/fpu/Makefile: Likewise.
54454         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
54455         (p3): New object.
54456         (__ieee754_powl): Use __powl_helper for finite arguments except
54457         integer exponents below 8.
54458         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
54459         (p3): New object.
54460         (__ieee754_powl): Use __powl_helper for finite arguments except
54461         integer exponents below 8.
54462         * math/libm-test.inc (pow_test): Add more tests and enable some
54463         previously disabled tests.
54464         * sysdeps/i386/fpu/libm-test-ulps: Update.
54465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54467 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54468             Carlos O'Donell  <carlos_odonell@mentor.com>
54470         * nss/makedb.c (is_prime): Assert that input is odd and greater
54471         than 4.  Note that fact in a comment too.
54472         (next_prime): Add 4 to input.
54474 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54476         [BZ #11741]
54477         * libio/Makefile (tests): Add test case tst-fwrite-error.
54478         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
54479         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
54480         * libio/tst-fwrite-error.c: New test case.
54482 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
54484         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
54485         before casting to void *.
54486         * include/libc-internal.h (__pointer_type): New macro.
54487         (__integer_if_pointer_type_sub): Likewise.
54488         (__integer_if_pointer_type): Likewise.
54489         (cast_to_integer): Likewise.
54490         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
54491         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
54492         before casting to atomic64_t.
54493         (atomic_exchange_acq): Likewise.
54494         (__arch_exchange_and_add_body): Likewise.
54495         (__arch_add_body): Likewise.
54496         (atomic_add_negative): Likewise.
54497         (atomic_add_zero): Likewise.
54499 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
54501         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
54502         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
54503         (add_fdes): Likewise.
54504         (linear_search_fdes): Likewise.
54505         (binary_search_unencoded_fdes): Likewise.
54507 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
54509         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
54511 2012-11-24  Adam Conrad  <adconrad@0c3.net>
54513         * configure.in: Autodetect C++ header directories.
54514         * configure: Regenerated.
54516 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
54518         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
54520 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
54522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54524 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
54526         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
54527         LDBL_MANT_DIG == 106]: Disable some tests.
54528         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54529         Likewise.
54530         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54531         Likewise.
54533         [BZ #14871]
54534         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
54535         input for small inputs.  Return +/- pi/2 for large inputs.
54536         * math/libm-test.inc (atan_test): Add more tests.
54538         * sysdeps/generic/unwind-dw2-fde-glibc.c
54539         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
54540         __attribute__ ((unused)).
54542         [BZ #14645]
54543         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
54544         x * y if x and y are nonzero and z is zero.
54546         [BZ #14811]
54547         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
54548         nonzero exponents with absolute value below 0x1p-117 to +/-
54549         0x1p-117.
54551         [BZ #14869]
54552         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
54553         up arguments below 2**-450, not just those below 2**-500.
54554         * math/libm-test.inc (hypot_test): Add another test.
54556         [BZ #14868]
54557         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
54558         Return a+b for ratio over 2**120, not 2**60.
54559         * math/libm-test.inc (hypot_test): Add another test.
54561         * math/libm-test.inc (clog_test): Use
54562         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
54563         (clog10_test): Likewise.
54565         [BZ #6778]
54566         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
54568 2012-11-22  Andreas Schwab  <schwab@suse.de>
54570         * sysdeps/i386/fpu/libm-test-ulps: Update.
54572 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
54574         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
54575         printf output with newline.
54577 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
54579         [BZ #14865]
54580         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
54581         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
54582         -z nodlopen, -z initfirst and -z execstack support.
54583         * configure: Regenerated.
54585         * elf/elf.h (DF_1_NODIRECT): New macro.
54586         (DF_1_IGNMULDEF): Likewise.
54587         (DF_1_NOKSYMS): Likewise.
54588         (DF_1_NOHDR): Likewise.
54589         (DF_1_EDITED): Likewise.
54590         (DF_1_NORELOC): Likewise.
54591         (DF_1_SYMINTPOSE): Likewise.
54592         (DF_1_GLOBAUDIT): Likewise.
54593         (DF_1_SINGLETON): Likewise.
54594         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
54595         DT_1_SUPPORTED_MASK bits.
54596         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
54598 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
54600         * sysdeps/unix/make-syscalls.sh: Document prefixes.
54602 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
54604         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
54605         macro.
54607         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
54608         (sendmmsg): Move declarations...
54609         * socket/sys/socket.h: ... here.
54610         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
54611         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
54612         include it from...
54613         * socket/recvmmsg.c: ... this new file.
54614         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
54615         (sendmmsg): Rename to __sendmmsg, create weak alias and make
54616         definition of __sendmmsg hidden.
54617         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
54618         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
54619         Move ENOSYS stub into and include it from...
54620         * socket/sendmmsg.c: ... this new file.
54621         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
54622         (sysdep_routines): Move recvmmsg and sendmmsg...
54623         * socket/Makefile (routines): ... here.
54624         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
54625         (GLIBC_PRIVATE): Add __sendmmsg.
54626         * include/sys/socket.h (__sendmmsg): Add declarations.
54627         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
54628         sendmmsg.
54630 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
54632         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
54633         variable I1 with __attribute__ ((unused)).
54634         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54636 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54638         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
54639         DUMMY variables with __attribute__ ((unused)).
54641         * bits/byteswap.h: Include <bits/types.h>.
54642         (__bswap_64): Use __uint64_t instead of unsigned long long int.
54644 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54646         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
54647         string_t.  Do not manually set errno.
54648         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
54649         length with __strnlen.  Make sure to both set errno and return it on
54650         failure.
54652 2012-11-19  David S. Miller  <davem@davemloft.net>
54654         With help from Joseph Myers.
54655         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
54656         very large arguments properly.
54657         * math/libm-test.inc (atan_test): New tests.
54658         (atan2_test): New tests.
54659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54662 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54664         [BZ #14856]
54665         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
54666         Define to 3.
54668         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
54669         [POSIX] (EADDRNOTAVAIL): Likewise.
54670         [POSIX] (EAFNOSUPPORT): Likewise.
54671         [POSIX] (EALREADY): Likewise.
54672         [POSIX] (ECONNABORTED): Likewise.
54673         [POSIX] (ECONNREFUSED): Likewise.
54674         [POSIX] (ECONNRESET): Likewise.
54675         [POSIX] (EDESTADDRREQ): Likewise.
54676         [POSIX] (EDQUOT): Likewise.
54677         [POSIX] (EHOSTUNREACH): Likewise.
54678         [POSIX] (EIDRM): Likewise.
54679         [POSIX] (EISCONN): Likewise.
54680         [POSIX] (ELOOP): Likewise.
54681         [POSIX] (EMULTIHOP): Likewise.
54682         [POSIX] (ENETDOWN): Likewise.
54683         [POSIX] (ENETUNREACH): Likewise.
54684         [POSIX] (ENOBUFS): Likewise.
54685         [POSIX] (ENODATA): Likewise.
54686         [POSIX] (ENOLINK): Likewise.
54687         [POSIX] (ENOMSG): Likewise.
54688         [POSIX] (ENOPROTOOPT): Likewise.
54689         [POSIX] (ENOSR): Likewise.
54690         [POSIX] (ENOSTR): Likewise.
54691         [POSIX] (ENOTCONN): Likewise.
54692         [POSIX] (ENOTSOCK): Likewise.
54693         [POSIX] (EOPNOTSUPP): Likewise.
54694         [POSIX] (EOVERFLOW): Likewise.
54695         [POSIX] (EPROTO): Likewise.
54696         [POSIX] (EPROTONOSUPPORT): Likewise.
54697         [POSIX] (EPROTOTYPE): Likewise.
54698         [POSIX] (ESTALE): Likewise.
54699         [POSIX] (ETIME): Likewise.
54700         [POSIX] (ETXTBSY): Likewise.
54701         [POSIX] (EWOULDBLOCK): Likewise.
54702         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
54703         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
54704         [POSIX] (SEEK_CUR): Likewise.
54705         [POSIX] (SEEK_END): Likewise.
54706         [POSIX || UNIX98] (mode_t): Do not require.
54707         [POSIX] (off_t): Likewise.
54708         [POSIX] (pid_t): Likewise.
54709         [POSIX] (sys/stat.h): Do not allow header.
54710         [POSIX] (unistd.h): Likewise.
54711         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
54712         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
54713         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
54714         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
54715         require.
54716         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
54717         sigevent): Specify elements.
54718         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
54719         entry.
54720         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
54721         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
54723         * conform/data/cpio.h-data [POSIX]: Disable whole file.
54724         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
54725         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
54726         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
54727         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
54728         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
54729         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
54730         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
54731         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
54732         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
54733         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
54734         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
54735         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
54736         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
54737         Likewise.
54738         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
54739         Likewise.
54740         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
54741         Likewise.
54742         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
54743         Likewise.
54744         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
54745         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
54746         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
54747         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
54748         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
54749         Specify lower bound on value.
54750         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
54751         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
54752         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
54753         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
54754         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
54755         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
54756         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
54757         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
54758         value.
54759         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
54760         as optional.
54761         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
54762         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
54763         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
54764         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
54765         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
54766         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
54767         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
54768         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
54769         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
54770         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
54771         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
54772         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
54773         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
54774         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
54775         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
54776         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
54777         entry.
54778         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
54779         optional.
54780         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
54781         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
54782         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
54783         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
54784         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
54785         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
54786         Likewise.
54787         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
54788         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
54789         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
54790         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
54791         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
54792         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
54793         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
54794         as optional.
54795         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
54796         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
54797         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
54798         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
54799         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
54800         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
54801         specify as optional.
54802         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
54803         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
54804         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
54805         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
54806         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
54807         [XPG3] (NL_LANGMAX): Likewise.
54808         [POSIX || XPG3] (NL_MSGMAX): Likewise.
54809         [POSIX || XPG3] (NL_NMAX): Likewise.
54810         [POSIX || XPG3] (NL_SETMAX): Likewise.
54811         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
54812         [XPG3] (NZERO): Likewise.
54813         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
54814         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
54815         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
54816         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
54817         (REG_ERANGE): Expect.
54818         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
54819         optional-constant.
54820         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
54821         Use (void) in prototype.
54822         [POSIX] (*_t): Allow.
54823         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
54824         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
54825         (WRDE_BADVAL): Expect.
54827         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
54828         expect.
54829         [XPG3 || XPG4] (O_RSYNC): Likewise.
54830         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
54831         Likewise.
54832         [XPG3 || XPG4] (pthread_sigmask): Likewise.
54833         [XPG3 || XPG4] (sigqueue): Likewise.
54834         [XPG3 || XPG4] (sigtimedwait): Likewise.
54835         [XPG3 || XPG4] (sigwaitinfo): Likewise.
54836         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
54837         [XPG3 || XPG4] (vsnprintf): Likewise.
54838         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
54839         Likewise.
54840         [XPG3 || XPG4] (blksize_t): Likewise.
54841         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
54842         Likewise.
54843         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
54844         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
54845         [XPG3 || XPG4] (struct itimerspec): Likewise.
54846         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
54847         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
54848         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
54849         [XPG3 || XPG4] (clockid_t): Likewise.
54850         [XPG3 || XPG4] (timer_t): Likewise.
54851         [XPG3 || XPG4] (clock_getres): Likewise.
54852         [XPG3 || XPG4] (clock_gettime): Likewise.
54853         [XPG3 || XPG4] (clock_settime): Likewise.
54854         [XPG3 || XPG4] (nanosleep): Likewise.
54855         [XPG3 || XPG4] (timer_create): Likewise.
54856         [XPG3 || XPG4] (timer_delete): Likewise.
54857         [XPG3 || XPG4] (timer_gettime): Likewise.
54858         [XPG3 || XPG4] (timer_getoverrun): Likewise.
54859         [XPG3 || XPG4] (timer_settime): Likewise.
54860         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
54861         [XPG3 || XPG4] (getlogin_r): Likewise.
54862         [XPG3 || XPG4] (pread): Likewise.
54863         [XPG3 || XPG4] (pthread_atfork): Likewise.
54864         [XPG3 || XPG4] (pwrite): Likewise.
54866         [BZ #14835]
54867         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
54868         <bits/siginfo.h>.
54870 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54872         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
54873         finalizing MALLSTREAM.
54875         * sysdeps/mach/hurd/syncfs.c: New file.
54877 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54879         [BZ #14719]
54880         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
54881         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
54882         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
54883         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
54884         (_nss_dns_gethostbyname4_r): Likewise.
54885         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
54886         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
54888 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
54890         [BZ #13763]
54891         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
54893 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
54895         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
54896         * elf/cache.c (print_entry): Print ",AArch64" for
54897         FLAG_AARCH64_LIB64
54899         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
54900         * elf/cache.c (print_entry): Print ",hard-float" for
54901         FLAG_ARM_LIBHF.
54903 2012-11-18  David S. Miller  <davem@davemloft.net>
54905         With help from Joseph Myers.
54906         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
54907         cutoff to 2**-13.
54908         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
54909         cutoff to 2**-25.
54910         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
54911         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
54912         small.
54913         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
54914         * math/libm-test.inc (y0_test): New tests.
54915         (y1_test): New tests.
54916         * sysdeps/i386/fpu/libm-test-ulps: Update.
54917         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54918         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54920 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
54922         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
54923         64-bit targets.
54924         * configure: Regenerated.
54926 2012-11-17  David S. Miller  <davem@davemloft.net>
54928         [BZ #14811]
54929         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
54930         nonzero exponents with absolute value below 0x1p-128 to +/-
54931         0x1p-128.
54933 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
54935         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
54937         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
54939         * posix/getconf-speclist.c: New file.
54940         * posix/posix-envs.def: Likewise.
54941         * posix/confstr.c (START_ENV_GROUP): New macro.
54942         (END_ENV_GROUP): Likewise.
54943         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54944         (KNOWN_PRESENT_ENV_STRING): Likewise.
54945         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54946         (UNKNOWN_ENVIRONMENT): Likewise.
54947         (confstr): Include posix-envs.def instead of handling
54948         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
54949         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
54950         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
54951         (END_ENV_GROUP): Likewise.
54952         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54953         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54954         (UNKNOWN_ENVIRONMENT): Likewise.
54955         (__sysconf): Include posix-envs.def instead of handling associated
54956         cases directly here.
54957         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
54958         preprocessing getconf-speclist.c rather than running getconf or
54959         generating empty file.
54961 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
54963         * scripts/check-local-headers.sh: Ignore 'mach' headers.
54965 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
54967         [BZ #14672]
54968         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
54970 2012-11-16  David S. Miller  <davem@davemloft.net>
54972         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
54973         smaller than LDBL_EPSILON/2.0L, just return xm1.
54975 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
54977         * elf/tst-array1.c (init): Set constructor priority to 1000.
54978         (fini): Set destructor priority to 1000.
54979         * elf/tst-array2dep.c: Likewise.
54981 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54983         [BZ #11741]
54984         * libio/fileops.c (_IO_new_file_write): Correctly return error.
54985         (_IO_new_file_xsputn): Also return EOF if none of the input
54986         data was written when overflow failed.
54987         * libio/iopadn.c (_IO_padn): Likewise.
54988         * libio/iowpadn.c (_IO_wpadn): Likewise.
54989         * stdio-common/tst-put-error.c: Add copyright notice.
54990         (do_test): Add case for printing padded string.
54991         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
54992         _IO_padn returned error.
54993         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
54994         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
54995         return EOF.
54997 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54999         * libio/libioP.h: Add comment note that the references to C++
55000         bits are now obsolete.
55002 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55004         * math/libm-test.inc (check_complex): Use asprintf.
55006 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
55008         * debug/pcprofiledump.c (print_version): Update copyright year.
55009         * malloc/memusagestat.c (print_version): Likewise.
55011 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
55013         [BZ #14831]
55014         * elf/Makefile (tests): Add tst-audit8.
55015         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
55016         ($(objpfx)tst-audit8.out): New target.
55017         (tst-audit8-ENV): New variable.
55018         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
55019         audit if l_reloc_result is NULL.
55020         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
55021         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
55022         * elf/tst-audit8.c: New file.
55024 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55026         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
55027         * misc/Makefile (CFLAGS-select.c): Define.
55028         * posix/Makefile (CFLAGS-pause.c): Define.
55030 2012-11-13  David S. Miller  <davem@davemloft.net>
55032         * crypt/Makefile: Move test targets after toplevel Rules
55033         inclusion.  Grab any necessary sysdep routines when linking.
55034         * crypt/md5.c (md5_process_block): Remove define, we will always
55035         name it __md5_process_block.
55036         (md5_finish_ctx): Update md5_process_block call.
55037         (md5_stream): Likewise.
55038         (md5_process_bytes): Likewise.
55039         (md5_process_block): Rename to __md5_process_block and move to ...
55040         * crypt/md5-block.c: ... here.
55041         * crypt/sha256.c (sha256_process_block): Move to ...
55042         * crypt/sha256-block.c: ... here.
55043         * crypt/sha512.c (sha512_process_block): Move to ...
55044         * crypt/sha512-block.c: ... here.
55045         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
55046         path.
55047         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
55048         * sysdeps/sparc/sparc64/multiarch/Makefile
55049         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
55050         crypt subdir.
55051         (localedef-aux): Add md5 crypto assembler when in locale subdir.
55052         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
55053         multiarch changes.
55054         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
55055         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
55056         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
55057         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
55058         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
55059         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
55060         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
55061         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
55062         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
55063         file.
55064         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
55065         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
55066         file.
55067         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
55069 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
55071         * timezone/tzselect.ksh: Update from tzcode git revision
55072         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
55073         * timezone/zdump.c: Likewise.
55074         * timezone/zic.c: Likewise.
55075         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
55076         in TZVERSION setting, not $(PKGVERSION).
55077         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
55078         REPORT_BUGS_TO settings.
55080         [BZ #14838]
55081         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
55082         macro.
55084 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55086         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
55087         detection to immediately after _FP_ROUND().
55088         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
55089         bits are 0.
55091 2012-11-11  David S. Miller  <davem@davemloft.net>
55093         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
55094         inttypes.h
55095         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
55096         __close rather than their public counterparts.
55098 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
55100         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
55101         file.
55102         [UNIX98] (sem_timedwait): Do not expect.
55103         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
55104         [XPG4 || UNIX98] (sockatmark): Do not expect.
55105         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
55106         (clock_getcpuclockid): Do not expect.
55107         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
55108         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
55109         Do not expect.
55110         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
55111         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
55112         [UNIX98] (vwscanf): Likewise.
55113         [UNIX98] (vswscanf): Likewise.
55115 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
55117         * timezone/version.h: Remove file.
55118         * timezone/README: Do not refer to version.h.
55119         * timezone/Makefile ($(objpfx)zic.o): New dependency on
55120         $(objpfx)version.h.
55121         ($(objpfx)zdump.o): Likewise.
55122         ($(objpfx)version.h): New target.
55124         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
55125         2012i.
55126         * timezone/README: Don't mention modification to tzselect.ksh.
55127         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
55128         work on unmodified tzselect.ksh.  Substitute version numbers in
55129         tzselect.ksh.
55131         * Makefile (format-me): Remove.
55132         (INSTALL): Adjust indentation.  Use commands directly instead of
55133         using $(format-me).
55135         * aclocal.m4 (ACX_PKGVERSION): New macro.
55136         (ACX_BUGURL): Likewise.
55137         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55138         (PKGVERSION): New AC_DEFINE_UNQUOTED.
55139         (REPORT_BUGS_TO): Likewise.
55140         * configure: Regenerated.
55141         * config.h.in (PKGVERSION): New macro.
55142         (REPORT_BUGS_TO): Likewise.
55143         * config.make.in (PKGVERSION): New variable.
55144         (PKGVERSION_TEXI): Likewise.
55145         (REPORT_BUGS_TO): Likewise.
55146         (REPORT_BUGS_TEXI): Likewise.
55147         * Makefile (format-me): Use -I$(common-objpfx)manual.
55148         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
55149         ($(common-objpfx)manual/%): New target.
55150         (manual/%): Remove target.
55151         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
55152         (print_version): Use PKGVERSION.
55153         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
55154         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
55155         and REPORT_BUGS_TO.
55156         ($(objpfx)xtrace): Likewise.
55157         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
55158         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
55159         (print_version): Use PKGVERSION.
55160         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
55161         (do_version): Use PKGVERSION.
55162         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
55163         REPORT_BUGS_TO.
55164         (common-ldd-rewrite): Likewise.
55165         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
55166         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
55167         (print_version): Use PKGVERSION.
55168         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
55169         * elf/pldd.c (argp_program_bug_address): Remove variable.
55170         (more_help): New function.
55171         (argp): Use more_help.
55172         (print_version): Use PKGVERSION.
55173         * elf/sln.c (main): Use PKGVERSION.
55174         (usage): Use REPORT_BUGS_TO.
55175         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55176         (top level): Use PKGVERSION.
55177         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55178         (print_version): Use PKGVERSION.
55179         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55180         (print_version): Use PKGVERSION.
55181         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55182         (print_version): Use PKGVERSION.
55183         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55184         (print_version): Use PKGVERSION.
55185         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55186         (print_version): Use PKGVERSION.
55187         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55188         (print_version): Use PKGVERSION.
55189         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55190         and BUGURL.
55191         ($(objpfx)memusage): Likewise.
55192         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55193         (do_version): Use PKGVERSION.
55194         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55195         (print_version): Use PKGVERSION.
55196         * malloc/mtrace.pl ($PACKAGE): Remove variable.
55197         ($PKGVERSION): New variable.
55198         ($REPORT_BUGS_TO): Likewise.
55199         (usage): Use $REPORT_BUGS_TO.
55200         (top level): Use $PKGVERSION.
55201         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55202         ($(objpfx)pkgvers.texi): New rule.
55203         ($(objpfx)stamp-pkgvers): Likewise.
55204         * manual/install.texi: Include pkgvers.texi.
55205         (--with-pkgversion): Document new configure option.
55206         (--with-bugurl): Likewise.
55207         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55208         than necessarily for this particular distribution.  Use
55209         REPORT_BUGS_TO for where to report bugs.
55210         * INSTALL: Regenerated.
55211         * manual/libc.texinfo: Include pkgvers.texi.
55212         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55213         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
55214         (print_version): Use PKGVERSION.
55215         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
55216         (print_version): Use PKGVERSION.
55217         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
55218         (print_version): Use PKGVERSION.
55219         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
55220         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
55221         macro.
55222         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
55223         (print_version): Use PKGVERSION.
55224         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
55225         (print_version): Use PKGVERSION.
55226         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
55227         and PKGVERSION.
55229         * timezone/checktab.awk: Update from tzcode 2012i.
55230         * timezone/ialloc.c: Likewise.
55231         * timezone/private.h: Likewise.
55232         * timezone/scheck.c: Likewise.
55233         * timezone/tzfile.h: Likewise.
55234         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
55235         (TZVERSION): Hardcode tzcode version number.
55236         * timezone/zdump.c: Update from tzcode 2012i.
55237         * timezone/zic.c: Likewise.
55238         * timezone/version.h: New file.
55239         * timezone/README: Describe version.h.  Update upstream location.
55241         [BZ #14824]
55242         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
55243         (mktemp): Enable declaration.
55244         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
55245         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
55246         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
55247         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
55248         Likewise.
55249         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
55250         Likewise.
55251         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
55252         Likewise.
55253         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
55254         Likewise.
55255         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
55256         Likewise.
55257         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
55258         Likewise.
55260         [BZ #14821]
55261         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
55262         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
55263         for copies of such integer values.
55264         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55265         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55267 2012-11-09  Andreas Jaeger  <aj@suse.de>
55269         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
55270         definitions and declarations that are provided by
55271         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55273 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55275         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
55276         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
55277         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
55278         definition.
55280 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55282         * elf/elf.h: Update comment before AArch64 relocations.
55284 2012-11-07  David S. Miller  <davem@davemloft.net>
55286         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
55287         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55288         (__start_context): Declare.
55289         (__makecontext_ret): Delete.
55290         (__makecontext): Hook up __start_context instead of
55291         __makecontext_ret.
55292         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55293         (sysdep_routines): Add __start_context when in stdlib.
55295 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55297         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55298         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55299         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
55300         hardcoded "nm".
55301         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
55302         (READELF): New variable.  Use it instead of hardcoded "readelf".
55304 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55306         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55307         * sysdeps/x86/Makefile: Here.
55308         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55309         * sysdeps/x86/tst-xmmymm.sh: This.
55311 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55313         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55314         expectations.
55315         [UNIX98] (pthread_barrier_t): Do not expect.
55316         [UNIX98] (pthread_barrierattr_t): Likewise.
55317         [UNIX98] (pthread_spinlock_t): Likewise.
55318         [UNIX98] (pthread_barrier_destroy): Likewise.
55319         [UNIX98] (pthread_barrier_init): Likewise.
55320         [UNIX98] (pthread_barrier_wait): Likewise.
55321         [UNIX98] (pthread_barrierattr_destroy): Likewise.
55322         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55323         [UNIX98] (pthread_barrierattr_init): Likewise.
55324         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55325         [UNIX98] (pthread_getcpuclockid): Likewise.
55326         [UNIX98] (pthread_mutex_timedlock): Likewise.
55327         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55328         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55329         [UNIX98] (pthread_sigmask): Likewise.
55330         [UNIX98] (pthread_spin_destroy): Likewise.
55331         [UNIX98] (pthread_spin_init): Likewise.
55332         [UNIX98] (pthread_spin_lock): Likewise.
55333         [UNIX98] (pthread_spin_trylock): Likewise.
55334         [UNIX98] (pthread_spin_unlock): Likewise.
55335         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55336         Do not expect.
55337         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55338         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55339         [XPG3 || XPG4] (pthread_cond_t): Likewise.
55340         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55341         [XPG3 || XPG4] (pthread_key_t): Likewise.
55342         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55343         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55344         [XPG3 || XPG4] (pthread_once_t): Likewise.
55345         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55346         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55347         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55348         [XPG3 || XPG4] (pthread_t): Likewise.
55350         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55351         not expect.
55352         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55354         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55355         Change function return type to int.
55357         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55358         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55359         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55360         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55361         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55362         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55363         [!POSIX] (posix_madvise): Likewise.
55364         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55365         && !UNIX98].
55366         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55367         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55368         (mode_t): Likewise.
55369         (posix_mem_offset): Likewise.
55370         (posix_typed_mem_get_info): Likewise.
55371         (posix_typed_mem_open): Likewise.
55373         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
55374         Change condition to [XOPEN2K8].
55376         * conform/conformtest.pl: Preprocess allow-header data with -x c
55377         instead of from stdin.
55378         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
55379         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
55380         [C99-based standards] (cerfc): Likewise.
55381         [C99-based standards] (cexp2): Likewise.
55382         [C99-based standards] (cexpm1): Likewise.
55383         [C99-based standards] (clog10): Likewise.
55384         [C99-based standards] (clog1p): Likewise.
55385         [C99-based standards] (clog2): Likewise.
55386         [C99-based standards] (clgamma): Likewise.
55387         [C99-based standards] (ctgamma): Likewise.
55388         [C99-based standards] (cerff): Likewise.
55389         [C99-based standards] (cerfcf): Likewise.
55390         [C99-based standards] (cexp2f): Likewise.
55391         [C99-based standards] (cexpm1f): Likewise.
55392         [C99-based standards] (clog10f): Likewise.
55393         [C99-based standards] (clog1pf): Likewise.
55394         [C99-based standards] (clog2f): Likewise.
55395         [C99-based standards] (clgammaf): Likewise.
55396         [C99-based standards] (ctgammaf): Likewise.
55397         [C99-based standards] (cerfl): Likewise.
55398         [C99-based standards] (cerfcl): Likewise.
55399         [C99-based standards] (cexp2l): Likewise.
55400         [C99-based standards] (cexpm1l): Likewise.
55401         [C99-based standards] (clog10l): Likewise.
55402         [C99-based standards] (clog1pl): Likewise.
55403         [C99-based standards] (clog2l): Likewise.
55404         [C99-based standards] (clgammal): Likewise.
55405         [C99-based standards] (ctgammal): Likewise.
55406         * conform/data/inttypes.h-data [C99-based standards]: Include
55407         stdint.h-data.  Remove all expectations for stdint.h contents.
55408         [C99-based standards] (PRI*): Do not allow.
55409         [C99-based standards] (SCN*): Likewise.
55410         [C99-based standards] (*_t): Likewise.
55411         [C99-based-standards] (PRId8): Expect macro.
55412         [C99-based-standards] (PRIi8): Likewise.
55413         [C99-based-standards] (PRIo8): Likewise.
55414         [C99-based-standards] (PRIu8): Likewise.
55415         [C99-based-standards] (PRIx8): Likewise.
55416         [C99-based-standards] (PRIX8): Likewise.
55417         [C99-based-standards] (SCNd8): Likewise.
55418         [C99-based-standards] (SCNi8): Likewise.
55419         [C99-based-standards] (SCNo8): Likewise.
55420         [C99-based-standards] (SCNu8): Likewise.
55421         [C99-based-standards] (SCNx8): Likewise.
55422         [C99-based-standards] (PRIdLEAST8): Likewise.
55423         [C99-based-standards] (PRIiLEAST8): Likewise.
55424         [C99-based-standards] (PRIoLEAST8): Likewise.
55425         [C99-based-standards] (PRIuLEAST8): Likewise.
55426         [C99-based-standards] (PRIxLEAST8): Likewise.
55427         [C99-based-standards] (PRIXLEAST8): Likewise.
55428         [C99-based-standards] (SCNdLEAST8): Likewise.
55429         [C99-based-standards] (SCNiLEAST8): Likewise.
55430         [C99-based-standards] (SCNoLEAST8): Likewise.
55431         [C99-based-standards] (SCNuLEAST8): Likewise.
55432         [C99-based-standards] (SCNxLEAST8): Likewise.
55433         [C99-based-standards] (PRIdFAST8): Likewise.
55434         [C99-based-standards] (PRIiFAST8): Likewise.
55435         [C99-based-standards] (PRIoFAST8): Likewise.
55436         [C99-based-standards] (PRIuFAST8): Likewise.
55437         [C99-based-standards] (PRIxFAST8): Likewise.
55438         [C99-based-standards] (PRIXFAST8): Likewise.
55439         [C99-based-standards] (SCNdFAST8): Likewise.
55440         [C99-based-standards] (SCNiFAST8): Likewise.
55441         [C99-based-standards] (SCNoFAST8): Likewise.
55442         [C99-based-standards] (SCNuFAST8): Likewise.
55443         [C99-based-standards] (SCNxFAST8): Likewise.
55444         [C99-based-standards] (PRId16): Likewise.
55445         [C99-based-standards] (PRIi16): Likewise.
55446         [C99-based-standards] (PRIo16): Likewise.
55447         [C99-based-standards] (PRIu16): Likewise.
55448         [C99-based-standards] (PRIx16): Likewise.
55449         [C99-based-standards] (PRIX16): Likewise.
55450         [C99-based-standards] (SCNd16): Likewise.
55451         [C99-based-standards] (SCNi16): Likewise.
55452         [C99-based-standards] (SCNo16): Likewise.
55453         [C99-based-standards] (SCNu16): Likewise.
55454         [C99-based-standards] (SCNx16): Likewise.
55455         [C99-based-standards] (PRIdLEAST16): Likewise.
55456         [C99-based-standards] (PRIiLEAST16): Likewise.
55457         [C99-based-standards] (PRIoLEAST16): Likewise.
55458         [C99-based-standards] (PRIuLEAST16): Likewise.
55459         [C99-based-standards] (PRIxLEAST16): Likewise.
55460         [C99-based-standards] (PRIXLEAST16): Likewise.
55461         [C99-based-standards] (SCNdLEAST16): Likewise.
55462         [C99-based-standards] (SCNiLEAST16): Likewise.
55463         [C99-based-standards] (SCNoLEAST16): Likewise.
55464         [C99-based-standards] (SCNuLEAST16): Likewise.
55465         [C99-based-standards] (SCNxLEAST16): Likewise.
55466         [C99-based-standards] (PRIdFAST16): Likewise.
55467         [C99-based-standards] (PRIiFAST16): Likewise.
55468         [C99-based-standards] (PRIoFAST16): Likewise.
55469         [C99-based-standards] (PRIuFAST16): Likewise.
55470         [C99-based-standards] (PRIxFAST16): Likewise.
55471         [C99-based-standards] (PRIXFAST16): Likewise.
55472         [C99-based-standards] (SCNdFAST16): Likewise.
55473         [C99-based-standards] (SCNiFAST16): Likewise.
55474         [C99-based-standards] (SCNoFAST16): Likewise.
55475         [C99-based-standards] (SCNuFAST16): Likewise.
55476         [C99-based-standards] (SCNxFAST16): Likewise.
55477         [C99-based-standards] (PRId32): Likewise.
55478         [C99-based-standards] (PRIi32): Likewise.
55479         [C99-based-standards] (PRIo32): Likewise.
55480         [C99-based-standards] (PRIu32): Likewise.
55481         [C99-based-standards] (PRIx32): Likewise.
55482         [C99-based-standards] (PRIX32): Likewise.
55483         [C99-based-standards] (SCNd32): Likewise.
55484         [C99-based-standards] (SCNi32): Likewise.
55485         [C99-based-standards] (SCNo32): Likewise.
55486         [C99-based-standards] (SCNu32): Likewise.
55487         [C99-based-standards] (SCNx32): Likewise.
55488         [C99-based-standards] (PRIdLEAST32): Likewise.
55489         [C99-based-standards] (PRIiLEAST32): Likewise.
55490         [C99-based-standards] (PRIoLEAST32): Likewise.
55491         [C99-based-standards] (PRIuLEAST32): Likewise.
55492         [C99-based-standards] (PRIxLEAST32): Likewise.
55493         [C99-based-standards] (PRIXLEAST32): Likewise.
55494         [C99-based-standards] (SCNdLEAST32): Likewise.
55495         [C99-based-standards] (SCNiLEAST32): Likewise.
55496         [C99-based-standards] (SCNoLEAST32): Likewise.
55497         [C99-based-standards] (SCNuLEAST32): Likewise.
55498         [C99-based-standards] (SCNxLEAST32): Likewise.
55499         [C99-based-standards] (PRIdFAST32): Likewise.
55500         [C99-based-standards] (PRIiFAST32): Likewise.
55501         [C99-based-standards] (PRIoFAST32): Likewise.
55502         [C99-based-standards] (PRIuFAST32): Likewise.
55503         [C99-based-standards] (PRIxFAST32): Likewise.
55504         [C99-based-standards] (PRIXFAST32): Likewise.
55505         [C99-based-standards] (SCNdFAST32): Likewise.
55506         [C99-based-standards] (SCNiFAST32): Likewise.
55507         [C99-based-standards] (SCNoFAST32): Likewise.
55508         [C99-based-standards] (SCNuFAST32): Likewise.
55509         [C99-based-standards] (SCNxFAST32): Likewise.
55510         [C99-based-standards] (PRId64): Likewise.
55511         [C99-based-standards] (PRIi64): Likewise.
55512         [C99-based-standards] (PRIo64): Likewise.
55513         [C99-based-standards] (PRIu64): Likewise.
55514         [C99-based-standards] (PRIx64): Likewise.
55515         [C99-based-standards] (PRIX64): Likewise.
55516         [C99-based-standards] (SCNd64): Likewise.
55517         [C99-based-standards] (SCNi64): Likewise.
55518         [C99-based-standards] (SCNo64): Likewise.
55519         [C99-based-standards] (SCNu64): Likewise.
55520         [C99-based-standards] (SCNx64): Likewise.
55521         [C99-based-standards] (PRIdLEAST64): Likewise.
55522         [C99-based-standards] (PRIiLEAST64): Likewise.
55523         [C99-based-standards] (PRIoLEAST64): Likewise.
55524         [C99-based-standards] (PRIuLEAST64): Likewise.
55525         [C99-based-standards] (PRIxLEAST64): Likewise.
55526         [C99-based-standards] (PRIXLEAST64): Likewise.
55527         [C99-based-standards] (SCNdLEAST64): Likewise.
55528         [C99-based-standards] (SCNiLEAST64): Likewise.
55529         [C99-based-standards] (SCNoLEAST64): Likewise.
55530         [C99-based-standards] (SCNuLEAST64): Likewise.
55531         [C99-based-standards] (SCNxLEAST64): Likewise.
55532         [C99-based-standards] (PRIdFAST64): Likewise.
55533         [C99-based-standards] (PRIiFAST64): Likewise.
55534         [C99-based-standards] (PRIoFAST64): Likewise.
55535         [C99-based-standards] (PRIuFAST64): Likewise.
55536         [C99-based-standards] (PRIxFAST64): Likewise.
55537         [C99-based-standards] (PRIXFAST64): Likewise.
55538         [C99-based-standards] (SCNdFAST64): Likewise.
55539         [C99-based-standards] (SCNiFAST64): Likewise.
55540         [C99-based-standards] (SCNoFAST64): Likewise.
55541         [C99-based-standards] (SCNuFAST64): Likewise.
55542         [C99-based-standards] (SCNxFAST64): Likewise.
55543         [C99-based-standards] (PRIdMAX): Likewise.
55544         [C99-based-standards] (PRIiMAX): Likewise.
55545         [C99-based-standards] (PRIoMAX): Likewise.
55546         [C99-based-standards] (PRIuMAX): Likewise.
55547         [C99-based-standards] (PRIxMAX): Likewise.
55548         [C99-based-standards] (PRIXMAX): Likewise.
55549         [C99-based-standards] (SCNdMAX): Likewise.
55550         [C99-based-standards] (SCNiMAX): Likewise.
55551         [C99-based-standards] (SCNoMAX): Likewise.
55552         [C99-based-standards] (SCNuMAX): Likewise.
55553         [C99-based-standards] (SCNxMAX): Likewise.
55554         [C99-based-standards] (PRIdPTR): Likewise.
55555         [C99-based-standards] (PRIiPTR): Likewise.
55556         [C99-based-standards] (PRIoPTR): Likewise.
55557         [C99-based-standards] (PRIuPTR): Likewise.
55558         [C99-based-standards] (PRIxPTR): Likewise.
55559         [C99-based-standards] (PRIXPTR): Likewise.
55560         [C99-based-standards] (SCNdPTR): Likewise.
55561         [C99-based-standards] (SCNiPTR): Likewise.
55562         [C99-based-standards] (SCNoPTR): Likewise.
55563         [C99-based-standards] (SCNuPTR): Likewise.
55564         [C99-based-standards] (SCNxPTR): Likewise.
55565         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
55566         allow.
55567         * conform/data/stdint.h-data: Update comments to clarify
55568         requirements.
55569         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
55570         type.
55571         [C99-based standards] (INT8_MAX): Likewise.
55572         [C99-based standards] (INT16_MIN): Likewise.
55573         [C99-based standards] (INT16_MAX): Likewise.
55574         [C99-based standards] (INT32_MIN): Likewise.
55575         [C99-based standards] (INT32_MAX): Likewise.
55576         [C99-based standards] (INT64_MIN): Likewise.
55577         [C99-based standards] (INT64_MAX): Likewise.
55578         [C99-based standards] (UINT8_MAX): Likewise.
55579         [C99-based standards] (UINT16_MAX): Likewise.
55580         [C99-based standards] (UINT32_MAX): Likewise.
55581         [C99-based standards] (UINT64_MAX): Likewise.
55582         [C99-based standards] (INT_LEAST8_MIN): Likewise.
55583         [C99-based standards] (INT_LEAST8_MAX): Likewise.
55584         [C99-based standards] (INT_LEAST16_MIN): Likewise.
55585         [C99-based standards] (INT_LEAST16_MAX): Likewise.
55586         [C99-based standards] (INT_LEAST32_MIN): Likewise.
55587         [C99-based standards] (INT_LEAST32_MAX): Likewise.
55588         [C99-based standards] (INT_LEAST64_MIN): Likewise.
55589         [C99-based standards] (INT_LEAST64_MAX): Likewise.
55590         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
55591         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
55592         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
55593         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
55594         [C99-based standards] (INT_FAST8_MIN): Likewise.
55595         [C99-based standards] (INT_FAST8_MAX): Likewise.
55596         [C99-based standards] (INT_FAST16_MIN): Likewise.
55597         [C99-based standards] (INT_FAST16_MAX): Likewise.
55598         [C99-based standards] (INT_FAST32_MIN): Likewise.
55599         [C99-based standards] (INT_FAST32_MAX): Likewise.
55600         [C99-based standards] (INT_FAST64_MIN): Likewise.
55601         [C99-based standards] (INT_FAST64_MAX): Likewise.
55602         [C99-based standards] (UINT_FAST8_MAX): Likewise.
55603         [C99-based standards] (UINT_FAST16_MAX): Likewise.
55604         [C99-based standards] (UINT_FAST32_MAX): Likewise.
55605         [C99-based standards] (UINT_FAST64_MAX): Likewise.
55606         [C99-based standards] (INTPTR_MIN): Likewise.
55607         [C99-based standards] (INTPTR_MAX): Likewise.
55608         [C99-based standards] (UINTPTR_MAX): Likewise.
55609         [C99-based standards] (INTMAX_MIN): Likewise.
55610         [C99-based standards] (INTMAX_MAX): Likewise.
55611         [C99-based standards] (UINTMAX_MAX): Likewise.
55612         [C99-based standards] (PTRDIFF_MIN): Likewise.
55613         [C99-based standards] (PTRDIFF_MAX): Likewise.
55614         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
55615         [C99-based standards] (SIZE_MAX): Likewise.
55616         [C99-based standards] (WCHAR_MAX): Likewise.
55617         [C99-based standards] (WINT_MAX): Likewise.
55618         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
55619         constraint on value.
55620         [C99-based standards] (WCHAR_MIN): Likewise.
55621         [C99-based standards] (WINT_MIN): Likewise.
55622         [C99-based standards] (*_t): Allow.
55623         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
55624         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
55625         Include math.h-data and complex.h-data.  Remove all expectations
55626         of math.h and complex.h contents.
55627         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
55628         at end of line.
55629         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
55630         (struct tm): Expect tag.
55631         [C99-based-standards] (wcstof): Expect function.
55632         [C99-based-standards] (wcstold): Likewise.
55633         [C99-based-standards] (wcstoll): Likewise.
55634         [C99-based-standards] (wcstoull): Likewise.
55635         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
55636         macro-int-constant.  Specify type.
55637         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
55638         constraint on value.
55639         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55640         Specify type.
55641         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
55642         Specify value.
55643         [ISO C standards]: Do not allow headers.
55644         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
55645         wcs[abcdefghijklmnopqrstuvwxyz]*.
55646         [ISO C standards] (*_t): Do not allow.
55647         * conform/data/wctype.h-data [C99-based standards] (iswblank):
55648         Expect function.
55649         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
55650         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55651         Specify type.
55652         [ISO C standards]: Do not allow headers.
55653         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
55654         is[abcdefghijklmnopqrstuvwxyz]*.
55655         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
55656         to[abcdefghijklmnopqrstuvwxyz]*.
55657         [ISO C standards] (*_t): Do not allow.
55658         * conform/data/stdalign.h-data: New file.
55659         * conform/data/stdbool.h-data: Likewise.
55660         * conform/data/stdnoreturn.h-data: Likewise.
55662 2012-11-07  Roland McGrath  <roland@hack.frob.com>
55664         [BZ #14815]
55665         * manual/filesys.texi (Directory Entries): Typo fix.
55666         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
55668 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55670         * elf/elf.h (EM_AARCH64): New macro.
55671         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
55672         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
55673         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
55674         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
55675         (R_AARCH64_TLSDESC): Likewise.
55676         (NT_ARM_TLS): Likewise.
55677         (NT_ARM_HW_BREAK): Likewise.
55678         (NT_ARM_HW_WATCH): Likewise.
55680 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55682         [BZ #14811]
55683         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
55684         (__ieee754_powl): Saturate nonzero exponents with absolute value
55685         below 0x1p-79 to +/- 0x1p-79.
55686         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
55687         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
55688         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
55689         nonzero exponents with absolute value below 0x1p-32 to +/-
55690         0x1p-32.
55691         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
55692         (__ieee754_powl): Saturate nonzero exponents with absolute value
55693         below 0x1p-79 to +/- 0x1p-79.
55694         * math/libm-test.inc (pow_test): Add more tests.
55696 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55698         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
55699         _dl_s390_cap_flags with kernel. Increase string length.
55700         (_dl_s390_platforms): Add z196 and zEC12.
55702 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55704         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
55705         Change XOPEN21K to XOPEN2K.
55707 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
55709         * string/memmove.c: Use memcpy when possible.
55711 2012-11-06  Andreas Jaeger  <aj@suse.de>
55713         * po/eo.po: Update from translation team.
55715 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
55717         [BZ #14793]
55718         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
55719         exponent and small x and y exponents, scale x or y up.  Increase
55720         by 2 the exponent used in scaling up.
55721         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55722         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55723         * math/libm-test.inc (fma_test): Add more tests.
55724         (fma_test_towardzero): Likewise.
55725         (fma_test_downward): Likewise.
55726         (fma_test_upward): Likewise.
55728 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
55730         [BZ #14805]
55731         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
55732         fenv_t *.
55734         [BZ #14801]
55735         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
55736         namespace for names of struct fields.
55737         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
55738         fenv_t fields.
55739         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
55740         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
55742 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55744         [BZ #3665]
55745         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
55747 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55749         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
55750         PTR_DEMANGLE.
55752         [BZ #5246]
55753         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
55754         PTR_DEMANGLE.
55756 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
55758         [BZ #14797]
55759         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
55760         definitely overflow as x * y not x * y + z.
55761         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55762         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55763         * math/libm-test.inc (fma_test): Add more tests.
55764         (fma_test_towardzero): Likewise.
55765         (fma_test_downward): Likewise.
55766         (fma_test_upward): Likewise.
55768 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55770         [BZ #157]
55772         * include/stub-tag.h: Remove file.
55773         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
55774         '#include' of it.
55775         * manual/maint.texi (Porting): Don't reference it.
55776         * Makerules ($(objpfx)stubs): Likewise.
55777         * dirent/closedir.c: Don't include <stub-tag.h>.
55778         * dirent/dirfd.c: Likewise.
55779         * dirent/fdopendir.c: Likewise.
55780         * dirent/getdents.c: Likewise.
55781         * dirent/getdents64.c: Likewise.
55782         * dirent/opendir.c: Likewise.
55783         * dirent/readdir.c: Likewise.
55784         * dirent/readdir64.c: Likewise.
55785         * dirent/readdir64_r.c: Likewise.
55786         * dirent/readdir_r.c: Likewise.
55787         * dirent/rewinddir.c: Likewise.
55788         * dirent/seekdir.c: Likewise.
55789         * dirent/telldir.c: Likewise.
55790         * gmon/profil.c: Likewise.
55791         * grp/setgroups.c: Likewise.
55792         * inet/if_index.c: Likewise.
55793         * io/access.c: Likewise.
55794         * io/chdir.c: Likewise.
55795         * io/chmod.c: Likewise.
55796         * io/chown.c: Likewise.
55797         * io/close.c: Likewise.
55798         * io/dup.c: Likewise.
55799         * io/dup2.c: Likewise.
55800         * io/dup3.c: Likewise.
55801         * io/euidaccess.c: Likewise.
55802         * io/faccessat.c: Likewise.
55803         * io/fchdir.c: Likewise.
55804         * io/fchmod.c: Likewise.
55805         * io/fchmodat.c: Likewise.
55806         * io/fchown.c: Likewise.
55807         * io/fchownat.c: Likewise.
55808         * io/fcntl.c: Likewise.
55809         * io/flock.c: Likewise.
55810         * io/fstatfs.c: Likewise.
55811         * io/fstatfs64.c: Likewise.
55812         * io/fstatvfs.c: Likewise.
55813         * io/fstatvfs64.c: Likewise.
55814         * io/futimens.c: Likewise.
55815         * io/fxstat.c: Likewise.
55816         * io/fxstat64.c: Likewise.
55817         * io/fxstatat.c: Likewise.
55818         * io/fxstatat64.c: Likewise.
55819         * io/getcwd.c: Likewise.
55820         * io/isatty.c: Likewise.
55821         * io/lchmod.c: Likewise.
55822         * io/lchown.c: Likewise.
55823         * io/link.c: Likewise.
55824         * io/linkat.c: Likewise.
55825         * io/lseek.c: Likewise.
55826         * io/lseek64.c: Likewise.
55827         * io/lxstat64.c: Likewise.
55828         * io/mkdir.c: Likewise.
55829         * io/mkdirat.c: Likewise.
55830         * io/mkfifo.c: Likewise.
55831         * io/mkfifoat.c: Likewise.
55832         * io/open.c: Likewise.
55833         * io/open64.c: Likewise.
55834         * io/openat.c: Likewise.
55835         * io/openat64.c: Likewise.
55836         * io/pipe.c: Likewise.
55837         * io/pipe2.c: Likewise.
55838         * io/poll.c: Likewise.
55839         * io/posix_fadvise.c: Likewise.
55840         * io/posix_fadvise64.c: Likewise.
55841         * io/posix_fallocate.c: Likewise.
55842         * io/posix_fallocate64.c: Likewise.
55843         * io/read.c: Likewise.
55844         * io/readlink.c: Likewise.
55845         * io/readlinkat.c: Likewise.
55846         * io/rmdir.c: Likewise.
55847         * io/sendfile.c: Likewise.
55848         * io/sendfile64.c: Likewise.
55849         * io/statfs.c: Likewise.
55850         * io/statfs64.c: Likewise.
55851         * io/statvfs.c: Likewise.
55852         * io/statvfs64.c: Likewise.
55853         * io/symlink.c: Likewise.
55854         * io/symlinkat.c: Likewise.
55855         * io/ttyname.c: Likewise.
55856         * io/ttyname_r.c: Likewise.
55857         * io/umask.c: Likewise.
55858         * io/unlink.c: Likewise.
55859         * io/unlinkat.c: Likewise.
55860         * io/utime.c: Likewise.
55861         * io/utimensat.c: Likewise.
55862         * io/write.c: Likewise.
55863         * io/xmknod.c: Likewise.
55864         * io/xmknodat.c: Likewise.
55865         * io/xstat.c: Likewise.
55866         * io/xstat64.c: Likewise.
55867         * login/getpt.c: Likewise.
55868         * login/grantpt.c: Likewise.
55869         * login/unlockpt.c: Likewise.
55870         * math/e_acoshl.c: Likewise.
55871         * math/e_acosl.c: Likewise.
55872         * math/e_asinl.c: Likewise.
55873         * math/e_atan2l.c: Likewise.
55874         * math/e_atanhl.c: Likewise.
55875         * math/e_coshl.c: Likewise.
55876         * math/e_expl.c: Likewise.
55877         * math/e_fmodl.c: Likewise.
55878         * math/e_gammal_r.c: Likewise.
55879         * math/e_hypotl.c: Likewise.
55880         * math/e_j0l.c: Likewise.
55881         * math/e_j1l.c: Likewise.
55882         * math/e_jnl.c: Likewise.
55883         * math/e_lgammal_r.c: Likewise.
55884         * math/e_log10l.c: Likewise.
55885         * math/e_log2l.c: Likewise.
55886         * math/e_logl.c: Likewise.
55887         * math/e_powl.c: Likewise.
55888         * math/e_rem_pio2l.c: Likewise.
55889         * math/e_sinhl.c: Likewise.
55890         * math/e_sqrtl.c: Likewise.
55891         * math/fclrexcpt.c: Likewise.
55892         * math/fedisblxcpt.c: Likewise.
55893         * math/feenablxcpt.c: Likewise.
55894         * math/fegetenv.c: Likewise.
55895         * math/fegetexcept.c: Likewise.
55896         * math/fegetround.c: Likewise.
55897         * math/feholdexcpt.c: Likewise.
55898         * math/fesetenv.c: Likewise.
55899         * math/fesetround.c: Likewise.
55900         * math/feupdateenv.c: Likewise.
55901         * math/fgetexcptflg.c: Likewise.
55902         * math/fraiseexcpt.c: Likewise.
55903         * math/fsetexcptflg.c: Likewise.
55904         * math/ftestexcept.c: Likewise.
55905         * math/k_cosl.c: Likewise.
55906         * math/k_rem_pio2l.c: Likewise.
55907         * math/k_sinl.c: Likewise.
55908         * math/k_tanl.c: Likewise.
55909         * math/s_asinhl.c: Likewise.
55910         * math/s_atanl.c: Likewise.
55911         * math/s_cbrtl.c: Likewise.
55912         * math/s_erfl.c: Likewise.
55913         * math/s_expm1l.c: Likewise.
55914         * math/s_log1pl.c: Likewise.
55915         * math/s_tanhl.c: Likewise.
55916         * misc/acct.c: Likewise.
55917         * misc/brk.c: Likewise.
55918         * misc/chflags.c: Likewise.
55919         * misc/chroot.c: Likewise.
55920         * misc/fchflags.c: Likewise.
55921         * misc/fgetxattr.c: Likewise.
55922         * misc/flistxattr.c: Likewise.
55923         * misc/fremovexattr.c: Likewise.
55924         * misc/fsetxattr.c: Likewise.
55925         * misc/fsync.c: Likewise.
55926         * misc/ftruncate.c: Likewise.
55927         * misc/futimes.c: Likewise.
55928         * misc/futimesat.c: Likewise.
55929         * misc/getdomain.c: Likewise.
55930         * misc/getdtsz.c: Likewise.
55931         * misc/gethostid.c: Likewise.
55932         * misc/gethostname.c: Likewise.
55933         * misc/getloadavg.c: Likewise.
55934         * misc/getpagesize.c: Likewise.
55935         * misc/getsysstats.c: Likewise.
55936         * misc/getxattr.c: Likewise.
55937         * misc/gtty.c: Likewise.
55938         * misc/ioctl.c: Likewise.
55939         * misc/lgetxattr.c: Likewise.
55940         * misc/listxattr.c: Likewise.
55941         * misc/llistxattr.c: Likewise.
55942         * misc/lremovexattr.c: Likewise.
55943         * misc/lsetxattr.c: Likewise.
55944         * misc/lutimes.c: Likewise.
55945         * misc/madvise.c: Likewise.
55946         * misc/mincore.c: Likewise.
55947         * misc/mlock.c: Likewise.
55948         * misc/mlockall.c: Likewise.
55949         * misc/mmap.c: Likewise.
55950         * misc/mprotect.c: Likewise.
55951         * misc/msync.c: Likewise.
55952         * misc/munlock.c: Likewise.
55953         * misc/munlockall.c: Likewise.
55954         * misc/munmap.c: Likewise.
55955         * misc/preadv.c: Likewise.
55956         * misc/preadv64.c: Likewise.
55957         * misc/ptrace.c: Likewise.
55958         * misc/pwritev.c: Likewise.
55959         * misc/pwritev64.c: Likewise.
55960         * misc/readv.c: Likewise.
55961         * misc/reboot.c: Likewise.
55962         * misc/remap_file_pages.c: Likewise.
55963         * misc/removexattr.c: Likewise.
55964         * misc/revoke.c: Likewise.
55965         * misc/select.c: Likewise.
55966         * misc/setdomain.c: Likewise.
55967         * misc/setegid.c: Likewise.
55968         * misc/seteuid.c: Likewise.
55969         * misc/sethostid.c: Likewise.
55970         * misc/sethostname.c: Likewise.
55971         * misc/setregid.c: Likewise.
55972         * misc/setreuid.c: Likewise.
55973         * misc/setxattr.c: Likewise.
55974         * misc/sstk.c: Likewise.
55975         * misc/stty.c: Likewise.
55976         * misc/swapoff.c: Likewise.
55977         * misc/swapon.c: Likewise.
55978         * misc/sync.c: Likewise.
55979         * misc/syncfs.c: Likewise.
55980         * misc/syscall.c: Likewise.
55981         * misc/truncate.c: Likewise.
55982         * misc/ualarm.c: Likewise.
55983         * misc/usleep.c: Likewise.
55984         * misc/ustat.c: Likewise.
55985         * misc/utimes.c: Likewise.
55986         * misc/vhangup.c: Likewise.
55987         * misc/writev.c: Likewise.
55988         * posix/_exit.c: Likewise.
55989         * posix/alarm.c: Likewise.
55990         * posix/execve.c: Likewise.
55991         * posix/fexecve.c: Likewise.
55992         * posix/fork.c: Likewise.
55993         * posix/fpathconf.c: Likewise.
55994         * posix/getaddrinfo.c: Likewise.
55995         * posix/getegid.c: Likewise.
55996         * posix/geteuid.c: Likewise.
55997         * posix/getgid.c: Likewise.
55998         * posix/getgroups.c: Likewise.
55999         * posix/getlogin.c: Likewise.
56000         * posix/getlogin_r.c: Likewise.
56001         * posix/getpgid.c: Likewise.
56002         * posix/getpid.c: Likewise.
56003         * posix/getppid.c: Likewise.
56004         * posix/getresgid.c: Likewise.
56005         * posix/getresuid.c: Likewise.
56006         * posix/getsid.c: Likewise.
56007         * posix/getuid.c: Likewise.
56008         * posix/glob64.c: Likewise.
56009         * posix/nanosleep.c: Likewise.
56010         * posix/pathconf.c: Likewise.
56011         * posix/pause.c: Likewise.
56012         * posix/posix_madvise.c: Likewise.
56013         * posix/pread.c: Likewise.
56014         * posix/pread64.c: Likewise.
56015         * posix/pwrite.c: Likewise.
56016         * posix/pwrite64.c: Likewise.
56017         * posix/sched_getaffinity.c: Likewise.
56018         * posix/sched_getp.c: Likewise.
56019         * posix/sched_gets.c: Likewise.
56020         * posix/sched_primax.c: Likewise.
56021         * posix/sched_primin.c: Likewise.
56022         * posix/sched_rr_gi.c: Likewise.
56023         * posix/sched_setaffinity.c: Likewise.
56024         * posix/sched_setp.c: Likewise.
56025         * posix/sched_sets.c: Likewise.
56026         * posix/sched_yield.c: Likewise.
56027         * posix/setgid.c: Likewise.
56028         * posix/setlogin.c: Likewise.
56029         * posix/setpgid.c: Likewise.
56030         * posix/setresgid.c: Likewise.
56031         * posix/setresuid.c: Likewise.
56032         * posix/setsid.c: Likewise.
56033         * posix/setuid.c: Likewise.
56034         * posix/sleep.c: Likewise.
56035         * posix/spawni.c: Likewise.
56036         * posix/sysconf.c: Likewise.
56037         * posix/times.c: Likewise.
56038         * posix/wait.c: Likewise.
56039         * posix/wait3.c: Likewise.
56040         * posix/wait4.c: Likewise.
56041         * posix/waitpid.c: Likewise.
56042         * resolv/gai_sigqueue.c: Likewise.
56043         * resource/getpriority.c: Likewise.
56044         * resource/getrlimit.c: Likewise.
56045         * resource/getrusage.c: Likewise.
56046         * resource/nice.c: Likewise.
56047         * resource/setpriority.c: Likewise.
56048         * resource/setrlimit.c: Likewise.
56049         * resource/ulimit.c: Likewise.
56050         * rt/aio_cancel.c: Likewise.
56051         * rt/aio_fsync.c: Likewise.
56052         * rt/aio_read.c: Likewise.
56053         * rt/aio_sigqueue.c: Likewise.
56054         * rt/aio_suspend.c: Likewise.
56055         * rt/aio_write.c: Likewise.
56056         * rt/clock_getres.c: Likewise.
56057         * rt/clock_gettime.c: Likewise.
56058         * rt/clock_nanosleep.c: Likewise.
56059         * rt/clock_settime.c: Likewise.
56060         * rt/lio_listio.c: Likewise.
56061         * rt/mq_close.c: Likewise.
56062         * rt/mq_getattr.c: Likewise.
56063         * rt/mq_notify.c: Likewise.
56064         * rt/mq_open.c: Likewise.
56065         * rt/mq_receive.c: Likewise.
56066         * rt/mq_send.c: Likewise.
56067         * rt/mq_setattr.c: Likewise.
56068         * rt/mq_timedreceive.c: Likewise.
56069         * rt/mq_timedsend.c: Likewise.
56070         * rt/mq_unlink.c: Likewise.
56071         * rt/shm_open.c: Likewise.
56072         * rt/shm_unlink.c: Likewise.
56073         * rt/timer_create.c: Likewise.
56074         * rt/timer_delete.c: Likewise.
56075         * rt/timer_getoverr.c: Likewise.
56076         * rt/timer_gettime.c: Likewise.
56077         * rt/timer_settime.c: Likewise.
56078         * setjmp/__longjmp.c: Likewise.
56079         * setjmp/setjmp.c: Likewise.
56080         * signal/kill.c: Likewise.
56081         * signal/killpg.c: Likewise.
56082         * signal/raise.c: Likewise.
56083         * signal/sigaction.c: Likewise.
56084         * signal/sigaltstack.c: Likewise.
56085         * signal/sigblock.c: Likewise.
56086         * signal/sigignore.c: Likewise.
56087         * signal/sigintr.c: Likewise.
56088         * signal/signal.c: Likewise.
56089         * signal/sigpause.c: Likewise.
56090         * signal/sigpending.c: Likewise.
56091         * signal/sigqueue.c: Likewise.
56092         * signal/sigreturn.c: Likewise.
56093         * signal/sigset.c: Likewise.
56094         * signal/sigsetmask.c: Likewise.
56095         * signal/sigstack.c: Likewise.
56096         * signal/sigsuspend.c: Likewise.
56097         * signal/sigtimedwait.c: Likewise.
56098         * signal/sigvec.c: Likewise.
56099         * signal/sigwait.c: Likewise.
56100         * signal/sigwaitinfo.c: Likewise.
56101         * signal/sysv_signal.c: Likewise.
56102         * socket/accept.c: Likewise.
56103         * socket/accept4.c: Likewise.
56104         * socket/bind.c: Likewise.
56105         * socket/connect.c: Likewise.
56106         * socket/getpeername.c: Likewise.
56107         * socket/getsockname.c: Likewise.
56108         * socket/getsockopt.c: Likewise.
56109         * socket/isfdtype.c: Likewise.
56110         * socket/listen.c: Likewise.
56111         * socket/recv.c: Likewise.
56112         * socket/recvfrom.c: Likewise.
56113         * socket/recvmsg.c: Likewise.
56114         * socket/send.c: Likewise.
56115         * socket/sendmsg.c: Likewise.
56116         * socket/sendto.c: Likewise.
56117         * socket/setsockopt.c: Likewise.
56118         * socket/shutdown.c: Likewise.
56119         * socket/sockatmark.c: Likewise.
56120         * socket/socket.c: Likewise.
56121         * socket/socketpair.c: Likewise.
56122         * stdio-common/ctermid.c: Likewise.
56123         * stdio-common/cuserid.c: Likewise.
56124         * stdio-common/remove.c: Likewise.
56125         * stdio-common/rename.c: Likewise.
56126         * stdio-common/renameat.c: Likewise.
56127         * stdio-common/tempname.c: Likewise.
56128         * stdlib/getcontext.c: Likewise.
56129         * stdlib/makecontext.c: Likewise.
56130         * stdlib/setcontext.c: Likewise.
56131         * stdlib/swapcontext.c: Likewise.
56132         * stdlib/system.c: Likewise.
56133         * streams/fattach.c: Likewise.
56134         * streams/fdetach.c: Likewise.
56135         * streams/getmsg.c: Likewise.
56136         * streams/getpmsg.c: Likewise.
56137         * streams/putmsg.c: Likewise.
56138         * streams/putpmsg.c: Likewise.
56139         * sysdeps/unix/bsd/getpt.c: Likewise.
56140         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
56141         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
56142         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56144         Likewise.
56145         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
56146         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56147         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
56148         * sysvipc/msgctl.c: Likewise.
56149         * sysvipc/msgget.c: Likewise.
56150         * sysvipc/msgrcv.c: Likewise.
56151         * sysvipc/msgsnd.c: Likewise.
56152         * sysvipc/semctl.c: Likewise.
56153         * sysvipc/semget.c: Likewise.
56154         * sysvipc/semop.c: Likewise.
56155         * sysvipc/semtimedop.c: Likewise.
56156         * sysvipc/shmat.c: Likewise.
56157         * sysvipc/shmctl.c: Likewise.
56158         * sysvipc/shmdt.c: Likewise.
56159         * sysvipc/shmget.c: Likewise.
56160         * termios/tcdrain.c: Likewise.
56161         * termios/tcflow.c: Likewise.
56162         * termios/tcflush.c: Likewise.
56163         * termios/tcgetattr.c: Likewise.
56164         * termios/tcgetpgrp.c: Likewise.
56165         * termios/tcsendbrk.c: Likewise.
56166         * termios/tcsetattr.c: Likewise.
56167         * termios/tcsetpgrp.c: Likewise.
56168         * time/adjtime.c: Likewise.
56169         * time/clock.c: Likewise.
56170         * time/getitimer.c: Likewise.
56171         * time/gettimeofday.c: Likewise.
56172         * time/setitimer.c: Likewise.
56173         * time/settimeofday.c: Likewise.
56174         * time/stime.c: Likewise.
56175         * time/time.c: Likewise.
56177 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
56179         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56180         /usr/old/bin.
56182         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56183         instead of spaces.
56184         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56186 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
56188         [BZ #14796]
56189         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56190         FE_TONEAREST before applying Dekker multiplication and Knuth
56191         addition.  Clear inexact exceptions and check for exact zero
56192         results afterwards.
56193         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56194         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56195         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56196         * math/libm-test.inc (fma_test): Add more tests.
56197         (fma_test_towardzero): Likewise.
56198         (fma_test_downward): Likewise.
56199         (fma_test_upward): Likewise.
56200         * sysdeps/generic/math_private.h (default_libc_fesetround): New
56201         function.
56202         (libc_fesetround): New macro.
56203         (libc_fesetroundf): Likewise.
56204         (libc_fesetroundl): Likewise.
56205         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56206         function.
56207         (libc_fesetround_387): Likewise.
56208         (libc_fesetroundf): New macro.
56209         (libc_fesetround): Likewise.
56210         (libc_fesetroundl): Likewise.
56211         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56212         function.
56213         (libc_fesetroundf): New macro.
56214         (libc_fesetround): Likewise.
56215         (libc_fesetroundl): Likewise.
56216         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
56217         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
56218         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
56219         libm_hidden_ver.
56220         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
56221         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
56222         libm_hidden_def.
56223         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
56224         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
56225         libm_hidden_ver.
56226         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
56227         libm_hidden_def.
56229         [BZ #3439]
56230         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
56231         integer constant usable in #if and use that to give value to enum
56232         constant.
56233         (FE_DIVBYZERO): Likewise.
56234         (FE_UNDERFLOW): Likewise.
56235         (FE_OVERFLOW): Likewise.
56236         (FE_INVALID): Likewise.
56237         (FE_INVALID_SNAN): Likewise.
56238         (FE_INVALID_ISI): Likewise.
56239         (FE_INVALID_IDI): Likewise.
56240         (FE_INVALID_ZDZ): Likewise.
56241         (FE_INVALID_IMZ): Likewise.
56242         (FE_INVALID_COMPARE): Likewise.
56243         (FE_INVALID_SOFTWARE): Likewise.
56244         (FE_INVALID_SQRT): Likewise.
56245         (FE_INVALID_INTEGER_CONVERSION): Likewise.
56246         (FE_TONEAREST): Likewise.
56247         (FE_TOWARDZERO): Likewise.
56248         (FE_UPWARD): Likewise.
56249         (FE_DOWNWARD): Likewise.
56250         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
56251         (FE_DIVBYZERO): Likewise.
56252         (FE_OVERFLOW): Likewise.
56253         (FE_UNDERFLOW): Likewise.
56254         (FE_INEXACT): Likewise.
56255         (FE_TONEAREST): Likewise.
56256         (FE_DOWNWARD): Likewise.
56257         (FE_UPWARD): Likewise.
56258         (FE_TOWARDZERO): Likewise.
56259         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
56260         (FE_UNDERFLOW): Likewise.
56261         (FE_OVERFLOW): Likewise.
56262         (FE_DIVBYZERO): Likewise.
56263         (FE_INVALID): Likewise.
56264         (FE_TONEAREST): Likewise.
56265         (FE_TOWARDZERO): Likewise.
56266         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
56267         (FE_OVERFLOW): Likewise.
56268         (FE_UNDERFLOW): Likewise.
56269         (FE_DIVBYZERO): Likewise.
56270         (FE_INEXACT): Likewise.
56271         (FE_TONEAREST): Likewise.
56272         (FE_TOWARDZERO): Likewise.
56273         (FE_UPWARD): Likewise.
56274         (FE_DOWNWARD): Likewise.
56275         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
56276         (FE_DIVBYZERO): Likewise.
56277         (FE_OVERFLOW): Likewise.
56278         (FE_UNDERFLOW): Likewise.
56279         (FE_INEXACT): Likewise.
56280         (FE_TONEAREST): Likewise.
56281         (FE_DOWNWARD): Likewise.
56282         (FE_UPWARD): Likewise.
56283         (FE_TOWARDZERO): Likewise.
56285 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
56287         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
56289 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
56291         * scripts/cross-test-ssh.sh (command): Use newlines to separate
56292         commands.  Quote $PWD.
56293         (blacklist_exports): Don't use remove_newlines.  Replace "declare
56294         -x" by "export".
56295         (remove_newlines): Remove.
56297 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
56299         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56300         * stdlib/stdlib.h (atof): Moved to ...
56301         * include/bits/stdlib-float.h: Here.  New file.
56302         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56303         * stdlib/bits/stdlib-float.h: New file.
56304         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56305         -mno-sse -mno-mmx.
56306         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56307         <xmmintrin.h>.
56309 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56311         * conform/conformtest.pl (@headers): Add fenv.h.
56312         * conform/data/fenv.h-data: New file.
56313         * include/fenv.h [_ISOMAC]: Disable all contents of file except
56314         include of <math/fenv.h>.
56316         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56317         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56318         && !UNIX98].  Enables tests for XOPEN2K8.
56319         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56320         POSIX2008]: Likewise.
56322         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56323         (struct rusage): Do not expect type or its members.
56325         [BZ #3439]
56326         * math/math.h (FP_NAN): Define macro to integer constant usable in
56327         #if and use that to give value to enum constant.
56328         (FP_INFINITE): Likewise.
56329         (FP_ZERO): Likewise.
56330         (FP_SUBNORMAL): Likewise.
56331         (FP_NORMAL): Likewise.
56333 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
56335         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56336         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56337         arguments.
56339 2012-11-02  Roland McGrath  <roland@hack.frob.com>
56341         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56342         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56343         autoconf-time if not.
56344         * configure.in: Remove AC_PREREQ.
56346 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56348         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56349         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56350         of the internal implementation.
56352 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56354         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56355         except include of <misc/sys/syslog.h>.
56357 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56360         function returns with a NULL context exit with zero.
56362 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56364         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56366 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
56368         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56369         (run_program_cmd): This.
56370         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
56371         (tst_langinfo): New variable.  Use it.
56373 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
56375         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
56376         floating point opcodes.
56378 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56380         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
56381         variable.
56383         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
56385         * sysdeps/mach/hurd/powerpc: Remove directory.
56386         * sysdeps/mach/powerpc: Likewise.
56388 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56390         * scripts/check-local-headers.sh: Ignore c++ headers.
56392 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56394         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
56395         __libc_cleanup_region_start argument.
56397 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
56399         [BZ #14784]
56400         [BZ #14785]
56401         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
56402         x * y using scaling, not as x * y + z.
56403         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56404         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56405         * math/libm-test.inc (fma_test): Add more tests.
56406         (fma_test_towardzero): Likewise.
56407         (fma_test_downward): Likewise.
56408         (fma_test_upward): Likewise.
56410 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56412         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
56414 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56416         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
56417         New variable.
56419 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
56421         * rt/tst-shm.c (worker): Correct checking for mmap failure.
56423 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56426         Fix sort order.
56427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56428         Likewise.
56430 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56433         Fix the order of the list for glibc 2.17.
56434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56435         Likewise.
56437 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56441 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56443         [BZ #14610]
56444         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
56445         for low part of x being zero before using __atanl (y).
56446         * math/libm-test.inc (atan2_test): Add another test.
56448         * manual/install.texi (Configuring and compiling): Document
56449         general use of test-wrapper and test-wrapper-env.
56450         * INSTALL: Regenerated.
56452         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
56453         (__fma): Do not extract and scale down low bits on after-rounding
56454         systems when result rounded to normal precision would have normal
56455         exponent.
56456         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
56457         (__fmal): Do not extract and scale down low bits on after-rounding
56458         systems when result rounded to normal precision would have normal
56459         exponent.
56460         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
56461         (__fmal): Do not extract and scale down low bits on after-rounding
56462         systems when result rounded to normal precision would have normal
56463         exponent.
56464         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
56465         macro.
56466         (fma_test): Add more tests.
56467         (fma_test_towardzero): Likewise.
56468         (fma_test_downward): Likewise.
56469         (fma_test_upward): Likewise.
56471 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
56473         * sysdeps/i386/tininess.h: Renamed to ...
56474         * sysdeps/x86/tininess.h: This.
56475         * sysdeps/x86_64/tininess.h: Removed.
56477 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56479         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
56480         input.  Use $(build-program-cmd).
56481         ($(objpfx)tst-array1-static.out): Likewise.
56482         ($(objpfx)tst-array2.out): Likewise.
56483         ($(objpfx)tst-array3.out): Likewise.
56484         ($(objpfx)tst-array4.out): Likewise.
56485         ($(objpfx)tst-array5.out): Likewise.
56486         ($(objpfx)tst-array5-static.out): Likewise.
56488 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
56490         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
56491         if defined.
56493         * nss/nsswitch.h (nss_interface_function): Provide new
56494         macro for use with NSS functions.
56495         * grp/initgroups.c: Use new macro.
56496         * nss/getXXbyYY.c: Likewise.
56497         * nss/getXXbyYY_r.c: Likewise.
56498         * nss/getXXent.c: Likewise.
56499         * nss/getXXent_r.c: Likewise.
56500         * sysdeps/posix/getaddrinfo.c: Likewise.
56502 2012-10-30  Andreas Jaeger  <aj@suse.de>
56504         * po/ru.po: Update Russion translation from translation project.
56506 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56508         [BZ #14152]
56509         [BZ #14783]
56510         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
56511         result and shift together with sticky bit instead of replicating
56512         round-to-nearest rounding.
56513         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56514         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56515         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
56516         missing underflow exceptions.
56517         (fma_test_towardzero): Add more tests.
56518         (fma_test_downward): Likewise.
56519         (fma_test_upward): Likewise.
56521         [BZ #14047]
56522         * sysdeps/generic/tininess.h: New file.
56523         * sysdeps/i386/tininess.h: Likewise.
56524         * sysdeps/sh/tininess.h: Likewise.
56525         * sysdeps/x86_64/tininess.h: Likewise.
56526         * stdlib/tst-strtod-underflow.c: Likewise.
56527         * stdlib/tst-tininess.c: Likewise.
56528         * stdlib/strtod_l.c: Include <tininess.h>.
56529         (round_and_return): Do not set errno for exact underflow cases.
56530         Force an underflow exception when setting errno for underflow.
56531         Determine underflow based on rounding to normal precision if
56532         TININESS_AFTER_ROUNDING.
56533         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
56534         ERANGE for exact underflow cases.
56535         * stdlib/Makefile (tests): Add tst-tininess and
56536         tst-strtod-underflow.
56537         ($(objpfx)tst-tininess): Use $(link-libm).
56538         ($(objpfx)tst-strtod-underflow): Likewise.
56540 2012-10-30  Andreas Jaeger  <aj@suse.de>
56542         [BZ#14767]
56543         * elf/Makefile (tests): Remove conditional for have-initfini-array
56544         since this is now always required and the variable does not exist
56545         anymore.
56546         (tests-static): Likewise.
56547         (modules-names): Likewise.
56549         * po/eo.po: Add Esperanto translation from translation project.
56551         * elf/tst-array1.c (fini_array): Make writeable so that it can be
56552         merged with constructor/destructor.
56553         (init_array): Likewise.
56554         * elf/tst-array2dep.c (fini_array): Likewise.
56555         (init_array): Likewise.
56557 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
56559         * manual/message.texi: Delete @cartouche tags.
56561 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
56563         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
56564         EOPNOTSUPP.
56565         * sysdeps/mach/hurd/fsync.c: Likewise.
56567         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
56568         [_POSIX_REALTIME_SIGNALS]: Change condition to
56569         [_POSIX_REALTIME_SIGNALS > 0].
56571 2012-10-27  Andreas Jaeger  <aj@suse.de>
56573         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
56574         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
56575         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
56576         [__WORDSIZE != 64]: Likewise.
56578 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
56580         *  iconvdata/tst-table.sh: Remove ${SHELL}.
56581         *  iconvdata/tst-tables.sh: Likewise.
56583 2012-10-25  David S. Miller  <davem@davemloft.net>
56585         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56586         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
56587         of strtoull.
56589         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
56590         ifunc-impl-list.c
56591         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56592         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
56593         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
56594         file.
56596 2012-10-25  Roland McGrath  <roland@hack.frob.com>
56598         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56599         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
56600         __getdirentries.
56602 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56603             Jim Blandy  <jimb@codesourcery.com>
56605         * scripts/cross-test-ssh.sh: New file.
56606         * manual/install.texi (Configuring and compiling): Document use of
56607         cross-test-ssh.sh.
56608         * INSTALL: Regenerated.
56610 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
56612         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
56613         EOPNOTSUPP.
56615 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56617         * Makeconfig (run-program-prefix): Fix comment.
56619 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56620             Jim Blandy  <jimb@codesourcery.com>
56622         * Makeconfig (test-wrapper): New variable,
56623         (test-wrapper-env): Likewise.
56624         [$(cross-compiling) = yes && $(test-wrapper) != ""]
56625         (run-built-tests): Define to yes.
56626         (run-program-prefix): Use $(test-wrapper).
56627         (built-program-cmd): Likewise.
56628         * Rules (make-test-out): Use $(test-wrapper-env) and
56629         $(host-built-program-cmd).
56630         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
56631         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
56632         tst-pathopt.sh.
56633         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
56634         $(test-wrapper-env) to tst-rtld-load-self.sh.
56635         ($(objpfx)order2.out): Use $(test-wrapper).
56636         ($(objpfx)tst-initorder.out): Likewise.
56637         ($(objpfx)tst-initorder2.out): Likewise.
56638         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
56639         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
56640         (test_wrapper_env): New variable.  Use it to run ld.so.
56641         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
56642         Use it to run ld.so.
56643         (test_wrapper_env): Likewise.
56644         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
56645         $(test-wrapper) to run-iconv-test.sh.
56646         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
56647         (ICONV): Use $test_wrapper.
56648         * posix/Makefile ($(objpfx)globtest.out): Pass
56649         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
56650         globtest.sh, not $(run-program-prefix).
56651         * posix/globtest.sh (run_via_rtld_prefix): New variable.
56652         (test_wrapper): Likewise.
56653         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
56654         set together with run_via_rtld_prefix.
56655         (run_program_prefix): Define in terms of test_wrapper and
56656         run_via_rtld_prefix.
56658 2012-10-24  Roland McGrath  <roland@hack.frob.com>
56660         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
56661         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
56662         Targets removed.
56664         [BZ #14743]
56665         * include/time.h: Remove librt_hidden_proto (clock_gettime).
56666         Declare __clock_getres, __clock_gettime, __clock_settime,
56667         __clock_nanosleep, and __clock_getcpuclockid.
56668         * rt/clock_gettime.c: Define __clock_gettime as an alias.
56669         Remove librt_hidden_def (clock_gettime).
56670         * sysdeps/unix/clock_gettime.c: Likewise.
56671         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
56672         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
56673         * rt/clock_getres.c: Define __clock_getres as an alias.
56674         * sysdeps/posix/clock_getres.c: Likewise.
56675         * rt/clock_settime.c: Define __clock_settime as an alias.
56676         * sysdeps/unix/clock_settime.c: Likewise.
56677         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
56678         * sysdeps/unix/clock_nanosleep.c: Likewise.
56679         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
56680         * rt/clock-compat.c: New file.
56681         * rt/Makefile (librt-routines): Add clock-compat and move
56682         $(clock-routines) to ...
56683         (routines): ... here, new variable.
56684         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
56685         Don't add get_clockfreq here.
56686         * rt/Versions (libc: GLIBC_2.17): New version set.
56687         Add clock_* symbols here.
56688         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
56689         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
56690         (GLIBC_2.17): Add clock_* symbols.
56691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56693         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56695         Likewise.
56696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56697         Likewise.
56698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56702         * NEWS: Mention the move.
56704         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56705         Use __open, __read, __close rather than their public counterparts.
56706         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56707         (__get_clockfreq_via_cpuinfo): Likewise.
56708         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
56709         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
56711         * config.h.in (HAVE_IFUNC): New #undef.
56712         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
56713         was successful.
56714         * configure: Regenerated.
56716 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56718         * configure.in: Move READELF check to start of file.
56719         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
56720         libc_cv_asm_gnu_indirect_function in the process.
56721         * configure: Regenerated.
56723 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56725         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
56726         send the output to /dev/null.
56727         (libc_cv_cc_with_libunwind): Likewise.
56728         (libc_cv_as_noexecstack): Likewise.
56729         * configure: Regenerate.
56731 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56733         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
56735         * posix/globtest.sh (TMPDIR): Do not set.
56736         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
56737         (testout): Likewise.
56739 2012-10-24  Andreas Jaeger  <aj@suse.de>
56741         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
56742         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
56743         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
56744         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
56745         posix_fadvise64, posix_fallocate64.
56747         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
56748         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
56749         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
56750         Likewise.
56751         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
56752         Likewise.
56753         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
56755         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
56756         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
56757         <bits/fcntl-linux.h>.
56758         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
56760         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
56761         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
56762         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
56763         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
56764         [__WORDSIZE != 64]: Likewise.
56766 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56768         * Makeconfig (run-built-tests): New variable.
56769         * Rules [$(cross-compiling) = yes]: Change condition to
56770         [$(run-built-tests) = no].
56771         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
56772         to [$(run-built-tests) = yes].
56773         * elf/Makefile [$(cross-compiling) = no]: Likewise.
56774         * grp/Makefile [$(cross-compiling) = no]: Likewise.
56775         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
56776         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
56777         * intl/Makefile [$(cross-compiling) = no]: Likewise.
56778         * io/Makefile [$(cross-compiling) = no]: Likewise.
56779         * libio/Makefile [$(cross-compiling) = no]: Likewise.
56780         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
56781         * misc/Makefile [$(cross-compiling) = no]: Likewise.
56782         * posix/Makefile [$(cross-compiling) = no]: Likewise.
56783         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
56784         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
56785         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
56786         * string/Makefile [$(cross-compiling) = no]: Likewise.
56788         * posix/Makefile ($(objpfx)globtest.out): Pass
56789         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
56790         $(rtld-installed-name).
56791         * posix/globtest.sh (elf_objpfx): Remove variable.
56792         (rtld_installed_name): Likewise.
56793         (library_path): Likewise.
56794         (run_program_prefix): New variable.  Use for running globtest
56795         binary.
56797 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
56798             Joseph Myers  <joseph@codesourcery.com>
56800         * Makeconfig (host-built-program-cmd): New variable.
56801         * elf/Makefile (tst-stackguard1-ARGS): Use
56802         $(host-built-program-cmd).
56803         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
56804         (tst-spawn-ARGS): Likewise.
56805         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
56807 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56808             Jim Blandy  <jimb@codesourcery.com>
56810         * Makeconfig (run-via-rtld-prefix): New variable.
56811         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
56812         (built-program-cmd): Likewise.
56814 2012-10-22  Andreas Jaeger  <aj@suse.de>
56816         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
56817         __O_RSYNC if it exists, otherwise to O_SYNC.
56819 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
56820             Joseph Myers  <joseph@codesourcery.com>
56822         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
56823         /dev/null.
56824         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
56825         from /dev/null
56826         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
56827         /dev/null.
56829 2012-10-22  Andreas Jaeger  <aj@suse.de>
56831         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
56832         Define always.
56833         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
56835         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56836         bits/fcntl-linux.h.
56838         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
56839         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
56841         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
56842         to __O_LARGEFILE.
56843         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
56844         to __O_LARGEFILE.
56846 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
56847             Joseph Myers  <joseph@codesourcery.com>
56849         * config.make.in (NM): New variable.
56851 2012-10-21  Andreas Jaeger  <aj@suse.de>
56853         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
56854         definitions and declarations that are provided by
56855         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56857 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56859         [BZ #14683]
56860         * elf/Makefile (tests-static): Add tst-leaks1-static.
56861         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
56862         ($(objpfx)tst-leaks1-static): New rule.
56863         ($(objpfx)tst-leaks1-static-mem): Likewise.
56864         (tst-leaks1-static-ENV): New macro.
56865         * elf/dl-open.c (dl_open_worker): Check the main application
56866         only if SHARED is defined.
56867         * elf/tst-leaks1-static.c: New file.
56869 2012-10-20  Andreas Jaeger  <aj@suse.de>
56871         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
56872         generic values for Linux.
56873         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
56874         and declarations that are provided by <bits/fcntl-linux.h> and
56875         include <bits/fcntl-linux.h>.
56876         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56877         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56879 2012-10-20  Roland McGrath  <roland@hack.frob.com>
56881         * io/fcntl.h: Move include of <bits/types.h> to the top and
56882         include it unconditionally.
56884 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56886         * wcsmbs/Makefile (tests-ifunc): New variable.
56887         (tests): Add $(tests-ifunc).
56888         * wcsmbs/test-wcschr-ifunc.c: New file.
56889         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
56890         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
56891         * wcsmbs/test-wcslen-ifunc.c: Likewise.
56892         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
56893         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
56895         * string/Makefile (tests-ifunc): New variable.
56896         (tests): Add $(tests-ifunc).
56897         * string/test-memccpy.c (TEST_NAME): New macro.
56898         * string/test-memchr.c (TEST_NAME): Likewise.
56899         * string/test-memcmp.c (TEST_NAME): Likewise.
56900         * string/test-memcpy.c (TEST_NAME): Likewise.
56901         * string/test-memmem.c (TEST_NAME): Likewise.
56902         * string/test-memmove.c (TEST_NAME): Likewise.
56903         * string/test-memset.c (TEST_NAME): Likewise.
56904         * string/test-rawmemchr.c (TEST_NAME): Likewise.
56905         * string/test-stpcpy.c (TEST_NAME): Likewise.
56906         * string/test-stpncpy.c (TEST_NAME): Likewise.
56907         * string/test-strcasecmp.c (TEST_NAME): Likewise.
56908         * string/test-strcasestr.c (TEST_NAME): Likewise.
56909         * string/test-strcat.c (TEST_NAME): Likewise.
56910         * string/test-strchr.c (TEST_NAME): Likewise.
56911         * string/test-strcmp.c(TEST_NAME): Likewise.
56912         * string/test-strcpy.c (TEST_NAME): Likewise.
56913         * string/test-strcspn.c (TEST_NAME): Likewise.
56914         * string/test-strlen.c (TEST_NAME): Likewise.
56915         * string/test-strncasecmp.c (TEST_NAME): Likewise.
56916         * string/test-strncmp.c (TEST_NAME): Likewise.
56917         * string/test-strncpy.c (TEST_NAME): Likewise.
56918         * string/test-strnlen.c (TEST_NAME): Likewise.
56919         * string/test-strpbrk.c (TEST_NAME): Likewise.
56920         * string/test-strrchr.c (TEST_NAME): Likewise.
56921         * string/test-strspn.c (TEST_NAME): Likewise.
56922         * string/test-strstr.c (TEST_NAME): Likewise.
56923         * string/test-bcopy-ifunc.c: New file.
56924         * string/test-bzero-ifunc.c: Likewise.
56925         * string/test-memccpy-ifunc.c: Likewise.
56926         * string/test-memchr-ifunc.c: Likewise.
56927         * string/test-memcmp-ifunc.c: Likewise.
56928         * string/test-memcpy-ifunc.c: Likewise.
56929         * string/test-memmem-ifunc.c: Likewise.
56930         * string/test-memmove-ifunc.c: Likewise.
56931         * string/test-mempcpy-ifunc.c: Likewise.
56932         * string/test-memset-ifunc.c: Likewise.
56933         * string/test-rawmemchr-ifunc.c: Likewise.
56934         * string/test-stpcpy-ifunc.c: Likewise.
56935         * string/test-stpncpy-ifunc.c: Likewise.
56936         * string/test-strcasecmp-ifunc.c: Likewise.
56937         * string/test-strcasestr-ifunc.c: Likewise.
56938         * string/test-strcat-ifunc.c: Likewise.
56939         * string/test-strchr-ifunc.c: Likewise.
56940         * string/test-strchrnul-ifunc.c: Likewise.
56941         * string/test-strcmp-ifunc.c: Likewise.
56942         * string/test-strcpy-ifunc.c: Likewise.
56943         * string/test-strcspn-ifunc.c: Likewise.
56944         * string/test-strlen-ifunc.c: Likewise.
56945         * string/test-strncasecmp-ifunc.c: Likewise.
56946         * string/test-strncat-ifunc.c: Likewise.
56947         * string/test-strncmp-ifunc.c: Likewise.
56948         * string/test-strncpy-ifunc.c: Likewise.
56949         * string/test-strnlen-ifunc.c: Likewise.
56950         * string/test-strpbrk-ifunc.c: Likewise.
56951         * string/test-strrchr-ifunc.c: Likewise.
56952         * string/test-strspn-ifunc.c: Likewise.
56953         * string/test-strstr-ifunc.c: Likewise.
56955         * debug/Makefile (tests-ifunc): New variable.
56956         (tests): Add $(tests-ifunc).
56957         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
56958         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
56959         * debug/test-stpcpy_chk-ifunc.c: New file.
56960         * debug/test-strcpy_chk-ifunc.c: Likewise.
56962 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56964         [BZ #13601]
56965         * elf/dl-load.c (open_verify): Retry read if the entire ELF
56966         header is not read in.
56968 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
56970         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
56971         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
56972         directly.  Pass built executable to script as
56973         $(built-program-cmd).
56974         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
56975         $testprogram without using LD_LIBRARY_PATH and $ldso.
56977         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
56978         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
56979         $(rtld-installed-name).
56980         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
56981         (rtld_installed_name): Likewise.
56982         (library_path): Likewise.
56983         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
56984         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
56985         $(run-program-prefix) to tst-tables.sh.
56986         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
56987         it to run tst-table-from and tst-table-to.
56988         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
56989         Pass it to tst-table.sh.
56990         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
56991         $(run-program-prefix) to tst-gettext.sh.
56992         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
56993         tst-translit.sh.
56994         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
56995         tst-gettext2.sh.
56996         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
56997         to run tst-gettext.
56998         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
56999         to run tst-gettext2.
57000         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
57001         to run tst-translit.
57002         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
57003         $(run-program-prefix) to tst-mtrace.sh.
57004         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
57005         to run tst-mtrace.
57006         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
57007         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
57008         $(rtld-installed-name).
57009         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
57010         (rtld_installed_name): Likewise.
57011         (run_program_prefix): New variable.  Use it to run wordexp-test.
57013         * Makeconfig (ARCH): Remove all definitions.
57014         (machine): Likewise.
57015         [ARCH]: Remove conditional code.
57016         [!objdir]: Give error.
57017         [!objdir] (objpfx): Remove.
57018         [!objdir] (common-objpfx): Likewise.
57019         [!objdir] (common-objdir): Likewise.
57020         * configure.in (config_makefile): Remove.  Hardcode Makefile in
57021         AC_CONFIG_FILES call.
57022         * configure: Regenerated.
57024         [BZ #13888]
57025         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
57026         or TMPDIR.
57027         (testout): Likewise.
57029         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
57030         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
57031         $(rtld-installed-name).
57032         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
57033         (rtld_installed_name): Likwise.
57034         (runit): Remove function.
57035         (run_getconf): New variable,  Use it for running getconf binary.
57037 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
57039         [BZ #14716]
57040         * string/test-memmem.c (check_result): New function.
57041         (do_one_test): Use it.
57042         (check1): New function.
57043         (test_main): Use it.
57045 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
57047         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
57049 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
57051         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
57052         (_G_LSEEK64): Likewise.
57053         (_G_MMAP64): Likewise.
57054         (_G_FSTAT64): Likewise.
57055         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
57056         (_G_LSEEK64): Likewise.
57057         (_G_MMAP64): Likewise.
57058         (_G_FSTAT64): Likewise.
57059         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57060         unconditional.  Call __mmap64 directly.
57061         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
57062         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
57063         __lseek64 directly.
57064         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
57065         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
57066         __mmap64 directly.
57067         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
57068         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57069         __lseek64 directly.
57070         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
57071         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57072         __lseek64 directly.
57073         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
57074         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
57075         __lseek64 directly.
57076         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
57077         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
57078         __fxstat64 directly.
57079         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
57080         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
57081         unconditional.
57082         (freopen64) [!_G_OPEN64]: Remove conditional code.
57083         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
57084         unconditional.
57085         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
57086         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
57087         unconditional.
57088         (ftello64) [!_G_LSEEK64]: Remove conditional code.
57089         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
57090         unconditional.
57091         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57092         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
57093         unconditional.
57094         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
57095         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
57096         unconditional.
57097         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57098         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
57099         unconditional.
57100         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57101         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
57102         unconditional.
57103         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57105 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57107         [BZ #12140]
57108         * manual/memory.texi (Malloc Tunable Parameters): Add note
57109         about free list pointers overwriting some perturb bytes.
57110         Wording suggested by Roland McGrath.
57112 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
57114         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
57115         (lgamma_test): Likewise.
57116         (tgamma_test): Likewise.
57118 2012-10-16  Florian Weimer  <fweimer@redhat.com>
57120         [BZ #14700]
57121         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
57122         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
57124 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
57126         * NEWS: Mention BZ #14716.
57127         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
57128         when removing AVAILABLE1_USES_J macro.
57130 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
57132         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
57133         (__bswap_64): __uint64_t for unsigned 64-bit int.
57135 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
57137         * include/string.h (memmem): Declare libc hidden alias.
57138         * string/memmem.c (memmem): Define libc hidden alias.
57139         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
57140         __read, __close instead of open, read, close.
57142 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
57144         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
57145         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
57146         global and hidden.
57147         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
57148         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
57149         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
57150         Likewise.
57151         (__rawmemchr_sse2): Likewise.
57152         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
57153         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
57154         (__strchr_sse2): Likewise.
57155         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
57156         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
57157         (__strcasecmp_sse2): Likewise.
57158         (__strncasecmp_sse2): Likewise.
57159         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
57160         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
57161         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
57162         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
57163         (__strrchr_sse2): Likewise.
57164         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
57165         ifunc-impl-list.c.
57166         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
57167         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
57168         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
57169         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57170         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
57171         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
57172         * sysdeps/x86_64/multiarch/memset.S: Likewise.
57173         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57174         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
57175         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
57176         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
57177         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57178         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57179         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57180         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57181         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57182         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57183         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57184         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57185         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57186         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57187         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57188         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57189         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57190         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57191         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57192         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57193         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57194         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57195         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57197         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57198         global and hidden.
57199         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57200         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57201         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57202         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57203         Likewise.
57204         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57205         Likewise.
57206         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57207         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57208         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57209         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57210         ifunc-impl-list.c.
57211         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57212         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57213         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57214         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57215         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57216         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57217         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57218         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57219         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57220         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57221         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57222         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57223         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57224         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
57225         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
57226         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57227         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
57228         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
57229         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57230         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57231         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57232         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57233         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57234         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57235         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57236         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
57237         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
57238         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
57239         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
57240         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57241         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
57242         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57243         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57244         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
57245         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57246         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57247         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57248         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57249         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57250         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57251         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
57253         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
57254         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
57255         * include/ifunc-impl-list.h: New file.
57256         * misc/ifunc-impl-list.c: Likewise.
57257         * misc/Makefile (routines): Add ifunc-impl-list.
57258         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
57259         * string/test-string.h: Include <ifunc-impl-list.h>.
57260         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
57261         TEST_NAME]: New variables.
57262         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
57263         are defined.
57264         (test_init): Call __libc_ifunc_impl_list to initialize
57265         func_list if TEST_IFUNC and TEST_NAME are defined.
57267         * string/Makefile (strop-tests): Add bcopy and bzero.
57268         * string/test-bcopy.c: New file.
57269         * string/test-bzero.c: Likewise.
57270         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
57271         defined.
57272         * string/test-memset.c: Support bzero test if TEST_BZERO is
57273         defined.
57274         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
57275         __libc_memmove.
57276         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
57277         __libc_memset.
57278         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
57279         of memset.
57281 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
57283         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
57284         * configure: Regenerated.
57286         * Makeconfig (+link-static-before-libc): Don't include
57287         $(link-static-libc).
57289         * libio/libio.h (_IO_pos_t): Remove.
57291 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57293         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
57294         McGrath.
57296 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57298         * crypt/crypt-entry.c: Include fips-private.h.
57299         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57300         * crypt/md5c-test.c (main): Tolerate disabled MD5.
57301         * sysdeps/unix/sysv/linux/fips-private.h: New file.
57302         * sysdeps/generic/fips-private.h: New file, dummy fallback.
57304 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57306         * crypt/crypt-private.h: Include stdbool.h.
57307         (_ufc_setup_salt_r): Return bool.
57308         * crypt/crypt-entry.c: Include errno.h.
57309         (__crypt_r): Return NULL with EINVAL for bad salt.
57310         * crypt/crypt_util.c (bad_for_salt): New.
57311         (_ufc_setup_salt_r): Check that salt is long enough and within
57312         the specified alphabet.
57313         * crypt/badsalttest.c: New file.
57314         * crypt/Makefile (tests): Add it.
57315         ($(objpfx)badsalttest): New.
57317 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
57319         * NEWS: Add entry for BZ #14602.
57321 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57323         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57324         type-generic.
57325         * math/libm-test.inc: Update comment listing what functions and
57326         macros are tested.
57327         (isgreater_test): New function.
57328         (isgreaterequal_test): Likewise.
57329         (isless_test): Likewise.
57330         (islessequal_test): Likewise.
57331         (islessgreater_test): Likewise.
57332         (isunordered_test): Likewise.
57333         (main): Call the new functions.
57335 2012-10-09  Roland McGrath  <roland@hack.frob.com>
57337         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57338         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57339         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57340         * sysdeps/i386/configure: Regenerated.
57341         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57342         * sysdeps/mach/configure: Regenerated.
57343         * sysdeps/mach/hurd/configure: Regenerated.
57344         * sysdeps/powerpc/configure: Regenerated.
57345         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57346         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57347         * sysdeps/s390/s390-32/configure: Regenerated.
57348         * sysdeps/s390/s390-64/configure: Regenerated.
57349         * sysdeps/sh/configure: Regenerated.
57350         * sysdeps/sparc/configure: Regenerated.
57351         * sysdeps/unix/sysv/linux/configure: Regenerated.
57352         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57353         * sysdeps/x86_64/configure: Regenerated.
57355         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57356         defined.  Don't check if MAP is NULL.
57358 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57360         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57361         (_G_stat64): Likewise.
57362         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57363         (_G_stat64): Likewise.
57364         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57365         instead of struct _G_stat64.
57366         * libio/fileops.c (mmap_remap_check): Likewise.
57367         (decide_maybe_mmap): Likewise.
57368         (_IO_new_file_seekoff): Likewise.
57369         (_IO_file_stat): Likewise.
57370         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
57371         _G_off64_t.
57372         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
57373         instead of struct _G_stat64.
57374         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57376 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
57378         [BZ #14602]
57379         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57380         Replace with ...
57381         (CHECK_EOL): New macro.
57382         (two_way_short_needle): Check beginning of haystack for EOL.  Use
57383         CHECK_EOL.
57384         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57385         Replace with CHECK_EOL.
57386         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57387         Replace with CHECK_EOL.
57389 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
57391         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
57392         type-generic.
57393         * math/libm-test.inc: Update comment listing what functions and
57394         macros are tested.
57395         (finite_test): New function.
57396         (isinf_test): Likewise.
57397         (isnan_test): Likewise.
57398         (fpclassify_test): Test subnormal input.
57399         (isfinite_test): Likewise.
57400         (isnormal_test): Likewise.
57401         (main): Call the new functions.
57403 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
57405         [BZ #14660]
57406         * Makerules (%.dynsym): Force C locale when running
57407         $(OBJDUMP) --dynamic-syms.
57409 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
57411         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
57412         <stdint.h>.
57414 2012-10-06  David S. Miller  <davem@davemloft.net>
57416         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
57417         upper 32-bits of the length value in %o2 since we use branch-on-register
57418         tests which consider the entire 64-bit register.
57420 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
57422         * string/test-strstr.c (check2): Add a test for page boundary.
57424 2012-10-05  David S. Miller  <davem@davemloft.net>
57426         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
57427         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
57428         file.
57429         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57430         sysdep_routines.
57431         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57432         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
57433         and bzero when HWCAP_SPARC_CRYPTO is present.
57435 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
57437         [BZ #14602]
57438         * string/test-strstr.c (check2): New function.
57439         (test_main): Call check2.
57441         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
57442         and bug-strchr1.
57443         * string/bug-strcasestr1.c (do_test): Moved to ...
57444         * string/test-strcasestr.c (check1): Here.  New function.
57445         (do_one_test): Break out result checking code into ...
57446         (check_result): This.  New function.
57447         (do_one_test): Call check_result.
57448         (test_main): Call check1.
57449         * string/bug-strchr1.c (do_test): Moved to ...
57450         * string/test-strchr.c (check1): Here.  New function.
57451         (do_one_test): Break out result checking code into ...
57452         (check_result): This.  New function.
57453         (do_one_test): Call check_result.
57454         (test_main): Call check1.
57455         * string/bug-strstr1.c (main): Moved to ...
57456         * string/test-strstr.c (check1): Here.  New function.
57457         (do_one_test): Break out result checking code into ...
57458         (check_result): This.  New function.
57459         (do_one_test): Call check_result.
57460         (test_main): Call check1.
57461         * string/bug-strcasestr1.c: Removed.
57462         * string/bug-strchr1.c: Likewise.
57463         * string/bug-strstr1.c: Likewise.
57465         * elf/Makefile (dl-routines): Add hwcaps.
57466         * elf/dl-support.c (_dl_important_hwcaps): Removed.
57467         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
57468         (_dl_important_hwcaps): Moved to ...
57469         * elf/dl-hwcaps.c: Here.  New file.
57470         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
57472         [BZ #14557]
57473         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
57474         if IS_IN_rtld isn't defined.
57476         * elf/dl-support.c (_dl_sysinfo_map): New.
57477         Include "get-dynamic-info.h" and "setup-vdso.h".
57478         (_dl_non_dynamic_init): Call setup_vdso.
57479         * elf/dynamic-link.h: Don't include <assert.h>.
57480         (elf_get_dynamic_info): Moved to ...
57481         * elf/get-dynamic-info.h: Here.  New file.
57482         * elf/dynamic-link.h: Include "get-dynamic-info.h".
57483         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
57484         * elf/setup-vdso.h: Here.  New file.
57485         * elf/rtld.c: Include "setup-vdso.h".
57486         (dl_main): Call setup_vdso.
57488 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
57490         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
57491         creal in comment listing functions tested.  List finite, isinf,
57492         isnan, isless, islessequal, isgreater, isgreaterequal,
57493         islessgreater, isunordered, lgamma_r and pow10 as functions and
57494         macros not tested.  Mention which functions not tested are aliases
57495         for other functions.  Fix typo.  Note that signs of NaNs are not
57496         tested.
57498         * scripts/config.guess: Update from config.git.
57499         * scripts/config.sub: Likewise.
57501 2012-10-04  Roland McGrath  <roland@hack.frob.com>
57503         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
57504         * misc/madvise.c (madvise): Renamed to __madvise.
57505         Make madvise a weak alias.
57506         * include/sys/mman.h: Declare __madvise.
57507         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
57508         * sysdeps/unix/syscalls.list
57509         (madvise): Make __madvise the strong name, and madvise a weak alias.
57510         * sysdeps/unix/sysv/linux/syscalls.list
57511         (madvise, mmap): Remove redundant entries.
57512         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
57513         * malloc/malloc.c (mtrim): Likewise.
57514         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
57516 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57518         * sysdeps/mach/hurd/dl-cache.c: File removed.
57519         * config.h.in (USE_LDCONFIG): New #undef.
57520         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
57521         * configure: Regenerated.
57522         * elf/Makefile (dl-routines): Add dl-cache only under
57523         [$(use-ldconfig) = yes].
57524         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
57525         cache on [USE_LDCONFIG].
57526         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
57527         [USE_LDCONFIG].
57528         * elf/rtld.c (dl_main): Likewise.
57530 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
57532         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
57533         _SC_LEVEL4_CACHE_LINESIZE.
57535 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57537         * sysdeps/unix/bsd/confstr.h: File removed.
57539 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
57541         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
57542         sys/sdt-config.h.
57544 2012-10-02  Roland McGrath  <roland@hack.frob.com>
57546         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
57547         Make 'mapoff' field ElfW(Off) rather than off_t.
57549 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
57551         * nscd/Makefile: Remove nscd-cflags and all its users.
57552         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
57553         (CFLAGS-nonlib): Add compiler flags for nscd modules.
57555         [BZ #10631]
57556         * malloc.c (malloc_printerr): Clarify error message.
57558 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
57560         [BZ #14648]
57561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57562         Set bit_FMA_Usable if FMA is supported.
57563         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
57564         macro.
57565         (bit_FMA4_Usable): Updated.
57566         (index_FMA_Usable): New macro.
57567         (CPUID_FMA): Likewise.
57568         (HAS_FMA): Defined with bit_FMA_Usable.
57570 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57572         * bits/types.h (__swblk_t): Type removed.
57573         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
57574         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
57575         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57576         (__SWBLK_T_TYPE): Likewise.
57577         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57578         (__SWBLK_T_TYPE): Likewise.
57579         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57580         (__SWBLK_T_TYPE): Likewise.
57581         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57582         (__SWBLK_T_TYPE): Likewise.
57584 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
57585             Honza Horak <hhorak@redhat.com>
57587         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
57588         (xdr_mapname): Use YPMAXMAP as maxsize.
57589         (xdr_peername): Use YPMAXPEER as maxsize.
57590         (xdr_keydat): Use YPAXRECORD as maxsize.
57591         (xdr_valdat): Use YPMAXRECORD as maxsize.
57593 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57595         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
57597         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
57598         * csu/init-first.c: ... here.
57599         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
57600         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
57601         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
57602         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
57603         * sysdeps/i386/init-first.c: File removed.
57604         * sysdeps/sh/init-first.c: File removed.
57606 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
57608         [BZ #14645]
57609         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
57610         if x * y might underflow to zero and z is zero.
57611         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57612         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57613         * math/libm-test.inc (min_subnorm_value): New variable.
57614         (fma_test): Add more tests.
57615         (fma_test_towardzero): Likewise.
57616         (fma_test_downward): Likewise.
57617         (fma_test_upward): Likewise.
57618         (initialize): Set min_subnorm_value.
57620 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
57622         [BZ #14638]
57623         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
57624         0 + 0.
57625         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
57626         mode for addition resulting in exact zero.
57627         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
57628         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
57629         exact 0 + 0.
57630         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57631         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57632         * math/libm-test.inc (fma_test): Add more tests.
57633         (fma_test_towardzero): New function.
57634         (fma_test_downward): Likewise.
57635         (fma_test_upward): Likewise.
57636         (main): Call the new functions.
57638 2012-09-28  David S. Miller  <davem@davemloft.net>
57640         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
57642 2012-09-28  Roland McGrath  <roland@hack.frob.com>
57644         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
57645         instead of SIGALRM.
57647         * sysdeps/gnu/_G_config.h: Moved to ...
57648         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
57649         * sysdeps/mach/hurd/_G_config.h: Moved to ...
57650         * sysdeps/generic/_G_config.h: ... here.
57652         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
57654         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
57656         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
57657         Conditionalize target on [libnss_test1.so-version].
57659         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
57661         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
57662         (elfobjdir): Move out of conditionals.
57664         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
57665         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
57666         (__nss_lookup_function): Conditionalize label remove_from_tree on
57667         [!DO_STATIC_NSS || SHARED], matching its only use.
57669 2012-09-28  David S. Miller  <davem@davemloft.net>
57671         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
57672         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
57673         file.
57674         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57675         sysdep_routines.
57676         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57677         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
57678         when HWCAP_SPARC_CRYPTO is present.
57680 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57682         * io/tst-mknodat.c: Create a FIFO instead of a socket.
57684 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
57686         [BZ #6530]
57687         * stdio-common/vfprintf.c (process_string_arg): Revert
57688         2000-07-22 change.
57690 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
57692         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
57693         for testcase.
57694         * stdio-common/tst-sprintf.c: Include <locale.h>
57695         (main): Test sprintf's handling of incomplete multibyte
57696         characters.
57698 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
57700         * elf/dl-runtime.c (VERSYMIDX): Removed.
57701         * elf/dl-version.c (VERSYMIDX): Likewise.
57702         * elf/do-rel.h (VERSYMIDX): Likewise.
57703         (VALIDX): Likewise.
57704         * elf/dynamic-link.h (VERSYMIDX): Likewise.
57705         * elf/rtld.c (VALIDX): Likewise.
57706         (ADDRIDX): Likewise.
57707         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
57708         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
57709         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
57710         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
57711         (VALIDX): Likewise.
57712         (ADDRIDX): Likewise.
57714 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57716         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
57718 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
57720         [BZ #11438]
57721         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
57722         to global scope.
57723         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
57724         addresses are in the same scope as 192.0.2/24.
57725         * posix/gai.conf: Document new scope table defaults.
57727 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57729         [BZ #5298]
57730         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
57731         for ftell.  Compute offsets from write pointers instead.
57732         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57734 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57736         [BZ #14543]
57737         * libio/Makefile (tests): New test case tst-fseek.
57738         * libio/tst-fseek.c: New test case to verify that fseek/ftell
57739         combination works in wide mode.
57740         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
57741         state when the external buffer state changes.
57743 2012-09-27  David S. Miller  <davem@davemloft.net>
57745         [BZ #14376]
57746         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
57747         pass reloc->r_addend in as the 'high' argument to
57748         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
57750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57752 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57754         * rt/tst-aio2.c: Include <pthread.h>.
57755         * rt/tst-aio3.c: Likewise.
57757 2012-09-27  Steve Ellcey  <sellcey@mips.com>
57759         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
57761 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
57763         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
57764         contents on [SHARED].
57766 2012-09-26  Marek Polacek  <polacek@redhat.com>
57768         [BZ #14530]
57769         [BZ #13741]
57770         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
57771         for C++ and GCC <4.3 as well as for non GCC compilers.
57773 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57777 2012-09-25  Roland McGrath  <roland@hack.frob.com>
57779         * Makefile.in (all, install): Declare with .PHONY.
57780         Reported by Michael Hope <michael.hope@linaro.org>.
57782 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57784         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
57785         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
57786         system header.
57787         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
57788         Likewise.
57789         (sydep_routines): Add the new and the internal functions.
57790         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
57791         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
57792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
57793         (GLIBC_2.17): Add the new function.
57794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57795         (GLIBC_2.17): Likewise.
57796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
57797         (GLIBC_2.17): Likewise.
57798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
57799         (GLIBC_2.17): Likewise.
57800         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
57802 2012-09-25  Alan Modra  <amodra@gmail.com>
57804         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
57805         Add release barrier before setting once_control to say
57806         initialisation is done.  Add hints on lwarx.  Use macro in
57807         place of isync.
57808         (clear_once_control): Add release barrier.
57810 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57812         [BZ #13629]
57813         * math/s_clog.c (__clog): Handle more values close to |z| = 1
57814         specially.
57815         * math/s_clog10.c (__clog10): Likewise.
57816         * math/s_clog10f.c (__clog10f): Likewise.
57817         * math/s_clog10l.c (__clog10l): Likewise.
57818         * math/s_clogf.c (__clogf): Likewise.
57819         * math/s_clogl.c (__clogl): Likewise.
57820         * math/Makefile (libm-calls): Add x2y2m1.
57821         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
57822         (__x2y2m1): Likewise.
57823         (__x2y2m1l): Likewise.
57824         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
57825         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
57826         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
57827         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57828         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
57829         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
57830         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
57831         * sysdeps/i386/fpu/libm-test-ulps: Update.
57832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57834         [BZ #14621]
57835         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
57836         int as type of variable DEPTH.
57837         (glob): Use size_t instead of int as type of variables NEWCOUNT
57838         and OLD_PATHC.
57840 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57842         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57843         Add s_sincosf-sse2.
57844         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
57845         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
57846         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
57847         macros for using routine as __sincosf_ia32.
57848         Use macro for function declaration and weak_alias.
57849         * sysdeps/i386/fpu/libm-test-ulps: Update.
57851         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
57852         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57854         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
57855         subnormal argument.
57856         * math/s_cexpf.c (__cexpf): Likewise.
57857         * math/s_csinf.c (__csinf): Likewise.
57858         * math/s_csinhf.c (__csinhf): Likewise.
57859         * math/s_ctanf.c (__ctanf): Likewise.
57860         * math/s_ctanhf.c (__ctanhf): Likewise.
57861         * math/s_ccosh.c (__ccoshf): Likewise.
57862         * math/s_cexp.c (__cexpl): Likewise.
57863         * math/s_csin.c (__csin): Likewise.
57864         * math/s_csinh.c (__csinh): Likewise.
57865         * math/s_ctan.c (__ctan): Likewise.
57866         * math/s_ctanh.c (ctanh): Likewise.
57867         * math/s_ccoshl.c (__ccoshl): Likewise.
57868         * math/s_cexpl.c (__cexpl): Likewise.
57869         * math/s_csinl.c (__csinl): Likewise.
57870         * math/s_csinhl.c (__csinhl): Likewise.
57871         * math/s_ctanl.c (__ctanl): Likewise.
57872         * math/s_ctanhl.c (__ctanhl): Likewise.
57874 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57876         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
57877         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
57878         (_IO_off_t): Define to __off_t, not _G_off_t.
57879         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
57880         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
57881         (_IO_wint_t): Define to wint_t, not _G_wint_t.
57882         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
57883         type of __dummy and __dummy2 fields.
57884         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
57885         (_G_ssize_t): Likewise.
57886         (_G_off_t): Likewise.
57887         (_G_pid_t): Likewise.
57888         (_G_uid_t): Likewise.
57889         (_G_wchar_t): Likewise.
57890         (_G_wint_t): Likewise.
57891         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
57892         (_G_ssize_t): Likewise.
57893         (_G_off_t): Likewise.
57894         (_G_pid_t): Likewise.
57895         (_G_uid_t): Likewise.
57896         (_G_wchar_t): Likewise.
57897         (_G_wint_t): Likewise.
57898         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
57899         (_G_ssize_t): Likewise.
57900         (_G_off_t): Likewise.
57901         (_G_pid_t): Likewise.
57902         (_G_uid_t): Likewise.
57903         (_G_wchar_t): Likewise.
57904         (_G_wint_t): Likewise.
57906 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57908         * malloc/arena.c: Include malloc-sysdep.h.
57909         (shrink_heap): Use check_may_shrink_heap to decide if madvise
57910         is sufficient to shrink the heap or an unmap is needed.
57911         * sysdeps/generic/malloc-sysdep.h: New file.  Define
57912         new function check_may_shrink_heap.
57913         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
57914         new function check_may_shrink_heap.
57916 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57918         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
57919         comments.
57921 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
57923         * catgets/test-gencat.sh: Add "set -e".
57924         * elf/tst-pathopt.sh: Likewise.
57925         * grp/tst_fgetgrent.sh: Likewise.
57926         * iconvdata/run-iconv-test.sh: Likewise.
57927         * intl/tst-gettext.sh: Likewise.
57928         * intl/tst-gettext2.sh: Likewise.
57929         * intl/tst-gettext4.sh: Likewise.
57930         * intl/tst-gettext6.sh: Likewise.
57931         * intl/tst-translit.sh: Likewise.
57932         * io/ftwtest-sh: Likewise.
57933         * libio/test-freopen.sh: Likewise.
57934         * malloc/tst-mtrace.sh: Likewise.
57935         * posix/globtest.sh: Likewise.
57936         * posix/tst-getconf.sh: Likewise.
57937         * posix/wordexp-tst.sh: Likewise.
57938         * stdio-common/tst-printf.sh: Likewise.
57939         * stdio-common/tst-unbputc.sh: Likewise.
57940         * stdlib/tst-fmtmsg.sh: Likewise.
57941         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57942         * catgets/Makefile: Do not specify -e option when running
57943         testsuite shell scripts.
57944         * elf/Makefile: Likewise.
57945         * grp/Makefile: Likewise.
57946         * iconvdata/Makefile: Likewise.
57947         * intl/Makefile: Likewise.
57948         * io/Makefile: Likewise.
57949         * libio/Makefile: Likewise.
57950         * malloc/Makefile: Likewise.
57951         * posix/Makefile: Likewise.
57952         * stdio-common/Makefile: Likewise.
57953         * stdlib/Makefile: Likewise.
57954         * sysdeps/x86_64/Makefile: Likewise.
57956         * io/ftwtest-sh: Add copyright header.
57957         * posix/globtest.sh: Likewise.
57958         * posix/tst-getconf.sh: Likewise.
57959         * posix/wordexp-tst.sh: Likewise.
57960         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57962 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
57964         [BZ #13679]
57965         * Makeconfig (+link): Defined as $(+link-static) if
57966         $(build-shared) isn't yes.
57967         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
57968         isn't yes.
57969         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
57971         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
57973         [BZ #14562]
57974         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
57975         new chunk size with MALLOC_ALIGN_MASK.
57977 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
57979         [BZ #5044]
57980         * stdio-common/printf_fphex.c: Include <stdbool.h> and
57981         <rounding-mode.h>.
57982         (__printf_fphex): Determine rounding using get_rounding_mode and
57983         round_away.
57984         * stdio-common/tst-printf-round.c (struct hex_test): New
57985         structure.
57986         (hex_tests): New variable.
57987         (test_hex_in_one_mode): New function.
57988         (do_test): Also run tests for hex float output.
57990 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
57992         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57993         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57994         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
57995         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57996         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57997         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
57998         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57999         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58001 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
58003         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
58004         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
58005         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
58006         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
58008 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
58010         [BZ #14579]
58011         * elf/rtld.c (dl_main): Limit the check for self loading to normal
58012         mode only.
58013         * elf/tst-rtld-load-self.sh: New test.
58014         * elf/Makefile: Run it.
58016 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
58018         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
58019         (tst-writev-ENV): Remove.
58020         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
58022 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
58024         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
58026 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
58028         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
58029         unconditional.
58030         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
58031         Likewise.
58032         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
58033         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
58034         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
58035         Likewise.
58037 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
58039         [BZ #14587]
58040         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
58041         * config.make.in (have-cpp-asm-debuginfo): Removed.
58042         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
58043         * configure: Regenerated.
58045 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
58047         [BZ #5044]
58048         * stdio-common/printf_fp.c: Include <stdbool.h> and
58049         <rounding-mode.h>.
58050         (___printf_fp): Determine rounding using get_rounding_mode and
58051         round_away.
58052         * stdio-common/tst-printf-round.c: New file.
58053         * stdio-common/Makefile (tests): Add tst-printf-round.
58054         (link-libm): New variable.
58055         ($(objpfx)tst-printf-round): Depend in $(link-libm).
58057 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
58059         [BZ #14576]
58060         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
58061         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
58062         Likewise.
58063         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
58064         Likewise.
58066 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
58068         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
58069         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58070         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58071         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58073 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
58075         [BZ #14518]
58076         * include/rounding-mode.h: New file.
58077         * sysdeps/generic/get-rounding-mode.h: Likewise.
58078         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
58079         * stdlib/strtod_l.c: Include <rounding-mode.h>.
58080         (MAX_VALUE): New macro.
58081         (MIN_VALUE): Likewise.
58082         (overflow_value): New function.
58083         (underflow_value): Likewise.
58084         (round_and_return): Use overflow_value and underflow_value to
58085         determine return values in overflow and underflow cases.  Use
58086         round_away to determine rounding depending on rounding mode.
58087         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
58088         determine return values in overflow and underflow cases.
58089         * stdlib/tst-strtod-round.c: Include <fenv.h>.
58090         (struct test_results): New structure.
58091         (struct test): Use struct test_results to store expected results
58092         for all rounding modes.
58093         (TEST): Include expected results for all rounding modes.
58094         (test_in_one_mode): New function.
58095         (do_test): Use test_in_one_mode to compute and check results.
58096         Check results for all rounding modes.
58097         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
58098         $(link-libm).
58100 2012-12-09  Allan McRae  <allan@archlinux.org>
58102         * sysdeps/i386/fpu/libm-test-ulps: Update
58104 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
58106         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
58107         (_G_int32_t): Likewise.
58108         (_G_uint16_t): Likewise.
58109         (_G_uint32_t): Likewise.
58110         (_G_HAVE_BOOL): Likewise.
58111         (_G_HAVE_ATEXIT): Likewise.
58112         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58113         (_G_HAVE_IO_FILE_OPEN): Likewise.
58114         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
58115         (_G_int32_t): Likewise.
58116         (_G_uint16_t): Likewise.
58117         (_G_uint32_t): Likewise.
58118         (_G_HAVE_BOOL): Likewise.
58119         (_G_HAVE_ATEXIT): Likewise.
58120         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58121         (_G_HAVE_IO_FILE_OPEN): Likewise.
58122         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
58123         (_G_int32_t): Likewise.
58124         (_G_uint16_t): Likewise.
58125         (_G_uint32_t): Likewise.
58126         (_G_HAVE_BOOL): Likewise.
58127         (_G_HAVE_ATEXIT): Likewise.
58128         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58129         (_G_HAVE_IO_FILE_OPEN): Likewise.
58131 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
58133         * csu/libc-tls.c: Update copyright years.
58135 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
58137         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
58138         [!_G_USING_THUNKS]: Remove conditional code.
58139         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
58140         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
58142         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
58143         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
58144         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58145         (_G_VTABLE_LABEL_PREFIX): Likewise.
58146         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58147         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58148         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58149         (_G_VTABLE_LABEL_PREFIX): Likewise.
58150         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58151         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58152         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58153         (_G_VTABLE_LABEL_PREFIX): Likewise.
58154         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58156 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
58158         * libio/Makefile: Include ../Makeconfig before tests.
58159         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
58160         only if $(build-shared) is yes.
58162         * iconv/gconv_db.c: Update copyright years.
58164 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58166         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
58167         unwind info if defined PIC. Fix special cases description.
58168         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
58170         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
58171         DP_HI_MASK entry.
58172         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
58174 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
58176         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58178         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58179         is NULL.
58181         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58182         (LDLIBS-tst-chk4): This.
58183         (LDFLAGS-tst-chk5): Renamed to ...
58184         (LDLIBS-tst-chk5): This.
58185         (LDFLAGS-tst-chk6): Renamed to ...
58186         (LDLIBS-tst-chk6): This.
58187         (LDFLAGS-tst-lfschk4): Renamed to ...
58188         (LDLIBS-tst-lfschk4): This.
58189         (LDFLAGS-tst-lfschk5): Renamed to ...
58190         (LDLIBS-tst-lfschk5): This.
58191         (LDFLAGS-tst-lfschk6): Renamed to ...
58192         (LDLIBS-tst-lfschk6): This.
58194         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58195         on $(common-objpfx)soversions.mk.
58197 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
58199         [BZ #10014]
58200         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58201         example host name.
58203 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58205         * malloc/arena.c (arena_get_retry): New function that gets
58206         another arena for the caller to try its request on.
58207         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58208         current arena cannot fulfill the request.
58209         (__libc_memalign): Likewise.
58210         (__libc_memalign): Likewise.
58211         (__libc_pvalloc): Likewise.
58212         (__libc_calloc): Likewise.
58214 2012-09-05  John Tobey  <john.tobey@gmail.com>
58216         [BZ #13542]
58217         * manual/arith.texi (Operations on Complex): Fix description
58218         of carg branch cut.
58220 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58222         [BZ #10014]
58223         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
58224         host name.
58226         [BZ #10038]
58227         * manual/memory.texi (Memory): Make order of menu items match
58228         order of sections.
58230 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58232         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58233         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
58234         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58236 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58238         * csu/libc-tls.c (static_dtv): Renamed to ...
58239         (_dl_static_dtv): This.  Make it global.
58240         (_dl_initial_dtv): Removed.
58241         (__libc_setup_tls): Updated.
58242         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
58243         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
58244         DL_INITIAL_DTV.
58246 2012-09-06  Petr Machata  <pmachata@redhat.com>
58248         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
58249         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
58250         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
58251         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
58253 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58255         [BZ #14545]
58256         * csu/libc-tls.c (_dl_initial_dtv): New variable.
58257         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
58258         freeing dtv[-1].
58260 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58262         [BZ #14544]
58263         * Makeconfig (link-static-before-libc): Replace $(+prector)
58264         with $(+prectorT).
58265         (link-static-after-libc): Replace $(+postctor) with
58266         $(+postctorT).
58267         (link-bounded): Replace $(+prector)/$(+postctor) with
58268         $(+prectorT)/$(+postctorT).
58269         (+prectorT): New macro.
58270         (+postctorT): Likewise.
58272 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58274         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
58275         (round_str): Handle values above the maximum for IBM long double
58276         as inexact.
58277         * stdlib/tst-strtod-round.c (tests): Regenerated.
58279 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58281         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
58282         assembler flag.
58283         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
58284         zarch_nohighgprs around the zarch optimized routines.
58285         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
58286         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
58287         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
58288         for zarch.
58290 2012-09-05  David S. Miller  <davem@davemloft.net>
58292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58294         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58295         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58296         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58297         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58298         entries.
58300 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58302         * malloc/arena.c: Fold copyright years.
58303         * malloc/mcheck.c, malloc/memusage.c: Likewise.
58305 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58307         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58309 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58311         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
58313 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58315         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58316         change internal state upon failure.
58318 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58320         * malloc/mcheck.c (mcheck_check_all): Fix typo.
58321         * malloc/memusage.c (mmap): Likewise.
58322         (mmap64, mremap): Likewise.  Adjust name in comment.
58324 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58326         * libio/fileops.c: Fix typos in comments.
58327         * libio/oldfileops.c: Likewise.
58328         * libio/wfileops.c: Likewise.
58330 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58332         [BZ #1349]
58333         * malloc/Makefile (tests): Add tst-malloc-usable test case.
58334         (tst-malloc-usable-ENV): Set environment for test case.
58335         * malloc/hooks.c (malloc_check_get_size): New function to get
58336         requested size.
58337         * malloc/malloc.c (musable): Use malloc_check_get_size.
58338         * malloc/tst-malloc-usable.c: New test case.
58340 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58342         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58344 2012-09-05  Allan McRae  <allan@archlinux.org>
58346         [BZ #13966]
58347         * configure.in (CXX_SYSINCLUDES): Use compiler output to
58348         determine header location.
58349         * configure: Regenerated.
58351 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58353         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58354         float format.
58355         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58356         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58357         format.
58358         (test): Regenerate.
58360 2012-09-04  David S. Miller  <davem@davemloft.net>
58362         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58363         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58364         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58366 2012-09-04  Florian Weimer  <fweimer@redhat.com>
58368         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58369         failures.
58371         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
58373 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
58375         [BZ #9914]
58376         * libio/iogetdelim.c: Include <limits.h>.
58377         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
58378         + len + 1 would overflow.
58380 2012-09-03  Andreas Jaeger  <aj@suse.de>
58382         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58383         * sysdeps/i386/fpu/libm-test-ulps: Update.
58385 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58387         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58388         Add s_sinf-sse2, s_conf-sse2.
58390         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
58391         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
58392         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
58393         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
58395         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
58396         for using routine as __sinf_ia32.
58397         Use macro for function declaration and weak_alias.
58398         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
58399         for using routine as __cosf_ia32.
58400         Use macro for function declaration and weak_alias.
58402         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
58403         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
58405         * sysdeps/x86_64/fpu/s_sinf.S: New file.
58406         * sysdeps/x86_64/fpu/s_cosf.S: New file.
58407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58409         * math/libm-test.inc (cos_test): Add more test cases.
58410         (sin_test): Likewise.
58411         (sincos_test): Likewise.
58413 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58415         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
58416         (IFUNC_RESOLVE): Make pointers to the specialized implementations
58417         hidden.
58418         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58420 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
58422         [BZ #14538]
58423         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
58424         first element of the GOT.
58425         (elf_machine_load_address): Return the difference between
58426         the runtime address of _DYNAMIC and elf_machine_dynamic ().
58428 2012-09-01  Allan McRae  <allan@archlinux.org>
58430         [BZ #13412]
58431         * configure.in (AWK): Require gawk version 3.0 or later.
58432         * configure: Regenerated.
58434 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
58436         * sysdeps/unix/sysv/linux/kernel-features.h
58437         (__ASSUME_POSIX_CPU_TIMERS): Remove.
58438         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58439         [__NR_clock_getres]: Make code unconditional.
58440         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
58441         (clock_getcpuclockid): Remove code left unreachable by removal of
58442         conditionals.
58443         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
58444         code unconditional.
58445         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58446         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58447         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
58448         Make code unconditional.
58449         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58450         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58451         * sysdeps/unix/sysv/linux/clock_settime.c
58452         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
58453         conditional code.
58454         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
58455         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58457 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
58459         [BZ #14476]
58460         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
58461         scripts/test-installation.pl.
58463         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
58464         and $ld_so_version if it is set.
58466 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58468         [BZ #14516]
58469         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
58470         failure if reading from procfs failed.
58471         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
58473 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58475         * sysdeps/unix/sysv/linux/kernel-features.h
58476         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
58477         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58478         Remove conditional code.
58479         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58480         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
58481         Remove conditional code.
58482         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58483         * sysdeps/unix/sysv/linux/i386/fxstat.c
58484         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58485         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58486         * sysdeps/unix/sysv/linux/i386/fxstatat.c
58487         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58488         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58489         * sysdeps/unix/sysv/linux/i386/lxstat.c
58490         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58491         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58492         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
58493         Remove conditional code.
58494         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58495         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58496         Remove conditional code.
58497         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58498         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
58499         <kernel-features.h>.
58500         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
58501         Remove.
58502         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
58503         Remove conditional code.
58504         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58505         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
58506         Remove conditional.
58508 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
58510         [BZ #5400]
58511         * NEWS: Add fixed bug number.
58513 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58515         [BZ #14519]
58516         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
58517         underflowing exponent in case of negative sign.
58518         * stdlib/tst-strtod-round-data: Add more tests.
58519         * stdlib/tst-strtod-round.c (tests): Regenerated.
58521         [BZ #3479]
58522         * stdlib/strtod_l.c (NDIG): Remove.
58523         (HEXNDIG): Likewise.
58524         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
58525         smallest representable value.
58526         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
58527         lie within an exact representation of 1/2 ulp of the result.
58528         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
58529         unconditionally.
58530         (TENS_P9_IDX): Define unconditionally.
58531         (TENS_P9_SIZE): Likewise.
58532         (TENS_P10_IDX): Likewise.
58533         (TENS_P10_SIZE): Likewise.
58534         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
58535         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
58536         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
58537         entries for 10^2^13 and 10^2^14.
58538         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
58539         (TENS_P13_IDX): Define.
58540         (TENS_P13_SIZE): Likewise.
58541         (TENS_P14_IDX): Likewise.
58542         (TENS_P14_SIZE): Likewise.
58543         (_fpioconst_pow10): Change array size to
58544         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
58545         unconditional.
58546         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
58547         1024]: Add entries for 10^2^13 and 10^2^14.
58548         [LAST_POW10 > _LAST_POW10]: Remove #error.
58549         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
58550         (_fpioconst_pow10): Change array size to
58551         FPIOCONST_POW10_ARRAY_SIZE.
58552         * stdlib/gen-fpioconst.c: New file.
58553         * stdlib/gen-tst-strtod-round.c: Likewise.
58554         * stdlib/tst-strtod-round-data: Likewise.
58555         * stdlib/tst-strtod-round.c: Likewise.
58556         * stdlib/Makefile (tests): Add tst-strtod-round.
58558         [BZ #14459]
58559         * stdlib/strtod_l.c: Include <stdint.h>.
58560         (NDEBUG): Do not define.
58561         (round_and_return): Change EXPONENT parameter to type intmax_t.
58562         Rearrange calculations to avoid internal overflow possibilities.
58563         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
58564         Rearrange calculations to avoid internal overflow possibilities.
58565         Assert that number fits inside MPNSIZE limbs.
58566         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
58567         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
58568         calculations and add assertions to avoid internal overflow
58569         possibilities.  Add casts to avoid signed/unsigned operations.
58570         * stdlib/tst-strtod-overflow.c: New file.
58571         * stdlib/Makefile (tests): Add tst-strtod-overflow.
58573 2012-08-25  Marek Polacek  <polacek@redhat.com>
58575         * time/time.h: Fix some typos in comments.
58577 2012-08-23  Roland McGrath  <roland@hack.frob.com>
58579         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
58580         * posix/tst-rfc3484-2.c: Likewise.
58581         * posix/tst-rfc3484-3.c: Likewise.
58583 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
58585         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
58586         (EF_ARM_ABI_FLOAT_HARD): Likewise.
58588 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
58590         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
58591         #include of fxstatat64.c.
58593 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58595         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
58596         * shadow/getspent_r.c: Likewise.
58597         * shadow/getspnam.c: Likewise.
58598         * shadow/getspnam_r.c: Likewise.
58599         * gshadow/getsgent.c: Likewise.
58600         * gshadow/getsgent_r.c: Likewise.
58601         * gshadow/getsgnam.c: Likewise.
58602         * gshadow/getsgnam_r.c: Likewise.
58603         * inet/getnetbyad.c: Likewise.
58604         * inet/getnetbyad_r.c: Likewise.
58605         * inet/getnetbynm.c: Likewise.
58606         * inet/getnetbynm_r.c: Likewise.
58607         * inet/getnetent.c: Likewise.
58608         * inet/getnetent_r.c: Likewise.
58609         * inet/getproto.c: Likewise.
58610         * inet/getproto_r.c: Likewise.
58611         * inet/getprtent.c: Likewise.
58612         * inet/getprtent_r.c: Likewise.
58613         * inet/getprtname.c: Likewise.
58614         * inet/getprtname_r.c: Likewise.
58615         * inet/getrpcbyname.c: Likewise.
58616         * inet/getrpcbyname_r.c: Likewise.
58617         * inet/getrpcbynumber.c: Likewise.
58618         * inet/getrpcbynumber_r.c: Likewise.
58619         * inet/getrpcent.c: Likewise.
58620         * inet/getrpcent_r.c: Likewise.
58621         * inet/getaliasent.c: Likewise.
58622         * inet/getaliasent_r.c: Likewise.
58623         * inet/getaliasname.c: Likewise.
58624         * inet/getaliasname_r.c: Likewise.
58625         * nscd/getgrgid_r.c: Likewise.
58626         * nscd/getgrnam_r.c: Likewise.
58627         * nscd/gethstbyad_r.c: Likewise.
58628         * nscd/gethstbynm3_r.c: Likewise.
58629         * nscd/getpwnam_r.c: Likewise.
58630         * nscd/getpwuid_r.c: Likewise.
58631         * nscd/getsrvbynm_r.c: Likewise.
58632         * nscd/getsrvbypt_r.c: Likewise.
58633         * nscd/gai.c: Likewise.
58635         * configure.in (build_nscd): New substituted variable, set
58636         by --disable-build-nscd and defaults to $use_nscd.
58637         * configure: Regenerated.
58638         * config.make.in (build-nscd): New substituted variable.
58639         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
58640         Change conditional to require [$(build-nscd) = yes] as well.
58641         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
58643         [BZ# 13696]
58644         * configure.in (use_nscd): New substituted variable, set by
58645         --disable-nscd.  If enabled, define USE_NSCD.
58646         * configure: Regenerated.
58647         * config.h.in: Add USE_NSCD.
58648         * config.make.in (use-nscd): New substituted variable.
58649         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
58650         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
58651         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
58652         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
58653         (CFLAGS-getgrnam_r.c): Likewise.
58654         (CFLAGS-initgroups.c): Likewise.
58655         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
58656         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
58657         Variables removed.
58658         * inet/getnetgrent_r.c
58659         (nscd_setnetgrent): New function, broken out of ...
58660         (setnetgrent): ... here.  Call it.
58661         (innetgr): Conditionalize nscd bits on [USE_NSCD].
58662         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
58663         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
58664         * nscd/Makefile (routines, aux): Move definitions after include of
58665         Makeconfig.  Conditionalize on [$(use-nscd) != no].
58666         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
58667         Conditionalize on [USE_NSCD].
58668         (is_nscd, nscd_init_cb): Likewise.
58669         (nss_load_library): Conditionalize init callback on [USE_NSCD].
58670         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
58671         * nss/nss_db/db-init.c: Likewise.
58672         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
58673         [USE_NSCD].
58674         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
58675         (make_request): Use it.
58676         (cache_valid_p): New function.
58677         (__check_pf): Use it.
58678         * NEWS: Add item for --disable-nscd.
58680 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
58682         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
58683         to support sed >= 4.2.1-20-ga9bf076.
58684         * configure: Regenerated.
58686 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58688         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
58689         Conditionalize whole body on [IREL].
58691 2012-08-22  Jeff Law <law@redhat.com>
58693         [BZ #14505]
58694         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
58695         if the family is PF_UNSPEC.
58697 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
58699         * Makerules (lib-version): Rename from V.
58700         (install-lib-nosubdir): Change V to lib-version.
58702 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
58704         [BZ #14252]
58705         * powerpc32/power6/wcschr.c: New file.
58706         * powerpc32/power6/wcscpy.c: New file.
58707         * powerpc32/power6/wcsrchr.c: New file.
58708         * powerpc64/power6/wcschr.c: New file.
58709         * powerpc64/power6/wcscpy.c: New file.
58710         * powerpc64/power6/wcsrchr.c: New file.
58712 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58714         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
58715         (two_way_short_needle): Use it.
58716         * string/strstr.c (AVAILABLE1_USES_J): Define.
58717         * string/strcasestr.c: Likewise.
58719         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
58720         array references.
58721         * string/strcasestr.c (TOLOWER): Make side-effect safe.
58723         [BZ #11607]
58724         * NEWS: Add an entry.
58725         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
58726         define their defaults.
58727         (two_way_short_needle): Detect end-of-string on-the-fly.
58728         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
58729         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
58730         * string/bug-strcasestr1.c: New test.
58731         * string/Makefile: Run it.
58733 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58735         [BZ #11607]
58736         * string/str-two-way.h (two_way_short_needle): Optimize matching of
58737         the first character.
58739 2012-08-21  Roland McGrath  <roland@hack.frob.com>
58741         * csu/elf-init.c (__libc_csu_irel): Function removed.
58742         * csu/libc-start.c (apply_irel): New function.
58743         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
58745 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
58747         * sysdeps/unix/sysv/linux/kernel-features.h
58748         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
58749         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58750         <kernel-features.h>.
58751         [__NR_fadvise64_64]: Make code unconditional.
58752         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
58753         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58754         !__NR_fadvise64_64)]: Likewise.
58755         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58756         !__NR_fadvise64_64))]: Likewise.
58757         [__NR_fadvise64]: Make code unconditional.
58758         [!__NR_fadvise64]: Remove conditional code.
58759         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
58760         <kernel-features.h>.
58761         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58762         unconditional.
58763         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58764         conditional code.
58765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
58766         not include <kernel-features.h>.
58767         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58768         unconditional.
58769         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58770         conditional code.
58771         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
58772         include <kernel-features.h>.
58773         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58774         unconditional.
58775         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58776         conditional code.
58778 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
58780         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
58781         slight instruction rearrangements per scrollpipe analysis.
58782         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58784 2012-08-20  Roland McGrath  <roland@hack.frob.com>
58786         * manual/syslog.texi (syslog; vsyslog, closelog):
58787         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
58788         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
58790         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
58791         DSOCAPS to match condition on defining it.
58793 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
58795         * sysdeps/unix/sysv/linux/kernel-features.h
58796         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
58797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
58798         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58799         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
58801         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58802         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
58804         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58805         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58807         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
58808         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
58810         * sysdeps/unix/sysv/linux/kernel-features.h
58811         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
58812         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
58813         unconditional.
58814         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58815         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
58816         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58817         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58818         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
58819         Make code unconditional.
58820         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58821         (__mmap64) [!__NR_mmap2]: Likewise.
58822         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
58823         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58824         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58825         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
58826         [__NR_mmap2]: Make code unconditional.
58827         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58828         (__mmap64) [!__NR_mmap2]: Likewise.
58830 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58832         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
58834 2012-08-18  Andreas Jaeger  <aj@suse.de>
58836         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
58838 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58840         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
58841         * include/unistd.h (__have_sock_cloexec): Likewise.
58842         (__have_pipe2): Likewise.
58843         (__have_dup3): Likewise.
58845 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58847         [BZ #9685]
58848         * include/unistd.h (__have_pipe2): Change define into an extern int.
58849         (__have_dup3): Likewise.
58850         * socket/have_sock_cloexec.c: Include fcntl.h.
58851         (__have_pipe2): New variable.
58852         (__have_dup3): Likewise.
58854 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
58856         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
58858 2012-08-17  Marek Polacek  <polacek@redhat.com>
58860         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
58861         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
58863 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58865         * configure.in: Add AC_SUBST for sysheaders.
58866         * configure: Regenerated.
58867         * config.make.in (sysheaders): New substituted variable.
58869         * sysdeps/unix/mkfifo.c: Moved ...
58870         * sysdeps/posix/mkfifo.c: ... here.
58871         * sysdeps/unix/mkfifoat.c: Moved ...
58872         * sysdeps/posix/mkfifoat.c: ... here.
58874         * sysdeps/unix/utime.c: Moved ...
58875         * sysdeps/posix/utime.c: ... here.
58877         * sysdeps/unix/time.c: Moved ...
58878         * sysdeps/posix/time.c: ... here.
58879         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
58880         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
58882         * sysdeps/unix/nice.c: Moved ...
58883         * sysdeps/posix/nice.c: ... here.
58885         * sysdeps/unix/alarm.c: Moved ...
58886         * sysdeps/posix/alarm.c: ... here.
58888         * intl/Makefile ($(codeset_mo)): Depend on the input file.
58890 2012-08-17  Jeff Law <law@redhat.com>
58892         * intl/Makefile (codeset_mo): New variable.
58893         ($(codeset_mo)): New target.
58894         (tst-codeset.out): Depend on that.  Remove explicit rule.
58895         (tst-gettext3.out, tst-gettext5.out): Likewise.
58896         (LOCPATH-ENV, tst-codeset-ENV): New variables.
58897         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
58898         * intl/tst-codeset.sh: Remove.
58899         * intl/tst-gettext3.sh: Likewise.
58900         * intl/tst-gettext5.sh: Likewise.
58902 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58904         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
58905         * sysdeps/unix/syscalls.list: ... here.
58907         * sysdeps/posix/getaddrinfo.c
58908         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
58909         (gaiconf_init, gaiconf_reload): Use them.
58910         [!_STATBUF_ST_NSEC]
58911         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
58912         Define using time_t rather than struct timespec.
58914         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
58915         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
58916         Macros removed.
58917         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
58918         [!NO_THREADS].
58919         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
58920         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
58921         Likewise.
58923         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
58924         __libc_cleanup_push argument.
58926         * bits/param.h: New file.
58927         * misc/sys/param.h: New file.
58928         * include/sys/param.h: New file.
58929         * misc/Makefile (headers): Add bits/param.h.
58930         * sysdeps/generic/sys/param.h: File removed.
58931         * sysdeps/unix/sysv/linux/bits/param.h: New file.
58932         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
58933         * sysdeps/mach/hurd/bits/param.h: New file.
58934         * sysdeps/mach/hurd/sys/param.h: File removed.
58936         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
58937         last change.
58939         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
58940         [_IO_MTSAFE_IO].
58941         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
58942         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
58943         New macros.
58945         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
58946         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
58947         rather than -D_IO_MTSAFE_IO conditionally.
58948         * stdio-common/Makefile (CPPFLAGS): Likewise.
58949         * wcsmbs/Makefile (CPPFLAGS): Likewise.
58950         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
58951         Use $(libio-mtsafe).
58952         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
58953         of -D_IO_MTSAFE_IO.
58954         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
58955         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
58956         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
58957         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
58958         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
58959         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
58960         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
58961         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
58962         (CFLAGS-fread_u_chk.c): Likewise.
58963         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
58964         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
58965         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
58966         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
58967         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
58968         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
58969         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
58970         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
58971         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
58973         * libio/Makefile: Test [$(libc-reentrant) = yes]
58974         instead of [$(filter %REENTRANT, $(defines)) nonempty].
58976         * Makeconfig
58977         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
58978         * sysdeps/pthread/configure: File removed.
58979         * sysdeps/pthread/Makeconfig: New file.
58980         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
58981         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
58983 2012-08-16  Gary Benson  <gbenson@redhat.com>
58985         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
58986         unmapping the first object in a namespace.
58988 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58990         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
58991         (__internal_setnetgrent): ... this.  Add internal_function to
58992         definition.  Add libc_hidden_def.
58993         (setnetgrent): Update caller.
58994         (internal_endnetgrent): Renamed to ...
58995         (__internal_endnetgrent): ... this.  Add internal_function to
58996         definition.  Add libc_hidden_def.
58997         (endnetgrent): Update caller.
58998         (internal_getnetgrent_r): Renamed to ...
58999         (__internal_getnetgrent_r): ... this.  Add internal_function to
59000         definition.  Add libc_hidden_def.
59001         (__getnetgrent_r): Update caller.
59002         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
59004 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59006         * stdlib/longlong.h: Update from GCC.
59008 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59010         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
59011         on _QL, which is set by umul_ppmm but never used.
59012         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
59013         variables, which are set by GMP macros but never used.
59014         * stdio-common/_itowa.c (_itowa): Likewise.
59015         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
59016         * stdlib/mod_1.c (mpn_mod_1): Likewise.
59018 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
59020         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
59021         struct La_sh_regs is not constant.
59022         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
59023         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
59024         and struct La_sparc64_regs are not constant.
59026 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59028         * sysdeps/unix/sysv/linux/kernel-features.h
59029         (__ASSUME_POSIX_TIMERS): Remove.
59030         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59031         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59032         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
59033         Make code unconditional.
59034         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59035         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
59036         Make code unconditional.
59037         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59038         * sysdeps/unix/sysv/linux/clock_nanosleep.c
59039         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
59040         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59041         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
59042         Make code unconditional.
59043         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59044         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
59045         (__libc_missing_posix_timers): Remove.
59047 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59049         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
59050         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
59052         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
59054         * elf/dl-sym.c: Include <stdlib.h>.
59056         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
59057         constants, which avoids warnings in 32-bit builds.
59059         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
59060         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
59062         * misc/lseek.c: File moved to ...
59063         * io/lseek.c: ... here.
59065         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
59067         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
59068         shifting LEN more than 31 bits at once.
59070 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59072         [BZ #14195]
59073         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
59074         segmentation fault for a case of two empty input strings.
59075         * string/test-strncasecmp.c (check1): Renamed to...
59076         (bz12205): ...this.
59077         (bz14195): Add new testcase for two empty input strings and N > 0.
59078         (test_main): Call new testcase, adapt for renamed function.
59080 2012-08-15  Andreas Jaeger  <aj@suse.de>
59082         [BZ #14090]
59083         * crypt/md5test2.c: New test, based on test supplied by Serge
59084         Belyshev <belyshev@depni.sinp.msu.ru>.
59085         * crypt/Makefile (xtests): Add md5test-giant..
59086         * crypt/Makefile ($(objpfx)md5test-giant): Add.
59088 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
59090         [BZ #14090]
59091         * crypt/md5.c (md5_process_block): Don't assume the buffer
59092         length is less than 2**32.
59093         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
59094         length is less than 2**64.
59096 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59098         * string/str-two-way.h: Include <sys/param.h>.
59099         (MAX): Macro removed.
59101         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
59102         Move #define and #undef of memmove to just before and after
59103         including <string.h>.
59105         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
59106         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
59107         and after including <string.h>.  Move declarations of
59108         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
59109         to before #include "string/memmove.c".
59111         * include/dirent.h: Declare __getdirentries.
59113         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
59114         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
59116 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
59118         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
59119         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
59120         * sysdeps/i386/configure: Regenerated.
59121         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
59122         STABS_CURRENT_FILE, and STABS_FUN.
59123         (END): Remove call to STABS_FUN_END.
59124         (STABS_CURRENT_FILE1): Delete.
59125         (STABS_CURRENT_FILE): Likewise.
59126         (STABS_FUN): Likewise.
59127         (STABS_FUN_END): Likewise.
59128         (STABS_FUN2): Likewise.
59129         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
59130         * sysdeps/x86_64/configure: Regenerated.
59132 2012-08-14  Roland McGrath  <roland@hack.frob.com>
59134         * elf/dl-open.c: Include <atomic.h>.
59135         * elf/dl-lookup.c: Likewise.
59137 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
59139         * sysdeps/unix/sysv/linux/kernel-features.h
59140         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
59141         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
59142         unconditionally.
59143         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
59144         unconditionally.
59145         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
59146         condition on __ASSUME_CLONE_THREAD_FLAGS.
59148 2012-08-14  Andreas Jaeger  <aj@suse.de>
59150         * sysdeps/i386/fpu/libm-test-ulps: Update.
59152 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
59154         * include/atomic.h (atomic_exchange_and_add): Split into ...
59155         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
59156         New atomic macros.
59158 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
59160         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59162 2012-08-13  Jeff Law <law@redhat.com>
59164         * manual/stdio.texi (snprintf): Clarify handling of the trailing
59165         null byte in the output string.
59167 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
59169         * sysdeps/unix/sysv/linux/kernel-features.h
59170         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
59171         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
59172         (__ASSUME_ARG_MAX_STACK_BASED): Define.
59173         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
59174         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
59175         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
59176         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59178 2012-08-09  Jeff Law <law@redhat.com>
59180         [BZ #13939]
59181         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59182         When avoid_arena is set, don't retry in the that arena.  Pick the
59183         next one, whatever it might be.
59184         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59185         (arena_lock): Pass in new parameter to arena_get2.
59186         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59187         arena_get2.
59188         (__libc_malloc): Unify retrying after main arena failure with
59189         __libc_memalign version.
59190         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59192 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
59194         [BZ #14166]
59195         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59196         to __redirect_strstr.
59197         (__strstr_sse42): Use typeof __redirect_strstr.
59198         (__strstr_ia32): Likewise.
59199         (__libc_strstr): New prototype.
59200         (strstr): Renamed to ...
59201         (__libc_strstr): This.
59202         (strstr): New strong alias of __libc_strstr.
59203         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59204         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59205         __redirect_time.
59206         Include <time.h>.
59207         (__libc_time): New prototype.
59208         (time_ifunc): Replace time with __libc_time.
59209         (time): New strong alias and hidden definition of __libc_time.
59210         (__GI_time): Remove strong alias.
59211         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59212         Include <stddef.h>.
59213         (memmove): Redefined to __redirect_memmove.
59214         (__memmove_sse2): Use typeof __redirect_memmove.
59215         (__memmove_ssse3): Likewise.
59216         (__memmove_ssse3_back): Likewise.
59217         (__libc_memmove): New prototype.
59218         (memmove): Renamed to ...
59219         (__libc_memmove): This.
59220         (memmove): New strong alias of __libc_memmove.
59222 2012-08-08  Mark Salter  <msalter@redhat.com>
59224         * elf/elf.h
59225         (R_MN10300_TLS_GD): Define.
59226         (R_MN10300_TLS_LD): Likewise.
59227         (R_MN10300_TLS_LDO): Likewise.
59228         (R_MN10300_TLS_GOTIE): Likewise.
59229         (R_MN10300_TLS_IE): Likewise.
59230         (R_MN10300_TLS_LE): Likewise.
59231         (R_MN10300_TLS_DTPMOD): Likewise.
59232         (R_MN10300_TLS_DTPOFF): Likewise.
59233         (R_MN10300_TLS_TPOFF): Likewise.
59234         (R_MN10300_SYM_DIFF): Likewise.
59235         (R_MN10300_ALIGN): Likewise.
59236         (R_MN10300_NUM): Update.
59238 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
59240         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
59241         Remove.
59243 2012-08-08  Roland McGrath  <roland@hack.frob.com>
59245         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
59247         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
59248         sysdeps/unix -> sysdeps/posix move.
59249         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59251 2012-08-07      Allan McRae     <allan@archlinux.org>
59253         [BZ #14303]
59254         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
59255         (SUNOS_CPP): Likewise.
59256         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
59257         not found.
59258         (open_input): Call CPP using execvp.
59260 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59262         * sysdeps/unix/sysv/linux/kernel-features.h
59263         (__ASSUME_PROT_GROWSUPDOWN): Remove.
59264         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59265         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59266         (__ASSUME_WAITID_SYSCALL): Likewise.
59267         * sysdeps/unix/sysv/linux/dl-execstack.c
59268         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
59269         code unconditional.
59270         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
59271         conditional code.
59272         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
59273         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
59274         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
59275         code.
59276         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
59277         unconditional.
59278         [__ASSUME_WAITID_SYSCALL]: Likewise.
59279         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
59281 2012-08-07  Roland McGrath  <roland@hack.frob.com>
59283         * sysdeps/unix/closedir.c: Renamed to ...
59284         * sysdeps/posix/closedir.c: ... here.
59285         * sysdeps/unix/dirfd.c: Renamed to ...
59286         * sysdeps/posix/dirfd.c: ... here.
59287         * sysdeps/unix/dirstream.h: Renamed to ...
59288         * sysdeps/posix/dirstream.h: ... here.
59289         * sysdeps/unix/fdopendir.c: Renamed to ...
59290         * sysdeps/posix/fdopendir.c: ... here.
59291         * sysdeps/unix/opendir.c: Renamed to ...
59292         * sysdeps/posix/opendir.c: ... here.
59293         * sysdeps/unix/readdir.c: Renamed to ...
59294         * sysdeps/posix/readdir.c: ... here.
59295         * sysdeps/unix/readdir_r.c: Renamed to ...
59296         * sysdeps/posix/readdir_r.c: ... here.
59297         * sysdeps/unix/rewinddir.c: Renamed to ...
59298         * sysdeps/posix/rewinddir.c: ... here.
59299         * sysdeps/unix/seekdir.c: Renamed to ...
59300         * sysdeps/posix/seekdir.c: ... here.
59301         * sysdeps/unix/telldir.c: Renamed to ...
59302         * sysdeps/posix/telldir.c: ... here.
59303         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59304         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59305         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59306         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59308         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59309         * bits/fcntl.h: ... here.
59311         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59312         not 0.
59313         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59314         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59315         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59316         (struct flock): Move l_start, l_len to the beginning.
59317         Use __pid_t for l_pid.
59318         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59319         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59320         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59321         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59322         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59323         [__USE_LARGEFILE64] (struct flock64): New type.
59324         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59326         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59327         * bits/dirent.h: ... here.
59329         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59330         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59332 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59334         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59335         Change from 2.6.0 to 2.6.16.
59336         * sysdeps/unix/sysv/linux/configure: Regenerated.
59337         * sysdeps/unix/sysv/linux/kernel-features.h
59338         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59339         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59340         version.
59341         (__ASSUME_UTIMES): Likewise.
59342         (__ASSUME_CLONE_STOPPED): Remove.
59343         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59344         architectures, not kernel version.
59345         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59346         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59347         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59348         (__ASSUME_WAITID_SYSCALL): Likewise.
59349         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59350         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59351         * README: State 2.6.16 as minimum Linux kernel version.  Do not
59352         refer to older versions.
59354 2012-08-06  Roland McGrath  <roland@hack.frob.com>
59356         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59357         Define alphasort64 as an alias.
59358         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59359         Define versionsort64 as an alias.
59360         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59361         Define scandir64 as an alias.
59362         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59363         Define scandirat64 as an alias.
59364         * dirent/alphasort64.c (alphasort64):
59365         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59366         * dirent/versionsort64.c: Likewise.
59367         * dirent/scandir64.c: Likewise.
59368         * dirent/scandirat64.c: Likewise.
59369         * sysdeps/wordsize-64/alphasort.c: File removed.
59370         * sysdeps/wordsize-64/alphasort64.c: File removed.
59371         * sysdeps/wordsize-64/scandir.c: File removed.
59372         * sysdeps/wordsize-64/scandir64.c: File removed.
59373         * sysdeps/wordsize-64/scandirat.c: File removed.
59374         * sysdeps/wordsize-64/scandirat64.c: File removed.
59375         * sysdeps/wordsize-64/versionsort.c: File removed.
59376         * sysdeps/wordsize-64/versionsort64.c: File removed.
59377         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
59378         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
59379         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
59380         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
59381         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59382         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
59383         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
59384         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
59386         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
59387         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59388         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
59389         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59390         [defined __arch64__ || defined __sparcv9]
59391         (__INO_T_MATCHES_INO64_T): New macro.
59392         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59393         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
59394         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
59395         * sysdeps/unix/sysv/linux/bits/dirent.h
59396         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
59397         (_DIRENT_MATCHES_DIRENT64): New macro.
59399         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
59400         Define lockf64 as an alias.
59401         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
59402         Define fseeko64 as an alias.
59403         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
59404         Define ftello64 as an alias.
59405         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
59406         Define _IO_fgetpos64 and fgetpos64 as aliases.
59407         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
59408         Define _IO_fsetpos64 and fsetpos64 as aliases.
59409         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
59410         Conditionalize body on this.
59411         * libio/fseeko64.c: Likewise.
59412         * libio/ftello64.c: Likewise.
59413         * libio/iofgetpos64.c: Likewise.
59414         * libio/iofsetpos64.c: Likewise.
59415         * sysdeps/wordsize-64/lockf.c: File removed.
59416         * sysdeps/wordsize-64/lockf64.c: File removed.
59417         * sysdeps/wordsize-64/fseeko.c: File removed.
59418         * sysdeps/wordsize-64/fseeko64.c: File removed.
59419         * sysdeps/wordsize-64/ftello.c: File removed.
59420         * sysdeps/wordsize-64/ftello64.c: File removed.
59421         * sysdeps/wordsize-64/iofgetpos.c: File removed.
59422         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
59423         * sysdeps/wordsize-64/iofsetpos.c: File removed.
59424         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
59425         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
59426         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
59427         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
59428         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
59429         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
59430         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
59431         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
59432         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
59433         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
59434         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
59436         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59437         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59438         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
59439         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59440         [defined __arch64__ || defined __sparcv9]
59441         (__OFF_T_MATCHES_OFF64_T): New macro.
59442         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59443         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59444         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59445         (__OFF_T_MATCHES_OFF64_T): New macro.
59447 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59449         * stdlib/secure-getenv.c (__secure_getenv): Replace
59450         GLIBC_2_16 with GLIBC_2_17.
59452 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59454         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
59455         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59457 2012-08-03  David S. Miller  <davem@davemloft.net>
59459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59461 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59463         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
59464         Remove.
59465         (__ASSUME_CORRECT_SI_PID): Likewise.
59466         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
59467         (__ASSUME_TMPFS_NAME): Likewise.
59468         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
59469         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
59470         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
59471         (HAVE_AUX_SECURE): Make definition unconditional.
59472         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
59473         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
59475 2012-08-03  Roland McGrath  <roland@hack.frob.com>
59477         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
59478         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
59479         * sysdeps/mach/hurd/eloop-threshold.h: New file.
59480         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59481         __eloop_threshold instead of SYMLOOP_MAX.
59483         * sysdeps/generic/eloop-threshold.h: New file.
59484         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
59485         of MAXSYMLINKS.
59486         * elf/chroot_canon.c (chroot_canon): Likewise.
59488 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59490         [BZ #13717]
59491         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59492         Change to 2.6.0 everywhere.
59493         * sysdeps/unix/sysv/linux/configure: Regenerated.
59494         * sysdeps/unix/sysv/linux/kernel-features.h
59495         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
59496         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
59497         kernel versions.
59498         (__ASSUME_POSIX_TIMERS): Define unconditionally.
59499         (__ASSUME_FUTEX_REQUEUE): Remove.
59500         (__ASSUME_STATFS64): Define unconditionally.
59501         (__ASSUME_AT_SECURE): Likewise.
59502         (__ASSUME_CORRECT_SI_PID): Likewise.
59503         (__ASSUME_TGKILL): Define without depending on kernel version for
59504         i386.
59505         (__ASSUME_UTIMES): Likewise.
59506         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
59507         kernel version.
59508         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
59509         (__ASSUME_TMPFS_NAME): Likewise.
59510         * README: Update reference to Linux kernel versions.
59512 2012-08-02  Marek Polacek  <polacek@redhat.com>
59514         [BZ# 14150]
59515         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
59516         libc_cv_asm_type_prefix with %.
59517         * configure: Regenerated.
59518         * include/libc-symbols.h: Remove comment about
59519         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59520         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
59521         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
59522         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
59523         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
59524         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59525         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
59526         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
59527         * elf/tst-unique2mod1.c: Likewise.
59528         * elf/tst-unique1mod2.c: Likewise.
59529         * elf/tst-unique1mod1.c: Likewise.
59530         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
59531         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
59532         Replace ASM_TYPE_DIRECTIVE with .type.
59533         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59534         * sysdeps/i386/sysdep.h: Likewise.
59535         * sysdeps/x86_64/sysdep.h: Likewise.
59536         * sysdeps/sh/sysdep.h: Likewise.
59537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59538         Do not define ASM_TYPE_DIRECTIVE.
59539         * sysdeps/powerpc/sysdep.h: Likewise.
59540         * sysdeps/powerpc/powerpc32/sysdep.h:
59541         Replace ASM_TYPE_DIRECTIVE with .type.
59542         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59543         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59544         * sysdeps/i386/fpu/e_powf.S: Likewise.
59545         * sysdeps/i386/fpu/e_expl.S: Likewise.
59546         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59547         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59548         * sysdeps/i386/fpu/e_pow.S: Likewise.
59549         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59550         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59551         * sysdeps/i386/fpu/s_expm1.S: Likewise.
59552         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59553         * sysdeps/i386/fpu/e_log2.S: Likewise.
59554         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59555         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59556         * sysdeps/i386/fpu/e_powl.S: Likewise.
59557         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59558         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59559         * sysdeps/i386/fpu/e_logl.S: Likewise.
59560         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59561         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59562         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59563         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59564         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59565         * sysdeps/i386/fpu/e_log.S: Likewise.
59566         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59567         * sysdeps/i386/fpu/e_logf.S: Likewise.
59568         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59569         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59570         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59571         * sysdeps/i386/fpu/e_log10.S: Likewise.
59572         * sysdeps/i386/fpu/s_frexp.S: Likewise.
59573         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59574         * sysdeps/i386/fpu/s_asinh.S: Likewise.
59575         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59576         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59577         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
59578         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59579         * sysdeps/i386/i686/strtok.S: Likewise.
59580         * sysdeps/i386/i386-mcount.S: Likewise.
59581         * sysdeps/i386/strtok.S: Likewise.
59582         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
59583         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59584         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59585         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59586         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59587         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59588         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59589         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59590         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59591         * sysdeps/x86_64/_mcount.S: Likewise.
59592         * sysdeps/x86_64/strtok.S: Likewise.
59593         * sysdeps/sh/_mcount.S: Likewise.
59595 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59597         * libio/iofopen.c: Include <fcntl.h>.
59598         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
59599         (_IO_fopen64, fopen64): Define as aliases.
59600         * libio/iofopen64.c: Include <fcntl.h>.
59601         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
59602         Conditionalize body on this.
59603         * sysdeps/wordsize-64/iofopen.c: File removed.
59604         * sysdeps/wordsize-64/iofopen64.c: File removed.
59606 2012-08-01  Marek Polacek  <polacek@redhat.com>
59608         * libc/Makeconfig: Use elf in place of binfmt-subdir.
59609         Use dlfcn directly instead of a variable.
59610         (binfmt-subdir): Do not define.
59611         (dlfcn): Likewise.
59613 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
59615         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
59616         Remove all definitions.
59617         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
59618         <kernel-features.h>.
59619         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59620         (miss_F_GETOWN_EX): Remove all definitions.
59621         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
59622         macro definition.
59623         [!__ASSUME_FCNTL64]: Remove conditional code.
59624         [__ASSUME_FCNTL64]: Make code unconditional.
59625         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
59626         <kernel-features.h>.
59627         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59628         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
59629         (lockf64) [__NR_fcntl64]: Make code unconditional.
59630         (lockf64) [__ASSUME_FCNTL64]: Likewise.
59632         * sysdeps/unix/sysv/linux/kernel-features.h
59633         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
59634         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
59635         Make code unconditional.
59636         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59637         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
59639         [__NR_vfork]: Make code unconditional.
59640         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59641         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
59643         [__NR_vfork]: Make code unconditional.
59644         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59645         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59647 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59649         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
59650         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
59652         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59653         Define mkstemp64 as an alias.
59654         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59655         Define mkstemps64 as an alias.
59656         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59657         Define mkostemp64 as an alias.
59658         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59659         Define mkostemps64 as an alias.
59660         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
59661         Conditionalize body on this.
59662         * misc/mkostemp64.c: Likewise.
59663         * misc/mkostemps64.c: Likewise.
59664         * misc/mkstemps64.c: Likewise.
59665         * sysdeps/wordsize-64/mkstemp64.c: File removed.
59666         * sysdeps/wordsize-64/mkostemp64.c: File removed.
59667         * sysdeps/wordsize-64/mkostemp.c: File removed.
59668         * sysdeps/wordsize-64/mkstemp.c: File removed.
59669         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
59670         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
59671         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
59672         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
59674         [BZ #14138]
59675         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
59676         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
59677         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
59678         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
59680         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
59681         compat_symbol macros from <shlib-compat.h> rather than the underlying
59682         default_symbol_version and symbol_version macros, so that DEFAULT
59683         lines in shlib-versions are respected.
59684         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
59686 2012-08-01  Florian Weimer  <fweimer@redhat.com>
59688         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
59689         Declare with warn_unused_result.
59690         (setgid, setregid, setegid, setresgid): Likewise.
59691         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
59692         Likewise.
59693         * WUR-REPORT: Remove set*id functions.
59695 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
59697         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
59699 2012-07-31  Roland McGrath  <roland@hack.frob.com>
59701         [BZ #10191]
59702         * include/sys/socket.h (__libc_accept, __libc_accept4):
59703         Add attribute_hidden.
59704         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
59706         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
59707         use of PTR_MANGLE.
59708         * inet/getnetgrent_r.c (setup): Likewise.
59710         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
59712 2012-07-31  David S. Miller  <davem@davemloft.net>
59714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59716 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
59718         [BZ #13629]
59719         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
59720         value between 1.0 and 2.0 and smaller part has absolute value less
59721         than 1.0.
59722         * math/s_clog10.c (__clog10): Likewise.
59723         * math/s_clog10f.c (__clog10f): Likewise.
59724         * math/s_clog10l.c (__clog10l): Likewise.
59725         * math/s_clogf.c (__clogf): Likewise.
59726         * math/s_clogl.c (__clogl): Likewise.
59727         * math/libm-test.inc (clog_test): Add more tests.
59728         (clog10_test): Likewise.
59729         * sysdeps/i386/fpu/libm-test-ulps: Update.
59730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59732 2012-07-31  Florian Weimer  <fweimer@redhat.com>
59734         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
59735         Exit with zero in case no suitable GID is found, and write a
59736         message to standard error.
59738 2012-07-30  Roland McGrath  <roland@hack.frob.com>
59740         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
59741         rather than to 1.
59742         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
59743         (MAXPATHLEN): Removed.
59744         (NOGROUP, NODEV): New macros.
59745         (setbit, clrbit, isset, isclr): New macros.
59746         (howmany, roundup, powerof2): New macros.
59747         (DEV_BSIZE): New macro.
59749         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
59750         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
59752         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
59753         definition on [!__NO_LONG_DOUBLE_MATH].
59755         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
59756         PTR_MANGLE and PTR_DEMANGLE.
59758         * socket/accept4.c (accept4): Rename to __libc_accept4.
59759         Define accept4 as a weak alias.
59761         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
59762         on [_DIRENT_HAVE_D_TYPE].
59763         * io/ftw.c (ftw_dir): Likewise.
59765         * io/xmknod.c (__xmknod): Don't check PATH for being null.
59767         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
59769         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
59770         Use the BSD numbers rather than the arbitrary ones we had.
59771         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
59772         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
59773         (SIGXCPU, SIGXFSZ): New macros.
59774         (_NSIG): Now 32.
59776         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
59777         initializer on [_LIBC_REENTRANT].
59779         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
59780         definitions inside [_POSIX_MAPPED_FILES].
59782         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
59784         * dirent/opendir.c: Include <fcntl.h>.
59786         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
59787         (__libc_getspecific): Likewise.
59788         (__libc_key_create): Likewise.
59790         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
59791         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
59792         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
59793         (tmpfile64): Define as alias.
59794         * sysdeps/wordsize-64/tmpfile.c: File removed.
59795         * sysdeps/wordsize-64/tmpfile64.c: File removed.
59796         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
59797         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
59799         * stdio-common/vfscanf.c: Include <stdbool.h>.
59800         * nss/makedb.c: Likewise.
59801         * stdio-common/_i18n_number.h: Likewise.
59802         * argp/argp-help.c: Likewise.
59803         * posix/wordexp.c: Likewise.
59804         * sysdeps/posix/spawni.c: Likewise.
59805         * nss/nss_files/files-initgroups.c: Likewise.
59806         * stdio-common/reg-modifier.c: Include <stdlib.h>.
59807         * nss/nss_files/files-initgroups.c: Likewise.
59808         * nss/nss_db/db-netgrp.c: Likewise.
59809         * nss/nss_db/db-initgroups.c: Likewise.
59810         * io/fchmodat.c: Include <sys/stat.h>.
59812         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
59813         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
59815         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
59816         [HAVE_MMAP].
59818         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
59819         Add multiple inclusion protection.
59821 2012-07-27  David S. Miller  <davem@davemloft.net>
59823         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59825 2012-07-27  Gary Benson  <gbenson@redhat.com>
59827         [BZ #14298]
59828         * elf/rtld.c: Include <stap-probe.h>.
59829         (dl_main): Added static probes "init_start" and "init_complete".
59830         * elf/dl-load.c: Include <stap-probe.h>.
59831         (lose): Take new parameter "nsid".
59832         Added static probe "map_failed".
59833         (_dl_map_object_from_fd): Pass namespace id to lose.
59834         Added static probe "map_start".
59835         (open_verify): Pass namespace id to lose.
59836         * elf/dl-open.c: Include <stap-probe.h>.
59837         (dl_open_worker) Added static probes "map_complete", "reloc_start"
59838         and "reloc_complete".
59839         * elf/dl-close.c: Include <stap-probe.h>.
59840         (_dl_close_worker): Added static probes "unmap_start" and
59841         "unmap_complete".
59842         * elf/rtld-debugger-interface.txt: New file documenting the above.
59844 2012-07-26  Roland McGrath  <roland@hack.frob.com>
59846         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
59847         rather than a string variable.
59848         * sunrpc/rpc_main.c (h_output): Likewise.
59849         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
59851 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
59853         * inet/check_native.c: New file.
59855 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
59857         [BZ #13629]
59858         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
59859         if larger part has absolute value 1.0.
59860         * math/s_clog10.c (__clog10): Likewise.
59861         * math/s_clog10f.c (__clog10f): Likewise.
59862         * math/s_clog10l.c (__clog10l): Likewise.
59863         * math/s_clogf.c (__clogf): Likewise.
59864         * math/s_clogl.c (__clogl): Likewise.
59865         * math/libm-test.inc (clog_test): Add more tests.
59866         (clog10_test): Likewise.
59867         * sysdeps/i386/fpu/libm-test-ulps: Update.
59868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59870         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
59871         (pltexit): Likewise.
59872         (La_regs): Likewise.
59873         (La_retval): Likewise.
59874         (int_retval): Likewise.
59875         Update #error for removed macros to refer only to definitions in
59876         tst-audit.h.
59877         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
59878         macro.
59879         (pltexit): Likewise.
59880         (La_regs): Likewise.
59881         (La_retval): Likewise.
59882         (int_retval): Likewise.
59883         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
59884         macro.
59885         (pltexit): Likewise.
59886         (La_regs): Likewise.
59887         (La_retval): Likewise.
59888         (int_retval): Likewise.
59889         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
59890         macro.
59891         (pltexit): Likewise.
59892         (La_regs): Likewise.
59893         (La_retval): Likewise.
59894         (int_retval): Likewise.
59895         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
59896         macro.
59897         (pltexit): Likewise.
59898         (La_regs): Likewise.
59899         (La_retval): Likewise.
59900         (int_retval): Likewise.
59901         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
59902         macro.
59903         (pltexit): Likewise.
59904         (La_regs): Likewise.
59905         (La_retval): Likewise.
59906         (int_retval): Likewise.
59907         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
59908         macro.
59909         (pltexit): Likewise.
59910         (La_regs): Likewise.
59911         (La_retval): Likewise.
59912         (int_retval): Likewise.
59913         * sysdeps/generic/tst-audit.h: Update comment to refer only to
59914         macro definitions in tst-audit.h.
59915         * sysdeps/i386/tst-audit.h: New file.
59916         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
59917         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
59918         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
59919         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
59920         * sysdeps/sh/tst-audit.h: Likewise.
59921         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
59922         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
59923         * sysdeps/x86_64/tst-audit.h: Likewise.
59925 2012-07-26  Andreas Jaeger  <aj@suse.de>
59927         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
59928         ptrace.
59930         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
59931         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
59932         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
59933         PTRACE_O_MASK.
59934         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
59935         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
59936         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
59938         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
59939         value.
59941         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
59942         _sigsys.
59943         (si_call_addr, si_syscall, si_arch): Define new macro.
59944         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
59945         _sigsys.
59946         (si_call_addr, si_syscall, si_arch): Define new marcro.
59947         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
59948         _sigsys.
59949         (si_call_addr, si_syscall, si_arch): Define new macro.
59950         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
59951         _sigsys.
59952         (si_call_addr, si_syscall, si_arch): Define new macro.
59954 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59956         [BZ #13717]
59957         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59958         Change to 2.4.21 where previously 2.4.1.
59959         * sysdeps/unix/sysv/linux/configure: Regenerated.
59960         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
59961         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
59962         Linux kernel version.
59963         (__ASSUME_STD_AUXV): Remove.
59964         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
59965         kernel version.
59966         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
59967         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
59968         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
59969         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
59970         (__ASSUME_NETLINK_SUPPORT): Likewise.
59971         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
59972         (__no_netlink_support): Remove conditional definition.
59973         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
59974         Remove.
59975         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59976         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
59977         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
59978         (if_nameindex_ioctl): Remove.
59979         (if_nameindex_netlink): Do not handle __no_netlink_support.
59980         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59981         code.
59982         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
59983         Remove conditional code.
59984         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59985         code.
59986         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
59987         unconditional.
59988         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59989         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
59990         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
59991         Remove.
59992         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
59993         [!__ASSUME_STD_AUXV]: Remove conditional code.
59994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
59995         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
59996         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
59997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
59998         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
59999         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60000         code.
60001         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60003         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
60004         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60005         conditional code.
60006         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60008         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60009         code.
60010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60011         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60012         conditional code.
60013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
60014         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60015         code unconditional.
60016         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60017         conditional code.
60018         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60019         unconditional.
60020         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60021         conditional code.
60022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60023         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60024         unconditional.
60025         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60026         conditional code.
60027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
60028         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60029         code unconditional.
60030         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60031         conditional code.
60032         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60033         unconditional.
60034         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60035         conditional code.
60036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
60037         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60038         code unconditional.
60039         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60040         conditional code.
60041         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60042         unconditional.
60043         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60044         conditional code.
60046 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
60048         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
60049         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
60050         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
60051         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
60052         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
60053         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
60054         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
60055         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
60056         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
60057         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
60058         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
60059         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
60060         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
60061         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
60062         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
60063         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
60064         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
60065         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
60066         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
60067         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
60068         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
60069         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
60070         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60072 2012-07-25  Florian Weimer  <fweimer@redhat.com>
60074         * Versions.def: Add GLIBC_2.17.
60075         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
60076         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
60077         Introduce __libc_secure_getenv.
60078         * stdlib/Versions (2.17): Add secure_getenv
60079         (GLIBC_PRIVATE): Add __libc_secure_getenv.
60080         * stdlib/secure-getenv.c: Rename __secure_getenv to
60081         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
60082         symbol __secure_getenv for GLIBC_2.0.
60083         * stdlib/tst-secure-getenv.c: New.
60084         * stdlib/Makefile (tests): Add testcase.
60085         * manual/startup.texi (Environment Access): Document
60086         secure_getenv.
60087         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
60088         __libc_secure_getenv.
60089         * inet/ruserpass.c (ruserpass): Likewise.
60090         * malloc/mtrace.c (mtrace): Likewise.
60091         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
60092         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
60093         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
60094         * sysdeps/posix/tempname.c: Likewise.  Evaluate
60095         HAVE_SECURE_GETENV.
60096         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
60097         __secure_getenv to __libc_secure_getenv.
60098         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
60099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60100         Likewise.
60101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60102         Likewise.
60103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60105         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60106         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60111 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60113         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
60114         (struct La_i86_retval): Likewise.
60115         (struct La_x86_64_regs): Likewise.
60116         (struct La_x86_64_retval): Likewise.
60117         (struct La_x32_regs): Likewise.
60118         (struct La_x32_retval): Likewise.
60119         (struct La_ppc32_regs): Likewise.
60120         (struct La_ppc32_retval): Likewise.
60121         (struct La_ppc64_regs): Likewise.
60122         (struct La_ppc64_retval): Likewise.
60123         (struct La_sh_regs): Likewise.
60124         (struct La_sh_retval): Likewise.
60125         (struct La_s390_32_regs): Likewise.
60126         (struct La_s390_32_retval): Likewise.
60127         (struct La_s390_64_regs): Likewise.
60128         (struct La_s390_64_retval): Likewise.
60129         (struct La_sparc32_regs): Likewise.
60130         (struct La_sparc32_retval): Likewise.
60131         (struct La_sparc64_regs): Likewise.
60132         (struct La_sparc64_retval): Likewise.
60133         (struct audit_ifaces): Remove architecture-specific pltenter and
60134         pltexit members.
60135         * sysdeps/i386/ldsodefs.h: New file.
60136         * sysdeps/powerpc/ldsodefs.h: Likewise.
60137         * sysdeps/s390/ldsodefs.h: Likewise.
60138         * sysdeps/sh/ldsodefs.h: Likewise.
60139         * sysdeps/sparc/ldsodefs.h: Likewise.
60140         * sysdeps/x86_64/ldsodefs.h: Likewise.
60142 2012-07-25  Marek Polacek  <polacek@redhat.com>
60144         [BZ #6808]
60145         * math/libm-test.inc (yn_test): Add another test.
60146         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
60147         to ERANGE when the result is +-Inf.
60148         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60149         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
60150         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
60151         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
60153 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
60155         * conform/data/time.h-data (NULL): Use macro-constant.  Require
60156         equal to 0.
60157         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
60158         clock_t.
60159         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
60161 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
60163         * configure.in <sysdeps resolving>: Correct printing
60164         Implies_before.
60165         * configure: Regenerate.
60167 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
60169         * math/w_ilogb.c: Include <limits.h>.
60170         * math/w_ilogbl.c: Likewise.
60172 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60174         * manual/lang.texi (__va_copy): Document primarily as ISO C99
60175         va_copy.  Document allowing for unavailable va_copy only as
60176         pre-C99 compatibility.
60177         * manual/string.texi (Copying and Concatenation): Use va_copy
60178         instead of __va_copy in concat example.
60180 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
60182         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60183         (__sendto): Use create_address_port.  Initialize APORT and deallocate
60184         it if not null.
60186         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60187         with O_NOLINK passed to __file_name_lookup.
60189         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60190         with O_NOLINK passed to __file_name_lookup.
60192         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60193         negative N or less than NGIDS.
60195         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60196         type to string_t.  Set ERANGE as errno and return it if NAME is not big
60197         enough.  Use memcpy instead of strncpy.
60199 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60201         * elf/Makefile (check-data): Remove.
60202         (localplt.data): New vpath directive.
60203         ($(objpfx)check-localplt.out): Use localplt.data from vpath
60204         instead of $(check-data).
60205         * scripts/data/localplt-generic.data: Move to ...
60206         * sysdeps/generic/localplt.data: ... here.
60207         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60208         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60209         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60211         ... here.
60212         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
60214         ... here.
60215         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
60216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
60217         ... here.
60218         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
60219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60220         ... here.
60221         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
60222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
60223         ... here.
60224         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
60225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
60226         ... here.
60228 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60230         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60231         PPC32 and PPC64 files.
60232         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
60233         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
60235 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60237         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
60238         __makecontext_ret to ...
60239         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
60240         ... here and call exit if uc_link is NULL.  New file.
60241         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
60242         __makecontext_ret.S.
60243         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
60244         __makecontext_ret to ...
60245         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
60246         ... here and call exit if uc_link is NULL.  New file.
60247         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
60248         __makecontext_ret.S.
60250 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60252         * elf/elf.h (R_390_IRELATIVE): New definition.
60253         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
60254         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
60255         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
60256         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60257         (elf_machine_lazy_rel): Likewise.
60258         * sysdeps/s390/dl-irel.h: New file.
60259         * sysdeps/s390/s390-64/memcpy.S: New asm code.
60260         * sysdeps/s390/s390-64/memset.S: New asm code.
60261         * sysdeps/s390/s390-64/memcmp.S: New asm code.
60262         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
60263         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
60264         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
60265         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
60266         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
60267         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
60268         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
60269         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
60270         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
60271         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
60272         * sysdeps/s390/s390-32/memcpy.S: New asm code.
60273         * sysdeps/s390/s390-32/memset.S: New asm code.
60274         * sysdeps/s390/s390-32/memcmp.S: New asm code.
60276 2012-07-17  Marek Polacek  <polacek@redhat.com>
60278         [BZ #14349]
60279         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
60280         * sysdeps/s390/s390-64/configure.in: Likewise.
60281         * sysdeps/sparc/configure.in: Likewise.
60282         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
60283         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
60284         * sysdeps/i386/configure.in: Likewise.
60285         * sysdeps/x86_64/configure.in: Likewise.
60286         * sysdeps/sh/configure.in: Likewise.
60287         * sysdeps/s390/s390-32/configure: Regenerated.
60288         * sysdeps/s390/s390-64/configure: Likewise.
60289         * sysdeps/x86_64/configure: Likewise.
60290         * sysdeps/sh/configure: Likewise.
60291         * sysdeps/powerpc/powerpc64/configure: Likewise.
60292         * sysdeps/powerpc/powerpc32/configure: Likewise.
60293         * sysdeps/sparc/configure: Likwise.
60294         * sysdeps/i386/configure: Likewise.
60296         * elf/dl-open.c: Comment fixes.
60298 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
60300         * Makefile [CXX] (check-data): Remove.
60301         [CXX] (c++-types.data): New vpath directive.
60302         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60303         vpath.  Do not allow for C++ type data being missing.
60304         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60305         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60306         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60307         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60308         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60309         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60310         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60312         ... here.
60313         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60315         ... here.
60316         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60318         ... here.
60319         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60321         ... here.
60322         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60324         ... here.
60325         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60327         ... here.
60328         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60330         ... here.
60331         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60334         * elf/tls-macros.h (TLS_LE): Move architecture-specific
60335         definitions to architecture-specific files.
60336         (TLS_IE): Likewise.
60337         (TLS_LD): Likewise.
60338         (TLS_GD): Likewise.
60339         * sysdeps/i386/tls-macros.h: New file.
60340         * sysdeps/powerpc/tls-macros.h: Likewise.
60341         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60342         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60343         * sysdeps/sh/tls-macros.h: Likewise.
60344         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60345         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60346         * sysdeps/x86_64/tls-macros.h: Likewise.
60348 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60350         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60351         zero value for regular exit case.
60353         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60354         (__start_context): Preserve zero value for regular exit case.
60356 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60357             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60359         * manual/setjmp.texi (setcontext): Clarify normal process
60360         termination when uc_link is the null pointer.
60361         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60362         exit call.
60364 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
60366         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60367         preprocessor.  Test for each exception mask separately.
60369 2012-07-16  Andreas Jaeger  <aj@suse.de>
60371         * po/ru.po: Update from translation team.
60373 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
60375         * conform/data/string.h-data (NULL): Use macro-constant.  Require
60376         equal to 0.
60377         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60378         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60379         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
60380         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
60381         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60383 2012-07-13  Andreas Jaeger  <aj@suse.de>
60385         * po/fr.po: Update from translation team.
60387 2012-07-12  Marek Polacek  <polacek@redhat.com>
60389         [BZ #14173]
60390         * math/libm-test.inc (yn_test): Add test for BZ #14173.
60391         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
60392         loop condition.
60394 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
60396         [BZ #13717]
60397         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60398         Change to 2.4.1 where previously 2.4.0.
60399         * sysdeps/unix/sysv/linux/configure: Regenerated.
60400         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
60401         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
60402         version.
60403         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
60404         (__ASSUME_AT_CLKTCK): Remove.
60405         (__ASSUME_AT_PAGESIZE): Likewise.
60406         (__ASSUME_AT_XID): Likewise.
60407         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
60408         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
60409         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
60410         unconditionally.
60411         (HAVE_AUX_PAGESIZE): Likewise.
60412         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
60413         [__ASSUME_AT_CLKTCK]: Make code unconditional.
60414         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
60416 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
60418         [BZ #14307]
60419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
60420         the temporary buffer used to invoke __gethostbyname2_r,
60421         __gethostbyaddr_r and gethostbyname4_r to make room for struct
60422         host_data / struct gaih_addrtuple.
60423         * resolv/nss_dns/dns-host.c (global scope): Move definition of
60424         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
60425         header file nss/nsswitch.h.
60426         * nss/nsswitch.h (global scope): Add definition of implementation
60427         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60428         resolv/nss_dns/dns-host.c).
60430 2012-07-11  Andreas Jaeger  <aj@suse.de>
60432         * po/fr.po: Update from translation team.
60434         * po/sv.po: Update from translation team
60435         * po/fr.po: Another update from translation team.
60437 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60439         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
60440         for subnormals or multiply small sinh result by itself.
60441         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60444 2012-07-11  David S. Miller  <davem@davemloft.net>
60446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60448 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
60450         [BZ #14347]
60451         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
60452         (INTERNAL_MARK): Shift it here.
60454 2012-07-10  Marek Polacek  <polacek@redhat.com>
60456         [BZ #14151]
60457         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
60458         libc_cv_asm_global_directive with .globl.
60459         * configure: Regenerated.
60460         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
60461         with .globl.
60462         * sysdeps/i386/configure: Regenerated.
60463         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
60464         with .globl.
60465         * sysdeps/x86_64/configure: Regenerated.
60466         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
60467         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
60468         * elf/tst-unique2mod2.c: Likewise.
60469         * elf/tst-unique2mod1.c: Likewise.
60470         * elf/tst-unique1mod2.c: Likewise.
60471         * elf/tst-unique1mod1.c: Likewise.
60472         * sysdeps/s390/s390-32/sysdep.h: Likewise.
60473         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60474         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60475         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60476         * sysdeps/mach/sysdep.h: Likewise.
60477         * sysdeps/i386/sysdep.h: Likewise.
60478         * sysdeps/i386/i386-mcount.S: Likewise.
60479         * sysdeps/x86_64/_mcount.S: Likewise.
60480         * sysdeps/x86_64/sysdep.h: Likewise.
60481         * sysdeps/sh/_mcount.S: Likewise.
60482         * sysdeps/sh/sysdep.h: Likewise.
60483         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
60484         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
60485         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
60486         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60487         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
60488         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
60489         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
60490         * locale/localeinfo.h: Likewise.
60491         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
60492         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
60494 2012-07-09  Roland McGrath  <roland@hack.frob.com>
60496         [BZ #14336]
60497         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
60498         system".
60499         * manual/message.texi (The Uniforum approach): Likewise.
60500         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
60501         (glibc iconv Implementation): Likewise.
60503 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
60505         [BZ #14337]
60506         * math/s_clog.c (__clog): Avoid scaling a value down where that
60507         could result in underflow.
60508         * math/s_clog10.c (__clog10): Likewise.
60509         * math/s_clog10f.c (__clog10f): Likewise.
60510         * math/s_clog10l.c (__clog10l): Likewise.
60511         * math/s_clogf.c (__clogf): Likewise.
60512         * math/s_clogl.c (__clogl): Likewise.
60513         * math/libm-test.inc (clog_test): Add more tests.
60514         (clog10_test): Likewise.
60515         * sysdeps/i386/fpu/libm-test-ulps: Update.
60516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60518 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
60520         [BZ #14283]
60521         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
60522         by 7 not 8 to examine high bit of fractional part.
60524         [BZ #14042]
60525         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
60526         for call to __mcount_internal.
60527         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
60528         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
60529         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
60531 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
60533         [BZ #14154]
60534         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
60535         approximation for values within 0x1p-13f of an odd multiple of
60536         pi/4.
60537         * math/libm-test.inc (tan_test): Do not allow spurious underflow
60538         exception.  Add more tests.
60539         * sysdeps/i386/fpu/libm-test-ulps: Update.
60541         [BZ #6778]
60542         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
60543         inputs and return -1 for them.  Do not check for +Inf in case not
60544         reachable for +Inf.
60545         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
60546         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
60547         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60548         and return -1 for them.  Do not check for +Inf in case not
60549         reachable for +Inf.
60550         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
60551         define.
60552         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60553         and return -1 for them.  Do not check for +Inf in case not
60554         reachable for +Inf.
60555         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
60556         spurious underflow.
60557         * sysdeps/i386/fpu/libm-test-ulps: Update.
60558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60560 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
60562         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
60564 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
60566         [BZ #14157]
60567         [BZ #14331]
60568         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
60569         could result in spurious underflow.  Scale down values above
60570         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
60571         * math/s_csqrtf.c (__csqrtf): Likewise.
60572         * math/s_csqrtl.c (__csqrtl): Likewise.
60573         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
60574         spurious underflow.
60575         * sysdeps/i386/fpu/libm-test-ulps: Update.
60576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60578 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
60580         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
60581         xopen-msg.sed.
60582         * catgets/xopen-msg.awk: New file.
60583         * catgets/xopen-msg.sed: Removed.
60585         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
60586         po2text.sed.
60587         * intl/po2test.awk: New file.
60588         * intl/po2test.sed: Removed.
60590 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
60592         [BZ #14328]
60593         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
60594         or multiply small sinh result by itself.
60595         * math/s_ctanf.c (__ctanf): Likewise.
60596         * math/s_ctanh.c (__ctanh): Likewise.
60597         * math/s_ctanhf.c (__ctanhf): Likewise.
60598         * math/s_ctanhl.c (__ctanhl): Likewise.
60599         * math/s_ctanl.c (__ctanl): Likewise.
60600         * math/libm-test.inc (ctan_test_tonearest): New function.
60601         (ctan_test_towardzero): Likewise.
60602         (ctan_test_downward): Likewise.
60603         (ctan_test_upward): Likewise.
60604         (ctanh_test_tonearest): Likewise.
60605         (ctanh_test_towardzero): Likewise.
60606         (ctanh_test_downward): Likewise.
60607         (ctanh_test_upward): Likewise.
60608         (main): Call these new functions.
60609         * sysdeps/i386/fpu/libm-test-ulps: Update.
60610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60612 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
60614         * .gitignore: Delete /ports entry.
60616 2012-07-03  Andreas Jaeger  <aj@suse.de>
60618         * po/bg.po: Update from translation team.
60619         * po/cs.po: Likewise.
60620         * po/de.po: Likewise.
60621         * po/hr.po: Likewise.
60622         * po/nl.pl: Likewise.
60623         * po/pl.po: Likewise.
60624         * po/vi.po: Likewise.
60626 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
60628         * Makeconfig [!+link] (+link-before-libc): New variable.
60629         [!+link] (+link-after-libc): Likewise.
60630         [!+link] (+link-tests): Likewise.
60631         [!+link] (+link): Define in terms of $(+link-before-libc) and
60632         $(+link-after-libc).
60633         [!+link-static] (+link-static-before-libc): New variable.
60634         [!+link-static] (+link-static-after-libc): Likewise.
60635         [!+link-static] (+link-static-tests): Likewise.
60636         [!+link-static] (+link-static): Define in terms of
60637         $(+link-static-before-libc) and $(+link-static-after-libc).
60638         [build-shared] (link-libc-before-gnulib): New variable.
60639         [build-shared] (link-libc-tests): Likewise.
60640         [build-shared] (link-libc): Define in terms of
60641         $(link-libc-before-gnulib).
60642         [!build-shared] (link-libc-tests): New variable.
60643         (link-libc-static-tests): New variable.
60644         [!gnulib] (gnulib-arch): New variable.
60645         [!gnulib] (gnulib-tests): Likewise.
60646         [!gnulib] (static-gnulib-arch): Likewise.
60647         [!gnulib] (static-gnulib-tests): Likewise.
60648         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
60649         Define with "=" instead of ":=".
60650         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
60651         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
60652         * Rules (binaries-all-notests): New variable.
60653         (binaries-all-tests): Likewise.
60654         (binaries-static-notests): Likewise.
60655         (binaries-static-tests): Likewise.
60656         (binaries-all): Define using $(binaries-all-notests) and
60657         $(binaries-all-tests).
60658         (binaries-static): Define using $(binaries-static-notests) and
60659         $(binaries-static-tests).
60660         (binaries-shared-tests): New variable.
60661         (binaries-shared-notests): Likewise.
60662         (binaries-shared): Remove variable.
60663         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
60664         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
60665         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
60666         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
60667         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
60668         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
60669         * elf/Makefile (sln-modules): New variable.
60670         (extra-objs): Add $(sln-modules:=.o).
60671         (ldconfig-modules): Add static-stubs.
60672         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
60673         * elf/static-stubs.c: New file.
60675         [BZ #14283]
60676         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
60677         by 7 not 8 to examine high bit of fractional part.  Use volatile
60678         variables when splitting into final array of floats if
60679         __FLT_EVAL_METHOD__ != 0.
60680         * math/libm-test.inc (cos_test): Add another test.
60681         (sin_test): Likewise.
60682         * sysdeps/i386/fpu/libm-test-ulps: Update.
60684         [BZ #14273]
60685         * math/libm-test.inc (cosh_test): Add more tests.
60687         * version.h (RELEASE): Set to "development".
60688         (VERSION): Set to "2.16.90".
60690 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
60692         * NEWS: Update copyright. Remove last-updated date.
60693         Mention math library bug fixes and timezone data changes.
60694         * README: Mention GNU/Hurd, x32, and HPPA support status.
60696 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
60698         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
60700 2012-06-27  Andreas Jaeger  <aj@suse.de>
60702         * manual/contrib.texi (Contributors): Add Samuel Thibault.
60704 2012-06-25  Andreas Jaeger  <aj@suse.de>
60706         * sysdeps/s390/fpu/libm-test-ulps: Update.
60708 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
60709             Thomas Schwinge  <thomas@codesourcery.com>
60711         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
60712         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
60713         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
60714         fanotify_mark.
60716 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
60718         * sysdeps/mach/start.c: Remove file.
60719         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
60720         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
60721         * sysdeps/sh/init-first.c: Likewise.
60723         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
60724         registers for frame unwinding purposes, add CFI directives.
60725         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60726         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
60727         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
60728         Likewise.
60730         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
60731         __fortify_fail returning.
60732         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60734         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
60735         sysdeps/sh/____longjmp_chk.S.
60736         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
60737         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
60738         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
60739         (gen-as-const-headers): Append sigaltstack-offsets.sym.
60741         * sysdeps/sh/abort-instr.h: New file.
60742         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
60743         process in case exit returns.
60745         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
60746         initialize the GOT register before use.
60748         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
60749         calculation of ARGC > 4.
60751         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
60752         meaningful names to some local labels.
60754 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60755             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60757         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
60758         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
60759         (__arch_compare_and_exchange_val_16_acq): Likewise.
60760         (__arch_compare_and_exchange_val_32_acq): Likewise.
60761         (atomic_exchange_and_add): Fix gUSA sequence.
60762         (atomic_add): Likewise.
60763         (atomic_add_negative): Likewise.
60764         (atomic_add_zero): Likewise.
60765         (atomic_bit_test_set): Likewise.
60767 2012-06-22  Andreas Schwab  <schwab@redhat.com>
60769         [BZ #13579]
60770         * include/link.h (struct link_map): Add l_free_initfini.
60771         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
60772         l_initfini.
60773         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
60774         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
60775         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
60776         set.
60778 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
60780         * configure.in: Use AC_LANG_SOURCE.
60781         * configure: Regenerate.
60783 2012-06-22  Roland McGrath  <roland@hack.frob.com>
60785         * configure.in (libc_cv_localstatedir): New substituted variable.
60786         * configure: Regenerated.
60787         * config.make.in (localstatedir): New variable, substituted from
60788         libc_cv_localstatedir.
60789         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
60790         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
60791         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
60792         * sysdeps/gnu/configure: Regenerated.
60794 2012-06-21  Jeff Law  <law@redhat.com>
60796         [BZ #14277]
60797         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
60798         free.  Simplify list management for _LIBC case.
60800 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
60802         [BZ #14273]
60803         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
60804         Clear sign bit of 64-bit integer value before comparing against
60805         overflow value.
60807         * sysdeps/mach/configure: Regenerated.
60809 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
60811         [BZ #14278]
60812         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
60814 2012-06-21  Jeff Law  <law@redhat.com>
60816         [BZ #13882]
60817         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
60818         uint16_t for elements in the "seen" array to avoid char overflows.
60819         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60820         * elf/dl-open.c (dl_open_worker): Likewise.
60822 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
60824         * scripts/list-sources.sh: Scan PORTS for translations.
60825         * po/libc.pot: Regenerated.
60827 2012-06-21  Andreas Jaeger  <aj@suse.de>
60829         [BZ #12194]
60830         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
60831         warning.
60832         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
60833         * bits/byteswap-16.h (__bswap_16): Likewise.
60834         * bits/byteswap.h (__bswap_constant_16): Likewise.
60836 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
60838         [BZ #14117]
60839         * sysdeps/i386/fpu_control.h: Removed.
60840         * sysdeps/x86_64/fpu_control.h: Moved to ...
60841         * sysdeps/x86/fpu_control.h: Here.
60843         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
60844         (_FPU_SETCW): Likewise.
60846 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
60848         [BZ #14117]
60849         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
60850         * sysdeps/x86/fpu/bits/mathinline.h: This.
60851         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
60853         [BZ #14050]
60854         [BZ #14117]
60855         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
60856         functions if __x86_64__ is defined.
60858 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
60860         * string/endian.h: Add !__ASSEMBLER__ condition for including
60861         conversion interfaces.
60863 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
60865         [BZ #14241]
60866         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
60867         of ABS(x) in calculating zero to negative powers other than odd
60868         integers.
60869         * math/libm-test.inc (pow_test): Add more tests.
60871 2012-06-15  Andreas Jaeger  <aj@suse.de>
60873         * manual/contrib.texi (Contributors): Update entry of Liubov
60874         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
60875         Machado Filho.
60877 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
60879         * string/string.h: Add __wur to GNU version of strerror_r.
60881 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
60883         [BZ #14229]
60884         * string/Makefile (tests): Add tst-strtok_r.
60885         * string/tst-strtok_r.c: New file.
60886         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
60887         RAX_LP/RDX_LP on SAVE_PTR.
60889 2012-06-14  Roland McGrath  <roland@hack.frob.com>
60891         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
60893 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
60895         * libm_test.inc (csqrt_test): Allow more spurious underflow
60896         exceptions.
60897         (j0_test): Likewise.
60898         (j1_test): Likewise.
60899         (y0_test): Likewise.
60900         (y1_test): Likewise.
60902 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
60904         * po/Makefile (libc.pot): Use UTF-8 charset.
60906 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
60908         [BZ #14210]
60909         Suppress sign-conversion warning from FD_SET.
60910         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
60911         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
60912         not unsigned long int.
60913         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
60915 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
60917         [BZ #14050]
60918         [BZ #14117]
60919         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
60920         __extern_always_inline instead of __extern_inline.
60921         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
60922         (__signbit): Likewise.
60923         (__signbitl): Support C++ namespace.
60924         (lrintf): New inline function.
60925         (lrint): Likewise.
60926         (llrintf): Likewise.
60927         (llrint): Likewise.
60928         (fmaxf): Likewise.
60929         (fmax): Likewise.
60930         (fminf): Likewise.
60931         (fmin): Likewise.
60932         (rint): Likewise.
60933         (rintf): Likewise.
60934         (ceil): Likewise.
60935         (ceilf): Likewise.
60936         (floor): Likewise.
60937         (floorf): Likewise.
60938         (nearbyint): Likewise.
60939         (nearbyintf): Likewise.
60941 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
60943         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
60944         non-default versions.
60946 2012-06-11  Roland McGrath  <roland@hack.frob.com>
60948         [BZ #14218]
60949         * manual/argp.texi (Argp): Reword argp_parse description slightly.
60951 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
60953         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
60954         (FE_UPWARD, FE_DOWNWARD): Don't define.
60955         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
60956         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60958         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
60959         reading it.
60960         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60961         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60963 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60965         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60966         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
60967         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
60968         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
60970 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
60972         [BZ #14117]
60973         * sysdeps/i386/fpu/bits/fenv.h: Removed.
60974         * sysdeps/i386/fpu/Implies: New file.
60975         * sysdeps/x86_64/fpu/Implies: Likewise.
60976         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
60977         * sysdeps/x86/fpu/bits/fenv.h: This.
60979         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
60980         __SSE_MATH__.
60982 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60984         [BZ #14134]
60985         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
60986         character 0xffff that matches the last element of the
60987         conversion table.
60989 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60991         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
60992         fmodl commit.
60994 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60996         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
60997         values higher than 25.6283.
60999 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61001         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
61002         subnormal exponent extraction and add some __builtin_expect.
61003         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
61004         Fix for subnormal mantissa calculation.
61006 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
61008         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
61009         cpu2 is -1 and errno is not ENOSYS.
61011 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
61013         [BZ #14117]
61014         * sysdeps/i386/i486/bits/string.h: Renamed to ...
61015         * sysdeps/x86/bits/string.h: This.
61016         * sysdeps/x86_64/bits/string.h: Removed.
61018         * sysdeps/i386/i486/bits/string.h: Define inline functions only
61019         if not compiling for x86-64, but compiling for >= i486.
61021         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
61022         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
61024         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
61025         New macro from Linux kernel 3.4.0.
61026         (FP_XSTATE_MAGIC2): Likewise.
61027         (FP_XSTATE_MAGIC2_SIZE): Likewise.
61028         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
61029         (struct _fpx_sw_bytes): New struct.
61030         (struct _xsave_hdr): Likewise.
61031         (struct _ymmh_state): Likewise.
61032         (struct _xstate): Likewise.
61034         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
61035         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61036         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
61037         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
61038         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
61039         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
61041         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
61042         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
61043         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
61044         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
61045         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
61046         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
61048 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61050         [BZ #13743]
61051         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
61052         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
61053         (sysdep_headers): Include sys/platform/ppc.h.
61054         * sysdeps/powerpc/test-gettimebase.c: Test for
61055         __ppc_get_timebase() to catch future ISA opcode/insn changes.
61056         * manual/Makefile (appendices): Include platform.texi.
61057         * manual/contrib.texi (Contributors): Update @node pointers.
61058         * manual/maint.texi (Maintenance): Likewise.
61059         (Platform): New node.
61060         * manual/platform.texi: New file.  Document the new features.
61062 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61063             Jakub Jelinek  <jakub@redhat.com>
61065         [BZ #14188]
61066         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
61067         where __builtin_expect is unavailable.
61069 2012-06-03  David S. Miller  <davem@davemloft.net>
61071         * stdlib/longlong.h: Updated from GCC.
61073 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
61075         [BZ #14042]
61076         * sysdeps/powerpc/powerpc32/mcount.c: New file.
61077         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
61078         __mcount_internal.
61079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61080         (GLIBC_2.16): Likewise.
61082 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61084         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
61086 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
61089         (default-abi): New variable.
61090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
61091         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
61092         variable.
61093         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
61094         Likewise.
61095         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
61096         Likewise.
61097         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
61098         Likewise.
61100         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
61101         definition.  Document in comment.
61103 2012-06-01  David S. Miller  <davem@davemloft.net>
61105         * stdlib/longlong.h: Updated from GCC.
61107 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61109         [BZ #14117]
61110         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
61111         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
61112         sys/debugreg.h sys/io.h here.
61113         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
61114         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
61115         sys/io.h.
61116         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
61117         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
61118         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
61119         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
61120         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
61121         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61123         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
61124         Define only if __x86_64__ is defined.
61126 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61128         [BZ #14048]
61129         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
61130         Use int64_t for variable i.
61131         * math/libm-test.inc (fmod_test): Add more tests.
61133         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
61134         z computation is not scheduled after fetestexcept.
61135         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
61136         Use math_force_eval instead of asm to ensure calculation scheduled
61137         before exception test.
61138         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
61139         Ensure a1 + u.d computation is not scheduled after fetestexcept.
61141 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
61143         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
61144         computation is not scheduled after fetestexcept.
61146 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61148         [BZ #14117]
61149         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
61150         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
61152 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61154         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
61155         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61157 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61159         [BZ #14117]
61160         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
61161         <bits/wordsize.h>.
61162         (__WCHAR_MIN): Support __WORDSIZE == 64.
61163         (__WCHAR_MAX): Likewise.
61165         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
61166         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
61168         [BZ #14183]
61169         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
61170         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
61172         [BZ #14117]
61173         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
61174         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
61176         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
61177         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61179         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61180         Defined to 1 if __x86_64__ isn't defined.
61181         (_STAT_VER_LINUX_OLD): New.
61182         (st_atime): Remove duplicate.
61183         (st_mtime): Likewise.
61184         (st_ctime): Likewise.
61186 2012-05-31  David S. Miller  <davem@davemloft.net>
61188         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61189         entries.
61191 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
61193         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61194         gen-libm-test.pl.
61196         [BZ #14132]
61197         * elf/dl-reloc.c: Include <_itoa.h>.
61198         (_dl_reloc_bad_type): Remove use of INTUSE.
61199         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61200         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61201         * stdio-common/psiginfo.c (psiginfo): Likewise.
61202         * stdio-common/psignal.c (psignal): Likewise.
61203         * string/strsignal.c (strsignal): Likewise.
61204         * include/signal.h (_sys_siglist): Declare hidden proto.
61205         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
61206         INTVARDEF with libc_hidden_data_def.
61207         * stdio-common/itoa-udigits.c: Likewise.
61208         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61209         (_itoa_lower_digits_internal): Remove declaration.
61210         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61211         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61212         (_sys_sigabbrev_internal): Remove aliases.
61213         (_sys_siglist): Define hidden alias.
61215 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
61217         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61218         bits/sysctl.h.
61220 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61222         [BZ #14117]
61223         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
61224         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
61226         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
61227         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
61228         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
61229         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
61230         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
61231         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
61233         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
61234         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
61235         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61237         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
61238         with __addr.
61239         (insw): Likewise.
61240         (insl): Likewise.
61241         (outsb): Likewise.
61242         (outsw): Likewise.
61243         (outsl): Likewise.
61245         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61246         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
61247         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
61249         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
61250         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
61251         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
61252         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
61253         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
61254         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
61256         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
61257         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
61259         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
61260         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
61262         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
61263         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
61264         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
61266         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
61267         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
61268         to ...
61269         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
61271         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
61272         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
61273         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
61275         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
61276         for x86-64.
61277         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
61279 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
61281         * math/math.h (M_El): Use two more decimal places.
61282         (M_LOG2El): Likewise.
61283         (M_LOG10El): Likewise.
61284         (M_LN2l): Likewise.
61285         (M_LN10l): Likewise.
61286         (M_PIl): Likewise.
61287         (M_PI_2l): Likewise.
61288         (M_PI_4l): Likewise.
61289         (M_1_PIl): Likewise.
61290         (M_2_PIl): Likewise.
61291         (M_2_SQRTPIl): Likewise.
61292         (M_SQRT2l): Likewise.
61293         (M_SQRT1_2l): Likewise.
61295 2012-05-31  David S. Miller  <davem@davemloft.net>
61297         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61298         values between float registers.
61299         * sysdeps/sparc/sparc64/memset.S: Likewise.
61300         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61302 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
61304         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61305         -D_FORTIFY_SOURCE=1.
61306         (CPPFLAGS-tst-longjmp_chk.c): Define.
61307         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61308         (CPPFLAGS-tst-longjmp_chk2.c): Define.
61309         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61310         CFLAGS-tst-wchar-h.c.
61312 2012-05-31  Marek Polacek  <polacek@redhat.com>
61314         [BZ #14132]
61315         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61316         __endmntent_internal): Remove declaration.
61317         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61318         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61319         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61321 2012-05-30  David S. Miller  <davem@davemloft.net>
61323         * sysdeps/sparc/sparc32/soft-fp/q_util.c
61324         (___Q_simulate_exceptions): Use real FP ops rather than writing
61325         into the %fsr.
61326         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61327         Likewise.
61329 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61331         [BZ #14117]
61332         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61333         * sysdeps/x86/bits/xtitypes.h: This.
61335         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61336         * sysdeps/x86/bits/wordsize.h: This.
61338         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61339         * sysdeps/x86/bits/huge_vall.h: This.
61341         * sysdeps/i386/bits/select.h: Removed.
61342         * sysdeps/x86_64/bits/select.h: Renamed to ...
61343         * sysdeps/x86/bits/select.h: This.
61345         * sysdeps/i386/bits/setjmp.h: Removed.
61346         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61347         * sysdeps/x86/bits/setjmp.h: This.
61349         * sysdeps/i386/bits/mathdef.h: Removed.
61350         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61351         * sysdeps/x86/bits/mathdef.h: This.
61353 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
61355         [BZ #14132]
61356         * include/sys/socket.h (__connect_internal)
61357         (__libc_sa_len_internal): Remove declaration.
61358         (__connect, __libc_sa_len): Declare hidden_proto.
61359         (SA_LEN): Remove use of INTUSE.
61360         * socket/connect.c: Add libc_hidden_def.
61361         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61362         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61363         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61364         alias.
61365         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61366         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61367         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61368         of adding _internal alias.
61370 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61372         [BZ #14117]
61373         * sysdeps/i386/bits/link.h: Removed.
61374         * sysdeps/i386/bits/linkmap.h: Likewise.
61375         * sysdeps/x86_64/bits/link.h: Renamed to ...
61376         * sysdeps/x86/bits/link.h: This.
61377         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
61378         * sysdeps/x86/bits/linkmap.h: This.
61380         * sysdeps/i386/bits/endian.h: Removed.
61381         * sysdeps/x86_64/bits/endian.h: Renamed to ...
61382         * sysdeps/x86/bits/endian.h: This.
61384         * sysdeps/i386/bits/byteswap.h: Removed.
61385         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61386         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
61387         * sysdeps/x86/bits/byteswap.h: This.
61388         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
61389         * sysdeps/x86/bits/byteswap-16.h: This.
61390         * sysdeps/i386/Implies: Add x86.
61391         * sysdeps/x86_64/Implies: Likewise.
61393 2012-05-30  David S. Miller  <davem@davemloft.net>
61395         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
61396         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
61397         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61398         (FP_TRAPPING_EXCEPTIONS): Define.
61399         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
61400         (FP_TRAPPING_EXCEPTIONS): Define.
61401         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61402         subnormals only when inexact has been signalled or underflow
61403         exceptions are enabled.
61404         (_FP_PACK_CANONICAL): Likewise.
61406 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61408         [BZ #14183]
61409         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
61410         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
61412 2012-05-30  Richard Henderson  <rth@twiddle.net>
61414         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
61415         with #ifndef NOT_IN_libc.
61417         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
61418         marked to avoid plt entry.
61420 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61422         [BZ #14112]
61423         * Makeconfig (default-abi): New macro.
61424         (abi-includes): Likewise.
61425         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
61426         $(abi-$(default-abi)-lib-soname) for soname if defined.
61427         ($(common-objpfx)gnu/lib-names.stmp): Generate from
61428         abi-variants.
61429         * Makefile (installed-stubs): Likewise.
61430         * include/stubs-biarch.h: Removed.
61431         * scripts/lib-names.awk: Only handle one library at a time.
61432         * scripts/soversions.awk: Remove WORDSIZE support.
61433         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
61434         entries.
61435         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
61436         Removed.
61437         (syscall-list-default-condition): Likewise.
61438         (syscall-list-default-condition): Likewise.
61439         (syscall-list-includes): Likewise.
61440         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
61441         syscall-list-* with abi-*.  Handle undefined abi-variants.
61442         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
61443         * sysdeps/unix/sysv/linux/i386/Implies: New file.
61444         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
61445         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
61446         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
61447         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
61448         Removed.
61449         (syscall-list-32-options): Likewise.
61450         (syscall-list-32-condition): Likewise.
61451         (syscall-list-64-options): Likewise.
61452         (syscall-list-64-condition): Likewise.
61453         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
61454         macro.
61455         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
61456         Renamed to ...
61457         (abi-*): This.
61458         (abi-64-ld-soname): New macro.
61459         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
61460         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
61461         Renamed to ...
61462         (abi-*): This.
61463         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
61464         * sysdeps/x86_64/x32/shlib-versions: Likewise.
61466 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
61468         * sysdeps/unix/sysv/linux/kernel-features.h
61469         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
61470         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
61471         include <kernel-features.h>.
61472         [!__NR_ftruncate64]: Remove conditional code.
61473         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61474         [__NR_ftruncate64]: Make code unconditional.
61475         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61476         * sysdeps/unix/sysv/linux/truncate64.c: Do not
61477         include <kernel-features.h>.
61478         [!__NR_ftruncate64]: Remove conditional code.
61479         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61480         [__NR_ftruncate64]: Make code unconditional.
61481         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
61483         include <kernel-features.h>.
61484         [!__NR_ftruncate64]: Remove conditional code.
61485         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61486         [__NR_ftruncate64]: Make code unconditional.
61487         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61489         include <kernel-features.h>.
61490         [!__NR_ftruncate64]: Remove conditional code.
61491         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61492         [__NR_ftruncate64]: Make code unconditional.
61493         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61495         * configure.in (libc_cv_fpie): Weaken to a compile test using
61496         LIBC_TRY_CC_OPTION.
61497         * configure: Regenerated.
61499 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
61502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
61503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
61504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61505         Refreshed.
61506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
61507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
61508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
61509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
61510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
61511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61512         Refreshed.
61514 2012-05-27  David S. Miller  <davem@davemloft.net>
61516         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
61517         (___Q_zero): New.
61518         (__Q_simulate_exceptions): Return void.  Change to simulate
61519         exceptions by writing into the %fsr.
61520         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
61521         (__Qp_handle_exceptions): Likewise.
61522         (numbers): Delete.
61523         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
61524         __Qp_handle_exceptions.
61525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
61526         __Qp_handle_exceptions.
61527         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61528         as unused and give dummy FP_RND_NEAREST initializer.
61529         (FP_INHIBIT_RESULTS): Define.
61530         (___Q_simulate_exceptions): Update declaration.
61531         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
61532         formatting.
61533         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61534         as unused and give dummy FP_RND_NEAREST initializer.
61535         (__Qp_handle_exceptions): Update declaration.
61536         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
61537         formatting.
61539 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
61541         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
61542         the temporary FPU control word.
61543         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
61544         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
61545         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
61546         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61547         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61548         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
61549         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
61550         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61551         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
61552         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
61553         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61555 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61557         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
61558         fields.
61560 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
61562         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
61563         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
61564         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
61565         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
61566         Likewise.
61567         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
61568         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
61569         Likewise.
61571 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
61573         * po/h.po: Update from translation team.
61575 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
61577         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
61579         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
61580         handling of denormals.
61581         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61582         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
61583         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61584         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61585         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61586         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
61587         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
61588         Likewise.
61590 2012-05-26  Marek Polacek  <polacek@redhat.com>
61592         [BZ #14152]
61593         * math/libm-test.inc (fma_test): Don't always expect underflow
61594         exception.
61596 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61598         [BZ #12416]
61599         * elf/tst-execstack.c: Include stackinfo.h.
61600         (do_test): Adjust test case to ensure that pthread_getattr_np
61601         behaviour remains the same after marking stack executable.
61603 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61605         * sysdeps/unix/sysv/linux/kernel-features.h
61606         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
61607         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
61608         kernel-features.h.
61609         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61610         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61611         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
61612         kernel-features.h.
61613         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61614         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61616 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
61618         * configure.in: Define the default includes to being none.
61619         * configure: Regenerated.
61621 2012-05-25  Roland McGrath  <roland@hack.frob.com>
61623         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
61624         * sysdeps/x86_64/setjmp.S: Likewise.
61625         * sysdeps/i386/bsd-setjmp.S: Likewise.
61626         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61627         * sysdeps/i386/setjmp.S: Likewise.
61628         * sysdeps/i386/__longjmp.S: Likewise.
61629         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61630         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
61632         * include/stap-probe.h: New file.
61633         * configure.in: Handle --enable-systemtap.
61634         * configure: Regenerated.
61635         * config.h.in (USE_STAP_PROBE): New #undef.
61636         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
61637         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
61638         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
61640 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61642         [BZ #13717]
61643         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61644         to 2.4.0 where earlier.
61645         * sysdeps/unix/sysv/linux/configure: Regenerated.
61646         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61647         <kernel-features.h>.
61648         [__ASSUME_32BITUIDS]: Make code unconditional.
61649         [!__ASSUME_32BITUIDS]: Remove conditional code.
61650         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
61651         <kernel-features.h>.
61652         [__ASSUME_32BITUIDS]: Make code unconditional.
61653         [!__ASSUME_32BITUIDS]: Remove conditional code.
61654         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
61655         [__ASSUME_32BITUIDS]: Make code unconditional.
61656         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
61657         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.c: Do not include
61666         <kernel-features.h>.
61667         [__ASSUME_32BITUIDS]: Make code unconditional.
61668         [!__ASSUME_32BITUIDS]: Remove conditional code.
61669         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
61670         <kernel-features.h>.
61671         [__ASSUME_32BITUIDS]: Make code unconditional.
61672         [!__ASSUME_32BITUIDS]: Remove conditional code.
61673         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61674         <kernel-features.h>.
61675         [__ASSUME_32BITUIDS]: Make code unconditional.
61676         [!__ASSUME_32BITUIDS]: Remove conditional code.
61677         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61678         <kernel-features.h>.
61679         [__ASSUME_32BITUIDS]: Make code unconditional.
61680         [!__ASSUME_32BITUIDS]: Remove conditional code.
61681         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
61682         <kernel-features.h>.
61683         [__ASSUME_32BITUIDS]: Make code unconditional.
61684         [!__ASSUME_32BITUIDS]: Remove conditional code.
61685         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61686         <kernel-features.h>.
61687         [__ASSUME_32BITUIDS]: Make code unconditional.
61688         [!__ASSUME_32BITUIDS]: Remove conditional code.
61689         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61690         <kernel-features.h>.
61691         [__ASSUME_32BITUIDS]: Make code unconditional.
61692         [!__ASSUME_32BITUIDS]: Remove conditional code.
61693         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
61694         <kernel-features.h>.
61695         [__ASSUME_32BITUIDS]: Make code unconditional.
61696         [!__ASSUME_32BITUIDS]: Remove conditional code.
61697         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
61698         <kernel-features.h>.
61699         [__NR_setresgid] (__setresgid): Do not declare.
61700         [__ASSUME_32BITUIDS]: Make code unconditional.
61701         [!__ASSUME_32BITUIDS]: Remove conditional code.
61702         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
61703         <kernel-features.h>.
61704         [__NR_setresuid] (__setresuid): Do not declare.
61705         [__ASSUME_32BITUIDS]: Make code unconditional.
61706         [!__ASSUME_32BITUIDS]: Remove conditional code.
61707         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/i386/setgid.c: Do not include
61716         <kernel-features.h>.
61717         [__ASSUME_32BITUIDS]: Make code unconditional.
61718         [!__ASSUME_32BITUIDS]: Remove conditional code.
61719         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
61720         <kernel-features.h>.
61721         [__ASSUME_32BITUIDS]: Make code unconditional.
61722         [!__ASSUME_32BITUIDS]: Remove conditional code.
61723         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
61724         <kernel-features.h>.
61725         [__ASSUME_32BITUIDS]: Make code unconditional.
61726         [!__ASSUME_32BITUIDS]: Remove conditional code.
61727         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
61728         <kernel-features.h>.
61729         [__ASSUME_32BITUIDS]: Make code unconditional.
61730         [!__ASSUME_32BITUIDS]: Remove conditional code.
61731         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
61732         <kernel-features.h>.
61733         [__ASSUME_32BITUIDS]: Make code unconditional.
61734         [!__ASSUME_32BITUIDS]: Remove conditional code.
61735         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
61736         <kernel-features.h>.
61737         [__ASSUME_32BITUIDS]: Make code unconditional.
61738         [!__ASSUME_32BITUIDS]: Remove conditional code.
61739         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
61740         <kernel-features.h>.
61741         [__ASSUME_32BITUIDS]: Make code unconditional.
61742         [!__ASSUME_32BITUIDS]: Remove conditional code.
61743         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61744         <kernel-features.h>.
61745         [__ASSUME_32BITUIDS]: Make code unconditional.
61746         [!__ASSUME_32BITUIDS]: Remove conditional code.
61747         * sysdeps/unix/sysv/linux/kernel-features.h
61748         (__ASSUME_SETRESUID_SYSCALL): Remove.
61749         (__ASSUME_SETRESGID_SYSCALL): Likewise.
61750         (__ASSUME_32BITUIDS): Likewise.
61751         (__ASSUME_LDT_WORKS): Likewise.
61752         (__ASSUME_O_DIRECTORY): Likewise.
61753         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
61754         architecture but not kernel version.
61755         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
61756         (__ASSUME_MMAP2_SYSCALL): Likewise.
61757         (__ASSUME_STAT64_SYSCALL): Likewise.
61758         (__ASSUME_IPC64): Likewise.
61759         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
61760         <kernel-features.h>.
61761         [__ASSUME_32BITUIDS]: Make code unconditional.
61762         [!__ASSUME_32BITUIDS]: Remove conditional code.
61763         * sysdeps/unix/sysv/linux/opendir.c: Do not include
61764         <kernel-features.h>.
61765         [__ASSUME_O_DIRECTORY]: Make code unconditional.
61766         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
61767         132096]: Remove conditional code.
61768         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
61769         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61770         <kernel-features.h>.
61771         [__ASSUME_32BITUIDS]: Make code unconditional.
61772         [!__ASSUME_32BITUIDS]: Remove conditional code.
61773         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61774         <kernel-features.h>.
61775         [__ASSUME_32BITUIDS]: Make code unconditional.
61776         [!__ASSUME_32BITUIDS]: Remove conditional code.
61777         * sysdeps/unix/sysv/linux/setegid.c: Do not include
61778         <kernel-features.h>.
61779         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
61780         unconditional.
61781         (__setresgid): Do not declare.
61782         [__ASSUME_32BITUIDS]: Make code unconditional.
61783         [!__ASSUME_32BITUIDS]: Remove conditional code.
61784         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
61785         <kernel-features.h>.
61786         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
61787         unconditional.
61788         (__setresuid): Do not declare.
61789         [__ASSUME_32BITUIDS]: Make code unconditional.
61790         [!__ASSUME_32BITUIDS]: Remove conditional code.
61791         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61792         <kernel-features.h>.
61793         [__ASSUME_32BITUIDS]: Make code unconditional.
61794         [!__ASSUME_32BITUIDS]: Remove conditional code.
61795         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
61796         <kernel-features.h>.
61797         [__ASSUME_32BITUIDS]: Make code unconditional.
61798         [!__ASSUME_32BITUIDS]: Remove conditional code.
61800 2012-05-25  Richard Henderson  <rth@twiddle.net>
61802         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
61803         dl_hwcap to ifunc resolver.
61804         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
61805         elf_ifunc_invoke.
61806         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
61807         dl_hwcap to ifunc resolver.
61808         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
61810 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61812         [BZ #14153]
61813         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
61814         for |x| <= 2**-26, not 2**-57.
61815         * math/libm-test.inc (acos_test): Do not allow spurious underflow
61816         exception.
61818 2012-05-24  Jeff Law  <law@redhat.com>
61820         * stdio-common/Makefile (tests): Add bug25.
61821         * stdio-common/bug25.c: New test.
61823 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61825         [BZ #13576]
61826         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
61827         multiple of MALLOC_ALIGNMENT in size.
61828         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
61830 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61832         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
61833         Require >= 256.
61834         (FILENAME_MAX): Use macro-int-constant.
61835         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
61836         (_IOFBF): Use macro-int-constant.
61837         (_IOLBF): Likewise.
61838         (_IONBF): Likewise.
61839         (SEEK_CUR): Likewise.
61840         (SEEK_END): Likewise.
61841         (SEEK_SET): Likewise.
61842         (TMP_MAX): Likewise.
61843         (EOF): Use macro-int-constant.  Require < 0.
61844         (NULL): Use macro-constant.  Require == 0.
61845         (stdin): Require type to be FILE *.
61846         (stdout): Likewise.
61847         (stderr): Likewise.
61848         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
61849         macro-int-constant.
61850         (EXIT_SUCCESS): Likewise.
61851         (NULL): Use macro-constant.  Require == 0.
61852         (RAND_MAX): Use macro-int-constant.
61853         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
61854         [C99-based standards] (strtof): Require function.
61855         [C99-based standards] (strtold): Likewise.
61856         [C99-based standards] (strtoll): Likewise.
61857         [C99-based standards] (strtoull): Likewise.
61858         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61859         [ISO || ISO99 || ISO11] (limits.h): Likewise.
61860         [ISO || ISO99 || ISO11] (math.h): Likewise.
61861         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
61862         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61863         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61865 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
61867         [BZ #14132]
61868         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
61869         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
61870         * intl/dgettext.c (DCGETTEXT): Likewise.
61871         * intl/gettext.c (DCGETTEXT): Likewise.
61872         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
61873         * posix/regex_internal.h (gettext): Likewise.
61874         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
61875         Remove declaration.
61876         * include/argz.h (__argz_count_internal)
61877         (__argz_stringify_internal): Remove declaration.
61878         (__argz_count, __argz_stringify): Declare hidden proto.
61879         * intl/dcgettext.c: Remove use of INTDEF.
61880         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
61881         * string/argz-stringify.c: Likewise.
61882         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61883         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61884         Declare hidden proto.
61885         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61886         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61887         Declare hidden proto.
61888         * include/stdio.h (__asprintf_internal): Don't declare.
61889         (__asprintf): Don't define as macro.  Declare hidden proto.
61890         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
61891         (__fsetlocking): Declare hidden proto.
61892         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
61893         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
61894         hidden proto.
61895         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
61896         (_IO_setlinebuf): Remove use of INTUSE.
61897         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
61898         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
61899         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
61900         Remove declaration.
61901         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
61902         (_IO_do_flush): Remove use of INTUSE.
61903         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
61904         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
61905         (_IO_adjust_column, _IO_least_wmarker)
61906         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
61907         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
61908         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
61909         (_IO_default_doallocate, _IO_wdefault_doallocate)
61910         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
61911         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
61912         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
61913         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
61914         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
61915         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
61916         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
61917         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
61918         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
61919         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
61920         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
61921         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
61922         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
61923         proto.
61924         (_IO_flush_all_internal, _IO_adjust_column_internal)
61925         (_IO_default_uflow_internal, _IO_default_finish_internal)
61926         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
61927         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
61928         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
61929         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
61930         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
61931         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
61932         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
61933         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
61934         (_IO_file_close_internal, _IO_file_close_it_internal)
61935         (_IO_file_underflow_internal, _IO_file_overflow_internal)
61936         (_IO_file_init_internal, _IO_file_attach_internal)
61937         (_IO_file_fopen_internal, _IO_file_read_internal)
61938         (_IO_file_sync_internal, _IO_file_seek_internal)
61939         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
61940         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
61941         (_IO_str_underflow_internal, _IO_str_overflow_internal)
61942         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
61943         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
61944         (_IO_list_all_internal, _IO_link_in_internal)
61945         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
61946         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
61947         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
61948         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
61949         (_IO_do_write_internal, _IO_padn_internal)
61950         (_IO_getline_info_internal, _IO_getline_internal)
61951         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
61952         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
61953         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
61954         (_IO_vfscanf_internal, _IO_vfprintf_internal)
61955         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
61956         (_IO_init_internal, _IO_un_link_internal): Don't declare.
61957         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
61958         with libc_hidden_ver, remove use of INTUSE.
61959         * libio/genops.c: Likewise.
61960         * libio/freopen.c: Likewise.
61961         * libio/freopen64.c: Likewise.
61962         * libio/iofclose.c: Likewise.
61963         * libio/iofdopen.c: Likewise.
61964         * libio/iofflush.c: Likewise.
61965         * libio/iofflush_u.c: Likewise.
61966         * libio/iofgets.c: Likewise.
61967         * libio/iofgets_u.c: Likewise.
61968         * libio/iofopen.c: Likewise.
61969         * libio/iofopncook.c: Likewise.
61970         * libio/iofread.c: Likewise.
61971         * libio/iofread_u.c: Likewise.
61972         * libio/ioftell.c: Likewise.
61973         * libio/iofwrite.c: Likewise.
61974         * libio/iogetline.c: Likewise.
61975         * libio/iogets.c: Likewise.
61976         * libio/iogetwline.c: Likewise.
61977         * libio/iopadn.c: Likewise.
61978         * libio/iopopen.c: Likewise.
61979         * libio/ioseekoff.c: Likewise.
61980         * libio/ioseekpos.c: Likewise.
61981         * libio/iosetbuffer.c: Likewise.
61982         * libio/iosetvbuf.c: Likewise.
61983         * libio/ioungetc.c: Likewise.
61984         * libio/ioungetwc.c: Likewise.
61985         * libio/iovdprintf.c: Likewise.
61986         * libio/iovsprintf.c: Likewise.
61987         * libio/iovsscanf.c: Likewise.
61988         * libio/memstream.c: Likewise.
61989         * libio/obprintf.c: Likewise.
61990         * libio/oldfileops.c: Likewise.
61991         * libio/oldiofclose.c: Likewise.
61992         * libio/oldiofdopen.c: Likewise.
61993         * libio/oldiofopen.c: Likewise.
61994         * libio/oldiopopen.c: Likewise.
61995         * libio/oldstdfiles.c: Likewise.
61996         * libio/putc.c: Likewise.
61997         * libio/setbuf.c: Likewise.
61998         * libio/setlinebuf.c: Likewise.
61999         * libio/stdfiles.c: Likewise.
62000         * libio/strops.c: Likewise.
62001         * libio/vasprintf.c: Likewise.
62002         * libio/vscanf.c: Likewise.
62003         * libio/vsnprintf.c: Likewise.
62004         * libio/vswprintf.c: Likewise.
62005         * libio/wfiledoalloc.c: Likewise.
62006         * libio/wfileops.c: Likewise.
62007         * libio/wgenops.c: Likewise.
62008         * libio/wmemstream.c: Likewise.
62009         * libio/wstrops.c: Likewise.
62010         * libio/__fpurge.c: Likewise.
62011         * libio/__fsetlocking.c: Likewise.
62012         * assert/assert.c: Likewise.
62013         * debug/fgets_chk.c: Likewise.
62014         * debug/fgets_u_chk.c: Likewise.
62015         * debug/fread_chk.c: Likewise.
62016         * debug/fread_u_chk.c: Likewise.
62017         * debug/gets_chk.c: Likewise.
62018         * debug/obprintf_chk.c: Likewise.
62019         * debug/vasprintf_chk.c: Likewise.
62020         * debug/vdprintf_chk.c: Likewise.
62021         * debug/vsnprintf_chk.c: Likewise.
62022         * debug/vsprintf_chk.c: Likewise.
62023         * malloc/mtrace.c: Likewise.
62024         * misc/error.c: Likewise.
62025         * misc/syslog.c: Likewise.
62026         * stdio-common/asprintf.c: Likewise.
62027         * stdio-common/fxprintf.c: Likewise.
62028         * stdio-common/getw.c: Likewise.
62029         * stdio-common/isoc99_fscanf.c: Likewise.
62030         * stdio-common/isoc99_scanf.c: Likewise.
62031         * stdio-common/isoc99_vfscanf.c: Likewise.
62032         * stdio-common/isoc99_vscanf.c: Likewise.
62033         * stdio-common/isoc99_vsscanf.c: Likewise.
62034         * stdio-common/printf-prs.c: Likewise.
62035         * stdio-common/printf_fp.c: Likewise.
62036         * stdio-common/printf_fphex.c: Likewise.
62037         * stdio-common/printf_size.c: Likewise.
62038         * stdio-common/putw.c: Likewise.
62039         * stdio-common/scanf.c: Likewise.
62040         * stdio-common/sprintf.c: Likewise.
62041         * stdio-common/tmpfile.c: Likewise.
62042         * stdio-common/vfprintf.c: Likewise.
62043         * stdio-common/vfscanf.c: Likewise.
62044         * stdlib/strfmon_l.c: Likewise.
62045         * sunrpc/openchild.c: Likewise.
62046         * sunrpc/xdr_stdio.c: Likewise.
62047         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
62048         * sysdeps/mach/hurd/tmpfile.c: Likewise.
62050 2012-05-24  Roland McGrath  <roland@hack.frob.com>
62052         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62054         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
62055         in the third column, to generate for the shared library an IFUNC
62056         that uses _dl_vdso_vsym.
62057         * Makerules (COMPILE.c, compile-stdin.c): New variables.
62058         * Makeconfig (object-suffixes-noshared): New variable.
62060         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
62061         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
62062         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
62063         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
62065         [BZ #14132]
62066         * include/sys/time.h (__gettimeofday): Remove macro.
62067         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
62068         * time/gettimeofday.c (__gettimeofday): Remove #undef.
62069         Remove INTDEF.
62070         (__gettimeofday): Add libc_hidden_def.
62071         (gettimeofday): Add libc_hidden_weak.
62072         * sysdeps/mach/gettimeofday.c: Likewise.
62073         * sysdeps/posix/gettimeofday.c: Likewise.
62074         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
62075         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
62076         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
62077         (__gettimeofday_internal): Remove strong_alias.
62078         (__gettimeofday): Add libc_hidden_def.
62079         (gettimeofday): Add libc_hidden_weak.
62080         * sysdeps/unix/syscalls.list (gettimeofday):
62081         Remove __gettimeofday_internal alias.
62083 2012-05-24  Daniel Jacobowitz  <drow@false.org>
62084             H.J. Lu  <hongjiu.lu@intel.com>
62086         [BZ #12495]
62087         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
62088         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
62089         (largebin_index_32_big): New.
62090         (largebin_index): Use it for 16-byte alignment.
62091         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
62092         correction with front_misalign.
62094 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
62097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
62098         Likewise.
62099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
62100         Likewise.
62101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62102         Likewise.
62103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
62104         Likewise.
62105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
62106         Likewise.
62107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
62108         Likewise.
62109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
62110         Likewise.
62111         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62112         Likewise.
62113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
62114         Likewise.
62115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
62116         Likewise.
62117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
62118         Likewise.
62119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
62120         Likewise.
62122         * scripts/data/c++-types-x32-linux-gnu.data: New file.
62123         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62125 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62127         [BZ #10846]
62128         [BZ #14036]
62129         * math/libm-test.inc (exp_test): Add test from bug 14036.
62130         (pow_test): Add test from bug 10846.
62132         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
62133         and other flags.
62134         (special_function): Do not include flags in test name.
62135         (parse_args): Likewise.
62136         * sysdeps/i386/fpu/libm-test-ulps: Update.
62137         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62138         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62139         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62142         * math/gen-libm-test.pl (%beautify): Add entries for underflow
62143         exceptions.
62144         * math/libm-test.inc ("Philosophy"): Update comment about
62145         exception testing.
62146         (UNDERFLOW_EXCEPTION): New macro.
62147         (UNDERFLOW_EXCEPTION_OK): Likewise.
62148         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62149         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
62150         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
62151         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
62152         (INVALID_EXCEPTION_OK): Update value.
62153         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62154         (OVERFLOW_EXCEPTION_OK): Likewise.
62155         (IGNORE_ZERO_INF_SIGN): Likewise.
62156         (test_exceptions): Handle underflow exceptions.
62157         (acos_test): Update for underflow exception expectations.
62158         (cexp_test): Likewise.
62159         (clog_test): Likewise.
62160         (clog10_test): Likewise.
62161         (csqrt_test): Likewise.
62162         (ctan_test): Likewise.
62163         (ctanh_test): Likewise.
62164         (exp_test): Likewise.
62165         (exp10_test): Likewise.
62166         (exp2_test): Likewise.
62167         (expm1_test): Likewise.
62168         (fma_test): Likewise.
62169         (j0_test): Likewise.
62170         (jn_test): Likewise.
62171         (nexttoward_test): Likewise.
62172         (pow_test): Likewise.
62173         (scalbn_test): Likewise.
62174         (scalbln_test): Likewise.
62175         (tan_test): Likewise.
62176         (y1_test): Likewise.
62177         * sysdeps/i386/fpu/libm-test-ulps: Update.
62178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62180 2012-05-23  David S. Miller  <davem@davemloft.net>
62182         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62183         (__libc_sigaction): Remove unused local variables.
62185 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62187         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62189 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
62191         mktime: avoid signed integer overflow
62192         * time/mktime.c (__mktime_internal): Do not mishandle the case
62193         where diff == INT_MIN.
62195         mktime: simplify computation of average
62196         * time/mktime.c (ranged_convert): Use new time_t_avg function
62197         instead of rolling our own (probably-slower) code.
62199         mktime: do not assume signed right shift propagates sign bit
62200         * time/mktime.c (isdst_differ): New static function.
62201         (__mktime_internal): No need to normalize tm_isdst now.
62202         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62203         tm_isdst values.
62205         mktime: merge another wrapv change from gnulib
62206         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62207         from some compilers.
62209         mktime: remove incorrect attempt at unusual arithmetics
62210         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62211         The code didn't really work on such machines anyway.
62212         (TYPE_MINIMUM): Assume two's complement.
62213         (twos_complement_arithmetic): Verify that long_int and time_t
62214         are two's complement (or unsigned, in the latter case).
62216         mktime: check signed shifts on long_int and time_t, too
62217         * time/mktime.c (SHR): Check that shifts work as desired
62218         on the types long_int and time_t too, as SHR is used on
62219         such types.
62221         mktime: do not assume 'long' is wide enough
62222         * time/mktime.c (verify): Move decl up.
62223         (long_int): New type.
62224         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
62225         to remove assumption in the code that 'long' is wide enough to
62226         store year values.  This assumption is not true on x32 and on
62227         some non-glibc platforms.
62229         mktime: merge wrapv change from gnulib
62230         * time/mktime.c (WRAPV): New macro.
62231         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
62232         (guess_time_tm, __mktime_internal): Do not assume that signed
62233         integer overflow wraps around; modern compilers generate code
62234         where this assumption is no longer valid.
62236 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62238         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62239         Replace "jmp L(pseudo_end)" with "ret".
62240         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
62241         Likewise.
62243 2012-05-23  Andreas Jaeger  <aj@suse.de>
62245         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
62246         * sysdeps/unix/sysv/linux/poll.c: Remove file.
62248 2012-05-23  Andreas Jaeger  <aj@suse.de>
62249             Maximilian Attems  <max@stro.at>
62251         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
62252         New macros.
62254 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62256         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
62257         code so that pseudo_end is just ret and the stack pointer is
62258         correct also for static library in error case.
62260 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
62262         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
62263         move to syscalls.list.
62264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
62265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
62266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
62267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
62269         * manual/install.texi (Running make install): Do not mention Linux
62270         kernel version for which pt_chown is not needed.
62271         (Linux): Do not mention problems with nscd with 2.0 kernels.
62272         * INSTALL: Regenerated.
62274 2012-05-23  Andreas Jaeger  <aj@suse.de>
62276         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
62277         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
62278         macro.
62279         * sysdeps/unix/sysv/linux/s390/bits/mman.h
62280         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62281         * sysdeps/unix/sysv/linux/sh/bits/mman.h
62282         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62283         * sysdeps/unix/sysv/linux/i386/bits/mman.h
62284         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62285         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
62286         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62287         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
62288         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62289         * sysdeps/unix/sysv/linux/bits/in.h
62290         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62292 2012-05-22  Roland McGrath  <roland@hack.frob.com>
62294         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62295         (PREPARE_VERSION): Just use assert instead, it will be elided
62296         under [NDEBUG] anyway.
62298 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62300         * sysdeps/unix/sysv/linux/Makefile: Include
62301         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62302         (sysdep_routines): Remove sysctl.
62303         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62304         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62305         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62306         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62307         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62309 2012-05-22  Andreas Jaeger  <aj@suse.de>
62311         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62312         that pseudo_end is just ret and the stack pointer is correct also
62313         for static library in error case.
62315 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
62317         [BZ #14122]
62318         * nss/nsswitch.c (defconfig_entries): New variable.
62319         (__nss_database_lookup): Don't leak defconfig entries.
62320         (nss_parse_service_list): Don't leak on error paths.
62321         (free_database_entries): New function.
62322         (free_defconfig): New function.
62323         (free_mem): Move common code to free_database_entries.
62325 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62327         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62328         Add arch_prctl.
62329         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62331         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62332         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62333         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62334         New macro.
62335         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62336         (INTERNAL_SYSCALL_TYPES): Likewise.
62337         (LOAD_ARGS_TYPES_[1-6]): Likewise.
62338         (LOAD_REGS_TYPES_[1-6]): Likewise.
62339         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62340         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62342 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62344         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62345         copysignl for GLIBC_2_0.
62346         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62347         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62348         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62349         logbl for GLIBC_2_0.
62350         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62351         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62353 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62355         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62356         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62358         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62359         Use "neg %eax".
62361         * time/mktime.c: Update copyright years.
62363 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
62365         mktime: merge comment-quoting-style change from gnulib
62366         * time/mktime.c: Quote 'like this' in comments.
62367         The GNU coding standards suggest that we no longer quote `like this',
62368         as "`" and "'" are typically rendered asymmetrically nowadays.
62369         The typical gnulib style is to quote 'like this' when quoting
62370         code, and "like this" when quoting English.
62372         * time/mktime.c (compile-command): Add "-I.".
62374         mktime: merge mktime-internal.h change from gnulib
62375         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
62377         mktime: merge time_r change from gnulib
62378         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
62380         mktime: merge DEBUG change from gnulib
62381         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
62382         case system <time.h> has a #define.
62384         mktime: merge <sys/types.h> change from gnulib
62385         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62386         since <time.t> is now guaranteed to define time_t.
62388         mktime: merge HAVE_CONFIG_H change from gnulib
62389         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
62391 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62393         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62394         Use "neg %eax".
62396         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
62397         __rlim_t cast.
62398         (struct rusage): Use anonymous union to pad each field to
62399         __syscall_slong_t.
62401 2012-05-21  David S. Miller  <davem@davemloft.net>
62403         * Makefules (o-iterator): Remove .s cases.
62404         (compile-command.s): Delete.
62405         (COMPILE.s): Delete.
62406         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
62408 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
62410         * configure.in (libc_cv_predef_stack_protector): Only consider
62411         "foobar" and "__stack_chk_fail" lines in libc_undefs.
62412         * configure: Regenerated.
62414 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62416         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62417         New macro.  Use R*LP on int and pointer.
62418         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
62419         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62420         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
62421         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
62423         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62424         [__WORDSIZE_TIME64_COMPAT32] instead of
62425         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
62426         (struct utmp): Likewise.
62427         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
62428         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
62429         Renamed to ...
62430         (__WORDSIZE_TIME64_COMPAT32): This.
62431         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
62432         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
62433         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
62434         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
62435         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62436         (__WORDSIZE_TIME64_COMPAT32): New macro.
62438 2012-05-21  Andreas Jaeger  <aj@suse.de>
62440         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
62441         only if [SHARED]. Add prototype for __wcschr_ia32.
62443 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62445         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
62446         of %rbp unmolested in the jmp_buf while mangling the low bits.
62447         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
62448         unmolested high bits of %rbp while demangling the low bits.
62449         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62451 2012-05-21  Andreas Jaeger  <aj@suse.de>
62453         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
62454         * sunrpc/svc_simple.c: Use it for registerrpc.
62455         * sunrpc/xcrypt.c: Use it for passwd2des.
62457         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
62459 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62461         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
62462         Don't define if [__SYSCALL_WORDSIZE != 32].
62463         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
62464         New macro.
62466 2012-05-21  Bruno Haible  <bruno@clisp.org>
62467             Andreas Jaeger  <aj@suse.de>
62469         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
62470         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
62471         inptr and inend for must_buffer_ch.
62472         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
62473         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
62474         * stdio-common/Makefile (tests): Remove bug15.
62475         (bug15-ENV): Remove macro.
62476         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
62477         anymore.
62479 2012-05-19  Andreas Jaeger  <aj@suse.de>
62480             Roland McGrath  <roland@hack.frob.com>
62482         * manual/contrib.texi: Completely rewritten. It contains now an
62483         alphabetical list of contributors and their contributions.
62485 2012-05-21  Richard Henderson  <rth@twiddle.net>
62487         * misc/getauxval.c (__getauxval): Use unsigned long int.
62488         * misc/sys/auxv.h: Include <sys/cdefs.h>.
62489         (getauxval): Use unsigned long int.
62491 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62493         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62495 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62497         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
62498         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
62499         __alignof__ (long double).
62501 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62505 2012-05-20  Richard Henderson  <rth@twiddle.net>
62507         * misc/getauxval.c: New file.
62508         * misc/sys/auxv.h: New file.
62509         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
62510         (routines): Add getauxval.
62511         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
62512         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
62513         * elf/dl-sysdep.c (_dl_auxv): Remove.
62514         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
62515         * elf/dl-support.c (_dl_auxv): New variable.
62516         (_dl_aux_init): Initialize it.
62517         * manual/startup.texi (Auxiliary Vector): New node.
62518         * sysdeps/generic/bits/hwcap.h: New file.
62519         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
62520         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
62521         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
62522         * sysdeps/sparc/sysdep.h: ... here.  Include it.
62523         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
62524         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
62525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62526         Update.
62527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
62528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
62529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
62530         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
62531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62533         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
62534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
62536 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62540 2012-05-19  David S. Miller  <davem@davemloft.net>
62542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62544 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62546         [BZ #14123]
62547         * math/s_ccosh.c: Include <float.h>
62548         (__ccosh): Avoid internal overflow calculating sinh and cosh
62549         values before multiplying by sin and cos values.
62550         * math/s_ccoshf.c: Likewise.
62551         * math/s_ccoshl.c: Likewise.
62552         * math/s_csin.c: Likewise.
62553         * math/s_csinf.c: Likewise.
62554         * math/s_csinl.c: Likewise.
62555         * math/s_csinh.c: Likewise.
62556         * math/s_csinhf.c: Likewise.
62557         * math/s_csinhl.c: Likewise.
62558         * math/libm-test.inc (ccos_test): Add more tests.
62559         (ccosh_test): Likewise.
62560         (csin_test): Likewise.
62561         (csinh_test): Likewise.
62562         * sysdeps/i386/fpu/libm-test-ulps: Update.
62563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62565 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
62567         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
62568         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
62570         * sysdeps/x86_64/x32/_itoa.h: Add comment.
62572 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62574         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
62575         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
62576         * sysdeps/powerpc/soft-fp/Versions: Likewise.
62577         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
62578         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
62579         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
62580         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
62581         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
62582         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
62583         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
62584         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
62585         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
62586         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
62587         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
62588         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
62589         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
62590         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
62591         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
62592         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
62593         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
62594         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
62595         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
62596         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
62597         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
62598         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
62599         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
62600         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
62601         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
62602         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
62603         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
62604         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
62606 2012-05-18  Andreas Jaeger  <aj@suse.de>
62608         * csu/.gitignore: Delete.
62610 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62612         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
62613         (timex): Use __syscall_slong_t.
62615 2012-05-18  Andreas Jaeger  <aj@suse.de>
62616             Carlos O'Donell  <carlos_odonell@mentor.com>
62618         * manual/install.texi (Configuring and compiling): Update
62619         description about files modified in the source directory.
62620         * INSTALL: Regenerated.
62622 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62624         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
62625         value.  Use "or" to set return value to -1.
62626         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
62627         negate return value.
62629 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62631         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
62632         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
62633         failure if the compiler has Graphite support disabled.
62634         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
62635         Likewise.
62636         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
62637         (CFLAGS-memmove.c): Likewise.
62638         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
62639         Likewise.
62641 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62643         * sysdeps/x86_64/x32/_itoa.h: New file.
62645         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
62646         getdents system call only if kernel and user dirents have the
62647         same d_ino and d_off.
62649         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62650         LLONG_MAX != LONG_MAX.
62651         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62652         (_fitoa_word): Likewise.
62654         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
62655         years.
62656         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
62657         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
62658         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
62660         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
62661         include <bits/wordsize.h>.  Check __x86_64__ instead of
62662         __WORDSIZE.
62663         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
62664         if __x86_64__ is defined.  Use anonymous union on fpstate.
62666         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
62667         anonymous union.
62669 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
62671         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
62672         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
62673         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
62674         Refer to _rtld_local_ro instead of _rtld_global_ro.
62675         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
62676         Likewise.
62677         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
62678         Likewise.
62679         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
62680         Likewise.
62681         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
62682         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
62683         of _rtld_global, and rtld_progname instead of _dl_argv[0].
62685         [BZ #10882]
62686         * sysdeps/powerpc/powerpc32/dl-machine.c
62687         (__elf_machine_runtime_setup) [PROF]: Don't reference
62688         _dl_prof_resolve.
62690 2012-05-18  Andreas Jaeger  <aj@suse.de>
62692         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
62693         function only available for GCCs before 3.4 since GCC 3.4
62694         introduced a builtin.
62695         (lrint): Likewise.
62696         (llrintf): Likewise.
62697         (llrint): Likewise.
62698         (fmaxf): Likewise.
62699         (fmax): Likewise.
62700         (fminf): Likewise.
62701         (fmin): Likewise.
62702         (rint): Likewise.
62703         (rintf): Likewise.
62704         (nearbyint): Likewise.
62705         (nearbyintf): Likewise.
62706         (ceil): Likewise.
62707         (ceilf): Likewise.
62708         (floor): Likewise.
62709         (floorf): Likewise.
62711 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62713         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
62714         on both fields and cast pointer to __syscall_ulong_t.
62716         * bits/types.h (__fsword_t): New type.
62717         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
62718         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
62719         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62720         (__FSWORD_T_TYPE): Likewise.
62721         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62722         (__FSWORD_T_TYPE): Likewise.
62723         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62724         (__FSWORD_T_TYPE): Likewise.
62725         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
62726         (__FSWORD_T_TYPE): Likewise.
62727         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
62728         __SWORD_TYPE with __fsword_t.
62729         (statfs64): Likewise.
62731 2012-05-17  David S. Miller  <davem@davemloft.net>
62733         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
62735 2012-05-17  Andreas Jaeger  <aj@suse.de>
62737         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
62738         warning.
62740 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62742         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
62744 2012-05-17  Andreas Jaeger  <aj@suse.de>
62746         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
62747         when it is used.
62749 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62751         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
62753 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62755         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
62756         * sysdeps/x86_64/tst-mallocalign1.c: New file.
62758 2012-05-17  Andreas Jaeger  <aj@suse.de>
62759             Carlos O'Donell  <carlos_odonell@mentor.com>
62761         [BZ #14059]
62762         * sysdeps/x86_64/multiarch/init-arch.h
62763         (bit_YMM_Usable): Rename to...
62764         (bit_AVX_Usable): ... this.
62765         (bit_FMA4_Usable): New macro.
62766         (bit_XMM_state): New macro.
62767         (bit_YMM_state): New macro.
62768         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
62769         [__ASSEMBLER__] (index_AVX_Usable): ... this.
62770         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
62771         (CPUID_OSXSAVE): New macro.
62772         (CPUID_AVX): New macro.
62773         (CPUID_FMA4): New macro.
62774         (index_YMM_Usable): Rename to...
62775         (index_AVX_Usable): ... this.
62776         (HAS_AVX): Use HAS_ARCH_FEATURE.
62777         (HAS_FMA4): Likewise.
62778         (HAS_YMM_USABLE): Remove.
62779         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62780         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
62781         are present.
62782         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
62783         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
62784         * sysdeps/x86_64/multiarch/Makefile: Likewise.
62785         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
62786         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
62788 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62790         * math/libm-test.c: Support platforms without multiple rounding modes.
62791         * math/bug-nextafter.c: Support platforms without FP exceptions.
62792         * math/bug-nexttoward.c: Likewise.
62793         * math/test-fenv.c: Likewise.
62794         * math/test-misc.c: Likewise.
62795         * stdlib/bug-getcontext.c: Likewise.
62797 2012-05-17  Andreas Jaeger  <aj@suse.de>
62799         * manual/examples/search.c (critter_cmp): Change signature to
62800         avoid warnings.
62801         * manual/string.texi (Collation Functions): Likewise.
62803 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62805         * bits/types.h: Fold copyright years.
62806         * bits/typesizes.h: Likewise.
62807         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
62808         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
62809         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
62810         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
62811         * time/time.h: Likewise.
62813 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
62815         [BZ #208]
62816         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
62817         in instead of returning them.  Return void.
62818         (__libc_mallinfo): Accumulate over all arenas.
62819         (__malloc_stats): Adjust for change in int_mallinfo interface.
62821 2012-05-16  Roland McGrath  <roland@hack.frob.com>
62823         [BZ #10375]
62824         * configure.in (NM): Add AC_CHECK_TOOL for it.
62825         (libc_extra_cflags): New substituted variable.
62826         Check for -fstack-protector being used implicitly.
62827         * configure: Regenerated.
62828         * config.make.in (config-extra-cflags): New variable,
62829         gets @libc_extra_cflags@.
62830         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
62832         [BZ #10375]
62833         * configure.in: Check for _FORTIFY_SOURCE being predefined.
62834         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
62835         * configure: Regenerated.
62836         * config.make.in (CPPUNDEFS): New substituted variable.
62837         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
62838         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
62839         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
62841 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62843         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
62844         (mq_attr): Use __syscall_slong_t.
62846 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62848         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
62849         Check __x86_64__ instead of __WORDSIZE.
62850         (_STAT_VER_LINUX): Likewise.
62851         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
62852         __syscall_ulong_t and __syscall_slong_t.
62853         (stat64): Likewise.
62855 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62857         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
62859 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62861         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
62863 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62865         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
62866         __syscall_ulong_t.
62868         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
62869         include <bits/wordsize.h>.  Check __x86_64__ instead of
62870         __WORDSIZE.
62871         (greg_t): Use "__extension__ long long int" if __x86_64__ is
62872         defined.
62873         (mcontext_t): Replace "unsigned long" with "unsigned long long".
62875         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
62876         include <bits/wordsize.h>.  Check __x86_64__ instead of
62877         __WORDSIZE.
62878         (user_regs_struct): Use "__extension__ unsigned long long"
62879         instead of "unsigned long" if __x86_64__ is defined.
62880         (user): Likewise.  Pad after pointer field if __ILP32__ is
62881         defined.
62883 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
62885         * configure.in (makeinfo): Require version 4.5 or later.  Allow
62886         versions 5 to 9.
62887         * configure: Regenerated.
62888         * manual/install.texi (texinfo): Increase version requirement to
62889         4.5 or later.
62890         * INSTALL: Regenerated.
62892         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
62894 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62896         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
62898         * sysdeps/x86_64/x32/ffs.c: New file.
62900         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
62901         __syscall_ulong_t.
62902         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
62903         defined.  Use __syscall_ulong_t.
62904         (shminfo): Use __syscall_ulong_t.
62905         (shm_info): Likewise.
62907         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
62908         __syscall_ulong_t.
62910         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
62911         <bits/wordsize.h>.
62912         (msgqnum_t): Use __syscall_ulong_t.
62913         (msglen_t): Likewise.
62914         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
62915         __syscall_ulong_t.
62917         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
62918         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62920         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
62922         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
62923         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
62925         * sysvipc/sys/msg.h (msgbuf): Replace long int with
62926         __syscall_slong_t.
62928         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
62929         include <bits/wordsize.h>.  Check __x86_64__ instead of
62930         __WORDSIZE.
62932         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
62933         "unsigned long long int" if __x86_64__ is defined.
62934         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
62936         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
62937         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62938         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
62940         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
62941         <stdint.h>.
62942         (GET_PC): Cast to uintptr_t first.
62943         (GET_FRAME): Likewise.
62944         (GET_STACK): Likewise.
62946         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
62947         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
62948         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
62949         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
62950         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
62951         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
62952         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
62953         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
62954         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
62955         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
62956         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
62957         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
62958         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62959         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
62960         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
62961         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
62962         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
62963         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
62964         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
62965         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
62966         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
62967         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
62968         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
62969         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
62970         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
62971         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
62972         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
62973         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
62974         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
62976 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
62978         * Makerules (+depfiles): Also collect depfiles from .oS in
62979         $(extra-objs).
62980         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
62981         .oS, $(libnldbl-routines)).
62983         * Makerules (native-compile-mkdep-flags): Define.
62984         * sunrpc/Makefile (extra-objs): Add $(addprefix
62985         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
62986         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
62987         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
62988         calling $(make-target-directory).
62990 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62992         * bits/types.h (__snseconds_t): Removed.
62993         * time/time.h (struct timespec): Replace __snseconds_t with
62994         __syscall_slong_t.
62995         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
62996         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
62997         Likewise.
62998         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62999         (__SNSECONDS_T_TYPE): Likewise.
63000         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63001         (__SNSECONDS_T_TYPE): Likewise.
63002         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63003         (__SNSECONDS_T_TYPE): Likewise.
63005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63007         * sysdeps/mach/hurd/bits/typesizes.h
63008         (__SYSCALL_SLONG_TYPE): New macro.
63009         (__SYSCALL_ULONG_TYPE): Likewise.
63011 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63013         * bits/types.h (__syscall_slong_t): New type.
63014         (__syscall_ulong_t): Likewise.
63016         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
63017         (__SYSCALL_ULONG_TYPE): Likewise.
63018         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63019         (__SYSCALL_SLONG_TYPE): Likewise.
63020         (__SYSCALL_ULONG_TYPE): Likewise.
63021         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63022         (__SYSCALL_SLONG_TYPE): Likewise.
63023         (__SYSCALL_ULONG_TYPE): Likewise.
63024         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63025         (__SYSCALL_SLONG_TYPE): Likewise.
63026         (__SYSCALL_ULONG_TYPE): Likewise.
63028 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63030         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
63031         Add sigaltstack-offsets.sym.
63032         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
63033         <sigaltstack-offsets.h>.
63034         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
63035         longjmp_msg pointer.
63036         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
63037         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
63038         signal stack.
63039         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
63041 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63043         * elf/stackguard-macros.h: Remove file.
63044         * sysdeps/generic/stackguard-macros.h: New file.
63045         * sysdeps/i386/stackguard-macros.h: Likewise.
63046         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63047         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63048         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63049         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63050         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63051         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63052         * sysdeps/x86_64/stackguard-macros.h: Likewise.
63053         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
63054         <elf/stackguard-macros.h>.
63056         [BZ #14109]
63057         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
63058         __aligned__ in attribute.
63059         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
63060         (gregset_t): Likewise.
63062 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63064         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
63065         * sysdeps/x86_64/64/Implies-after: Here.  New file.
63066         * sysdeps/x86_64/x32/Implies-after: New file.
63068 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63070         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
63071         and access return value for _dl_profile_fixup.  Use R10_LP to
63072         load frame size.
63074 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63076         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
63078 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63080         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
63081         * sysdeps/x86_64/x32/sysdep.h: New file.
63083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63085         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
63086         * sysdeps/x86_64/setjmp.S: Likewise.
63088 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63090         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
63091         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
63092         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
63093         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
63094         remove unused global constant.
63096 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
63098         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
63099         include of <not-cancel.h>.
63101 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63103         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
63105 2012-05-15  Jeff Law  <law@redhat.com>
63106             Andreas Jaeger  <aj@suse.de>
63108         [BZ #13594]
63109         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
63110         out from...
63111         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
63112         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
63113         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
63114         code changing __hst_map_handle.map.
63116 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63118         * configure.in (sysnames): Look for Implies-before and Implies-after
63119         files.
63120         * configure: Regenerated.
63122 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63124         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
63125         8-byte data alignment with LP_SIZE alignment.
63127 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63129         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63130         into R10_LP.
63132 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63134         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
63136 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63138         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
63139         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
63140         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
63141         Likewise.
63142         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63144 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63146         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
63147         (stackinfo_sub_sp): Likewise.
63149 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63151         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
63152         RAX_LP.
63154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63156         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
63157         into R*_LP.
63159 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63161         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
63162         sizes into R*_LP.
63164 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63166         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
63168 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63170         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
63171         into R11_LP and load __x86_64_shared_cache_size_half into
63172         R8_LP.
63174 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63176         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
63177         R8_LP.
63179 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63181         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63182         logb for POWER7.
63183         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63184         logbf for POWER7.
63185         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63186         logbl for POWER7.
63187         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63188         powerpc32/power7/fpu/s_logb.c via #include.
63189         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63190         powerpc32/power7/fpu/s_logbf.c via #include.
63191         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63192         powerpc32/power7/fpu/s_logbl.c via #include.
63194 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63196         * README.libm: Remove file.
63198 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63200         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63201         count for x32.  Use R*_LP and omit operand-size suffix.
63203 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63205         * shlib-versions: Move x86_64-.*-linux.* entries to ...
63206         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
63207         * sysdeps/x86_64/x32/shlib-versions: New file.
63209 2012-05-14  Roland McGrath  <roland@hack.frob.com>
63211         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63212         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63213         Use _dl_fatal_printf instead.
63215 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63217         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
63218         set if not set by the user.  Do not allow for being unset.
63219         * sysdeps/unix/sysv/linux/configure: Regenerated.
63221 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63223         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
63224         the `q' suffix from lea and replace .quad with ASM_ADDR.
63226 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63228         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
63229         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
63230         instead of $17.
63231         (PTR_DEMANGLE): Likewise.
63233 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63235         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
63236         (LP_OP): Likewise.
63237         (ASM_ADDR): Likewise.
63238         (RAX_LP): Likewise.
63239         (RBP_LP): Likewise.
63240         (RBX_LP): Likewise.
63241         (RCX_LP): Likewise.
63242         (RDI_LP): Likewise.
63243         (RSI_LP): Likewise.
63244         (RSP_LP): Likewise.
63245         (R8_LP): Likewise.
63246         (R9_LP): Likewise.
63247         (R10_LP): Likewise.
63248         (R10_LP): Likewise.
63249         (R11_LP): Likewise.
63250         (R12_LP): Likewise.
63251         (R13_LP): Likewise.
63252         (R14_LP): Likewise.
63253         (R15_LP): Likewise.
63255 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63257         * sysdeps/x86_64/x32/dl-machine.h: New file.
63259 2012-05-14  Andreas Jaeger  <aj@suse.de>
63261         * manual/Makefile (subdir): Remove export of subdir.
63262         (all): Remove target.
63263         (.PHONY): Remove all from list.
63264         (mkinstalldirs): Remove.
63265         (.PHONY): Remove installdirs from list.
63266         ($(inst_infodir)/libc.info): Use make-target-directory.
63267         (installdirs): Remove.
63268         (subdir_%): Remove.
63269         (glibc-targets): Remove.
63270         (lib): Remove.
63271         (stubs): Remove.
63272         ($(objpfx)stubs ../po/manual.pot): Remove.
63273         ($(objpfx)stamp%): Remove.
63274         (make-target-directory): Remove.
63275         (subdir_install): Remove.
63276         (routines): Remove.
63277         (aux): Remove.
63278         (sources): Remove.
63279         (objects): Remove.
63280         (headers): Remove.
63282         [BZ #13750]
63283         * manual/.gitignore: Remove, it's not needed anymore.
63284         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
63285         all files in it.
63286         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
63287         directory.
63288         (texis): Renamed to $(objpfx)texis.
63289         (texis-path): New, contains path to generated files.
63290         (chapters.%): Use texis-path for complete path, add extra argument
63291         libc-texinfo.sh.
63292         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63293         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63294         (summary,texi, stamp-summary): Use complete path of
63295         files. Generate files in build dir.
63296         (dir-add.texi): Build in build dir.
63297         (libm-err.texi,stamp-libm-err): Likewise.
63298         (version.texi, stamp-version): Likewise.
63299         (.%c.texi): Likewise.
63300         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63301         (mostlyclean): Remove target.
63302         (realclean): Remove target.
63303         (generated): Add new variable with contents from mostlyclean and
63304         realclean, remove entries duplicated in common-mostlyclean, add
63305         stamp-libm-err and stamp-version.
63306         (generated-dirs): Add libc directory.
63307         ($(inst_infodir)/libc.info): Install files from build dir.
63309         * manual/install.texi (Configuring and compiling): Adjust since
63310         the info files are not part of the tar ball anymore.
63312 2012-05-14  Andreas Jaeger  <aj@suse.de>
63314         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63315         variable.
63317 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63319         [BZ #13717]
63320         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63321         to 2.2.0 where earlier.
63322         * sysdeps/unix/sysv/linux/configure: Regenerated.
63323         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63324         Remove conditional code.
63325         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63326         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63327         Remove conditional code.
63328         [!__NR_lchown]: Likewise.
63329         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63330         [__NR_lchown]: Likewise.
63331         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63332         comment referencing __ASSUME_LCHOWN_SYSCALL.
63333         * sysdeps/unix/sysv/linux/i386/sigaction.c
63334         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63335         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63336         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63337         Remove conditional code.
63338         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63339         (__protocol_available): Remove #if 0 code.
63340         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63341         conditional code.
63342         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63343         * sysdeps/unix/sysv/linux/kernel-features.h
63344         (__ASSUME_GETCWD_SYSCALL): Don't define.
63345         (__ASSUME_REALTIME_SIGNALS): Likewise.
63346         (__ASSUME_PREAD_SYSCALL): Likewise.
63347         (__ASSUME_PWRITE_SYSCALL): Likewise.
63348         (__ASSUME_POLL_SYSCALL): Likewise.
63349         (__ASSUME_LCHOWN_SYSCALL): Likewise.
63350         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63351         non-SPARC.
63352         (__ASSUME_SIOCGIFNAME): Don't define.
63353         (__ASSUME_MSG_NOSIGNAL): Likewise.
63354         (__ASSUME_SENDFILE): Define unconditionally.
63355         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63356         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63357         conditional code.
63358         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63359         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63360         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63361         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63362         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63363         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63364         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63366         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63367         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63369         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63370         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
63372         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63373         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
63375         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63376         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
63378         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63379         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
63381         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63382         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
63384         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63385         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
63387         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63388         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63389         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
63390         Remove conditional code.
63391         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63392         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63393         Remove conditional code.
63394         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63395         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
63396         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
63397         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63398         Remove conditional code.
63399         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63400         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
63401         Remove conditional code.
63402         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63403         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
63404         Remove conditional code.
63405         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63406         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63407         Remove conditional code.
63408         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63409         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63410         Remove conditional code.
63411         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63412         * sysdeps/unix/sysv/linux/sh/pwrite64.c
63413         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63414         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63415         * sysdeps/unix/sysv/linux/sigaction.c
63416         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63417         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63418         * sysdeps/unix/sysv/linux/sigpending.c
63419         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63420         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63421         * sysdeps/unix/sysv/linux/sigprocmask.c
63422         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63423         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63424         * sysdeps/unix/sysv/linux/sigsuspend.c
63425         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63426         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63427         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63428         (__libc_missing_rt_sigs): Remove.
63429         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
63430         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
63431         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
63432         Remove conditional code.
63433         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
63434         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
63435         return 1.
63436         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
63437         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
63438         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
63439         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
63441 2012-05-14  Andreas Jaeger  <aj@suse.de>
63443         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
63444         it's not used in glibc.
63445         (__coshm1): Likewise.
63446         (__acosh1p): Likewise.
63447         (__sgn): Likewise.
63449         * manual/string.texi (Copying and Concatenation): Add missing
63450         variable in concat example.
63451         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
63453 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63455         [BZ #14103]
63456         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
63457         __builtin_clzl with __builtin_clzll.
63459 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63461         [BZ #14104]
63462         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
63463         libc_freeres_ptr.
63465 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63467         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
63468         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
63469         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
63470         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
63472 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
63474         * NEWS: Update ia64 info.
63476 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
63478         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
63479         used as bcopy.
63481 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
63483         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
63484         * sysdeps/unix/syscalls.list (dup3): Likewise.
63485         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
63486         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
63488 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63490         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
63491         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
63493 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63495         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
63496         thread pointer.
63497         (TLS_IE): Use mov/add instead of movq/addq to load thread
63498         pointer.
63499         (TLS_GD_PREFIX): New.
63500         (TLS_GD): Use it.
63502 2012-05-11  David S. Miller  <davem@davemloft.net>
63504         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
63505         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
63506         (_FPU_SETCW): Likewise.
63508 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63510         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
63511         is 32-byte aligned.
63513 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
63515         [BZ #11837]
63516         * iconvdata/gb18030.c: Update tables.
63517         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
63518         characters specially.
63519         (BODY for TO_LOOP): Add encoding of missing ranges.
63521 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
63523         [BZ #13673]
63524         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
63525         * sysdeps/mach/hurd/dup3.c: Likewise.
63526         * sysdeps/mach/hurd/readlinkat.c: Likewise.
63527         * sysdeps/powerpc/memmove.c:: Likewise.
63529 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63531         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
63532         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
63534 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63536         * elf/elf.h (R_X86_64_RELATIVE64): New.
63537         (R_X86_64_NUM): Updated.
63538         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63539         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
63540         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
63541         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
63542         tst-quad1pie tst-quad2pie
63543         (modules-names): Add tst-quadmod1 tst-quadmod2.
63544         ($(objpfx)tst-quad1): New dependency.
63545         ($(objpfx)tst-quad2): Likewise.
63546         ($(objpfx)tst-quad1pie): Likewise.
63547         ($(objpfx)tst-quad2pie): Likewise.
63548         * sysdeps/x86_64/tst-quad1.c: New file.
63549         * sysdeps/x86_64/tst-quad1pie.c: New file.
63550         * sysdeps/x86_64/tst-quad2.c: Likewise.
63551         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
63552         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
63553         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
63554         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
63555         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
63557 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63559         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
63560         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
63561         * streams/stropts.h (t_scalar_t): Define type.
63563         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
63564         (_PATH_PRESERVE): Set to "/var/lib".
63565         (_PATH_RWHODIR): Set to "/var/spool/rwho".
63567         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
63568         instead of int.
63570         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
63571         if __dir_mkfile succeeded.
63573         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
63574         checking for _hurd_dtablesize.  Unlock it right after having
63575         finished _hurd_dtable allocation.
63577 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63579         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
63580         * sysdeps/mach/hurd/configure: Regenerated.
63581         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
63582         special-casing to...
63583         * sysdeps/gnu/configure.in: ... this new file.
63584         * sysdeps/unix/sysv/linux/configure: Regenerated.
63585         * sysdeps/gnu/configure: New generated file.
63587         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
63588         for Linux: use nsec instead of usec, as well as:
63589         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
63590         members of type struct timespec.
63591         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
63592         New macros.
63593         (struct stat64): Likewise.
63594         (_STATBUF_ST_NSEC): New macro.
63595         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
63597         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63598         __strtoul_internal rather than strtoul.
63600 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63602         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
63603         and reject them.
63605 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63607         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
63608         which preserves existing values.
63609         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
63611 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63613         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
63614         TIMEOUT values.  Return EINVAL for NFDS values either negative or
63615         greater than FD_SETSIZE.
63617 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63619         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
63620         allocated, call __vm_protect to finish enabling the existing space, and
63621         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
63622         allocate the remainder.
63624 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63626         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
63627         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
63629 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63631         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
63632         sysdeps/mach/hurd/readlink.c.
63634         * posix/tst-sysconf.c (posix_options): Only use
63635         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
63636         _POSIX_SYNCHRONIZED_IO when they are defined
63637         * sysdeps/mach/hurd/bits/posix_opt.h:
63638         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
63639         (_XOPEN_REALTIME): Undefine macro.
63640         (_XOPEN_REALTIME_THREADS): Undefine macro.
63641         (_XOPEN_SHM): Undefine macro.
63642         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
63643         macro to -1.
63644         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
63645         macro to -1.
63646         (_POSIX_ASYNC_IO): Undefine macro.
63647         (_POSIX_PRIORITIZED_IO): Undefine macro.
63648         (_POSIX_SPIN_LOCKS): Define macro to -1.
63650         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
63651         SA_NODEFER, SA_RESETHAND.
63652         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
63653         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
63654         F_DUPFD_CLOEXEC.
63656 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63658         * elf/Makefile (pldd-modules): Define unconditionally.
63660 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63662         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
63664 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63666         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
63667         Return ENOENT when name is empty.
63668         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
63670 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63672         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
63674         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
63676 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63678         Fix mlock in all cases except non-readable pages.
63679         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
63680         instead of VM_PROT_ALL as parameter to __vm_wire function.
63682         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
63683         (__mkdir): When path is `/', just fail with EEXIST.
63684         * sysdeps/mach/hurd/mkdirat.c: Likewise.
63686 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63688         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
63689         <sys/uio.h> (for writev).
63690         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
63691         and <sys/param.h> (for MIN).
63693 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63695         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
63696         REQUESTED_TIME.  Properly set the remaining time and return EINTR
63697         if interrupted.
63699 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63701         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
63702         Depend on against $(link-rpcuserlibs).
63704 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63706         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
63707         (__libc_stack_end): Do not use attribute_relro.
63708         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
63709         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
63710         to libthread-provided value.
63711         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
63712         attribute_relro.
63714 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63716         [BZ #3748]
63717         * bits/libc-lock.h (__libc_once_get): New macro.
63718         * sysdeps/mach/bits/libc-lock.h: Likewise.
63719         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
63720         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
63721         instead of using implementation details.
63723         * libio/fileops.c: Unconditionally include <kernel-features.h>.
63724         * libio/freopen.c: Likewise.
63725         * libio/freopen64.c: Likewise.
63726         * misc/syslog.c: Likewise.
63727         * nscd/connections.c: Likewise.
63728         * nscd/netgroupcache.c: Likewise.
63729         * sysdeps/posix/getcwd.c: Likewise.
63731 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63733         * math/w_ilogbf.c: Add #include <limits.h>.
63735 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63737         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
63738         path instead of returning without unlocking.
63740         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
63741         immediate-write ioctls.
63742         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
63744 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63746         * sysdeps/mach/hurd/i386/init-first.c (init): Use
63747         __builtin_frame_address instead of making assumptions about the
63748         location of the return address relative to DATA.  Force early load of
63749         the return address.
63750         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
63751         __builtin_frame_address.
63753         dup3 for GNU Hurd.
63754         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
63755         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
63756         implement dup3 and do some further code clean-ups.
63757         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
63758         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
63760 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63762         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
63764         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
63765         HURD_CRITICAL_END around holding _hurd_dtable_lock.
63766         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
63767         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
63768         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
63769         d->port.lock.
63771         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
63772         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
63773         when handler == SIG_ERR, not when handler != SIG_ERR.
63775 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63777         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
63778         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
63779         definitions.
63781         accept4 for GNU Hurd.
63782         * include/sys/socket.h (__libc_accept4): New prototype.
63783         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
63784         to implement __libc_accept4.
63785         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
63786         __libc_accept4.
63787         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
63789         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
63790         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
63791         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
63792         signal-defines.sym.
63794 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63796         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
63798 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63800         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
63801         assertion on O_CLOEXEC flag.
63802         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
63803         * hurd/intern-fd.c: Likewise.
63804         * hurd/port2fd.c: Likewise.
63806 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63808         [BZ #3906]
63809         * bits/in.h (IPV6_PKTINFO): Define new macro.
63810         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
63812 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63814         [BZ #13954]
63815         [BZ #13955]
63816         [BZ #13956]
63817         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
63818         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63819         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
63820         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63821         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63822         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63823         * math/libm-test.inc (logb_test) : Additional logb tests.
63825 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
63826             Andreas Jaeger  <aj@suse.de>
63828         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
63829         * configure: Regenerated.
63830         * config.h.in (LINK_OBSOLETE_RPC): New macro.
63831         * config.make.in (link-obsolete-rpc): New substituted variable.
63832         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
63833         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
63834         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63835         (shared-only-routines): Don't set it under [link-obsolete-rpc],
63836         so that libc.a contains the symbols.
63837         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63838         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
63839         * sunrpc/auth_none.c: Likewise.
63840         * sunrpc/auth_unix.c: Likewise.
63841         * sunrpc/authdes_prot.c: Likewise.
63842         * sunrpc/authuxprot.c: Likewise.
63843         * sunrpc/clnt_gen.c: Likewise.
63844         * sunrpc/clnt_perr.c: Likewise.
63845         * sunrpc/clnt_raw.c: Likewise.
63846         * sunrpc/clnt_simp.c: Likewise.
63847         * sunrpc/clnt_tcp.c: Likewise.
63848         * sunrpc/clnt_udp.c: Likewise.
63849         * sunrpc/clnt_unix.c: Likewise.
63850         * sunrpc/des_crypt.c: Likewise.
63851         * sunrpc/des_soft.c: Likewise.
63852         * sunrpc/get_myaddr.c: Likewise.
63853         * sunrpc/key_call.c: Likewise.
63854         * sunrpc/key_prot.c: Likewise.
63855         * sunrpc/netname.c: Likewise.
63856         * sunrpc/pm_getmaps.c: Likewise.
63857         * sunrpc/pm_getport.c: Likewise.
63858         * sunrpc/pmap_clnt.c: Likewise.
63859         * sunrpc/pmap_prot.c: Likewise.
63860         * sunrpc/pmap_prot2.c: Likewise.
63861         * sunrpc/pmap_rmt.c: Likewise.
63862         * sunrpc/publickey.c: Likewise.
63863         * sunrpc/rpc_cmsg.c: Likewise.
63864         * sunrpc/rpc_common.c: Likewise.
63865         * sunrpc/rpc_dtable.c: Likewise.
63866         * sunrpc/rpc_prot.c: Likewise.
63867         * sunrpc/rpc_thread.c: Likewise.
63868         * sunrpc/rtime.c: Likewise.
63869         * sunrpc/svc.c: Likewise.
63870         * sunrpc/svc_auth.c: Likewise.
63871         * sunrpc/svc_raw.c: Likewise.
63872         * sunrpc/svc_run.c: Likewise.
63873         * sunrpc/svc_tcp.c: Likewise.
63874         * sunrpc/svc_udp.c: Likewise.
63875         * sunrpc/svc_unix.c: Likewise.
63876         * sunrpc/svcauth_des.c: Likewise.
63877         * sunrpc/xcrypt.c: Likewise.
63878         * sunrpc/xdr.c: Likewise.
63879         * sunrpc/xdr_array.c: Likewise.
63880         * sunrpc/xdr_float.c: Likewise.
63881         * sunrpc/xdr_intXX_t.c: Likewise.
63882         * sunrpc/xdr_mem.c: Likewise.
63883         * sunrpc/xdr_rec.c: Likewise.
63884         * sunrpc/xdr_ref.c: Likewise.
63885         * sunrpc/xdr_sizeof.c: Likewise.
63886         * sunrpc/xdr_stdio.c: Likewise.
63888 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63890         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
63891         change.  Update copyright years.
63893 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63895         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
63897 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
63898             Joseph Myers  <joseph@codesourcery.com>
63899             Paul Pluzhnikov  <ppluzhnikov@google.com>
63901         [BZ #14012]
63902         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
63903         requiring rpcgen.
63904         [cross-compiling] (extra-libs): Likewise.
63905         [cross-compiling] (extra-libs-others): Likewise.
63906         [cross-compiling] (librpcsvc-routines): Likewise.
63907         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
63908         [cross-compiling] (omit-deps): Likewise.
63909         (sunrpc-CPPFLAGS): New variable.
63910         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
63911         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
63912         (cross-rpcgen-objs): New variable.
63913         (extra-objs): Append $(cross-rpcgen-objs).
63914         ($(cross-rpcgen-objs)): New rule.
63915         ($(objpfx)cross-rpcgen): Likewise.
63916         (rpcgen-cmd): Define to use $(built-program-file).  Expand
63917         comment.
63918         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
63919         ($(objpfx)x%.stmp): Likewise.
63920         * sunrpc/proto.h [IS_IN_build] (_): Define.
63921         [IS_IN_build] (_libc_intl_domainname): Likewise.
63923 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63925         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
63926         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
63927         and R_X86_64_TPOFF64.
63929 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63931         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
63932         sysdeps/unix/sysv/syscalls.list.
63933         (stime): Likewise.
63934         (utime): Likewise.
63935         * sysdeps/unix/sysv/syscalls.list: Remove file.
63937 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
63939         [BZ #3440]
63940         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
63941         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
63942         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
63943         (__LC_IDENTIFICATION): Make these macros useful in #if
63944         expressions, as required by C99.
63946 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
63948         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
63949         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
63950         after this.
63952 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
63954         * stdlib/longlong.h: Updated from GCC.
63956 2012-05-09  Andreas Jaeger  <aj@suse.de>
63958         * nscd/nscd.c (run_modes): Make named enum, reorder so that
63959         default is first entry.
63960         (run_mode): Set type.
63961         (main): Remove informal message about syslog.
63962         (options): Fix typo.
63964         [BZ #14053]
63965         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
63966         to asm.
63967         (lrint): Likewise.
63968         (llrintf): Likewise.
63969         (llrint): Likewise.
63970         (rint): Likewise.
63971         (rintf): Likewise.
63972         (nearbyint): Likewise.
63973         (nearbyintf): Likewise.
63975 2012-05-09  Andreas Jaeger  <aj@suse.de>
63976             Pedro Alves  <palves@redhat.com>
63978         * nscd/nscd.c (run_mode): Use enum.
63979         (main): Cleanup coding style issue.
63981 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
63982             Andreas Jaeger  <aj@suse.de>
63984         * nscd/nscd.c (go_background): Replaced with...
63985         (run_mode): ... this.
63986         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
63987         (options): Add -F --foreground.
63988         (main): Implement it.
63989         (parse_opt): Parse it.
63991 2012-05-09  Andreas Jaeger  <aj@suse.de>
63993         [BZ #14083]
63994         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
63995         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
63996         -Wconversion warning.
63997         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
63998         Likewise.
64000 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
64002         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
64003         == 0.
64004         (LC_ALL): Use macro-int-constant.
64005         (LC_COLLATE): Likewise.
64006         (LC_CTYPE): Likewise.
64007         (LC_MESSAGES): Likewise.
64008         (LC_MONETARY): Likewise.
64009         (LC_NUMERIC): Likewise.
64010         (LC_TIME): Likewise.
64011         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
64012         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64013         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64014         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
64015         Specify type.
64016         [C99-based standards] (float_t): Expect type.
64017         [C99-based standards] (double_t): Expect type.
64018         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
64019         type.
64020         [C99-based standards] (HUGE_VALL): Likewise.
64021         [C99-based standards] (INFINITY): Likewise.
64022         [C99-based standards] (NAN): Likewise.
64023         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
64024         [C99-based standards] (FP_NAN): Likewise.
64025         [C99-based standards] (FP_NORMAL): Likewise.
64026         [C99-based standards] (FP_SUBNORMAL): Likewise.
64027         [C99-based standards] (FP_ZERO): Likewise.
64028         [C99-based standards] (FP_FAST_FMA): Use
64029         optional-macro-int-constant.  Specify type.  Require == 1.
64030         [C99-based standards] (FP_FAST_FMAF): Likewise.
64031         [C99-based standards] (FP_FAST_FMAL): Likewise.
64032         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
64033         [C99-based standards] (FP_ILOGBNAN): Likewise.
64034         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
64035         Specify type.
64036         [C99-based standards] (MATH_ERREXCEPT): Likewise.
64037         [C99-based standards] (math_errhandling): Specify type.
64038         [ISO99 || ISO11] (signgam): Do not allow.
64039         [non-C99-based standards] (copysignf): Do not allow.
64040         [non-C99-based standards] (exp2f): Likewise.
64041         [non-C99-based standards] (log2f): Likewise.
64042         [non-C99-based standards] (modff): Allow.
64043         [non-C99-based standards] (erff): Do not allow.
64044         [non-C99-based standards] (erfcf): Likewise.
64045         [non-C99-based standards] (gammaf): Likewise.
64046         [non-C99-based standards] (hypotf): Likewise.
64047         [non-C99-based standards] (j0f): Likewise.
64048         [non-C99-based standards] (j1f): Likewise.
64049         [non-C99-based standards] (jnf): Likewise.
64050         [non-C99-based standards] (lgammaf): Likewise.
64051         [non-C99-based standards] (tgammaf): Likewise.
64052         [non-C99-based standards] (y0f): Likewise.
64053         [non-C99-based standards] (y1f): Likewise.
64054         [non-C99-based standards] (ynf): Likewise.
64055         [non-C99-based standards] (isnanf): Likewise.
64056         [non-C99-based standards] (acoshf): Likewise.
64057         [non-C99-based standards] (asinhf): Likewise.
64058         [non-C99-based standards] (atanhf): Likewise.
64059         [non-C99-based standards] (cbrtf): Likewise.
64060         [non-C99-based standards] (expm1f): Likewise.
64061         [non-C99-based standards] (ilogbf): Likewise.
64062         [non-C99-based standards] (log1pf): Likewise.
64063         [non-C99-based standards] (logbf): Likewise.
64064         [non-C99-based standards] (nextafterf): Likewise.
64065         [non-C99-based standards] (remainderf): Likewise.
64066         [non-C99-based standards] (rintf): Likewise.
64067         [non-C99-based standards] (scalbf): Likewise.
64068         [non-C99-based standards] (copysignl): Likewise.
64069         [non-C99-based standards] (exp2l): Likewise.
64070         [non-C99-based standards] (log2l): Likewise.
64071         [non-C99-based standards] (modfl): Allow.
64072         [non-C99-based standards] (erfl): Do not allow.
64073         [non-C99-based standards] (erfcl): Likewise.
64074         [non-C99-based standards] (gammal): Likewise.
64075         [non-C99-based standards] (hypotl): Likewise.
64076         [non-C99-based standards] (j0l): Likewise.
64077         [non-C99-based standards] (j1l): Likewise.
64078         [non-C99-based standards] (jnl): Likewise.
64079         [non-C99-based standards] (lgammal): Likewise.
64080         [non-C99-based standards] (tgammal): Likewise.
64081         [non-C99-based standards] (y0l): Likewise.
64082         [non-C99-based standards] (y1l): Likewise.
64083         [non-C99-based standards] (ynl): Likewise.
64084         [non-C99-based standards] (isnanl): Likewise.
64085         [non-C99-based standards] (acoshl): Likewise.
64086         [non-C99-based standards] (asinhl): Likewise.
64087         [non-C99-based standards] (atanhl): Likewise.
64088         [non-C99-based standards] (cbrtl): Likewise.
64089         [non-C99-based standards] (expm1l): Likewise.
64090         [non-C99-based standards] (ilogbl): Likewise.
64091         [non-C99-based standards] (log1pl): Likewise.
64092         [non-C99-based standards] (logbl): Likewise.
64093         [non-C99-based standards] (nextafterl): Likewise.
64094         [non-C99-based standards] (remainderl): Likewise.
64095         [non-C99-based standards] (rintl): Likewise.
64096         [non-C99-based standards] (scalbl): Likewise.
64097         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64098         [non-C99-based standards] (FP_*): Do not allow.
64099         [C99-based standards] (FP_*): Change to
64100         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64101         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64102         allow.
64103         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
64104         (SIG_ERR): Likewise.
64105         [X/Open-based standards] (SIG_HOLD): Likewise.
64106         (SIG_IGN): Likewise.
64107         (SIGABRT): Use macro-int-constant.  Specify type.  Require
64108         positive value.
64109         (SIGFPE): Likewise.
64110         (SIGILL): Likewise.
64111         (SIGINT): Likewise.
64112         (SIGSEGV): Likewise.
64113         (SIGTER): Likewise.
64114         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
64115         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
64116         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
64117         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
64118         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
64119         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
64120         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
64121         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
64122         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
64123         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
64124         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
64125         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
64126         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
64127         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
64128         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
64129         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
64130         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
64131         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
64132         [X/Open-based standards] (SIGTRAP): Likewise.
64133         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
64134         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
64135         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
64136         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
64137         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64138         allow.
64140 2012-05-08  Ian Wienand  <ianw@vmware.com>
64142         [BZ #14080]
64143         * time/tzset.c (__tzset_parse_tz): Update default rules for
64144         daylight time changes in the Energy Policy Act of 2005.
64146 2012-05-09  Andreas Jaeger  <aj@suse.de>
64148         [BZ #13983]
64149         * elf/ldconfig.c (parse_conf): Change string to make clear that
64150         ldconfig only issued a warning if ld.so.conf does not exist.
64152 2012-05-08  David S. Miller  <davem@davemloft.net>
64154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
64155         movxtod instead of popping the value on the stack.
64157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64159 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
64161         * config.h.in: Add HAVE_ARM_PCS_VFP.
64163 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
64165         [BZ #13979]
64166         * include/features.h: Warn if user requests __FORTIFY_SOURCE
64167         checking but the checks are disabled for any reason.
64169 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
64171         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
64172         and ELF64_R_TYPE with ELFW(R_TYPE).
64174 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
64176         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
64177         (ulimit): Likewise.
64179         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64180         (settimeofday): Likewise.
64182 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
64184         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
64185         a struct th_u2 inside the union, and move tu_block/tu_code into
64186         a new th_u3 union of tu_block/tu_code inside of that.  Move
64187         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
64188         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
64189         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64190         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64191         (th_stuff): Change to th_u1.tu_stuff.
64192         (th_data): Define.
64193         (th_msg): Change to th_u1.th_u2.tu_data.
64195 2012-05-07  David S. Miller  <davem@davemloft.net>
64197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64199         [BZ #14074]
64200         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64201         (SETUP_PIC_REG): Use it.
64202         (SETUP_PIC_REG_LEAF): Use it.
64204 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
64206         [BZ #13885]
64207         [BZ #13923]
64208         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64209         USE_AS_EXPM1L.
64210         (EXPL_FINITE): Likewise.
64211         (FLDLOG): Likewise.
64212         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64213         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64214         e_expl.S.
64215         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64216         USE_AS_EXPM1L.
64217         (EXPL_FINITE): Likewise.
64218         (FLDLOG): Likewise.
64219         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64220         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64221         e_expl.S.
64222         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
64223         test of -max_value argument for long double.
64224         * sysdeps/i386/fpu/libm-test-ulps: Update.
64225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64227 2012-05-06  David S. Miller  <davem@davemloft.net>
64229         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
64230         quad soft-float symbols whose references which are compiler
64231         generated.
64232         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64234 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
64236         [BZ #13884]
64237         [BZ #13914]
64238         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64239         USE_AS_EXP10L.
64240         (EXPL_FINITE): Likewise.
64241         (FLDLOG): Likewise.
64242         (c0): Likewise.
64243         (c1): Likewise.
64244         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64245         Adjust comments for base varying.
64246         (__expl_finite): Change alias to EXPL_FINITE.
64247         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
64248         e_expl.S.
64249         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
64250         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
64251         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
64252         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
64253         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64254         USE_AS_EXP10L.
64255         (EXPL_FINITE): Likewise.
64256         (FLDLOG): Likewise.
64257         (c0): Likewise.
64258         (c1): Likewise.
64259         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64260         Adjust comments for base varying.
64261         (__expl_finite): Change alias to EXPL_FINITE.
64262         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
64263         tests for bugs.
64264         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64266         [BZ #14064]
64267         * math/libm-test.inc (check_float_internal): Correct ulp
64268         calculation for subnormal expected results.
64270 2012-05-06  Andreas Jaeger  <aj@suse.de>
64272         * Makeconfig (+math-flags): New, set to -frounding-math.
64273         (+cflags): Add +math-flags so that all of glibc gets compiled with
64274         it.
64276         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
64278 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
64280         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
64281         Disable one test.
64283         [BZ #13787]
64284         [BZ #13922]
64285         [BZ #14036]
64286         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
64287         (__ieee754_expl): Allow for and saturate large arguments.
64288         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
64289         (u_threshold): Likewise.
64290         (__exp): Call __ieee754_exp before checking for overflow and
64291         underflow.
64292         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64293         (u_threshold): Likewise.
64294         (__expf): Call __ieee754_expf before checking for overflow and
64295         underflow.
64296         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64297         (u_threshold): Likewise.
64298         (__expl): Call __ieee754_expl before checking for overflow and
64299         underflow.
64300         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64301         (__ieee754_expl): Allow for and saturate large arguments.
64302         * math/libm-test.inc (exp_test): Add another test.  Do not allow
64303         missing overflow exception on overflow.
64304         (expm1_test): Do not allow missing overflow exception on overflow.
64306         * sysdeps/i386/fpu/e_expl.c: Move to ...
64307         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
64308         rather than using inline asm.
64309         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64310         * sysdeps/x86_64/fpu/e_expl.S: Copy from
64311         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64313         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64314         (nice): Likewise.
64315         (poll): Likewise.
64316         (signal): Likewise.
64317         (time): Likewise.
64318         (times): Likewise.
64320 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64322         * sysdeps/unix/syscalls.list (adjtime): Add entry from
64323         sysdeps/unix/common/syscalls.list.
64324         (fchmod): Likewise.
64325         (fchown): Likewise.
64326         (ftruncate): Likewise.
64327         (getrusage): Likewise.
64328         (gettimeofday): Likewise.
64329         (setpgid): Likewise.
64330         (setregid): Likewise.
64331         (setreuid): Likewise.
64332         (sigaction): Likewise.
64333         (truncate): Likewise.
64334         (vhangup): Likewise.
64335         * sysdeps/unix/common/syscalls.list: Remove file.
64336         * sysdeps/unix/bsd/Implies: Don't include unix/common.
64337         * sysdeps/unix/sysv/linux/Implies: Likewise.
64339 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
64341         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64342         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64343         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64344         Moved to ...
64345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64346         Here.
64347         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64348         to ...
64349         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64350         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64351         to ...
64352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64353         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64354         to ...
64355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64356         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64357         to ...
64358         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64359         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64360         to ...
64361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64362         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64363         to ...
64364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64365         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64366         to ...
64367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64368         Here.
64369         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
64370         to ...
64371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
64372         Here.
64373         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64374         to ...
64375         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
64376         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
64377         Moved to ...
64378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
64379         Here.
64380         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
64381         to ...
64382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
64384 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64386         * sysdeps/unix/common/bits/dirent.h: Remove file.
64387         * sysdeps/unix/common/bits/fcntl.h: Likewise.
64389         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
64390         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
64391         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
64392         * sysdeps/unix/bsd/isatty.c: Likewise.
64393         * sysdeps/unix/bsd/tcdrain.c: Likewise.
64394         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
64395         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
64397 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64399         [BZ #13563]
64400         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
64401         long double comparison inaccuracies.
64402         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64405 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
64407         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
64408         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
64410 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64412         [BZ #14049]
64413         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
64414         nonzero digits before rounding a hex value.
64415         * stdlib/tst-strtod.c (tests): Add another test.
64417 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64419         * sysdeps/s390/fpu/libm-test-ulps: Update.
64421 2012-05-03  Andreas Jaeger  <aj@suse.de>
64423         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
64424         does not get optimized out.
64425         (malloc_opt_barrier): New.
64427 2012-05-03  Andreas Jaeger  <aj@suse.de>
64428             Roland McGrath  <roland@hack.frob.com>
64430         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
64431         intermediate file deletion.
64432         (generated): Add .symlist files.
64434 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
64436         [BZ #13775]
64437         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
64438         Redirect under this condition.
64439         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64440         [__USE_GNU] (__dprintf_chk): Not under this condition.
64441         [__USE_GNU] (__vdprintf_chk): Likewise.
64442         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
64443         under this condition.
64444         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64445         [__USE_XOPEN2K8] (dprintf): Define under this condition.
64446         [__USE_XOPEN2K8] (vdprintf): Likewise.
64447         [__USE_GNU] (__dprintf_chk): Not under this condition.
64448         [__USE_GNU] (__vdprintf_chk): Likewise.
64449         [__USE_GNU] (dprintf): Likewise.
64450         [__USE_GNU] (vdprintf): Likewise.
64452 2012-05-03  Roland McGrath  <roland@hack.frob.com>
64454         * elf/Makefile (common-generated): Set this instead of generated for
64455         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
64456         $(all-built-dso)-derived lists.
64458 2012-05-03  Andreas Jaeger  <aj@suse.de>
64460         * sysdeps/i386/fpu/libm-test-ulps: Update.
64462         * FAQ: Removed.
64463         * FAQ.in: Likewise.
64464         * scripts/gen-FAQ.pl: Likewise.
64465         * manual/install.texi (Installation): Point to online location of
64466         FAQ.
64467         * Makefile (files-for-dist): Remove FAQ.
64468         (FAQ): Remove.
64470 2012-05-02  Allan McRae  <allan@archlinux.org>
64472         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
64473         (LDFLAGS-reldepmod5.so): Likewise.
64474         (LDFLAGS-reldep6mod1.so): Likewise.
64475         (LDFLAGS-reldep6mod4.so): Likewise.
64476         (LDFLAGS-reldep8mod3.so): Likewise.
64477         (LDFLAGS-unload4mod1.so): Likewise.
64478         (LDFLAGS-unload4mod2.so): Likewise.
64479         (LDFLAGS-tst-initorder): Likewise.
64480         (LDFLAGS-tst-initordera2.so): Likewise.
64481         (LDFLAGS-tst-initordera3.so): Likewise.
64482         (LDFLAGS-tst-initordera4.so): Likewise.
64483         (LDFLAGS-tst-initorderb2.so): Likewise.
64484         (LDFLAGS-noload): Likewise.
64485         (LDFLAGS-next): Likewise.
64486         (LDFLAGS-order2mod1.so): Likewise.
64487         (LDFLAGS-order2mod2.so): Likewise.
64488         (LDFLAGS-tst-initorder2): Likewise.
64489         (LDFLAGS-tst-initorder2a.so): Likewise.
64490         (LDFLAGS-tst-initorder2b.so): Likewise.
64491         (LDFLAGS-tst-initorder2c.so): Likewise.
64492         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
64494 2012-05-02  David S. Miller  <davem@davemloft.net>
64496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64498 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
64500         [BZ #14055]
64501         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
64503 2012-05-02  Andreas Jaeger  <aj@suse.de>
64505         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
64506         since we manipulate rounding mode.
64507         (CPPFLAGS-test-idouble.c): Likewise.
64508         (CPPFLAGS-test-ifloat.c): Likewise.
64509         (CFLAGS-test-ldouble.c): Likewise.
64510         (CFLAGS-test-double.c): Likewise.
64511         (CFLAGS-test-float.c): Likewise.
64512         (CFLAGS-test-misc.c): Likewise.
64513         (CFLAGS-test-test-fenv.c): Likewise.
64515 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64517         [BZ #2550]
64518         [BZ #2570]
64519         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
64520         comparisons to determine direction to adjust input.
64522 2012-05-01  Roland McGrath  <roland@hack.frob.com>
64524         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
64525         output to the target.
64527         * scripts/localplt.awk: New file.
64528         * elf/Makefile ($(objpfx)check-localplt): Target removed.
64529         (check-localplt-CFLAGS): Variable removed.
64530         ($(all-built-dso:=.jmprel)): New static pattern rule.
64531         (generated): Add those targets.
64532         (localplt-built-dso): New variable.
64533         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
64535         * elf/check-localplt.c: File removed.
64537         * scripts/check-execstack.awk: New file.
64538         * elf/Makefile ($(objpfx)check-execstack): Target removed.
64539         (check-execstack-CFLAGS): Variable removed.
64540         ($(objpfx)check-execstack.h): Target removed.
64541         ($(objpfx)execstack-default): New target.
64542         (generated): Add that instead of check-execstack.h.
64543         ($(all-built-dso:=.phdr)): New static pattern rule.
64544         (generated): Add those targets.
64545         * elf/check-execstack.c: File removed.
64547         * scripts/check-textrel.awk: New file.
64548         * elf/Makefile ($(objpfx)check-textrel): Target removed.
64549         (check-textrel-CFLAGS): Variable removed.
64550         (all-built-dso): Use := to define.o
64551         ($(all-built-dso:=.dyn)): New static pattern rule.
64552         (generated): Add those targets.
64553         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
64554         * config.make.in (READELF): New substituted variable.
64555         * elf/check-textrel.c: File removed.
64557 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64559         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64560         allow.
64561         * conform/data/ctype.h-data [C99-based standards] (isblank):
64562         Expect function.
64563         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
64564         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
64565         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64566         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
64567         Specify type.  Require positive value.
64568         (EILSEQ): Likewise.
64569         (ERANGE): Likewise.
64570         [ISO || POSIX] (EILSEQ): Do not expect.
64571         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
64572         Specify type.  Require positive value.
64573         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
64574         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
64575         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
64576         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
64577         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
64578         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
64579         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
64580         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
64581         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
64582         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
64583         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
64584         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
64585         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
64586         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
64587         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
64588         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
64589         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
64590         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
64591         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
64592         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
64593         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
64594         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
64595         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
64596         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
64597         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
64598         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
64599         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
64600         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
64601         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
64602         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
64603         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
64604         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
64605         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
64606         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
64607         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
64608         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
64609         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
64610         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
64611         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
64612         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
64613         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
64614         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
64615         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
64616         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
64617         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
64618         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
64619         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
64620         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
64621         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
64622         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
64623         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
64624         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
64625         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
64626         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
64627         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
64628         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
64629         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
64630         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
64631         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
64632         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
64633         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
64634         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
64635         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
64636         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
64637         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
64638         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
64639         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
64640         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
64641         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
64642         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
64643         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
64644         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
64645         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
64646         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
64647         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
64648         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
64649         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
64650         Require >= 2.
64651         (FLT_ROUNDS): Expect as macro, not constant.
64652         (FLT_MANT_DIG): Use macro-int-constant.
64653         (DBL_MANT_DIG): Likewise.
64654         (LDBL_MANT_DIG): Likewise.
64655         (FLT_DIG): Likewise.
64656         (DBL_DIG): Likewise.
64657         (LDBL_DIG): Likewise.
64658         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
64659         (DBL_MIN_EXP): Likewise.
64660         (LDBL_MIN_EXP): Likewise.
64661         (FLT_MAX_EXP): Use macro-int-constant.
64662         (DBL_MAX_EXP): Likewise.
64663         (LDBL_MAX_EXP): Likewise.
64664         (FLT_MAX_10_EXP): Likewise.
64665         (DBL_MAX_10_EXP): Likewise.
64666         (LDBL_MAX_10_EXP): Likewise.
64667         (FLT_MAX): Use macro-constant.
64668         (DBL_MAX): Likewise.
64669         (LDBL_MAX): Likewise.
64670         (FLT_EPSILON): Use macro-constant.  Give upper bound.
64671         (DBL_EPSILON): Likewise.
64672         (LDBL_EPSILON): Likewise.
64673         (FLT_MIN): Likewise.
64674         (DBL_MIN): Likewise.
64675         (LDBL_MIN): Likewise.
64676         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
64677         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
64678         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
64679         [ISO11] (FLT_HAS_SUBNORM): Likewise.
64680         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
64681         [ISO11] (DBL_DECIMAL_DIG): Likewise.
64682         [ISO11] (FLT_DECIMAL_DIG): Likewise.
64683         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
64684         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
64685         [ISO11] (FLT_TRUE_MIN): Likewise.
64686         [ISO11] (LDBL_TRUE_MIN): Likewise.
64687         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64688         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
64689         (SCHAR_MIN): Use macro-int-constant.  Specify type.
64690         (SCHAR_MAX): Likewise.
64691         (UCHAR_MAX): Likewise.
64692         (CHAR_MIN): Likewise.
64693         (CHAR_MAX): Likewise.
64694         (MB_LEN_MAX): Use macro-int-constant.
64695         (SHRT_MIN): Use macro-int-constant.  Specify type.
64696         (SHRT_MAX): Likewise.
64697         (USHRT_MAX): Likewise.
64698         (INT_MAX): Likewise.
64699         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
64700         bound negative.
64701         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64702         bound with "U".
64703         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64704         bound with "L".
64705         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
64706         bound negative.  Suffix upper bound with "L".
64707         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64708         bound with "UL".
64709         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
64710         Specify type.
64711         [C99-based standards] (LLONG_MAX): Likewise.
64712         [C99-based standards] (ULLONG_MAX): Likewise.
64713         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
64714         == 0.
64715         [ISO11] (max_align_t): Require type.
64716         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64718         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
64719         from $CFLAGS, without defining away __attribute__ calls.
64720         (checknamespace): Use $CFLAGS_namespace.
64722         * conform/conformtest.pl (@keywords): Only include C99 keywords
64723         for standards based on C99 or C11.
64725         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
64726         Disable tests.
64727         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
64728         UNIX98]: Likewise.
64730         * conform/conformtest.pl: Handle "macro-int-constant" and test for
64731         usability of symbols in #if.
64733         * conform/conformtest.pl: If macro or constant types start
64734         "promoted:", expect the symbol to be of the following type
64735         promoted by the integer promotions.
64737         * conform/conformtest.pl: Parse all "constant" and "macro" lines
64738         in one place.  Also handle "macro-constant".
64740         * conform/conformtest.pl: Only accept expected macro values with
64741         "==".  Parse all "macro" lines in one place.
64742         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
64744         * conform/conformtest.pl: Handle braced types on "constant" lines
64745         instead of handling "typed-constant".
64746         * conform/data/signal.h-data: Use "constant" instead of
64747         "typed-constant".
64749         * conform/conformtest.pl: Handle "optional-" at start of lines in
64750         one place rather than duplicating several cases.  Handle each
64751         format of "macro" line with initial "optional-".
64753         * conform/conformtest.pl: Only accept expected constant or
64754         optional-constant values with "==".  Parse all "constant" lines in
64755         one place.  Parse all "optional-constant" lines in one place.
64756         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
64757         * conform/data/fmtmsg.h-data: Likewise.
64758         * conform/data/netinet/in.h-data: Likewise.
64759         * conform/data/tar.h-data: Likewise.
64760         * conform/data/limits.h-data: Use "==" form on "constant" and
64761         "optional-constant" lines.
64763         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
64764         Use -std=c99 for XOPEN2K.
64765         (@knownproblems): Remove.
64766         (newtoken): Don't check %isknown.
64768         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
64769         Do not expect macro.
64770         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
64771         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
64772         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
64773         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
64774         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
64775         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
64776         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
64777         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
64778         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
64779         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
64780         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
64781         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
64782         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
64783         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
64784         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
64785         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
64786         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
64787         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
64788         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
64789         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
64790         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
64791         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
64792         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
64793         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
64794         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
64795         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
64796         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
64797         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
64798         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
64799         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
64800         [XPG3] (acosh): Likewise.
64801         [XPG3] (asinh): Likewise.
64802         [XPG3] (atanh): Likewise.
64803         [XPG3] (cbrt): Likewise.
64804         [XPG3] (expm1): Likewise.
64805         [XPG3] (ilogb): Likewise.
64806         [XPG3] (log1p): Likewise.
64807         [XPG3] (logb): Likewise.
64808         [XPG3] (nextafter): Likewise.
64809         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
64810         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
64811         [XPG3] (remainder): Likewise.
64812         [XPG3] (rint): Likewise.
64813         [XPG3 || XPG4 || UNIX98] (round): Likewise.
64814         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
64815         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
64816         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
64817         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
64818         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
64819         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
64820         [UNIX98 || XOPEN2K] (scalb): Expect.
64821         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
64822         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
64823         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
64824         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
64825         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
64826         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
64827         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
64828         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
64829         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
64830         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
64831         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
64832         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
64833         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
64834         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
64835         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
64836         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
64837         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
64838         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
64839         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
64840         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
64841         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
64842         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
64843         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
64844         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
64845         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
64846         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
64847         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
64848         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
64849         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
64850         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
64851         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
64852         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
64853         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
64854         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
64855         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
64856         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
64857         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
64858         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
64859         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
64860         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
64861         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
64862         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
64863         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
64864         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
64865         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
64866         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
64867         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
64868         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
64869         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
64870         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
64871         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
64872         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
64873         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
64874         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
64875         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
64876         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
64877         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
64878         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
64879         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
64880         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
64881         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
64882         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
64883         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
64884         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
64885         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
64886         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
64887         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
64888         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
64889         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
64890         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
64891         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
64892         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
64893         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
64894         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
64895         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
64896         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
64897         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
64898         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
64899         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
64900         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
64901         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
64902         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
64903         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
64904         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
64905         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
64906         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
64907         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
64908         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
64909         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
64910         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
64911         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
64912         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
64913         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
64914         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
64915         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
64916         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
64917         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
64918         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
64919         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
64920         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
64921         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
64922         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
64923         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
64924         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
64925         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
64926         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
64927         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
64928         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
64929         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
64930         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
64931         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
64932         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
64933         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
64934         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
64935         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
64936         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
64937         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
64938         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
64939         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
64940         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
64941         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
64942         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
64943         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
64944         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
64945         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
64946         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
64947         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
64948         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
64949         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
64950         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
64951         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
64952         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
64953         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
64954         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
64955         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
64956         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
64957         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
64959         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
64960         _XOPEN_SOURCE_EXTENDED for XPG4.
64962         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
64964         * Makeconfig (localtime): Remove variable.
64965         (inst_localtime-file): Likewise.
64967 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
64970         Update.
64971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64972         Update.
64973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
64974         Update.
64975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64976         Update.
64977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
64978         Update.
64979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
64980         Update.
64981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64982         Update.
64983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
64984         Update.
64985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64986         Update.
64988 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64990         [BZ #2550]
64991         [BZ #2570]
64992         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
64993         comparisons to determine direction to adjust input.
64994         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
64995         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
64996         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
64997         Likewise.
64998         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
64999         Likewise.
65000         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
65001         Likewise.
65002         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
65003         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
65004         Likewise.
65005         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
65006         Likewise.
65007         * math/libm-test.inc (nexttoward_test): Add more tests.
65009 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65011         [BZ #14040]
65012         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
65013         in version GLIBC_2.1, not GLIBC_2.0.
65014         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
65015         Likewise.
65017 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
65019         [BZ #13942]
65020         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
65021         (1 - x) * (1 + x).
65022         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65023         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
65024         * math/libm-test.inc (acos_test): Add more tests.
65025         (asin_test): Likewise.
65026         * sysdeps/i386/fpu/libm-test-ulps: Update.
65027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65029         [BZ #14034]
65030         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
65031         of square root.
65032         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
65033         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65034         * math/libm-test.inc (acos_test_tonearest): New function.
65035         (acos_test_towardzero): Likewise.
65036         (acos_test_downward): Likewise.
65037         (acos_test_upward): Likewise.
65038         (asin_test_tonearest): Likewise.
65039         (asin_test_towardzero): Likewise.
65040         (asin_test_downward): Likewise.
65041         (asin_test_upward): Likewise.
65042         (main): Call the new functions.
65043         * sysdeps/i386/fpu/libm-test-ulps: Update.
65044         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65046         [BZ #13884]
65047         [BZ #13924]
65048         * math/e_exp10.c: Include <float.h>.
65049         (__ieee754_exp10): Handle underflow here rather than multiplying
65050         large negative argument by M_LN10.
65051         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65052         of __ieee754_expf.
65053         * math/e_exp10l.c: Include <float.h>.
65054         (__ieee754_exp10l): Handle underflow here rather than multiplying
65055         large negative argument by M_LN10l.
65056         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
65057         spurious overflow exception on underflow.
65059 2012-04-29  Marek Polacek  <polacek@redhat.com>
65061         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
65062         (__fortify_function): New macro.
65063         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
65064         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
65065         __extern_always_inline.
65066         * libio/bits/stdio2.h: Likewise.
65067         * libio/bits/stdio.h: Likewise.
65068         * string/string.h: Likewise.
65069         * string/bits/string3.h: Likewise.
65070         * include/stdio.h: Likewise.
65071         * stdlib/bits/stdlib.h: Likewise.
65072         * stdlib/stdlib.h: Likewise.
65073         * rt/bits/mqueue2.h: Likewise.
65074         * rt/mqueue.h: Likewise.
65075         * posix/bits/unistd.h: Likewise.
65076         * posix/unistd.h: Likewise.
65077         * io/bits/poll2.h: Likewise.
65078         * io/bits/fcntl2.h: Likewise.
65079         * io/fcntl.h: Likewise.
65080         * io/sys/poll.h: Likewise.
65081         * misc/bits/syslog.h: Likewise.
65082         * misc/bits/syslog-ldbl.h: Likewise.
65083         * misc/sys/syslog.h: Likewise.
65084         * socket/bits/socket2.h: Likewise.
65085         * socket/sys/socket.h: Likewise.
65086         * debug/tst-chk1.c: Likewise.
65087         * wcsmbs/bits/wchar2.h: Likewise.
65088         * wcsmbs/bits/wchar-ldbl.h: Likewise.
65089         * wcsmbs/wchar.h: Likewise.
65091 2012-04-29  Andreas Jaeger  <aj@suse.de>
65093         * Makerules (tests): Remove enable-check-abi protection.
65094         (check-abi-warn): Remove.
65095         (check-abi-%): Remove check-abi-warn usage.
65097         * configure.in: Remove check-abi configure option.
65098         * configure: Regenerated.
65099         * config.make.in (enable-check-abi): Remove.
65101 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
65103         [BZ #14033]
65104         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
65105         double functions to double *_finite functions.
65107         [BZ #13941]
65108         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
65109         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
65110         LDBL_MIN_EXP.
65111         * stdio-common/Makefile (tests): Add tst-sprintf3.
65112         * stdio-common/tst-sprintf3.c: New file.
65114         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
65115         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
65117 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65119         * conform/conformtest.pl: Remove duplicate typed-constant
65120         handling.
65122 2012-04-28  David S. Miller  <davem@davemloft.net>
65124         * Makerules (%.abilist): Add vpath on sysdep_dirs.
65125         (check-abi-%): Remove AWK script prerequisite and explicit
65126         abilist directory.
65127         (check-abi): Rewrite to just diff the symlist with the abilist.
65128         (config-tls, config-abi-config): Delete, no longer used.
65129         (update-abi-%): Remove AWK script and explicit abilist directory.
65130         (update-abi): Rewrite to simply compare and conditionally copy the
65131         symlist and the sysdep abilist file.  Remove update-abi-config
65132         checks.
65133         * abilist/ld.abilist: Remove.
65134         * abilist/libBrokenLocale.abilist: Remove.
65135         * abilist/libanl.abilist: Remove.
65136         * abilist/libcrypt.abilist: Remove.
65137         * abilist/libdl.abilist: Remove.
65138         * abilist/librt.abilist: Remove.
65139         * abilist/libthread_db.abilist: Remove.
65140         * abilist/libutil.abilist: Remove.
65141         * scripts/extract-abilist.awk: Remove.
65142         * scripts/merge-abilist.awk: Remove.
65143         * sysdeps/generic/libcidn.abilist: New file.
65144         * sysdeps/generic/libnss_compat.abilist: New file.
65145         * sysdeps/generic/libnss_db.abilist: New file.
65146         * sysdeps/generic/libnss_dns.abilist: New file.
65147         * sysdeps/generic/libnss_files.abilist: New file.
65148         * sysdeps/generic/libnss_hesiod.abilist: New file.
65149         * sysdeps/generic/libnss_nis.abilist: New file.
65150         * sysdeps/generic/libnss_nisplus.abilist: New file.
65151         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
65152         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
65153         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
65154         file.
65155         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65156         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
65157         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
65158         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
65159         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
65160         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
65161         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
65162         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
65163         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
65164         file.
65165         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65166         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
65167         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
65168         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
65169         file.
65170         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
65171         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
65172         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
65173         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
65174         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
65175         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
65176         file.
65177         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65178         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65179         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65180         file.
65181         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65182         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65183         New file.
65184         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65185         New file.
65186         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65187         New file.
65188         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65189         New file.
65190         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65191         New file.
65192         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65193         New file.
65194         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65195         New file.
65196         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65197         New file.
65198         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65199         New file.
65200         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65201         New file.
65202         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65203         New file.
65204         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65205         New file.
65206         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65207         New file.
65208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65209         file.
65210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65211         New file.
65212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65213         New file.
65214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
65215         file.
65216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
65217         New file.
65218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
65219         New file.
65220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
65221         file.
65222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
65223         New file.
65224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65225         New file.
65226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
65227         New file.
65228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
65229         New file.
65230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
65231         New file.
65232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
65233         New file.
65234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
65235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
65236         file.
65237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65238         New file.
65239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
65240         file.
65241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
65242         file.
65243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
65244         file.
65245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
65246         file.
65247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
65248         file.
65249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65250         New file.
65251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
65252         file.
65253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
65254         file.
65255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
65256         New file.
65257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
65258         file.
65259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
65260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
65261         file.
65262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
65263         New file.
65264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
65265         file.
65266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
65267         file.
65268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
65269         file.
65270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
65271         file.
65272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
65273         file.
65274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65275         New file.
65276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
65277         file.
65278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
65279         file.
65280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
65281         New file.
65282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
65283         file.
65284         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65285         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
65286         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
65287         file.
65288         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
65289         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
65290         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65291         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65292         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65293         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65294         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65295         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65296         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65297         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65300         file.
65301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65302         New file.
65303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65304         file.
65305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65306         file.
65307         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65308         file.
65309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65310         file.
65311         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65312         file.
65313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65314         New file.
65315         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65316         New file.
65317         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65318         file.
65319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65320         New file.
65321         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65322         file.
65323         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65324         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65325         file.
65326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65327         New file.
65328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65329         file.
65330         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65331         file.
65332         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65333         file.
65334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65335         file.
65336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65337         file.
65338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65339         New file.
65340         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65341         New file.
65342         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65343         file.
65344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65345         New file.
65346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65347         file.
65349 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65351         * conform/conformtest.pl: Fix typo in handling typed-constant from
65352         allow-header.
65354 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65356         * README: Cut down references to pre-2.6 Linux kernels and
65357         Linuxthreads.  Update lists of configurations in libc and ports
65358         and sort alphabetically.  Say "or newer" with Linux kernel version
65359         requirements.
65361         * config.h.in [IS_IN_build]: Allow compiling without optimization.
65363 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65365         [BZ #887]
65366         * math/libm-test.inc (logb_test_downward): New test to expose
65367         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65368         rounding mode.
65370 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65372         [BZ #14027]
65373         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
65374         to be done.
65375         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
65376         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
65378 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
65380         * sysdeps/unix/i386/brk.S: Remove file.
65381         * sysdeps/unix/i386/dl-brk.S: Likewise.
65382         * sysdeps/unix/i386/pipe.S: Likewise.
65383         * sysdeps/unix/i386/sigreturn.S: Likewise.
65384         * sysdeps/unix/i386/syscall.S: Likewise.
65385         * sysdeps/unix/i386/vfork.S: Likewise.
65386         * sysdeps/unix/i386/wait.S: Likewise.
65388         * sysdeps/unix/common/tcsendbrk.c: Move to ...
65389         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
65391         * configure.in (arm*-none*): Do not allow without
65392         --enable-hacker-mode.
65393         (netbsd*): Remove case setting base_os.
65394         (386bsd*): Likewise.
65395         (freebsd*): Likewise.
65396         (bsdi*): Likewise.
65397         (osf*): Likewise.
65398         (sunos*): Likewise.
65399         (ultrix*): Likewise.
65400         (newsos*): Likewise.
65401         (dynix*): Likewise.
65402         (*bsd*): Likewise.
65403         (sysv*): Likewise.
65404         (isc*): Likewise.
65405         (esix*): Likewise.
65406         (sco*): Likewise.
65407         (minix*): Likewise.
65408         (irix4*): Likewise.
65409         (irix6*): Likewise.
65410         (solaris[2-9]*): Likewise.
65411         (none): Likewise.
65412         * configure: Regenerated.
65414 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65416         [BZ #11521]
65417         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
65418         overflow or cancellation in calculating denominator.
65419         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
65420         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
65421         down expression to avoid unexpected rounding in newer GCCs.
65422         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
65424 2012-04-26  David S. Miller  <davem@davemloft.net>
65426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
65427         long-double compat symbols.
65428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
65432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
65435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
65436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
65437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
65438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
65439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
65440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65442 2012-04-25  David S. Miller  <davem@davemloft.net>
65444         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
65445         HWCAP_* values only after the memory barriers have been defined.
65446         (atomic_full_barrier): Define.
65447         (atomic_read_barrier): Define.
65448         (atomic_write_barrier): Define.
65450 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65452         * shlib-versions: Add libgcc_s version information.
65453         * sysdeps/generic/libgcc_s.h: Remove.
65454         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
65455         libgcc_s.h.
65456         * sysdeps/gnu/unwind-resume.c: Likewise.
65457         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
65459 2012-04-25  David S. Miller  <davem@davemloft.net>
65461         * sysdeps/unix/sparc/brk.S: Delete.
65462         * sysdeps/unix/sparc/dl-brk.S: Delete.
65463         * sysdeps/unix/sparc/pipe.S: Delete.
65464         * sysdeps/unix/sparc/sysdep.S: Delete.
65465         * sysdeps/unix/sparc/sysdep.h: Delete.
65466         * sysdeps/unix/sparc/vfork.S: Delete.
65467         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
65468         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
65469         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
65470         (ret_ERRVAL, r0, r1, MOVE): Define.
65471         (JUMPTARGET): Remove.
65472         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
65473         sysdeps/unix/sparc/sysdep.h
65474         (ENTRY, END): Remove.
65475         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65477 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
65479         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
65480         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
65481         -DIS_IN_build.
65483         * timezone/README: Update upstream location and email address for
65484         tzcode and tzdata.
65485         * timezone/zdump.c: Update from tzcode 2012b.
65486         * timezone/zic.c: Likewise.
65488         * configure.in (libc_cv_as_needed): Remove test.
65489         * configure: Regenerated.
65490         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
65491         conditional definition.
65492         [$(have-as-needed) != yes] (no-as-needed): Likewise.
65493         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
65494         * config.make.in (have-as-needed): Remove variable.
65496 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65497             Paul Pluzhnikov  <ppluzhnikov@google.com>
65499         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
65500         strings correctly.
65502 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
65504         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
65505         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65506         * sysdeps/sh/strlen.S: Likewise.
65508 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65510         * sysdeps/unix/fork.S: Remove file.
65511         * sysdeps/unix/i386/fork.S: Likewise.
65512         * sysdeps/unix/sparc/fork.S: Likewise.
65514         * sysdeps/unix/system.c: Remove file.
65515         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
65517         * sysdeps/unix/getegid.S: Remove file.
65518         * sysdeps/unix/geteuid.S: Likewise.
65520 2012-04-24  Roland McGrath  <roland@hack.frob.com>
65522         * scripts/check-localplt.awk: New file.
65523         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
65524         of diff.
65525         * scripts/data/localplt-generic.data: Add a comment.
65527         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
65528         NODE when __dir_mkfile failed.
65529         * sysdeps/mach/hurd/symlinkat.c: Likewise.
65530         Reported by Ludovic Courtès <ludo@gnu.org>.
65532 2012-04-24  Andreas Jaeger  <aj@suse.de>
65534         * Makerules (common-clean): Also remove gen-as-const-headers
65535         files.
65537 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65539         * Makerules (native-compile): Do not change working directory for
65540         build.  Use $(OUTPUT_OPTION) in command.
65541         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
65543 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65545         [BZ #13886]
65546         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
65547         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
65548         * math/libm-test.inc (floor_test): Add more tests.
65549         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
65551 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65553         * sysdeps/unix/getdents.c: Remove file.
65554         * sysdeps/unix/sysv/getdents.c: Likewise.
65555         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
65557         * sysdeps/unix/syscalls.list (madvise): Add syscall from
65558         sysdeps/unix/mman/syscalls.list.
65559         (mmap): Likewise.
65560         (mprotect): Likewise.
65561         (msync): Likewise.
65562         (munmap): Likewise.
65563         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
65564         * sysdeps/unix/mman/syscalls.list: Remove.
65565         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
65567         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
65568         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
65569         * configure: Regenerated.
65570         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
65571         $(libgcc_s_suffix).
65572         * config.make.in (libgcc_s_suffix): Remove variable.
65574 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
65576         * sysdeps/unix/sysv/gethostname.c: Move to ...
65577         * sysdeps/posix/gethostname.c: ... here.
65579         * sysdeps/unix/execve.S: Remove file.
65581         * sysdeps/unix/_exit.S: Remove file.
65583 2012-04-23  Andreas Jaeger  <aj@suse.de>
65585         [BZ #13739]
65586         * manual/Makefile: Remove make dist support, there's no
65587         need for a stand-alone documentation tar ball.
65588         (TEXI2DVI): Define always, it's not in Makeconfig.
65589         (dist): Removed.
65590         (tar-it): Removed.
65591         (edition): Removed.
65592         (glibc-doc-$(edition).tar): Removed
65593         (%.Z): Removed.
65594         (%.gz): Removed.
65595         (%.uu): Removed.
65596         (ETAGS): Remove, it's in Makeconfig.
65597         (move-if-change): Remove, it's in Makeconfig.
65599 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
65601         [BZ #13970]
65602         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
65603         (strtod, strtof, strtold, strtol, strtoul, strtoq)
65604         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
65605         (strtod_l, strtof_l, strtold_l): Remove __wur.
65606         It is not necessarily an error to ignore strtol's return value.
65607         One can reliably look at the stored endptr to decide whether
65608         the number had valid syntax.
65610 2012-04-21  Andreas Jaeger  <aj@suse.de>
65612         [BZ #13739]
65613         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
65615 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
65617         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
65618         * sysdeps/unix/sysv/Versions: Remove file.
65620 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
65622         [BZ #13927]
65623         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65625 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
65627         [BZ #7064]
65628         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
65629         version from __vm86.
65631 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
65633         * sysdeps/unix/common/lxstat.c: Remove file.
65634         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
65636         * sysdeps/unix/sysv/Makefile: Remove file.
65638         * sysdeps/unix/sysv/direct.h: Remove file.
65640         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
65641         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
65642         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
65643         * sysdeps/unix/sysv/bits/signum.h: Likewise.
65644         * sysdeps/unix/sysv/bits/stat.h: Likewise.
65645         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
65646         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
65648         * sysdeps/unix/sysv/setrlimit.c: Remove file.
65650         * sysdeps/unix/xmknod.c: Remove file.
65651         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
65653         * sysdeps/unix/sysv/settimeofday.c: Remove file.
65655         * sysdeps/unix/sysv/i386/time.S: Remove file.
65657         * sysdeps/unix/fxstat.c: Remove file.
65658         * sysdeps/unix/xstat.c: Likewise.
65659         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
65661         * sysdeps/unix/sysv/sigaction.c: Remove file.
65663         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
65664         (sysdep_headers): Remove variable.
65665         [termio.h not in sysdep_headers] (generated): Likewise.
65666         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
65667         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
65668         * sysdeps/unix/sysv/tcdrain.c: Likewise.
65669         * sysdeps/unix/sysv/tcflow.c: Likewise.
65670         * sysdeps/unix/sysv/tcflush.c: Likewise.
65671         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
65672         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
65673         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
65674         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
65675         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
65677         * sysdeps/unix/siglist.c: Remove file.
65679         * sysdeps/unix/getppid.S: Remove file.
65681         * sysdeps/unix/mkdir.c: Remove file.
65682         * sysdeps/unix/rmdir.c: Likewise.
65684 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
65686         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
65687         ERR_MAX value.
65688         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
65689         errlist-compat value.
65691 2012-04-18  David S. Miller  <davem@davemloft.net>
65693         * sysdeps/generic/memcopy.h (reg_char): Delete.
65694         * debug/strcat_chk.c: Use char, not reg_char.
65695         * debug/strcpy_chk.c: Likewise.
65696         * debug/strncat_chk.c: Likewise.
65697         * debug/strncpy_chk.c: Likewise.
65698         * string/memchr.c: Likewise.
65699         * string/memrchr.c: Likewise.
65700         * string/rawmemchr.c: Likewise.
65701         * string/strcat.c: Likewise.
65702         * string/strchr.c: Likewise.
65703         * string/strchrnul.c: Likewise.
65704         * string/strcmp.c: Likewise.
65705         * string/strcpy.c: Likewise.
65706         * string/strncat.c: Likewise.
65707         * string/strncmp.c: Likewise.
65708         * string/strncpy.c: Likewise.
65710 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65712         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
65713         __builtin_memcopy is called when src and dest ranges are known to not
65714         overlap.
65716 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65718         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
65719         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
65720         fwd_align_merge macro call.
65721         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
65722         bwd_align_merge macro call.
65723         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65725 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65727         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
65728         bwd_align_merge macros.
65729         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
65730         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
65731         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65733 2012-04-18  David S. Miller  <davem@davemloft.net>
65735         * sysdeps/sparc/sparc64/memcopy.h: Delete.
65737 2012-04-18  Andreas Jaeger  <aj@suse.de>
65739         [BZ# 6794]
65740         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
65741         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
65742         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65744         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
65745         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
65746         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65748         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
65749         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
65750         Adjust for changed ldbl-128 files.
65752         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
65753         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
65754         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65756 2012-04-17  David S. Miller  <davem@davemloft.net>
65758         * sysdeps/sparc/sparc32/memcopy.h: Delete.
65760 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
65762         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
65763         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
65764         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
65765         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
65766         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
65767         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
65769 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65771         [BZ #6794]
65772         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
65773         * math/libm-test.inc: Add ilogb errno and exception tests.
65774         * math/w_ilogb.c: New file: ilogb wrapper.
65775         * math/w_ilogbf.c: New file: ilogbf wrapper.
65776         * math/w_ilogbl.c: New file: ilogbl wrapper.
65777         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
65778         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
65779         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
65780         exception being thrown with 0.0 as argument.
65781         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
65782         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
65783         exception being thrown with 0.0 as argument.
65784         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
65785         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65786         exception being thrown with 0.0 as argument.
65787         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
65788         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65789         exception being thrown with 0.0 as argument.
65790         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
65791         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
65792         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
65793         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
65794         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
65795         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
65796         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
65797         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
65798         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
65800 2012-04-17  Petr Baudis  <pasky@ucw.cz>
65802         * include/sys/uio.h: Change __vector to __iovec to avoid clash
65803         with altivec.
65805 2012-04-16  Marek Polacek  <polacek@redhat.com>
65807         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
65809 2012-04-16  Marek Polacek  <polacek@redhat.com>
65811         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
65812         operands of fdivp instruction.
65814 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65816         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
65817         * elf/tst-auditmod3b.c: Likewise.
65818         * elf/tst-auditmod4b.c: Likewise.
65819         * elf/tst-auditmod5b.c: Likewise.
65820         * elf/tst-auditmod6b.c: Likewise.
65821         * elf/tst-auditmod6c.c: Likewise.
65822         * elf/tst-auditmod7b.c: Likewise.
65823         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
65824         * sysdeps/x86_64/preconfigure.in: Likewise.
65825         * sysdeps/x86_64/preconfigure: Regenerated.
65827 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65829         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
65830         __ILP32__.
65832 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
65834         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65835         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
65837 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
65839         [BZ #13973]
65840         * locale/iso-639.def: Fix gl language name. Spotted by
65841         Yaron Shahrabani.
65843 2012-04-12  Roland McGrath  <roland@hack.frob.com>
65845         [BZ #2074]
65846         * libio/libio.h (__io_write_fn): Update comment.
65848 2012-04-12  Petr Baudis  <pasky@ucw.cz>
65850         [BZ #2074]
65851         * stdio.texi (Hook Functions): The user provided writer function
65852         is not allowed to return -1.
65854 2012-04-11  David S. Miller  <davem@davemloft.net>
65856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65858 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
65860         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
65861         Add a leading slash to rtkaio.
65863 2012-04-11  Jim Meyering  <meyering@redhat.com>
65865         [BZ #11959]
65866         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
65867         It is not necessarily an error to ignore fwrite's return
65868         value.  One can reliably use ferror to test for errors after
65869         the fact.
65871 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65873         * bits/types.h (__snseconds_t): New type.
65874         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
65876         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
65877         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65878         (__SNSECONDS_T_TYPE): Likewise.
65879         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65880         (__SNSECONDS_T_TYPE): Likewise.
65881         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65882         (__SNSECONDS_T_TYPE): Likewise.
65884 2012-04-10  Andreas Jaeger  <aj@suse.de>
65886         [BZ #2636]
65887         * manual/time.texi (Processor Time): Return type of times is
65888         elapsed real time since an arbitrary point in the past.
65889         (CPU Time): Move CLK_TCK from here...
65890         (Processor Time): ...to here.  Correct description.
65891         * manual/conf.texi (Constants for Sysconf): Correct description of
65892         _SC_CLK_TCK.
65894 2012-04-10  David S. Miller  <davem@davemloft.net>
65896         [BZ #13967]
65897         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
65898         where the is a gap between DT_REL(A) and DT_JMPREL.
65900 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65902         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
65903         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65904         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65906 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65908         * elf/dl-support.c (_dl_inhibit_cache): New variable.
65909         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
65910         (dl_main): Handle --inhibit-cache.
65911         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
65912         _dl_inhibit_cache.
65913         * elf/dl-load.c (_dl_map_object): Use it.
65914         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
65916 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65918         [BZ #13872]
65919         * sysdeps/i386/fpu/e_powl.S (p78): New object.
65920         (__ieee754_powl): Saturate large exponents rather than testing for
65921         overflow of y*log2(x).
65922         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65923         * math/libm-test.inc (pow_test): Do not permit spurious overflow
65924         exceptions.
65926         [BZ #11521]
65927         * math/s_ctan.c: Include <float.h>.
65928         (__ctan): Avoid internal overflow or cancellation in calculating
65929         denominator.
65930         * math/s_ctanf.c: Likewise.
65931         * math/s_ctanl.c: Likewise.
65932         * math/s_ctanh.c: Likewise.
65933         * math/s_ctanhf.c: Likewise.
65934         * math/s_ctanhl.c: Likewise.
65935         * math/libm-test.inc (ctan_test): Add more tests.
65936         (ctanh_test): Likewise.
65937         * sysdeps/i386/fpu/libm-test-ulps: Update.
65938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65940 2012-04-09  Andreas Jaeger  <aj@suse.de>
65942         [BZ #6894]
65943         * manual/filesys.texi (Directory Entries): Mention that d_namlen
65944         is an optional BSD extension.
65946         [BZ #10254]
65947         * manual/stdio.texi (Opening Streams): Document additional fopen
65948         parameters.
65950 2012-04-09  Roland McGrath  <roland@hack.frob.com>
65952         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
65953         %eax without telling the compiler.
65955 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
65957         [BZ # 13963]
65958         * manual/install.texi: Use sourceware.org.
65960 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65962         [BZ #13873]
65963         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
65964         (__ieee754_pow): Generate overflow and underflow using huge*huge
65965         and tiny*tiny rather than just returning constant infinity or zero
65966         for large exponents.
65967         * math/libm-test.inc (pow_test): Require overflow exceptions for
65968         applicable cases of large exponents.
65970         [BZ #706]
65971         * sysdeps/i386/fpu/e_pow.S (p10): New object.
65972         (__ieee754_pow): Use iterative multiplication algorithm only for
65973         integer exponents with absolute value below 1024.  Check for odd
65974         integer exponents when using algorithm for real exponents.
65975         * math/libm-test.inc (pow_test): Add more tests.
65976         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65978 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
65980         [BZ #13705]
65981         * math/libm-test.inc (exp_test): Do not allow overflow exception
65982         on underflow test.
65984 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
65986         [BZ #13705]
65987         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
65988         instead of __kernel_standard_f.
65990 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
65992         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
65993         * sysdeps/x86_64/memset_chk.S: Likewise.
65995 2012-04-08  Andreas Jaeger  <aj@suse.de>
65997         [BZ #10153]
65998         * manual/startup.texi (Environment Access): Describe return value
65999         for putenv and setenv.
66001         [BZ #6895]
66002         * manual/filesys.texi (Directory Entries): Add description for
66003         DT_LNK.
66005         [BZ #6890]
66006         * manual/filesys.texi (Directory Entries): Clarify that it's file
66007         system not operating system in the description of DT_UNKNOWN.
66009         [BZ #6578]
66010         * manual/syslog.texi (closelog): Fix reference, it's openlog.
66012 2012-04-08  Stephen Compall  <s11@member.fsf.org>
66014         [BZ #6649]
66015         * manual/llio.texi (Opening and Closing Files): Add cross
66016         reference to explain mode argument.
66018 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
66020         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
66021         * sysdeps/x86_64/memset_chk.S: Likewise.
66023 2012-04-07  David S. Miller  <davem@davemloft.net>
66025         * elf/elf.h (R_SPARC_WDISP10): Define.
66026         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
66027         R_SPARC_SIZE32.
66028         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
66029         R_SPARC_SIZE64 and R_SPARC_H34.
66031 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
66033         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
66034         conditions and remove no longer applicable assertion.
66036 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66038         * bits/byteswap.h: Include <features.h>.
66039         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66040         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66042 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66044         * bits/byteswap.h (__bswap_16): Removed.
66045         Include <bits/byteswap-16.h> to get __bswap_16.
66046         * sysdeps/i386/bits/byteswap.h: Likewise.
66047         * sysdeps/s390/bits/byteswap.h: Likewise.
66048         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66049         * bits/byteswap-16.h: New file.
66050         * sysdeps/i386/bits/byteswap-16.h: Likewise.
66051         * sysdeps/s390/bits/byteswap-16.h: Likewise.
66052         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
66053         * string/Makefile (headers): Add bits/byteswap-16.h.
66055 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66057         [BZ #13895]
66058         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
66059         extra indirection.
66060         * nss/Makefile (tests-static, tests): Add tst-nss-static.
66061         * nss/tst-nss-static.c: New.
66063 2012-04-06  Robert Millan  <rmh@gnu.org>
66065         [BZ #6486]
66066         * manual/llio.texi (File Position Primitive): lseek
66067         refers to WHENCE when it really means OFFSET.
66069 2012-04-06  Andreas Jaeger  <aj@suse.de>
66071         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
66072         strncmp declarations.
66074         * abilist/libc.abilist: Add __poll and __ppoll.
66076 2012-04-05  David S. Miller  <davem@davemloft.net>
66078         * scripts/check-local-headers.sh: Accept a host triplet in the
66079         path matched by the exclude regexp.
66081         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
66082         definition.
66083         * sysdeps/powerpc/powerpc32/dl-machine.h
66084         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
66085         * sysdeps/s390/s390-32/dl-machine.h
66086         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66087         * sysdeps/sparc/sparc32/dl-machine.h
66088         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66089         * sysdeps/sparc/sparc64/dl-machine.h
66090         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66092         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
66093         lazy binding.
66094         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
66095         undefined symbol errors.
66097         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
66098         DT_NEEDED entries.
66100 2012-04-05  Michael Matz  <matz@suse.de>
66102         [BZ #13592]
66103         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
66105 2012-04-05  Andreas Jaeger  <aj@suse.de>
66107         [BZ #13908]
66108         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
66109         comment.
66111 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66113         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
66114         which ROUND is no valid rounding mode.
66116 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66118         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
66119         read again.
66120         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
66122 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66124         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
66125         an exception using FPU order intentionally.
66127 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66129         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
66130         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
66131         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
66132         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
66134 2012-04-05  Simon Josefsson  <simon@josefsson.org>
66136         [BZ #12340]
66137         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
66138         EINVAL when BUFLEN is too smal.
66140 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
66142         [BZ #13553]
66143         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
66144         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
66146 2012-04-03  Andreas Jaeger  <aj@suse.de>
66148         [BZ #13938]
66149         * manual/setjmp.texi (System V contexts): Fix sentence.
66151         [BZ #13926]
66152         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
66153         New macro for this case.
66154         [!__GNUC__] (__bswap_64): New inline function for this case.
66155         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66156         * bits/byteswap.h: Likewise.
66157         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
66158         ull, guard with __GLIBC_HAVE_LONG_LONG.
66160         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
66161         __GLIBC_HAVE_LONG_LONG.
66163         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
66164         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
66166 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66168         [BZ #13691]
66169         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66170         inptr and inend, rather than using last_ch.
66172 2012-04-02  David S. Miller  <davem@davemloft.net>
66174         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
66175         * stdio-common/printf-parse.h (read_int): Change return type to
66176         'int', return -1 on INT_MAX overflow.
66177         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66178         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
66179         overflows INT_MAX.  Check for overflow of in-format-string precision
66180         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
66181         SIZE_MAX not INT_MAX for integer overflow test.
66182         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66183         skip the construct in the format string but do not record anything.
66184         * stdio-common/bug22.c: Adjust to test both width/prevision
66185         INT_MAX overflow as well as total length INT_MAX overflow.  Check
66186         explicitly for proper errno values.
66188 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66190         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66191         CHAR_MAX.
66192         * string/test-strcmp.c [! WIDE]: Likewise.
66193         * time/tst-mktime2.c: Likewise for INT_MAX.
66194         * string/test-string.h: #include <sys/param.h> for MIN.
66196         * csu/init-first.c (__libc_init_first): Call __ctype_init.
66197         * sysdeps/i386/init-first.c (init): Likewise.
66198         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66199         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66200         * sysdeps/sh/init-first.c (init): Likewise.
66202 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
66204         * po/ru.po: Update from translation team.
66205         * po/vi.po: Likewise.
66207 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66209         * resolv/nss_dns/dns-host.c: Merge copyright years.
66211 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66213         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66214         Optimize memcpy with prefetch if
66215         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
66216         src, dst pointers have unequal 16 byte alignments.
66218 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66220         [BZ #13928]
66221         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
66222         from a CNAME entry and return the minimum ttl for the query.
66223         (gaih_getanswer_slice): Likewise.
66225 2012-03-30  Jeff Law  <law@redhat.com>
66227         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
66228         due to long keys.
66229         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
66230         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
66232         * resolv/nss_dns/dns-host.c: Update copyright year.
66234 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
66236         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
66237         requests to save a system call.  Fix check that all bytes are sent.
66239         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
66240         comments for sendmmsg.
66242 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66244         [BZ #13691]
66245         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
66246         with only 1 character between 0x0041 and 0x01b0.
66247         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
66248         * wcsmbs/tst-mbsnrtowcs.c: New file.
66250 2012-03-29  David S. Miller  <davem@davemloft.net>
66252         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
66253         small copies by hand.
66255 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66257         [BZ #13761]
66258         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
66259         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
66260         group memberships.
66262 2012-03-28  David S. Miller  <davem@davemloft.net>
66264         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
66265         that branches into memcpy.
66266         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66267         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
66268         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66269         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
66270         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
66271         bits.
66272         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
66273         implementation too.
66274         * sysdeps/sparc/mempcpy.S: New file.
66276         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
66277         the IFUNC routine in the libc case.
66278         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66280         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
66281         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
66282         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
66283         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
66284         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
66285         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
66286         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
66287         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
66289         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66290         loop to 256 bytes instead of 64 bytes and fix test signedness.
66292         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66293         * sysdeps/sparc/sparc32/Makefile: rather than here...
66294         * sysdeps/sparc/sparc64/Makefile: and here.
66296 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
66298         * malloc/mallocbug.c: Avoid warnings about unused variables.
66300 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66302         [BZ #13760]
66303         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66304         in the right place. Discard and retry query if response is
66305         larger than input buffer size.
66307 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
66309         [BZ #369]
66310         [BZ #2678]
66311         [BZ #3866]
66312         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66313         x for large integer exponent.
66314         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66315         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
66316         sign of result as needed afterwards.
66317         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66318         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66319         result for underflowing pow the same as for overflow.
66320         (__kernel_standard_l): Handle powl overflow and underflow here
66321         rather than calling __kernel_standard.
66322         * math/libm-test.inc (pow_test): Add more tests.
66324         [BZ #3868]
66325         [BZ #13879]
66326         [BZ #13910]
66327         [BZ #13911]
66328         [BZ #13912]
66329         [BZ #13913]
66330         [BZ #13915]
66331         [BZ #13916]
66332         [BZ #13917]
66333         [BZ #13918]
66334         [BZ #13919]
66335         [BZ #13920]
66336         [BZ #13921]
66337         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66338         * sysdeps/ieee754/k_standard.c: Include <float.h>.
66339         (__kernel_standard_l): New function.
66340         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66341         __kernel_standard.
66342         * math/w_acosl.c (__acosl): Likewise.
66343         * math/w_asinl.c (__asinl): Likewise.
66344         * math/w_atan2l.c (__atan2l): Likewise.
66345         * math/w_atanhl.c (__atanhl): Likewise.
66346         * math/w_coshl.c (__coshl): Likewise.
66347         * math/w_exp10l.c (__exp10l): Likewise.
66348         * math/w_exp2l.c (__exp2l): Likewise.
66349         * math/w_fmodl.c (__fmodl): Likewise.
66350         * math/w_hypotl.c (__hypotl): Likewise.
66351         * math/w_j0l.c (__j0l, __y0l): Likewise.
66352         * math/w_j1l.c (__j1l, __y1l): Likewise.
66353         * math/w_jnl.c (__jnl, __ynl): Likewise.
66354         * math/w_lgammal.c (__lgammal): Likewise.
66355         * math/w_log10l.c (__log10l): Likewise.
66356         * math/w_log2l.c (__log2l): Likewise.
66357         * math/w_logl.c (__logl): Likewise.
66358         * math/w_powl.c (__powl): Likewise.
66359         * math/w_remainderl.c (__remainderl): Likewise.
66360         * math/w_scalbl.c (sysv_scalbl): Likewise.
66361         * math/w_sinhl.c (__sinhl): Likewise.
66362         * math/w_sqrtl.c (__sqrtl): Likewise.
66363         * math/w_tgammal.c (__tgammal): Likewise.
66364         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66365         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66366         * math/libm-test.inc (acos_test): Add more tests.
66367         (acosh_test): Likewise.
66368         (asin_test): Likewise.
66369         (atanh_test): Likewise.
66370         (exp_test): Likewise.
66371         (exp10_test): Likewise.
66372         (exp2_test): Likewise.
66373         (expm1_test): Likewise.
66374         (lgamma_test): Likewise.
66375         (log_test): Likewise.
66376         (log10_test): Likewise.
66377         (log1p_test): Likewise.
66378         (log2_test): Likewise.
66379         (pow_test): Do not allow some spurious overflow exceptions.
66380         (sqrt_test): Add more tests.
66381         (tgamma_test): Likewise.
66382         (y0_test): Likewise.
66383         (y1_test): Likewise.
66384         (yn_test): Likewise.
66386 2012-03-27  Anton Blanchard  <anton@samba.org>
66388         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
66389         MAP_HUGETLB.
66390         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66391         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66392         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66394 2012-03-27  David S. Miller  <davem@davemloft.net>
66396         * conform/Makefile: Run run-conformtest.sh using $(BASH).
66398         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
66399         have-as-vis3 check.
66401 2012-03-27  Andreas Jaeger  <aj@suse.de>
66403         * sysdeps/x86_64/elf/configure.in: Moved to ...
66404         * sysdeps/x86_64/configure.in: ... here.
66405         * sysdeps/x86_64/elf/start.S: Moved to ...
66406         * sysdeps/x86_64/start.S: ... here.
66407         * sysdeps/x86_64/elf/configure: Delete.
66409         * sysdeps/x86_64/configure.in: Merge contents from
66410         sysdeps/i386/configure.in (without i686 check).
66412         * sysdeps/i386/elf/Versions: Merge into ...
66413         * sysdeps/i386/Versions: ... this.
66414         * sysdeps/i386/elf/Versions: Delete file.
66415         * sysdeps/i386/elf/start.S: Moved to ...
66416         * sysdeps/i386/start.S: ...here.
66417         * sysdeps/i386/elf/configure.in: Merge into...
66418         * sysdeps/i386/configure.in: ...here.
66419         * sysdeps/i386/elf/configure.in: Delete file.
66420         * sysdeps/i386/elf/configure: Delete file.
66422         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
66423         * debug/backtracesyms.c: ... here.
66424         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
66425         * debug/backtracesymsfd.c: ... here.
66426         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
66427         * sysdeps/generic/ifunc-sel.h: ... here.
66429         * sysdeps/unix/i386/start.c: Delete file.
66430         * sysdeps/unix/sparc/start.c: Delete file.
66431         * sysdeps/unix/start.c: Delete file.
66433         * sysdeps/sh/elf/configure.in: Moved to ...
66434         * sysdeps/sh/configure.in: ... here.
66435         * sysdeps/sh/elf/start.S: Moved to ...
66436         * sysdeps/sh/start.S: ... here.
66437         * sysdeps/sh/elf/configure: Delete file.
66439         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
66440         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
66441         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
66442         * sysdeps/powerpc/powerpc64/entry.h: ... here.
66443         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
66444         * sysdeps/powerpc/powerpc64/start.S: here.
66445         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
66446         * sysdeps/powerpc/powerpc64/Makefile: ... this.
66447         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
66448         * sysdeps/powerpc/powerpc64/configure.in: ... this.
66449         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
66451         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
66452         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
66453         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
66454         * sysdeps/powerpc/powerpc32/start.S: ... here.
66455         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
66456         * sysdeps/powerpc/powerpc32/configure.in: ... this.
66457         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
66459         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
66460         * sysdeps/powerpc/ifunc-sel.h: ... here.
66461         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
66462         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
66464         * sysdeps/sparc/elf/configure.in: Moved to ...
66465         * sysdeps/sparc/configure.in: ... here.
66466         * sysdeps/sparc/elf/configure: Delete file.
66467         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
66468         * sysdeps/sparc/sparc32/start.S: ... here.
66469         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
66470         * sysdeps/sparc/sparc64/start.S: ... here.
66471         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
66472         * sysdeps/sparc/sparc32/Makefile: ... this.
66473         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
66474         * sysdeps/sparc/sparc64/Makefile: ... this.
66476         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
66477         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
66478         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
66479         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
66480         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
66481         * sysdeps/s390/s390-32/setjmp.S: ... here.
66482         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
66483         * sysdeps/s390/s390-32/configure.in: ... here.
66484         * sysdeps/s390/s390-32/elf/configure: Delete file.
66485         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
66486         * sysdeps/s390/s390-32/start.S: ... here.
66488         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
66489         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
66490         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
66491         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
66492         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
66493         * sysdeps/s390/s390-64/setjmp.S: ... here.
66494         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
66495         * sysdeps/s390/s390-64/configure.in: ... here
66496         * sysdeps/s390/s390-64/elf/configure: Delete file.
66497         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
66498         * sysdeps/s390/s390-64/start.S: ... here.
66499         * sysdeps/s390/s390-64/elf/configure: Delete.
66501         * configure.in: Remove support for elf directories in sysdeps.
66503         * configure: Regenerated.
66504         * sysdeps/i386/configure: Regenerated.
66505         * sysdeps/powerpc/powerpc32/configure: Regenerated.
66506         * sysdeps/powerpc/powerpc64/configure: Regenerated.
66507         * sysdeps/s390/s390-32/configure: Regenerated.
66508         * sysdeps/s390/s390-64/configure: Regenerated.
66509         * sysdeps/sh/configure: Regenerated.
66510         * sysdeps/sparc/configure: Regenerated.
66511         * sysdeps/x86_64/configure: Regenerated.
66513 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
66515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66517         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
66518         denormal result into account.
66520 2012-03-25  Roland McGrath  <roland@hack.frob.com>
66522         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
66523         Reported by Allan McRae <allan@archlinux.org>.
66525 2012-03-23  Jeff Law  <law@redhat.com>
66527         * nss/getnssent.c (__nss_getent): Fix typo.
66529 2012-03-23  David S. Miller  <davem@davemloft.net>
66531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66533 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
66535         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
66536         to pad to uint64_t for each field.
66537         (dl_tls_index): Replace unsigned long with uint64_t.
66539 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
66540         Paul Pluzhnikov  <ppluzhnikov@google.com>
66542         [BZ #6528]
66543         * grp/Makefile (otherlibs): Don't set it.
66544         * inet/Makefile (otherlibs): Likewise.
66545         * login/Makefile (otherlibs): Likewise.
66546         * nscd/Makefile (otherlibs): Likewise.
66547         * posix/Makefile (otherlibs): Likewise.
66548         * pwd/Makefile (otherlibs): Likewise.
66549         * rt/Makefile (otherlibs): Likewise.
66550         * sunrpc/Makefile (otherlibs): Likewise.
66551         * nss/Makefile (otherlibs): Likewise.
66552         Add libnss_files to routines and static-only-routines.
66553         ($(objpfx)getent): Remove rule.
66554         * resolv/Makefile: Add libnss_dns and libresolv to routines and
66555         static-only-routines.
66557 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66559         [BZ #13892]
66560         * math/s_cexp.c: Include <float.h>.
66561         (__cexp): Handle exp result overflowing not necessarily
66562         overflowing both real and imaginary parts of result.
66563         * math/s_cexpf.c: Likewise.
66564         * math/s_cexpl.c: Likewise.
66565         * math/libm-test.inc (cexp_test): Add more tests.
66566         * sysdeps/i386/fpu/libm-test-ulps: Update.
66567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66569 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66571         * include/link.h (ELFW): New macro.
66572         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
66573         Replace ELF64_R_TYPE with ELFW(R_TYPE).
66575 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66577         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
66578         with uint64_t.
66580 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66582         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
66583         declaration.
66584         (struct La_x32_retval): Likewise.
66586 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66588         * sysdeps/x86_64/preconfigure.in: New file.
66589         * sysdeps/x86_64/preconfigure: New generated file.
66591 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66593         [BZ #13824]
66594         * math/e_exp2l.c: Include <float.h>.
66595         (__ieee754_exp2l): Handle overflow and underflow cases
66596         separately.  Only pass fractional part of argument to
66597         __ieee754_expl.
66598         * math/libm-test.inc (exp2_test): Add more tests.
66600         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
66601         negating x to take absolute value.
66602         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
66603         Likewise.
66604         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
66605         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
66606         Likewise.
66607         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
66608         computing low part if x was negated.
66609         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
66611 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66613         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
66614         la_x32_gnu_pltexit.
66615         (pltexit): Cast int_retval to ptrdiff_t.
66616         * elf/tst-auditmod3b.c: Likewise.
66617         * elf/tst-auditmod4b.c: Likewise.
66618         * elf/tst-auditmod5b.c: Likewise.
66619         * elf/tst-auditmod6b.c: Likewise.
66620         * elf/tst-auditmod6c.c: Likewise.
66621         * elf/tst-auditmod7b.c: Likewise.
66623         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
66624         and x32_gnu_pltexit.
66626         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
66627         __ELF_NATIVE_CLASS.
66628         (La_x32_regs): New macro.
66629         (La_x32_retval): Likewise.
66630         (la_x32_gnu_pltenter): New function prototype.
66631         (la_x32_gnu_pltexit): Likewise.
66633 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
66635         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
66636         exponent.
66638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66640         * configure.in (libc_cv_cc_nofma): Check for option to disable
66641         generation of FMA instructions.
66642         * configure: Regenerate.
66643         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
66644         * sysdeps/ieee754/dbl-64/Makefile: New file.
66645         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
66646         Remove brandred-fma4.
66647         (CFLAGS-brandred-fma4.c): Remove.
66648         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
66649         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
66650         define.
66651         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
66652         define.
66654 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66656         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66657         LLONG_MAX != LONG_MAX.
66658         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66659         (_fitoa_word): Likewise.
66660         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
66661         LLONG_MAX != LONG_MAX.
66662         * stdio-common/_itowa.h: Include <_itoa.h>.
66663         (_itowa_word): Use _ITOA_WORD_TYPE on value.
66664         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
66665         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
66666         only if not defined.
66667         (_ITOA_WORD_TYPE): Likewise.
66668         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66669         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
66671 2012-03-21  David S. Miller  <davem@davemloft.net>
66673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66675 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66677         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
66678         of x86_64 when setting libc_cv_slibdir, libdir and
66679         libc_cv_localedir.
66680         * sysdeps/unix/sysv/linux/configure: Regenerated.
66682 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66684         * manual/lang.texi (Old Varargs): Remove section.
66685         (How Variadic): Update menu.
66686         (va_start): Do not mention varargs.h.
66688 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66689             Joseph Myers  <joseph@codesourcery.com>
66691         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
66692         link test.
66693         * configure: Regenerated.
66695 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66697         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
66698         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
66699         conformtest.pl
66701 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66703         * NOTES: Remove.
66704         * Makefile (files-for-dist): Remove NOTES.
66705         (NOTES): Remove rule.
66706         * README: Don't refer to NOTES.
66707         * manual/creature.texi: Don't include macros.texi.
66708         * manual/intro.texi (creature.texi): Remove comment referring to
66709         NOTES.
66711         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
66712         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
66713         * configure: Regenerated.
66714         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
66715         LIBC_TRY_CC_OPTION.
66716         (libc_cv_as_i686): Likewise.
66717         (libc_cv_cc_avx): Likewise.
66718         (libc_cv_cc_sse2avx): Likewise.
66719         (libc_cv_cc_fma4): Likewise.
66720         (libc_cv_cc_novzeroupper): Likewise.
66721         * sysdeps/i386/configure: Regenerated.
66723         [BZ #13883]
66724         * sysdeps/i386/fpu/s_cexp.S: Remove.
66725         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66726         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66727         * math/libm-test.inc (cexp_test): Add more tests.
66728         * sysdeps/i386/fpu/libm-test-ulps: Update.
66729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66731 2012-03-21  Allan McRae  <allan@archlinux.org>
66733         * timezone/Makefile: Do not install iso3166.tab and zone.tab
66735 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66737         [BZ #13871]
66738         * math/w_exp2.c: Do not include <float.h>.
66739         (o_threshold, u_threshold): Remove.
66740         (__exp2): Calculate result before checking finiteness and calling
66741         __kernel_standard.
66742         * math/w_exp2f.c: Likewise.
66743         * math/w_exp2l.c: Likewise.
66744         * math/libm-test.inc (exp2_test): Require overflow exception for
66745         1e6 input.
66747         [BZ #3866]
66748         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
66749         range of signed 64-bit integers before using fistpll.  Remove
66750         checks for whether integers fit in mantissa bits.
66751         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
66752         the range of signed 32-bit integers before using fistpl.  Remove
66753         checks for whether integers fit in mantissa bits.
66754         * sysdeps/i386/fpu/e_powl.S (p64): New object.
66755         (__ieee754_powl): Test for y outside the range of signed 64-bit
66756         integers before using fistpll.  Reduce 64-bit values to 63-bit
66757         ones as needed.
66758         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
66759         divide-by-zero is raised for zero to large negative powers.
66760         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
66761         (__ieee754_powl): Test for y outside the range of signed 64-bit
66762         integers before using fistpll.  Reduce 64-bit values to 63-bit
66763         ones as needed.
66764         * math/libm-test.inc (pow_test): Add more tests.
66766 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66768         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
66769         <stdio-common/_itoa.h>.
66770         * debug/segfault.c: Likewise.
66771         * elf/dl-cache.c: Likewise.
66772         * elf/dl-minimal.c: Likewise.
66773         * elf/dl-misc.c: Likewise.
66774         * elf/dl-sysdep.c: Likewise.
66775         * elf/dl-version.c: Likewise.
66776         * elf/rtld.c: Likewise.
66777         * hurd/hurdsock.c: Likewise.
66778         * hurd/lookup-retry.c: Likewise.
66779         * malloc/malloc.c: Likewise.
66780         * malloc/mtrace.c: Likewise.
66781         * nscd/nscd_getgr_r.c: Likewise.
66782         * nscd/nscd_getpw_r.c: Likewise.
66783         * nscd/nscd_getserv_r.c: Likewise.
66784         * posix/getopt_init.c: Likewise.
66785         * posix/wordexp.c: Likewise.
66786         * stdio-common/_itoa.c: Likewise.
66787         * stdio-common/printf_fphex.c: Likewise.
66788         * stdio-common/vfprintf.c: Likewise.
66789         * string/_strerror.c: Likewise.
66790         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
66791         * sysdeps/i386/i686/hp-timing.h: Likewise.
66792         * sysdeps/mach/_strerror.c: Likewise.
66793         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
66794         * sysdeps/mach/hurd/sethostid.c: Likewise.
66795         * sysdeps/mach/hurd/xmknodat.c: Likewise.
66796         * sysdeps/mach/xpg-strerror.c: Likewise.
66797         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66798         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66799         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
66800         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
66801         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66802         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
66803         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
66804         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
66805         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
66806         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
66807         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
66808         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
66809         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
66810         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
66811         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
66812         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
66813         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
66814         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
66815         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
66816         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
66817         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
66819         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
66821         * stdio-common/_itoa.h: Moved to ...
66822         * sysdeps/generic/_itoa.h: Here.
66824         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
66826         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
66827         instead of "_itoa.h" and "_itowa.h".
66828         * stdio-common/vfprintf.: Likewise.
66830 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66832         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
66833         <bits/wordsize.h>.
66834         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
66835         (__signbit): Likwise.
66836         (llrintf): Likwise.
66837         (llrint): Likwise.
66839 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66841         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
66842         __WORDSIZE != 64.
66844 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
66846         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
66847         OVERFLOW_EXCEPTION_OK.
66848         * math/libm-test.inc ("Philosophy"): Update comment about
66849         exception testing.
66850         (OVERFLOW_EXCEPTION): Define.
66851         (OVERFLOW_EXCEPTION_OK): Likewise.
66852         (INVALID_EXCEPTION_OK): Renumber.
66853         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66854         (IGNORE_ZERO_INF_SIGN): Likewise.
66855         (test_exceptions): Handle FE_OVERFLOW.
66856         (exp10_test): Expect overflow exceptions.
66857         (exp2_test): Likewise.
66858         (expm1_test): Likewise.
66859         (nextafter_test): Likewise.
66860         (pow_test): Likewise.
66861         (scalbn_test): Likewise.
66862         (scalbln_test): Likewise.
66864 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66866         * sysdeps/x86_64/bits/atomic.h
66867         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
66868         64bit integer.
66869         (atomic_exchange_acq): Likewise.
66870         (__arch_exchange_and_add_body): Likewise.
66871         (__arch_add_body): Likewise.
66872         (atomic_add_negative): Likewise.
66873         (atomic_add_zero): Likewise.
66875 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66877         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
66878         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
66880 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66882         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
66883         Check __x86_64__ instead of __WORDSIZE.
66885 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66887         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
66889 2012-03-19  David S. Miller  <davem@davemloft.net>
66891         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66893         * sysdeps/sparc/fpu/fenv_private.h: New file.
66894         * sysdeps/sparc/fpu/math_private.h: Use it.
66895         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
66896         Remove.
66897         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
66898         (libc_feholdexcept_setroundl): Remove.
66899         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
66900         Remove.
66901         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
66902         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
66904 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66906         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
66907         int64_t instead of long int.
66908         (INSERT_WORDS64): Likwise.
66910 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66912         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
66913         _Unwind_GetCFA return to _Unwind_Ptr first.
66915 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
66917         [BZ #13629]
66918         * math/s_clog.c: Include <float.h>.
66919         (__clog): Scale large or subnormal inputs.
66920         * math/s_clogf.c: Likewise.
66921         * math/s_clogl.c: Likewise.
66922         * math/s_clog10.c: Include <float.h>.
66923         (M_LOG10_2): Define.
66924         (__clog10): Scale large or subnormal inputs.
66925         * math/s_clog10f.c: Likewise.
66926         * math/s_clog10l.c: Likewise.
66927         * math/libm-test.inc (clog_test): Add more tests.
66928         (clog10_test): Likewise.
66929         * sysdeps/i386/fpu/libm-test-ulps: Update.
66930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66932         [BZ #11451]
66933         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
66934         x and y.
66935         * math/libm-test.inc (atan2_test): Add another test.
66937         * Makerules (common-objdir-compile): Remove.
66938         * sysdeps/unix/Makefile (config-generated): Do not add
66939         $(unix-generated) to variable.
66940         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
66941         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
66942         Remove rule.
66943         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
66944         Likewise.
66945         [generic bits/local_lim.h] (before-compile): Do not append to
66946         variable.
66947         [generic bits/local_lim.h] (common-generated): Likewise.
66948         [generic sys/param.h] (before-compile): Do not append to variable.
66949         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
66950         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
66951         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
66952         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
66953         include.
66954         [generic sys/param.h] (sys/param.h-includes): Remove variable.
66955         [generic sys/param.h] (sys/param.h-includes): Remove rule.
66956         [generic sys/param.h] ($(addprefix
66957         $(common-objpfx),$(sys/param.h-includes))): Likewise.
66958         [generic sys/param.h] (common-generated): Do not append to
66959         variable.
66960         [generic sys/param.h] (sysdep_headers): Likewise.
66961         [generic bits/errno.h] (before-compile): Do not append to
66962         variable.
66963         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
66964         rule.
66965         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
66966         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
66967         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
66968         [generic bits/errno.h] (common-generated): Do not append to
66969         variable.
66970         [generic bits/ioctls.h] (before-compile): Do not append to
66971         variable.
66972         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
66973         rule.
66974         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
66975         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
66976         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
66977         rule.
66978         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
66979         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
66980         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
66981         [generic bits/ioctls.h] (common-generated): Do not append to
66982         variable.
66983         [generic sys/syscall.h] (syscall.h): Remove variable.
66984         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
66985         rule.
66986         [generic sys/syscall.h] (before-compile): Do not append to
66987         variable.
66988         [generic sys/syscall.h] (common-generated): Likewise.
66989         * sysdeps/unix/errnos-tmpl.c: Remove file.
66990         * sysdeps/unix/errnos.awk: Likewise.
66991         * sysdeps/unix/ioctls-tmpl.c: Likewise.
66992         * sysdeps/unix/ioctls.awk: Likewise.
66993         * sysdeps/unix/mk-local_lim.c: Likewise.
66994         * sysdeps/unix/snarf-ioctls: Likewise.
66996 2012-03-19  Richard Henderson  <rth@twiddle.net>
66998         * sysdeps/i386/fpu/fenv_private.h: New file.
66999         * sysdeps/i386/fpu/math_private.h: Use it.
67000         (math_opt_barrier, math_force_eval): Remove.
67001         (libc_feholdexcept_setround_53bit): Remove.
67002         (libc_feupdateenv_53bit): Remove.
67003         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67004         (math_opt_barrier, math_force_eval): Remove.
67005         (libc_feholdexcept): Remove.
67006         (libc_feholdexcept_setround): Remove.
67007         (libc_fetestexcept, libc_fesetenv): Remove.
67008         (libc_feupdateenv_test): Remove.
67009         (libc_feupdateenv, libc_feholdsetround): Remove.
67010         (libc_feresetround): Remove.
67012         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
67013         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
67015         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
67016         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
67017         (libc_feupdateenv_testl): New.
67018         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
67019         (libc_feupdateenv_testf): New.
67020         (libc_feupdateenv): Use libc_feupdateenv_test.
67021         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
67022         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
67024         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
67025         (libc_feholdsetroundf, libc_feholdsetroundl): New.
67026         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
67027         (libc_feresetround_noex): New.
67028         (libc_feresetround_noexf): New.
67029         (libc_feresetround_noexl): New.
67030         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
67031         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
67032         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
67033         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
67034         SET_RESTORE_ROUND.
67035         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67036         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
67037         (__cos): Likewise.
67038         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
67039         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
67040         SET_RESTORE_ROUND_NOEX.
67041         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
67042         SET_RESTORE_ROUND_NOEXF.
67043         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
67044         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
67045         (libc_feholdsetroundf): New.
67046         (libc_feresetround, libc_feresetroundf): New.
67048         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
67049         (libc_feholdexcept_setround_53bit): Convert from macro to function.
67050         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
67052         * sysdeps/generic/math_private.h: Include <fenv.h>.
67053         (default_libc_feholdexcept): New.
67054         (default_libc_feholdexcept_setround): New.
67055         (default_libc_fesetenv, default_libc_feupdateenv): New.
67056         (libc_feholdexcept): Only define if undefined.
67057         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
67058         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
67059         (libc_feholdexcept_setroundl): Likewise.
67060         (libc_feholdexcept_setround_53bit): Likewise.
67061         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
67062         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
67063         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
67064         (libc_feupdateenv_53bit): Likewise.
67065         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
67066         (libc_feholdexcept): Convert from macro to inline function.
67067         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
67068         (libc_fesetenv, libc_feupdateenv): Likewise.
67070         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
67071         not previously defined.
67072         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
67073         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
67074         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
67075         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
67076         * sysdeps/ieee754/flt-32/math_private.h: New file.
67077         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
67078         math_private.h below SET_FLOAT_WORD.
67079         (__isnan, __isinf_ns, __finite): Remove.
67080         (__isnanf, __isinf_nsf, __finitef): Remove.
67082 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
67084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67086 2012-03-17  David S. Miller  <davem@davemloft.net>
67088         [BZ #6471]
67089         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
67090         for 2.16.
67092 2012-03-16  David S. Miller  <davem@davemloft.net>
67094         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
67095         warnings.
67097         [BZ #6471]
67098         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
67099         properly.
67100         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
67101         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
67102         sysdep_routines when subdir is sysvipc.
67103         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
67104         __getshmlba helper.
67106         * sysdeps/sparc/fpu/libm-test/ulps: Update.
67108 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67110         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
67111         [__LP64__].
67113 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67115         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
67116         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
67117         (__lround): Renamed to ...
67118         (__llround): This.  Replace long int with long long int.
67119         Define lround functions as aliases of llround functions.
67120         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
67122 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67124         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
67125         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
67126         adresses to uintptr_t.  Replace "long int" and "unsigned long
67127         int" with "greg_t" on va_arg.
67129 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67131         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
67132         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
67134         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
67135         Move e_machine check before EI_CLASS check.  Handle x32
67136         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
67137         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
67138         SKIP_EM_IA_64 and include
67139         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
67141         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
67142         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
67143         (add_system_dir): New macro.
67145         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
67146         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
67148 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67150         [BZ #2551]
67151         [BZ #2552]
67152         [BZ #2553]
67153         [BZ #2554]
67154         [BZ #2562]
67155         [BZ #2563]
67156         [BZ #2565]
67157         [BZ #2566]
67158         [BZ #2576]
67159         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
67160         (y0): Likewise.
67161         * math/w_j0f.c (j0f): Likewise.
67162         (y0f): Likewise.
67163         * math/w_j0l.c (__j0l): Likewise.
67164         (__y0l): Likewise.
67165         * math/w_j1.c (j1): Likewise.
67166         (y1): Likewise.
67167         * math/w_j1f.c (j1f): Likewise.
67168         (y1f): Likewise.
67169         * math/w_j1l.c (__j1l): Likewise.
67170         (__y1l): Likewise.
67171         * math/w_jn.c (jn): Likewise.
67172         (yn): Likewise.
67173         * math/w_jnf.c (jnf): Likewise.
67174         (ynf): Likewise.
67175         * math/w_jnl.c (__jnl): Likewise.
67176         (__ynl): Likewise.
67177         * math/libm-test.inc (j0_test): Add more tests.
67178         (j1_test): Likewise.
67179         (jn_test): Likewise.  Add trailing semicolon to existing test.
67180         (y0_test): Likewise.
67181         (y1_test): Likewise.
67182         * sysdeps/i386/fpu/libm-test-ulps: Update.
67183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67185         [BZ #13851]
67186         [BZ #13854]
67187         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67188         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67189         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67190         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67191         (__tanl): Set errno for infinite argument.
67192         * sysdeps/i386/fpu/mptan.c: Remove.
67193         * sysdeps/i386/fpu/s_tan.S: Likewise.
67194         * sysdeps/i386/fpu/s_tanl.S: Likewise.
67195         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67196         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67197         * math/libm-test.inc (tan_test): Add more tests and enable more
67198         tests for double and long double.
67199         * sysdeps/i386/fpu/libm-test-ulps: Update.
67200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67202 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
67204         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67205         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67207 2012-03-16  Roland McGrath  <roland@hack.frob.com>
67209         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67210         * configure.in: Use it for both main tree and add-ons.
67211         * configure: Regenerated.
67213 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67215         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
67217 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67219         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
67220         in comment.
67222         [BZ #13851]
67223         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
67224         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
67225         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
67226         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
67227         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
67228         infinite argument.
67229         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
67230         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
67231         != 0 for prec == 2.
67232         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
67233         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
67234         * sysdeps/i386/fpu/s_cosl.S: Likewise.
67235         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
67236         * sysdeps/i386/fpu/s_sinl.S: Likewise.
67237         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
67238         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
67239         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
67240         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
67241         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
67242         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
67243         * math/libm-test.inc (cos_test): Add more tests and enable more
67244         tests for long double.
67245         (sin_test): Likewise.
67246         (sincos_test): Likewise.
67247         * sysdeps/i386/fpu/libm-test-ulps: Update.
67248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67250 2012-03-16  David S. Miller  <davem@davemloft.net>
67252         * sysdeps/sparc/fpu/math_private.h: New file.
67254 2012-03-15  David S. Miller  <davem@davemloft.net>
67256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
67257         file.
67258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
67259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
67260         file.
67261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
67262         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
67263         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
67264         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
67265         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
67266         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
67267         sysdep routines.
67268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67270         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
67271         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
67273         * sysdeps/sparc/sparc-ifunc.h: New file.
67274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
67275         sparc-ifunc.h
67276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
67278         Likewise.
67279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
67280         Likewise.
67281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
67282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
67283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67285         Likewise.
67286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
67288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
67290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67291         Likewise.
67292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67293         Likewise.
67294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67298         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67299         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67300         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67301         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67302         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67303         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67304         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67305         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67306         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67307         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67308         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67309         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67310         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67311         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67312         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67313         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67314         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67315         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67316         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67317         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67319 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67321         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67322         scaling.
67323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67325 2012-03-15  Andreas Jaeger  <aj@suse.de>
67327         [BZ #13852]
67328         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67329         ieee754/flt-32 implementation for sin, cos and sincos.
67330         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67331         * sysdeps/i386/fpu/s_cosf.S: Likewise.
67332         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67333         * sysdeps/i386/fpu/s_sinf.S: Likewise.
67334         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67335         ieee754/flt-32 implementation for tan.
67337         * math/libm-test.inc (cos_test): Enable some large input tests for
67338         float as well
67339         (sin_test): Likewise.
67340         (sincos_test): Likewise.
67341         (tan_test): Add tests for large input.
67343         * sysdeps/i386/fpu/libm-test-ulps: Update.
67345 2012-03-15  Andreas Jaeger  <aj@suse.de>
67347         [BZ #13658]
67348         * math/libm-test.inc (cos_test): Add more test cases.
67349         (sin_test): Likewise.
67350         (sincos_test): Likewise.
67352 2012-03-15  Andreas Jaeger  <aj@suse.de>
67354         [BZ #13837]
67355         * math/libm-test.inc (cos_test): Add a test case for large input
67356         value.
67357         (sin_test): Likewise.
67358         (sincos_test): Likewise.
67360 2012-03-15  Andreas Jaeger  <aj@suse.de>
67361             Joseph Myers  <joseph@codesourcery.com>
67363         [BZ #13658]
67364         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67365         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67366         * sysdeps/i386/fpu/branred.c: Likewise.
67367         * sysdeps/i386/fpu/dosincos.c: Likewise.
67368         * sysdeps/i386/fpu/mpa.c: Likewise.
67369         * sysdeps/i386/fpu/s_cos.S: Likewise.
67370         * sysdeps/i386/fpu/s_sin.S: Likewise.
67371         * sysdeps/i386/fpu/s_sincos.S: Likewise.
67372         * sysdeps/i386/fpu/sincos32.c: Likewise.
67374         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
67375         Define.
67376         (libc_feupdateenv_53bit): Define.
67377         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
67378         Define.
67379         (libc_feupdateenv_53bit): Define.
67381         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
67382         53 bit (without extend i386 double precision).
67384         * math/libm-test.inc (sincos_test): Add tests for large input.
67385         (sin): Likewise.
67386         (cos): Likewise.
67388         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67390 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67394 2012-03-15  David S. Miller  <davem@davemloft.net>
67396         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
67397         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
67398         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
67399         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
67400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
67401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
67402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
67403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
67404         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
67405         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
67406         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
67407         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
67408         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
67409         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
67410         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
67411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
67412         file.
67413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
67414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
67415         file.
67416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
67417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
67418         file.
67419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
67420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
67421         file.
67422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
67423         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
67424         fmin/fmax sysdep routines.
67425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67427 2012-03-14  David S. Miller  <davem@davemloft.net>
67429         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
67430         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
67431         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
67432         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
67433         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
67434         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
67435         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
67436         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
67437         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
67438         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
67439         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
67440         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
67441         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
67442         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
67443         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
67444         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
67445         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
67446         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
67447         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
67448         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
67449         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
67450         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
67451         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
67452         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
67453         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
67454         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
67455         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
67456         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
67457         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
67458         routines.
67459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
67460         file.
67461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
67462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
67463         file.
67464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
67465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
67466         file.
67467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
67468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
67469         file.
67470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
67471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
67472         file.
67473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
67474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
67475         file.
67476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
67477         file.
67478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
67479         file.
67480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
67481         file.
67482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
67483         New file.
67484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
67485         file.
67486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
67487         file.
67488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
67489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
67490         file.
67491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
67492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
67493         file.
67494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
67495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
67496         file.
67497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
67498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
67499         VIS3 routines.
67501         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67502         New file.
67504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67506         * sysdeps/sparc/configure.in: New file.
67507         * sysdeps/sparc/configure: Generate.
67508         * configure.in (libc_cv_sparc_as_vis3): Substitute.
67509         * configure: Regenerate.
67510         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
67511         * config.make.in (have-as-vis3): New.
67512         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
67513         available use -Av9d instead of -Av9a.
67514         * sysdeps/sparc/sparc64/Makefile: Likewise.
67515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
67516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
67517         New file.
67518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
67519         file.
67520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
67521         New file.
67522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
67523         file.
67524         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
67525         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
67526         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
67527         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
67528         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
67530         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
67531         fzeros/fnegs to load 0x80000000 into a float register instead of
67532         using the stack.
67533         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
67535 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67537         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67538         bits/syscall.h.
67539         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
67540         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
67541         ($(inst_includedir)/bits/syscall.h): Remove rule.
67542         ($(objpfx)bits/syscall.d): Include instead of
67543         $(objpfx)syscall-list.d.
67544         (generated): Change syscall-list.h and syscall-list.d to
67545         bits/syscall.h and bits/syscall.d.
67547 2012-03-14  Roland McGrath  <roland@hack.frob.com>
67549         [BZ #13846]
67550         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
67552 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67554         [BZ #13841]
67555         * math/s_csqrt.c: Include <float.h>.
67556         (__csqrt): Scale large or subnormal inputs.
67557         * math/s_csqrtf.c: Likewise.
67558         * math/s_csqrtl.c: Likewise.
67559         * math/libm-test.inc (csqrt_test): Add more tests.
67560         * sysdeps/i386/fpu/libm-test-ulps: Update.
67561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67563         [BZ #13840]
67564         * math/libm-test.inc (hypot_test): Add more tests.
67566 2012-03-13  David S. Miller  <davem@davemloft.net>
67568         [BZ #13840]
67569         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
67570         double-precision for the calculation instead of scaling.
67572 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
67574         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
67575         manipulate bits before adding and subtracting TWO52[sx].
67576         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
67577         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
67578         Likewise.
67579         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
67581 2012-03-13  David S. Miller  <davem@davemloft.net>
67583         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
67584         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
67585         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
67586         rtld-global-offsets.h
67587         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67589         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
67590         large parameters.
67592         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
67594         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
67595         'err' in the ifdef scope in which it is actually used.
67597         * nss/nss_db/db-init.c: Include string.h
67599 2012-03-12  David S. Miller  <davem@davemloft.net>
67601         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67602         masking out of the most significant byte of random value used.
67603         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67604         Fix coding style in previous change.
67606         * sysdeps/unix/sysv/linux/kernel-features.h
67607         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
67608         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
67609         expression.
67610         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
67611         later.
67613 2012-03-11  David S. Miller  <davem@davemloft.net>
67615         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67616         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
67617         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
67618         for 'resultvar' otherwise things get truncated on 64-bit.
67620         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67621         Fix masking out of the most significant byte of random value used.
67623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67625 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
67627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67629 2012-03-09  David S. Miller  <davem@davemloft.net>
67631         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
67632         variables with appropriate CPP guards.
67633         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
67634         from the frame pointer, not the stack pointer.  Correct layout
67635         comments.  Fix test on resulting framesize and the management of
67636         the outregs buffer for pltexit.  Preserve floating point return
67637         values across _dl_call_pltexit call.
67638         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
67639         framesize and the management of the outregs buffer for pltexit.
67640         Preserve floating point return values across _dl_call_pltexit
67641         call.
67642         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
67643         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
67644         (la_sparc64_gnu_pltexit): New functions.
67645         (print_exit): Fix format string for return register value.
67647 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
67649         * sunrpc/Makefile (others): Add rpcgen.
67650         ($(objpfx)rpcgen): Remove special build rule and dependency on
67651         libc.
67652         * sunrpc/rpcgen.c: New file.
67654 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
67656         [BZ #13673]
67657         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
67658         * stdio-common/bug-vfprintf-nargs.c: Likewise.
67659         * sysdeps/i386/crti.S: Likewise.
67660         * sysdeps/i386/crtn.S: Likewise.
67661         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
67662         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
67663         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
67664         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
67665         * sysdeps/sh/crti.S: Likewise.
67666         * sysdeps/sh/crtn.S: Likewise.
67667         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67669         [BZ #13673]
67670         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
67671         with URL.
67672         * locale/programs/locfile-kw.gperf: Likewise.
67673         * locale/programs/charmap-kw.h: Regenerated.
67674         * locale/programs/locfile-kw.h: Likewise.
67676         [BZ #13673]
67677         * intl/plural.y: Replace FSF snail mail address with URL.
67678         * intl/plural.c: Regenerated.
67680 2012-03-09  Richard Henderson  <rth@twiddle.net>
67682         * include/math_private.h: Remove file.
67683         * math/math_private.h: Move file ...
67684         * sysdeps/generic/math_private.h: ... here.
67686         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
67687         * sysdeps/powerpc/fpu/math_private.h: Likewise.
67688         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67690         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
67691         and <math_private.h>.
67692         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67693         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67694         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67695         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67696         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67697         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
67698         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67699         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67700         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67701         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67702         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67703         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67704         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67705         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67706         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67707         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67708         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67709         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67710         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67711         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67712         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67713         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67714         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67715         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67716         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
67717         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67718         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67719         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67720         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67721         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67722         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67723         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67724         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
67725         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67726         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67727         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67728         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67729         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67730         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67731         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67732         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
67733         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67734         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67735         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
67736         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
67737         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67738         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
67739         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
67740         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67741         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67742         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
67743         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
67744         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
67745         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67746         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
67747         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67748         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67749         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
67750         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
67751         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
67752         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67753         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
67754         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67755         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67756         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
67757         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67758         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67759         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67760         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
67761         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
67762         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67763         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67764         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67765         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67766         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
67767         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
67768         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
67769         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67770         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
67771         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
67772         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67773         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
67774         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67775         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67776         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67777         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
67778         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
67779         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
67780         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67781         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67782         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67783         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67784         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67785         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67786         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67787         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67788         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67789         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67790         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67791         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67792         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67793         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67794         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67795         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67796         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67797         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67798         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67799         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67800         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67801         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67802         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67803         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67804         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67805         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67806         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
67807         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67808         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67809         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67810         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67811         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67812         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67813         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67814         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67815         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
67816         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67817         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67818         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67819         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
67820         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67821         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
67822         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
67823         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67824         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67825         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
67826         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
67827         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67828         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67829         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67830         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
67831         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67832         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67833         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67834         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67835         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
67836         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
67837         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67838         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67839         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67840         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
67841         * sysdeps/ieee754/k_standard.c: Likewise.
67842         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67843         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67844         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67845         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67846         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67847         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67848         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67849         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67850         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67851         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67852         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67853         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67854         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67855         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67856         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67857         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67858         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
67859         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67860         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67861         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
67862         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
67863         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
67864         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67865         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67866         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
67867         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
67868         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67869         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67870         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67871         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67872         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
67873         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67874         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67875         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67876         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
67877         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67878         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67879         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
67880         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
67881         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67882         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
67883         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
67884         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
67885         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67886         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
67887         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
67888         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67889         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67890         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67891         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67892         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67893         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
67894         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67895         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
67896         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67897         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67898         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
67899         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
67900         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67901         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67902         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67903         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
67904         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67905         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67906         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67907         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67908         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67909         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67910         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67911         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67912         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67913         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67914         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67915         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67916         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67917         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67918         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
67919         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67920         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67921         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
67922         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
67923         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
67924         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67925         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67926         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
67927         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67928         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67929         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
67930         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67931         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67932         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
67933         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67934         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
67935         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
67936         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67937         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67938         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
67939         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
67940         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
67941         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
67942         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67943         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67944         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67945         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67946         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
67947         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67948         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67949         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
67950         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
67951         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67952         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67953         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67954         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67955         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67956         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67957         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67958         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67959         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67960         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67961         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67962         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67963         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67964         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67965         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67966         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67967         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
67968         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67969         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67970         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67971         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67972         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67973         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67974         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67975         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
67976         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67977         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67978         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
67979         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
67980         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67981         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
67982         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
67983         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67984         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
67985         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
67986         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67987         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67988         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67989         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67990         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67991         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
67992         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67993         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67994         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67995         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67996         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
67997         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
67998         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67999         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68000         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68001         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
68002         * sysdeps/ieee754/s_lib_version.c: Likewise.
68003         * sysdeps/ieee754/s_matherr.c: Likewise.
68004         * sysdeps/ieee754/s_signgam.c: Likewise.
68005         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68006         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68007         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
68008         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
68009         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
68010         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68011         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
68012         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
68013         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
68014         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
68015         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
68016         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
68017         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68018         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68019         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
68020         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68021         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68022         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68023         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68024         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68025         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68027 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68029         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
68030         * sunrpc/rpc_main.c: Likewise.
68031         * sunrpc/rpc_svcout.c: Likewise.
68033 2012-03-09  David S. Miller  <davem@davemloft.net>
68035         * include/math_private.h: New file.
68037 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68039         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
68040         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
68041         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
68042         from <bits/socket_type.h>.
68043         (enum __socket_type): Don't define here.
68044         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
68045         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68046         bits/socket_type.h.
68048         [BZ #13566]
68049         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
68050         checking __USE_GNU.
68052         * Makerules ($(inst_includedir)/%.h): New rule.
68053         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
68054         (install-others): Remove variable setting.
68055         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
68057 2012-03-08  Richard Henderson  <rth@twiddle.net>
68059         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
68060         from macro to inline function; merge with the
68061         !__LIBC_INTERNAL_MATH_INLINES version.
68062         (__ieee754_sqrtf): Likewise.
68064         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
68065         to inline function.
68066         (__rintf, __floor, __floorf): Likewise.
68068         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
68069         macro to inline function.
68070         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
68072         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
68073         not <math/math_private.h>.
68075 2012-03-08  David S. Miller  <davem@davemloft.net>
68077         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
68078         copyright year.
68079         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
68081 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
68083         * resolv/gai_misc.c (handle_requests): Fix struct timespec
68084         normalization.
68085         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
68086         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
68088 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
68090         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
68091         be defined individually, they must be defined as a block.  Define
68092         S for printing a string instead of hidint the different by using a
68093         macro for adding the 'l'.
68094         * stdio-common/tst-fphex-wide.c: Adjust.
68096 2012-03-07  Marek Polacek  <polacek@redhat.com>
68098         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
68100 2012-03-08  Marek Polacek  <polacek@redhat.com>
68102         [BZ #13806]
68103         * stdio-common/Makefile (tests): Add tst-fphex-wide.
68104         * stdio-common/tst-fphex.c: Define a few macros to make the
68105         test reusable.  Use them.
68106         * stdio-common/tst-fphex-wide.c: New file.
68108 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
68110         [BZ #6911]
68111         * manual/macros.texi (gnusystems): New macro.
68112         (nongnusystems): Likewise.
68113         (gnulinuxhurdsystems): Likewise.
68114         (gnuhurdsystems): Likewise..
68115         (gnulinuxsystems): Likewise.
68116         * manual/charset.texi: Use new macros or @theglibc{} to refer to
68117         variants of the GNU system, not "GNU system".
68118         * manual/conf.texi: Likewise.
68119         * manual/errno.texi: Likewise.  Update example of errno macro
68120         expansion.
68121         * manual/filesys.texi: Likewise.
68122         (getumask): Document as specific to GNU/Hurd.
68123         * manual/install.texi: Likewise.  Reword some references to
68124         GNU/Linux.
68125         * manual/intro.texi: Likewise.
68126         * manual/io.texi: Likewise.
68127         (File Name Portability): Detail which constraints are inapplicable
68128         to all GNU systems and which are only inapplicable to GNU/Hurd.
68129         * manual/job.texi: Likewise.
68130         * manual/llio.texi: Likewise.
68131         (O_NOCTTY): Document as present on GNU/Linux.
68132         * manual/maint.texi: Likewise.
68133         * manual/memory.texi: Likewise.
68134         * manual/pattern.texi: Likewise.
68135         * manual/pipe.texi: Likewise.
68136         * manual/process.texi: Likewise.
68137         * manual/resource.texi: Likewise.
68138         (RUSAGE_CHILDREN): Remove statement about specifying a particular
68139         child on GNU/Hurd.
68140         * manual/setjmp.texi: Likewise.
68141         * manual/signal.texi: Likewise.
68142         * manual/startup.texi: Likewise.
68143         * manual/stdio.texi: Likewise.
68144         * manual/terminal.texi: Likewise.
68145         (ONLCR): Document as POSIX.
68146         (OXTABS): Document availability on GNU/Linux as XTABS.
68147         (ONOEOT): Document availability separately from other bits.
68148         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
68149         * manual/time.texi: Likewise.
68150         * manual/users.texi: Likewise.
68151         * INSTALL: Regenerated.
68152         * sysdeps/gnu/errlist.c: Regenerated.
68154         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
68155         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
68156         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
68157         puts.
68158         * configure: Regenerated.
68160 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
68162         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
68163         default includes instead of AC_HEADER_CHECK.
68164         * sysdeps/i386/configure: Regenerated.
68166         [BZ #10716]
68167         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
68168         * math/s_cacoshf.c (__cacoshf): Likewise.
68169         * math/s_cacoshl.c (__cacoshl): Likewise.
68170         * math/s_casinh.c (__casinh): Set signs of result from argument.
68171         * math/s_casinhf.c (__casinhf): Likewise.
68172         * math/s_casinhl.c (__casinhl): Likewise.
68173         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
68174         (casinh_test): Add more tests.
68175         * sysdeps/i386/fpu/libm-test-ulps: Update.
68176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68178 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
68180         * po/zh_TW.po: Update from translation team.
68182         * login/Makefile (distribute): Remove variable.
68183         * catgets/Makefile: Likewise.
68184         * mach/Makefile: Likewise.
68185         * malloc/Makefile: Likewise.
68186         * misc/Makefile: Likewise.
68187         * iconv/Makefile: Likewise.
68188         * nscd/Makefile: Likewise.
68189         * hurd/Makefile: Likewise.
68190         * manual/Makefile: Likewise.
68191         * locale/Makefile: Likewise.
68192         * intl/Makefile: Likewise.
68193         * conform/Makefile: Likewise.
68194         * nss/Makefile: Likewise.
68195         * time/Makefile: Likewise.
68196         * soft-fp/Makefile: Likewise.
68197         * dirent/Makefile: Likewise.
68198         * gmon/Makefile: Likewise.
68199         * po/Makefile: Likewise.
68200         * rt/Makefile: Likewise.
68201         * socket/Makefile: Likewise.
68202         * math/Makefile: Likewise.
68203         * signal/Makefile: Likewise.
68204         * debug/Makefile: Likewise.
68205         * elf/Makefile: Likewise.
68206         * timezone/Makefile: Likewise.
68207         * stdlib/Makefile: Likewise.
68208         * iconvdata/Makefile: Likewise.
68209         * sunrpc/Makefile: Likewise.
68210         * io/Makefile: Likewise.
68211         * argp/Makefile: Likewise.
68212         * inet/Makefile: Likewise.
68213         * hesiod/Makefile: Likewise.
68214         * grp/Makefile: Likewise.
68215         * csu/Makefile: Likewise.
68216         * wctype/Makefile: Likewise.
68217         * crypt/Makefile: Likewise.
68218         * libio/Makefile: Likewise.
68219         * string/Makefile: Likewise.
68220         * nis/Makefile: Likewise.
68221         * resolv/Makefile: Likewise.
68222         * stdio-common/Makefile: Likewise.
68223         * wcsmbs/Makefile: Likewise.
68224         * dlfcn/Makefile: Likewise.
68225         * posix/Makefile: Likewise.
68227         [BZ #6959]
68228         * timezone/Makefile: Don't install timezone files, just the programs
68229         and scripts.
68231 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
68233         * nss/databases.def: Add missing gshadow entry.
68235         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
68237 2012-03-06  Marek Polacek  <polacek@redhat.com>
68239         [BZ #13726]
68240         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
68241         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
68242         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
68243         * stdio-common/tst-long-dbl-fphex.c: New file.
68245 2012-03-06  David S. Miller  <davem@davemloft.net>
68247         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68248         (set_obp_int): New function.
68249         (get_obp_int): New function.
68250         (__get_clockfreq_via_dev_openprom): Likewise.
68251         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
68252         Avoid unused variable warnings on 'val' and use builtin_expect.
68253         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
68254         __builtin_expect.
68255         (INLINE_CLONE_SYSCALL): Likewise.
68257 2012-03-05  David S. Miller  <davem@davemloft.net>
68259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68261 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
68263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68265         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
68266         only for |x| >= 40.
68267         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68269 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
68271         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
68272         Replace gettimeofday with __vdso_gettimeofday.
68274         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68275         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
68276         __vdso_clock_gettime and __vdso_getcpu.
68278         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
68279         time with __vdso_time.
68281 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68283         * manual/lang.texi (size_t): Note types to which size_t may be
68284         equivalent with the GNU C Library, but do not describe when
68285         differences between them are significant.
68287 2012-03-05  Andreas Jaeger  <aj@suse.de>
68289         * sysdeps/i386/fpu/libm-test-ulps: Update.
68291 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68293         [BZ #3976]
68294         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68295         (__ieee754_pow): Save and restore rounding mode and use
68296         round-to-nearest for main computations.
68297         * math/libm-test.inc (pow_test_tonearest): New function.
68298         (pow_test_towardzero): Likewise.
68299         (pow_test_downward): Likewise.
68300         (pow_test_upward): Likewise.
68301         (main): Call the new functions.
68302         * sysdeps/i386/fpu/libm-test-ulps: Update.
68303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68305         [BZ #3976]
68306         * math/libm-test.inc (cosh_test_tonearest): New function.
68307         (cosh_test_towardzero): Likewise.
68308         (cosh_test_downward): Likewise.
68309         (cosh_test_upward): Likewise.
68310         (sinh_test_tonearest): Likewise.
68311         (sinh_test_towardzero): Likewise.
68312         (sinh_test_downward): Likewise.
68313         (sinh_test_upward): Likewise.
68314         (main): Call the new functions.
68315         * sysdeps/i386/fpu/libm-test-ulps: Update.
68316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68318 2012-03-05  Tom de Vries  <tom@codesourcery.com>
68320         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68321         default stack guard is set in last bytes.
68322         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68324 2012-03-05  Kees Cook  <keescook@chromium.org>
68326         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68328         [BZ #13656]
68329         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68330         possibly allocate from heap instead of stack.
68331         * stdio-common/bug-vfprintf-nargs.c: New file.
68332         * stdio-common/Makefile (tests): Add nargs overflow test.
68334 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
68336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68338 2012-03-03  Marek Polacek  <polacek@redhat.com>
68340         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68341         * math/math_private.h: Likewise.
68342         * stdlib/tst-strtod.c: Likewise.
68343         * sysdeps/i386/i486/bits/atomic.h: Likewise.
68344         * sysdeps/x86_64/bits/atomic.h: Likewise.
68346 2012-03-02  David S. Miller  <davem@davemloft.net>
68348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68352         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68353         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68354         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68355         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68357 2012-03-02  Roland McGrath  <roland@hack.frob.com>
68359         [BZ #13792]
68360         * manual/examples/README: New file, says the example source files
68361         can be used under GPL>=2.
68362         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68363         line containing just "*/".
68364         * manual/examples/add.c: Add copyright header (GPL>=2).
68365         * manual/examples/argp-ex1.c: Likewise.
68366         * manual/examples/argp-ex2.c: Likewise.
68367         * manual/examples/argp-ex3.c: Likewise.
68368         * manual/examples/argp-ex4.c: Likewise.
68369         * manual/examples/atexit.c: Likewise.
68370         * manual/examples/db.c: Likewise.
68371         * manual/examples/dir.c: Likewise.
68372         * manual/examples/dir2.c: Likewise.
68373         * manual/examples/execinfo.c: Likewise.
68374         * manual/examples/filecli.c: Likewise.
68375         * manual/examples/filesrv.c: Likewise.
68376         * manual/examples/fmtmsgexpl.c: Likewise.
68377         * manual/examples/genpass.c: Likewise.
68378         * manual/examples/inetcli.c: Likewise.
68379         * manual/examples/inetsrv.c: Likewise.
68380         * manual/examples/isockad.c: Likewise.
68381         * manual/examples/longopt.c: Likewise.
68382         * manual/examples/memopen.c: Likewise.
68383         * manual/examples/memstrm.c: Likewise.
68384         * manual/examples/mkfsock.c: Likewise.
68385         * manual/examples/mkisock.c: Likewise.
68386         * manual/examples/mygetpass.c: Likewise.
68387         * manual/examples/pipe.c: Likewise.
68388         * manual/examples/popen.c: Likewise.
68389         * manual/examples/rprintf.c: Likewise.
68390         * manual/examples/search.c: Likewise.
68391         * manual/examples/select.c: Likewise.
68392         * manual/examples/setjmp.c: Likewise.
68393         * manual/examples/sigh1.c: Likewise.
68394         * manual/examples/sigusr.c: Likewise.
68395         * manual/examples/stpcpy.c: Likewise.
68396         * manual/examples/strdupa.c: Likewise.
68397         * manual/examples/strftim.c: Likewise.
68398         * manual/examples/strncat.c: Likewise.
68399         * manual/examples/subopt.c: Likewise.
68400         * manual/examples/swapcontext.c: Likewise.
68401         * manual/examples/termios.c: Likewise.
68402         * manual/examples/testopt.c: Likewise.
68403         * manual/examples/testpass.c: Likewise.
68404         * manual/examples/timeval_subtract.c: Likewise.
68406         [BZ #13792]
68407         * manual/time.texi (Elapsed Time): Move timeval_subtract example
68408         function to ...
68409         * manual/timeval_subtract.c.texi: ... here, new file.
68411 2012-03-02  David S. Miller  <davem@davemloft.net>
68413         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
68415 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
68417         [BZ #3976]
68418         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
68419         (__sin): Save and restore rounding mode and use round-to-nearest
68420         for all computations.
68421         (__cos): Save and restore rounding mode and use round-to-nearest
68422         for all computations.
68423         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68424         <fenv.h>.
68425         (tan): Save and restore rounding mode and use round-to-nearest for
68426         all computations.
68427         * math/libm-test.inc (cos_test_tonearest): New function.
68428         (cos_test_towardzero): Likewise.
68429         (cos_test_downward): Likewise.
68430         (cos_test_upward): Likewise.
68431         (sin_test_tonearest): Likewise.
68432         (sin_test_towardzero): Likewise.
68433         (sin_test_downward): Likewise.
68434         (sin_test_upward): Likewise.
68435         (tan_test_tonearest): Likewise.
68436         (tan_test_towardzero): Likewise.
68437         (tan_test_downward): Likewise.
68438         (tan_test_upward): Likewise.
68439         (main): Call the new functions.
68440         * sysdeps/i386/fpu/libm-test-ulps: Update.
68441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68443         [BZ #10135]
68444         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
68445         small n, then large n, before computing and testing k+n.
68446         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
68447         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
68448         Likewise.
68449         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
68450         Likewise.
68451         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
68452         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
68453         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
68454         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
68455         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
68456         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
68457         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
68458         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
68459         * math/libm-test.inc (scalbn_test): Add more tests.
68460         (scalbln_test): Likewise.
68462         * manual/filesys.texi (mode_t): Describe constraints on size and
68463         signedness, not exact equivalence to a particular type.
68464         (ino_t): Likewise.
68465         (ino64_t): Likewise.
68466         (dev_t): Likewise.
68467         (nlink_t): Likewise.
68468         (blkcnt_t): Likewise.
68469         (blkcnt64_t): Likewise.
68470         * manual/llio.texi (off_t): Likewise.
68472         [BZ #3976]
68473         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
68474         (__ieee754_exp): Save and restore rounding mode and use
68475         round-to-nearest for all computations.
68476         * math/libm-test.inc (exp_test_tonearest): New function.
68477         (exp_test_towardzero): Likewise.
68478         (exp_test_downward): Likewise.
68479         (exp_test_upward): Likewise.
68480         (main): Call the new functions.
68481         * sysdeps/i386/fpu/libm-test-ulps: Update.
68482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68484 2012-03-01  Chris Demetriou  <cgd@google.com>
68486         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
68487         have predictable order.
68489 2012-03-01  David S. Miller  <davem@davemloft.net>
68491         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
68493         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
68494         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
68495         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
68496         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
68498         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
68499         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
68500         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
68501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
68502         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
68503         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
68504         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
68505         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
68506         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
68508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68510         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
68511         * sysdeps/sparc/fpu/libm-test-ulps: to here.
68512         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
68514         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
68515         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68516         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68517         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
68518         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
68519         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
68520         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
68521         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68522         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68523         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
68524         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
68525         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68526         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68527         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68528         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68529         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68530         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
68531         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
68532         * sysdeps/sparc/elf/configure: Regenerated.
68534 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
68536         * configure.in (AS, LD): Require binutils 2.20 or later.
68537         * configure: Regenerated.
68538         * manual/install.texi (Tools for Compilation): Give binutils 2.20
68539         as required minimum version.
68540         * INSTALL: Regenerated.
68542         [BZ #2541]
68543         [BZ #4108]
68544         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
68545         before squaring exponent.
68546         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
68547         bottom long double and 27 bits of top long double before squaring
68548         exponent.
68549         * math/libm-test.inc (erfc_test): Add more tests.
68550         * sysdeps/i386/fpu/libm-test-ulps: Update.
68551         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68554 2012-03-01  Kai Tietz  <ktietz@redhat.com>
68556         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
68557         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
68558         containing bit-fields.
68559         * soft-fp/extended.h (_FP_UNION_E): Likewise.
68560         * soft-fp/single.h (_FP_UNION_S): Likewise.
68561         * soft-fp/double.h (_FP_UNION_D): Likewise.
68563 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68565         [BZ #13786]
68566         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
68567         not include ../strcmp.S.
68568         [USE_AS_STRNCASECMP_L]: Likewise.
68569         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
68570         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
68571         * sysdeps/i386/i686/multiarch/strncase_l-c.c
68572         (__strncasecmp_l_ia32): Define as alias to
68573         __strncasecmp_l_nonascii.
68575         [BZ #5794]
68576         * math/libm-test.inc (expm1_test): Add test for bug 5794.
68577         * sysdeps/i386/fpu/libm-test-ulps: Update.
68578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68580         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
68581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68583 2012-02-29  Jeff Law  <law@redhat.com>
68585         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
68586         out of bounds read.
68588 2012-02-29  Marek Polacek  <polacek@redhat.com>
68590         [BZ #13706]
68591         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
68592         * elf/Makefile: Add rules to run tst-unused-dep.out.
68594 2012-02-28  David S. Miller  <davem@davemloft.net>
68596         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
68597         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
68598         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
68599         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
68600         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
68601         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
68603 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68605         * math/libm-test.inc (llround_test): Move one test from
68606         lround_test.  Use TEST_f_L in moved test.
68607         (lround_test): Move misplaced test to llround_test.  Add testcase
68608         from bug 2561.
68610 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
68612         * sysdeps/x86_64/fpu/e_expf.S: New file.
68613         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
68615 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
68617         [BZ #13637]
68618         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
68619         of remain_len that may cause incomplete multi-byte character and
68620         false match.
68621         * posix/bug-regex33.c: New file.
68622         * posix/Makefile (tests): Add bug-regex33.
68624 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
68626         * manual/macros.texi: New file.
68627         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
68628         * manual/libc.texinfo: Include macros.texi.
68629         * manual/creatute.texi: Likewise.
68630         * manual/install.texi: Likewise.
68631         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
68632         @glibcadj{} in references to the GNU C Library.
68633         * manual/charset.texi: Likewise.
68634         * manual/conf.texi: Likewise.
68635         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
68636         when not using those macros.
68637         * manual/creature.texi: Likewise.
68638         * manual/crypt.texi: Likewise.
68639         * manual/errno.texi: Likewise.
68640         * manual/filesys.texi: Likewise.
68641         * manual/header.texi: Likewise.
68642         * manual/install.texi: Likewise.
68643         * manual/intro.texi: Likewise.
68644         * manual/io.texi: Likewise.
68645         * manual/job.texi: Likewise.
68646         * manual/lang.texi: Likewise.
68647         * manual/libc.texiinfo: Likewise.
68648         * manual/llio.texi: Likewise.
68649         * manual/locale.texi: Likewise.
68650         * manual/maint.texi: Likewise.
68651         * manual/math.texi: Likewise.
68652         * manual/memory.texi: Likewise.
68653         * manual/message.texi: Likewise.
68654         * manual/nss.texi: Likewise.
68655         * manual/pattern.texi: Likewise.
68656         * manual/process.texi: Likewise.
68657         * manual/resource.texi: Likewise.
68658         * manual/search.texi: Likewise.
68659         * manual/setjmp.texi: Likewise.
68660         * manual/signal.texi: Likewise.
68661         * manual/socket.texi: Likewise.
68662         * manual/startup.texi: Likewise.
68663         * manual/stdio.texi: Likewise.
68664         * manual/string.texi: Likewise.
68665         * manual/sysinfo.texi: Likewise.
68666         * manual/syslog.texi: Likewise.
68667         * manual/terminal.texi: Likewise.
68668         * manual/time.texi: Likewise.
68669         * manual/users.texi: Likewise.
68670         * INSTALL: Regenerated.
68671         * NOTES: Regenerated.
68672         * sysdeps/gnu/errlist.c: Regenerated.
68674 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
68676         * include/dirent.h: Include <dirstream.h> before
68677         <dirent/dirent.h>.
68679 2012-02-28  David S. Miller  <davem@davemloft.net>
68681         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
68682         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
68683         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
68684         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
68686 2012-02-27  David S. Miller  <davem@davemloft.net>
68688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
68689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
68690         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
68691         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
68693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
68694         frame pointer instead of stack pointer relative arg slot.
68695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68696         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68697         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68699 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
68701         [BZ #3992]
68702         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
68704 2012-02-27  David S. Miller  <davem@davemloft.net>
68706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
68707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
68710         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68711         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68712         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
68713         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
68715 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68717         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
68718         later.  Allow versions 5-9.
68719         * configure: Regenerated.
68720         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
68721         required minimum version and 4.6 as recommended version.  Do not
68722         mention bugs in GCC 2.7 and 2.8.
68723         * INSTALL: Regenerated.
68725 2012-02-27  David S. Miller  <davem@davemloft.net>
68727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
68728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
68729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
68730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
68731         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
68732         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
68733         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
68734         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
68736         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
68737         manipulate bits before adding and subtracting TWO112[sx].
68738         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68740 2012-02-27  Roland McGrath  <roland@hack.frob.com>
68742         [BZ #13775]
68743         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
68744         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
68745         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
68746         being in POSIX, because they are in 1003.1-2008.
68748         * rt/tst-aio.c: Include <fcntl.h>.
68749         * rt/tst-aio7.c: Likewise.
68750         * rt/tst-aio64.c: Likewise.
68752         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
68754 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68756         * manual/install.texi (--with-headers): Describe headers as
68757         interface headers, not private headers.
68758         (Specific advice for GNU/Linux systems): Describe use of headers
68759         from "make headers_install", not private headers from older
68760         kernels.
68761         * INSTALL: Regenerated.
68762         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
68763         Change to 2.6.19.
68764         * sysdeps/unix/sysv/linux/configure: Regenerated.
68766         * manual/llio.texi (fclean): Remove documentation.
68768         * manual/Makefile (libc-texi-generated): New variable.  Include
68769         version.texi.
68770         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
68771         $(libc-texi-generated), not duplicated list of files.
68772         (version.texi, stamp-version): New rules.
68773         (realclean): Remove $(libc-texi-generated), not individual files
68774         from that list.  Do not remove dir-add.texinfo.
68775         * manual/libc.texinfo: Comment out uses of edition numbers and
68776         references to printed manual.  Remove last-updated dates.
68777         (EDITION): Comment out.
68778         (ISBN): Likewise.
68779         (VERSION, UPDATED): Remove.
68780         (version.texi): Include.
68782 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
68784         * sysdeps/posix/spawni.c: Include <signal.h>.
68785         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
68786         * sysdeps/pthread/aio_fsync.c: Likewise.
68788 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
68790         * conform/Makefile (tests): Run only when not cross-compiling and
68791         when fast-check is not defined.
68793         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
68794         * conform/data/limits.h-data: Fixes for POSIX2008.
68795         * conform/run-conformtest.sh: Run all tests.
68796         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
68797         headers.
68798         * include/bits/dlfcn.h: Likewise.
68799         * include/langinfo.h: Likewise.
68800         * include/monetary.h: Likewise.
68801         * include/sys/poll.h: Likewise.
68803         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
68804         for __USE_GNU.
68805         * posix/spawn.h: Define __need_sigset_t.
68806         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
68807         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
68808         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
68809         to get sigevent_t only.
68810         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
68811         only for __USE_GNU.
68812         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68813         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68814         process_vm_writev only for __USE_GNU.
68815         * termios/termios.h: Declare tcgetsid also for POSIX2008.
68817         * conform/Makefile: For now ignore errors from run-conformtest.
68818         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
68819         POSIX to avoid namespace pollution.  Don't prepend headers.
68820         * conform/data/aio.h-data: Fixes for POSIX testing.
68821         * conform/data/fcntl.h-data: Likewise.
68822         * conform/data/glob.h-data: Likewise.
68823         * conform/data/grp.h-data: Likewise.
68824         * conform/data/pthread.h-data: Likewise.
68825         * conform/data/pwd.h-data: Likewise.
68826         * conform/data/signal.h-data: Likewise.
68827         * conform/data/spawn.h-data: Likewise.
68828         * conform/data/stdio.h-data: Likewise.
68829         * conform/data/stdlib.h-data: Likewise.
68830         * conform/data/stropts.h-data: Likewise.
68831         * conform/data/sys/mman.h-data: Likewise.
68832         * conform/data/sys/stat.h-data: Likewise.
68833         * conform/data/sys/types.h-data: Likewise.
68834         * conform/data/sys/wait.h-data: Likewise.
68835         * conform/data/time.h-data: Likewise.
68836         * conform/data/unistd.h-data: Likewise.
68837         * conform/data/utime.h-data: Likewise.
68839         * io/sys/stat.h: fchmod was always in POSIX.
68840         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
68841         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
68842         * rt/aio.h: Define __need_timespec before including <time.h>.
68843         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
68844         struct.  Add forward declaration of pthread_attr_t and use it in
68845         sigevent.
68846         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68847         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68848         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
68849         always remove CLK_TCK definition.
68851 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
68853         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
68855 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
68857         * conform/run-conformtest.sh: New file.
68858         * conform/Makefile: Run run-conformtest for tests.
68859         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
68860         support.
68862         * conform/data/uchar.h-data: New file.
68863         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
68864         * conform/data/arpa/inet.h-data: Likewise.
68865         * conform/data/assert.h-data: Likewise.
68866         * conform/data/complex.h-data: Likewise.
68867         * conform/data/cpio.h-data: Likewise.
68868         * conform/data/ctype.h-data: Likewise.
68869         * conform/data/dirent.h-data: Likewise.
68870         * conform/data/dlfcn.h-data: Likewise.
68871         * conform/data/errno.h-data: Likewise.
68872         * conform/data/fcntl.h-data: Likewise.
68873         * conform/data/float.h-data: Likewise.
68874         * conform/data/fmtmsg.h-data: Likewise.
68875         * conform/data/fnmatch.h-data: Likewise.
68876         * conform/data/ftw.h-data: Likewise.
68877         * conform/data/glob.h-data: Likewise.
68878         * conform/data/grp.h-data: Likewise.
68879         * conform/data/iconv.h-data: Likewise.
68880         * conform/data/inttypes.h-data: Likewise.
68881         * conform/data/langinfo.h-data: Likewise.
68882         * conform/data/libgen.h-data: Likewise.
68883         * conform/data/limits.h-data: Likewise.
68884         * conform/data/locale.h-data: Likewise.
68885         * conform/data/math.h-data: Likewise.
68886         * conform/data/monetary.h-data: Likewise.
68887         * conform/data/mqueue.h-data: Likewise.
68888         * conform/data/ndbm.h-data: Likewise.
68889         * conform/data/net/if.h-data: Likewise.
68890         * conform/data/netdb.h-data: Likewise.
68891         * conform/data/netinet/in.h-data: Likewise.
68892         * conform/data/nl_types.h-data: Likewise.
68893         * conform/data/poll.h-data: Likewise.
68894         * conform/data/pthread.h-data: Likewise.
68895         * conform/data/pwd.h-data: Likewise.
68896         * conform/data/regex.h-data: Likewise.
68897         * conform/data/sched.h-data: Likewise.
68898         * conform/data/search.h-data: Likewise.
68899         * conform/data/semaphore.h-data: Likewise.
68900         * conform/data/setjmp.h-data: Likewise.
68901         * conform/data/signal.h-data: Likewise.
68902         * conform/data/spawn.h-data: Likewise.
68903         * conform/data/stdarg.h-data: Likewise.
68904         * conform/data/stdio.h-data: Likewise.
68905         * conform/data/stdlib.h-data: Likewise.
68906         * conform/data/string.h-data: Likewise.
68907         * conform/data/strings.h-data: Likewise.
68908         * conform/data/stropts.h-data: Likewise.
68909         * conform/data/sys/ipc.h-data: Likewise.
68910         * conform/data/sys/mman.h-data: Likewise.
68911         * conform/data/sys/msg.h-data: Likewise.
68912         * conform/data/sys/resource.h-data: Likewise.
68913         * conform/data/sys/select.h-data: Likewise.
68914         * conform/data/sys/sem.h-data: Likewise.
68915         * conform/data/sys/shm.h-data: Likewise.
68916         * conform/data/sys/socket.h-data: Likewise.
68917         * conform/data/sys/stat.h-data: Likewise.
68918         * conform/data/sys/statvfs.h-data: Likewise.
68919         * conform/data/sys/time.h-data: Likewise.
68920         * conform/data/sys/timeb.h-data: Likewise.
68921         * conform/data/sys/times.h-data: Likewise.
68922         * conform/data/sys/types.h-data: Likewise.
68923         * conform/data/sys/uio.h-data: Likewise.
68924         * conform/data/sys/un.h-data: Likewise.
68925         * conform/data/sys/utsname.h-data: Likewise.
68926         * conform/data/sys/wait.h-data: Likewise.
68927         * conform/data/syslog.h-data: Likewise.
68928         * conform/data/tar.h-data: Likewise.
68929         * conform/data/termios.h-data: Likewise.
68930         * conform/data/utime.h-data: Likewise.
68931         * conform/data/utmpx.h-data: Likewise.
68932         * conform/data/varargs.h-data: Likewise.
68933         * conform/data/wchar.h-data: Likewise.
68934         * conform/data/wctype.h-data: Likewise.
68935         * conform/data/wordexp.h-data: Likewise.
68937         * include/stropts.h: New file.
68938         * include/uchar.h: New file.
68939         * include/aio.h: Changes to allow conformtest.pl to use the headers.
68940         * include/assert.h: Likewise.
68941         * include/ctype.h: Likewise.
68942         * include/dirent.h: Likewise.
68943         * include/dlfcn.h: Likewise.
68944         * include/fcntl.h: Likewise.
68945         * include/fnmatch.h: Likewise.
68946         * include/glob.h: Likewise.
68947         * include/grp.h: Likewise.
68948         * include/libio.h: Likewise.
68949         * include/locale.h: Likewise.
68950         * include/math.h: Likewise.
68951         * include/net/if.h: Likewise.
68952         * include/netdb.h: Likewise.
68953         * include/netinet/in.h: Likewise.
68954         * include/pthread.h: Likewise.
68955         * include/pwd.h: Likewise.
68956         * include/regex.h: Likewise.
68957         * include/sched.h: Likewise.
68958         * include/search.h: Likewise.
68959         * include/setjmp.h: Likewise.
68960         * include/signal.h: Likewise.
68961         * include/stdio.h: Likewise.
68962         * include/stdlib.h: Likewise.
68963         * include/string.h: Likewise.
68964         * include/sys/cdefs.h: Likewise.
68965         * include/sys/mman.h: Likewise.
68966         * include/sys/msg.h: Likewise.
68967         * include/sys/resource.h: Likewise.
68968         * include/sys/select.h: Likewise.
68969         * include/sys/socket.h: Likewise.
68970         * include/sys/stat.h: Likewise.
68971         * include/sys/statvfs.h: Likewise.
68972         * include/sys/time.h: Likewise.
68973         * include/sys/times.h: Likewise.
68974         * include/sys/uio.h: Likewise.
68975         * include/sys/utsname.h: Likewise.
68976         * include/sys/wait.h: Likewise.
68977         * include/termios.h: Likewise.
68978         * include/time.h: Likewise.
68979         * include/ulimit.h: Likewise.
68980         * include/unistd.h: Likewise.
68981         * include/utime.h: Likewise.
68982         * include/wchar.h: Likewise.
68983         * include/wctype.h: Likewise.
68984         * include/wordexp.h: Likewise.
68986         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
68988         * time/time.h: TIME_UTC must be a macro.
68989         Make timespec_get available for ISO C11 only as well.
68991 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
68993         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
68994         Reported by Peng Haitao <penght@cn.fujitsu.com>.
68996 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68998         * configure.in: Use -o not -a in test for unsupported multi-arch.
69000 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69002         * manual/texinfo.tex: Update to version 2012-01-19.16.
69004 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69006         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
69008 2012-02-24  Roland McGrath  <roland@hack.frob.com>
69010         [BZ #13738]
69011         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
69012         * manual/fdl-1.3.texi: New file.
69013         * manual/fdl-1.1.texi: File removed.
69015         [BZ #13738]
69016         * manual/libc.texinfo (FDL_VERSION): New @set.
69017         Use it for mention of FDL in cover text.
69018         (Documentation License): Use it in @include file name.
69020 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69021             Roland McGrath  <roland@hack.frob.com>
69023         [BZ #5461]
69024         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
69025         (not LONG_LONG_MAX and LONG_LONG_MIN.
69026         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
69027         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
69028         name.
69029         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
69031 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69033         [BZ #2547]
69034         [BZ #11365]
69035         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
69036         manipulate bits before adding and subtracting TWO23[sx].
69037         * math/libm-test.inc (nearbyint_test): Add more tests.
69039 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69041         [BZ #2548]
69042         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
69043         bits before adding and subtracting TWO23[sx].
69044         * math/libm-test.inc (rint_test): Add more tests.
69045         (rint_test_tonearest): Likewise.
69046         (rint_test_towardzero): Likewise.
69047         (rint_test_downward): Likewise.
69048         (rint_test_upward: Likewise.
69050 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69052         [BZ #10110]
69053         * include/stdc-predef.h: New file.  Extracted from features.h.
69054         * include/features.h: Include stdc-predef.h.
69055         * Makefile (headers): Add stdc-predef.h.
69056         * CONFORMANCE (Compiler limitations): Update.
69058 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69060         * manual/libc.texinfo (VERSION, UPDATED): Revert.
69062 2012-02-21  David S. Miller  <davem@davemloft.net>
69064         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
69065         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69067 2012-02-20  David S. Miller  <davem@davemloft.net>
69069         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
69070         using a normal save/restore sequence, rather than allocating a
69071         dummy stack frame just to store a frame pointer and restore.
69072         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69074 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69076         * manual/install.texi: Fix stray word in line-wrapped comment.
69078 2012-02-20  David S. Miller  <davem@davemloft.net>
69080         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
69081         both binutils and gcc support GOTDATA.
69083         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
69084         "rd %pc" in the PIC register setup sequences.
69086         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
69087         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
69088         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69089         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
69090         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69091         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69092         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69093         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69094         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
69095         (SYSCALL_ERROR_HANDLER): Likewise.
69096         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69097         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69098         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
69099         (SYSCALL_ERROR_HANDLER): Likewise.
69101         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
69102         (HAVE_GCC_GOTDATA): New.
69103         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
69104         relocation support in both binutils and gcc.
69105         * sysdeps/sparc/elf/configure: Regenerate.
69107         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
69108         * sysdeps/sparc/sparc32/elf/configure: Delete.
69109         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
69110         * sysdeps/sparc/sparc64/elf/configure: Delete.
69111         * sysdeps/sparc/elf/configure.in: New file.
69112         * sysdeps/sparc/elf/configure: Generate.
69114         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
69115         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
69116         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69117         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
69118         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
69120 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69122         * manual/install.texi: Do not mention specific glibc version
69123         numbers.
69124         * manual/libc.texinfo (VERSION, UPDATED): Update.
69125         (@copying): Use @copyright{} and range of years.
69127 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69129         [BZ #13695]
69130         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
69131         [crti.S not in sysdirs] (generated): Do not append.
69132         [crti.S not in sysdirs] (omit-deps): Likewise.
69133         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
69134         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
69135         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
69136         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
69137         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
69138         Likewise.
69139         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
69140         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
69141         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
69142         * csu/defs.awk: Remove file.
69143         * sysdeps/generic/initfini.c: Likewise.
69144         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
69145         variable.
69146         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
69147         Likewise.
69149 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69151         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
69152         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
69153         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
69154         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
69155         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69156         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
69157         <bits/epoll.h>.
69158         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
69159         (__EPOLL_PACKED): Define to empty if not defined by
69160         <bits/epoll.h>.
69161         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
69162         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69163         bits/epoll.h.
69165 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69167         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
69168         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
69169         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
69170         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
69171         <bits/timerfd.h>.
69172         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
69173         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69174         bits/timerfd.h.
69176 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69178         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69179         in C locale.
69180         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69181         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69182         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69185 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
69187         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69188         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69190 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
69192         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69193         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69194         defined.
69195         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69196         Likewise.
69197         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69198         entry for 2.16.
69200 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
69202         * math/w_acos.c: Use non-signaling floating-point comparisons.
69203         * math/w_acosf.c: Likewise.
69204         * math/w_acosh.c: Likewise.
69205         * math/w_acoshf.c: Likewise.
69206         * math/w_acoshl.c: Likewise.
69207         * math/w_acosl.c: Likewise.
69208         * math/w_asin.c: Likewise.
69209         * math/w_asinf.c: Likewise.
69210         * math/w_asinl.c: Likewise.
69211         * math/w_atanh.c: Likewise.
69212         * math/w_atanhf.c: Likewise.
69213         * math/w_atanhl.c: Likewise.
69214         * math/w_exp2.c: Likewise.
69215         * math/w_exp2f.c: Likewise.
69216         * math/w_exp2l.c: Likewise.
69217         * math/w_j0.c: Likewise.
69218         * math/w_j0f.c: Likewise.
69219         * math/w_j0l.c: Likewise.
69220         * math/w_j1.c: Likewise.
69221         * math/w_j1f.c: Likewise.
69222         * math/w_j1l.c: Likewise.
69223         * math/w_jn.c: Likewise.
69224         * math/w_jnf.c: Likewise.
69225         * math/w_log.c: Likewise.
69226         * math/w_log10.c: Likewise.
69227         * math/w_log10f.c: Likewise.
69228         * math/w_log10l.c: Likewise.
69229         * math/w_log2.c: Likewise.
69230         * math/w_log2f.c: Likewise.
69231         * math/w_log2l.c: Likewise.
69232         * math/w_logf.c: Likewise.
69233         * math/w_logl.c: Likewise.
69234         * math/w_sqrt.c: Likewise.
69235         * math/w_sqrtf.c: Likewise.
69236         * math/w_sqrtl.c: Likewise.
69237         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69238         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
69239         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69240         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69241         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69243 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69245         [BZ #9739]
69246         * manual/string.texi (strnlen): Use correct parameter name in
69247         equivalent expression.
69249 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69251         [BZ #11174]
69252         * manual/users.texi (seteuid): Consistently use neweuid for
69253         argument name.
69255 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69257         [BZ #13704]
69258         * manual/nss.texi (Services in the NSS configuration): Correct
69259         list of services in example configuration file.
69261 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
69263         [BZ #11322]
69264         * manual/arith.texi: Remove statements about negative zero
69265         behaving identically to zero.
69267 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69269         [BZ #5993]
69270         * manual/install.texi: Do not document upgrading from libc5.
69272 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69274         [BZ #4596]
69275         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
69277 2012-02-18  David S. Miller  <davem@davemloft.net>
69279         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
69280         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
69281         %o7 across the call.
69282         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
69283         instead.
69284         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
69285         SETUP_PIC_REG_LEAF.
69286         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69287         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
69288         * sysdeps/sparc/crtn.S: Likewise.
69290 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
69292         * aout/Makefile: Remove.
69294 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
69296         [BZ #13058]
69297         * manual/examples/argp-ex1.c (main): Format definition in GNU
69298         style.
69299         * manual/examples/argp-ex2.c (main): Likewise.
69300         * manual/examples/argp-ex3.c (main): Likewise.
69301         * manual/examples/argp-ex4.c (main): Likewise.
69302         * manual/examples/longopt.c (main): Use new-style prototype
69303         definition.
69304         * manual/examples/strncat.c (main): Specify return type and use
69305         (void) for arguments.
69306         * manual/examples/subopt.c (main): Use char **argv argument.
69308 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69310         [BZ #5077]
69311         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69312         rounding modes.
69314 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
69316         [BZ #6907]
69317         * manual/string.texi (strchr): Change when strchrnul is
69318         recommended.
69320 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
69322         [BZ #174]
69323         * manual/locale.texi (setlocale): Document LOCPATH.
69325 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69327         [BZ #10210]
69328         * manual/process.texi (execle): Move @dots{} before last argument.
69330 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
69332         [BZ #12047]
69333         * manual/charset.texi (Generic Charset Conversion): Fix typo
69334         (LC_TYPE -> LC_CTYPE).
69336 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
69338         [BZ #5805]
69339         * manual/arith.texi (scalbn): Use @var{} on parameter names.
69340         (scalbnf): Likewise.
69341         (scalbnl): Likewise.
69342         (scalbln): Likewise.
69343         (scalblnf): Likewise.
69344         (scalblnl): Likewise.
69345         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69346         (vwarnx): Likewise.
69347         (verr): Likewise.
69348         (verrx): Likewise.
69349         * manual/filesys.texi (telldir): Use braces around return type.
69350         * manual/llio.texi (mmap): Add space after comma.
69351         (mmap64): Likewise.
69352         * manual/math.texi (jn): Use @var{} on parameter names.
69353         (jnf): Likewise.
69354         (jnl): Likewise.
69355         (yn): Likewise.
69356         (ynf): Likewise.
69357         (ynl): Likewise.
69358         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69359         line.
69360         * manual/resource.texi (ulimit): Use @dots{} instead of literal
69361         "...".
69362         (sched_get_priority_min): Remove semicolon on @deftypefun line.
69363         (sched_get_priority_max): Likewise.
69364         * manual/signal.texi (sigvec): Add space after comma.
69365         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69366         names.
69367         (if_indextoname): Likewise.
69368         (if_freenameindex): Likewise.
69369         (sendto): Use ',' instead of '.' in prototype.
69370         * manual/startup.texi (syscall): Use @dots{} instead of literal
69371         "...".
69372         * manual/stdio.texi (__fpending): Separate initial words of
69373         paragraph from @deftypefun line.
69374         * manual/syslog.texi (syslog): Use @dots{} instead of literal
69375         "...".
69376         (vsyslog): Use @var{} on parameter names.
69377         * manual/terminal.texi (stty): Use @var{} on parameter names.
69378         * manual/users.texi (getutmp): Use @var{} on parameter names.
69379         (getutmpx): Likewise.
69381 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69383         [BZ #6884]
69384         * manual/stdio.texi (fopen): Fix typos in description of
69385         ",ccs=STRING".
69387 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
69389         [BZ #4026]
69390         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
69391         get clock_id definition.
69393 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
69395         [BZ #4822]
69396         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
69397         (madvise): Cast every argument to void on its own.
69399 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69401         [BZ #9902]
69402         * manual/startup.texi (Exit Status): Fix typo.
69404 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69406         [BZ #10140]
69407         * manual/examples/argp-ex1.c: Include <stdlib.h>.
69408         * manual/examples/argp-ex2.c: Likewise.
69409         * manual/examples/argp-ex3.c: Likewise.
69411 2012-02-16  Richard Henderson  <rth@redhat.com>
69413         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
69414         * sysdeps/s390/s390-32/initfini.c: Remove.
69415         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
69416         * sysdeps/s390/s390-64/initfini.c: Remove.
69418 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69420         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
69421         compiler output for sysdeps/generic/initfini.c.
69422         * sysdeps/sh/elf/initfini.c: Remove file.
69424 2012-02-16  David S. Miller  <davem@davemloft.net>
69426         [BZ #11494]
69427         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
69429         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
69430         * sysdeps/sparc/crti.S: New file.
69431         * sysdeps/sparc/crtn.S: New file.
69432         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
69433         * sysdeps/sparc/sparc64/Makefile: Likewise.
69435 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
69437         [BZ #3335]
69438         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
69440 2012-02-15  Roland McGrath  <roland@hack.frob.com>
69442         [BZ #4822]
69443         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
69445         * mach/devstream.c (cookie_io_functions_t): Macro removed.
69446         (write, read, close): Likewise.
69447         Patch by Aurelien Jarno <aurelien@aurel32.net>.
69449 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
69451         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
69452         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
69453         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
69454         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
69455         <bits/signalfd.h>.
69456         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
69457         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69458         bits/signalfd.h.
69460 2012-02-14  Marek Polacek  <polacek@redhat.com>
69462         * sysdeps/x86_64/crti.S: New file.
69463         * sysdeps/x86_64/crtn.S: New file.
69464         * sysdeps/x86_64/elf/initfini.c: Remove file.
69466 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69468         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
69469         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
69470         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
69471         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
69472         <bits/inotify.h>.
69473         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
69474         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69475         bits/inotify.h.
69477 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69479         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
69480         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
69481         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
69482         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
69483         <bits/eventfd.h>.
69484         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
69485         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69486         bits/eventfd.h.
69488 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
69490         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
69491         __feraiseexcept instead of feraiseexcept.
69493         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
69494         nanosleep invocations.
69495         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
69496         strings, and add error checking for a nanosleep invocations.
69498 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
69500         Replace FSF snail mail address with URLs, as per GNU coding standards.
69501         Most of the snail mail addresses were wrong anyway, and omitting
69502         them makes the source code easier to maintain.  Almost all of the
69503         changes are to license notices and to locale LC_IDENTIFICATION
69504         addresses, except for this one:
69505         * manual/libc.texinfo: In "Published by", give the FSF's URL,
69506         not its snail mail address.
69508 2012-02-09  Richard Henderson  <rth@twiddle.net>
69510         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
69511         of kernel-features.h.
69513         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
69515 2012-02-08  Marek Polacek  <polacek@redhat.com>
69517         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
69518         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
69519         * sysdeps/gnu/_G_config.h: Likewise.
69520         * sysdeps/generic/_G_config.h: Likewise.
69522 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
69524         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
69525         tests.
69526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69528         * sysdeps/powerpc/powerpc32/crti.S: New file.
69529         * sysdeps/powerpc/powerpc32/crtn.S: New file.
69530         * sysdeps/powerpc/powerpc64/crti.S: New file.
69531         * sysdeps/powerpc/powerpc64/crtn.S: New file.
69533         * Makeconfig (have-initfini): Don't set.
69534         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
69535         * configure.in (nopic_initfini): Don't substitute.
69536         * config.h.in (HAVE_INITFINI): Don't #undef.
69537         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
69538         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
69540 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
69542         Support crti.S and crtn.S provided directly by architectures.
69543         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
69544         [crti.S in sysdirs] (omit-deps): Likewise.
69545         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
69546         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
69547         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
69548         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
69549         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
69550         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
69551         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
69552         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
69553         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
69554         compiler output for sysdeps/generic/initfini.c.
69555         * sysdeps/i386/elf/Makefile: Remove file.
69556         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
69558 2012-02-07  Marek Polacek  <polacek@redhat.com>
69560         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
69561         * sysdeps/gnu/_G_config.h: Likewise.
69562         * sysdeps/mach/hurd/_G_config.h: Likewise.
69564 2012-02-07  Marek Polacek  <polacek@redhat.com>
69566         * math/Makefile (tests): Add tst-CMPLX2.
69567         * math/tst-CMPLX2.c: New file.
69569 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
69571         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69573         * math/libm-test.inc (jn_test): Add missing L suffix.
69575 2012-02-06  Marek Polacek  <polacek@redhat.com>
69577         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
69578         * sysdeps/i386/fpu/e_powf.S: Likewise.
69579         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69580         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69581         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69582         * sysdeps/i386/fpu/e_pow.S: Likewise.
69583         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69584         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69585         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69586         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69587         * sysdeps/i386/fpu/e_log2.S: Likewise.
69588         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69589         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69590         * sysdeps/i386/fpu/e_powl.S: Likewise.
69591         * sysdeps/i386/fpu/s_log1p.S: Likewise.
69592         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69593         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69594         * sysdeps/i386/fpu/e_logl.S: Likewise.
69595         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69596         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
69597         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69598         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69599         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69600         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69601         * sysdeps/i386/fpu/e_log.S: Likewise.
69602         * sysdeps/i386/fpu/s_cexp.S: Likewise.
69603         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69604         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
69605         * sysdeps/i386/fpu/e_logf.S: Likewise.
69606         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69607         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69608         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
69609         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69610         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69611         * sysdeps/i386/fpu/e_log10.S: Likewise.
69612         * sysdeps/i386/fpu/s_frexp.S: Likewise.
69613         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69614         * sysdeps/i386/fpu/s_asinh.S: Likewise.
69615         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69616         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69617         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69618         * sysdeps/i386/asm-syntax.h: Likewise.
69619         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69620         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69621         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69622         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
69623         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
69624         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69625         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69626         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69627         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69628         * sysdeps/powerpc/sysdep.h: Likewise.
69629         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
69630         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69632 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69634         [BZ #411]
69635         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
69637 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69639         * sysdeps/i386/sysdep.h: Include <features.h>.
69640         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
69641         version.
69643 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
69645         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
69646         Define.
69647         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
69648         LOAD_PIC_REG_STR.
69650 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69652         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
69653         (SETUP_PIC_REG): Use GET_PC_THUNK.
69654         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
69655         macro.
69657 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69659         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
69660         for non-PIC compilation.
69661         (SETUP_PIC_REG): Add .p2align directive.
69662         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
69663         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
69664         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69665         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69666         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
69667         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69668         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
69669         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69670         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69671         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69672         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69673         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69674         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69675         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69676         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69677         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
69678         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
69679         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69680         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69681         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69682         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69683         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
69684         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69685         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69686         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
69687         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
69688         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69689         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
69690         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69691         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69692         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69693         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69694         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69695         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69696         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69697         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69698         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69699         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69700         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69701         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69702         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69704 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69706         * math/tst-CMPLX.c: Include <stdio.h>.
69708 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
69710         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
69711         float.
69712         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69713         * sysdeps/sparc/bits/mathdef.h: Likewise.
69715 2012-01-31  Marek Polacek  <polacek@redhat.com>
69717         * libio/libio.h: Don't define _PARAMS.
69718         * locale/programs/config.h: Don't define PARAMS.
69719         * stdlib/strtol_l.c: Likewise.
69720         (__strtol_l): Remove PARAMS from the prototype.
69722 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
69724         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
69725         names.  Just use the correct names.  Remove unnecessary wrapper
69726         functions.
69727         * malloc/arena.c: Likewise.
69728         * malloc/hooks.c: Likewise.
69730         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
69731         ARENA_TEST says not to.  Simplify test for creation of a new arena.
69732         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
69734 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
69736         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
69737         into tail calls.
69738         (update_get_addr): New function.
69739         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
69740         GET_ADDR_MODULE parameter.
69742 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69744         * crypt/cert.c: Remove __STDC__ conditionals.
69745         * crypt/crypt-entry.c: Likewise.
69746         * crypt/crypt_util.c: Likewise.
69747         * libio/filedoalloc.c: Likewise.
69748         * libio/fileops.c: Likewise.
69749         * libio/genops.c: Likewise.
69750         * libio/iofclose.c: Likewise.
69751         * libio/iofdopen.c: Likewise.
69752         * libio/iofopen.c: Likewise.
69753         * libio/iofopen64.c: Likewise.
69754         * libio/iogetdelim.c: Likewise.
69755         * libio/iopopen.c: Likewise.
69756         * libio/obprintf.c: Likewise.
69757         * libio/oldfileops.c: Likewise.
69758         * libio/oldiofclose.c: Likewise.
69759         * libio/oldiofdopen.c: Likewise.
69760         * libio/oldiofopen.c: Likewise.
69761         * libio/oldiopopen.c: Likewise.
69762         * libio/wfiledoalloc.c: Likewise.
69763         * libio/wgenops.c: Likewise.
69764         * locale/programs/xmalloc.c: Likewise.
69765         * misc/syslog.c: Likewise.
69766         * stdio-common/xbug.c: Likewise.
69767         * string/memchr.c: Likewise.
69768         * string/memcmp.c: Likewise.
69769         * string/memrchr.c: Likewise.
69770         * string/rawmemchr.c: Likewise.
69771         * sysdeps/posix/getcwd.c: Likewise.
69772         * time/strftime_l.c: Likewise.
69774 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69776         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
69777         * config.make.in (config-cflags-sse2avx): Define.
69778         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
69779         Fix typo.
69781 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
69783         * scripts/config.guess: Update from upstream config git repository.
69784         * scripts/config.sub: Likewise.
69786 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
69788         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
69789         (EM_NUM): Update.
69790         (R_TILEPRO_*, R_TILEGX_*): New macros.
69792         * scripts/firstversions.awk: Fix bug in version range handling.
69794         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
69796         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
69798         * include/sys/epoll.h: New file.
69799         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
69800         libc_hidden_def.
69802 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
69804         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
69805         Avoid unnecessary __WORDSIZE == 64 test.
69806         (fmaxf): Use VEX format if possible.
69807         (fmax): Likewise.
69808         (fminf): Likewise.
69809         (fmin): Likewise.
69811         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
69812         * math/math_private.h: Remove libc_fegetround* and
69813         libc_fesetround*.
69814         * sysdeps/i386/configure.in: Check for -msse2avx.
69815         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
69816         also if SSE2AVX is defined.
69817         Remove libc_fegetround* and libc_fesetround*.
69818         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
69819         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
69820         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
69821         of HAS_YMM_USABLE.
69822         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69823         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69824         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69825         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69826         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69828         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
69830 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69832         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
69833         size is not set.
69834         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69836 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
69838         [BZ #13618]
69839         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
69840         relocation.
69841         * Makeconfig (libm): Define.
69842         * elf/Makefile: Add rules to build and run tst-relsort1.
69843         * elf/tst-relsort1.c: New file.
69844         * elf/tst-relsort1mod1.c: New file.
69845         * elf/tst-relsort1mod2.c: New file.
69847 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
69849         * math/s_ldexp.c: Remove __STDC__ conditionals.
69850         * math/s_ldexpf.c: Likewise.
69851         * math/s_ldexpl.c: Likewise.
69852         * math/s_nextafter.c: Likewise.
69853         * math/s_nexttowardf.c: Likewise.
69854         * math/s_significand.c: Likewise.
69855         * math/s_significandf.c: Likewise.
69856         * math/s_significandl.c: Likewise.
69857         * math/w_jnl.c: Likewise.
69858         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69859         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69860         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69861         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69862         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69863         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69864         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
69865         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69866         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69867         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69868         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69869         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69870         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69871         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69872         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69873         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69874         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69875         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69876         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69877         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69878         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69879         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69880         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69881         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69882         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69883         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69884         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69885         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69886         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69887         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69888         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69889         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69890         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69891         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69892         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69893         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69894         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69895         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69896         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69897         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69898         * sysdeps/ieee754/k_standard.c: Likewise.
69899         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69900         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69901         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69902         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69903         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69904         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69905         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69906         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69907         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69908         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69909         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69910         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69911         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69912         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69913         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69914         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69915         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69916         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69917         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69918         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69919         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69920         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69921         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69922         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69923         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69924         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69925         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69926         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69927         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69928         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69929         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69930         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
69931         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69932         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69933         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69934         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69935         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
69936         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69937         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69938         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
69939         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
69940         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69941         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
69942         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
69943         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69944         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
69945         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
69946         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69947         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69948         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
69949         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
69950         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69951         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69952         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69953         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69954         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69955         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
69956         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69957         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69958         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69959         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69960         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69961         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69962         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69963         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69964         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69965         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69966         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69967         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69968         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69969         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69970         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69971         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69972         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69973         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69974         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69975         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69976         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69977         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69978         * sysdeps/ieee754/s_matherr.c: Likewise.
69979         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69980         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69981         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69982         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69984 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69986         * crypt/md5.h: Remove __STDC__ conditionals.
69987         * libio/libioP.h: Likewise.
69988         * locale/programs/config.h: Likewise.
69989         * sysdeps/generic/sysdep.h: Likewise.
69990         * sysdeps/i386/asm-syntax.h: Likewise.
69991         * sysdeps/s390/asm-syntax.h: Likewise.
69992         * sysdeps/unix/sysdep.h: Likewise.
69993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
69994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69996 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69998         * libio/libio.h: Remove __STDC__ conditionals.
69999         * malloc/obstack.h: Likewise.
70000         * math/complex.h: Likewise.
70001         * math/math.h: Likewise.
70002         * sysdeps/generic/_G_config.h: Likewise.
70003         * sysdeps/gnu/_G_config.h: Likewise.
70004         * sysdeps/mach/hurd/_G_config.h: Likewise.
70005         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70006         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70007         * sysdeps/sparc/bits/mathdef.h: Likewise.
70009 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
70011         [BZ #13583]
70012         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
70013         Clean up HAS_* macros.
70014         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
70015         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
70016         possible.
70017         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
70018         HAS_AVX.
70019         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70020         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70021         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70022         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70023         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70025 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
70027         * elf/tst-unique3.cc (gets): Remove declaration.
70028         * elf/tst-unique3lib.cc (gets): Likewise.
70029         * elf/tst-unique3lib2.cc (gets): Likewise.
70030         * elf/tst-unique4.cc (gets): Likewise.
70032 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
70034         * include/stdio.h: Add C++ protection.  Add gets declarations and
70035         definitions.
70036         * debug/tst-chk1.c: Don't declare gets here.
70037         * stdio-common/tst-gets.c: Likewise.
70039 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70041         * posix/glob: Remove directory.
70043 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70045         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
70047 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
70049         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
70050         of the non-standard EPFNOSUPPORT.
70052 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70054         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
70055         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
70056         ANYWHERE set to 1 only on KERN_NO_SPACE error.
70058 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
70060         * wcsmbs/uchar.h: Test __STDC_VERSION__.
70062 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
70064         * nscd/aicache.c (addhstaiX): Do not cache negative results of
70065         transient errors.
70066         * nscd/grpcache.c (cache_addgr): Likewise.
70067         * nscd/hstcache.c (cache_addhst): Likewise.
70068         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70069         * nscd/pwdcache.c (cache_addpw): Likewise.
70070         * nscd/servicescache.c (cache_addserv): Likewise.
70072 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
70074         * malloc/malloc.c: Various cleanups.
70075         * malloc/hooks.c: Likewise.
70077         * stdlib/Makefile (tests): Add bug-fmtmsg1.
70078         * stdlib/bug-fmtmsg1.c: New file.
70080         * stdlib/fmtmsg.c (init): Add missing unlock.
70081         Patch by Peng Haitao <penght@cn.fujitsu.com>.
70083 2012-01-12  Marek Polacek  <polacek@redhat.com>
70085         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
70086         and _GNU_SOURCE.
70088 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70090         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
70091         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
70092         macro to ensure uniqueness of label name.
70093         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70094         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70096 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
70098         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
70100         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
70101         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70102         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70103         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
70105 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
70107         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
70109         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
70110         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70111         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70113         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
70115         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
70116         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70117         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70118         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
70120         * math/bits/math-finite.h: Add ldexp support.
70122 2012-01-10  Marek Polacek  <polacek@redhat.com>
70124         * locale/programs/localedef.h (show_archive_content): Add noreturn
70125         attribute.
70127 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
70129         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
70131 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70133         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
70135         * io/Makefile (headers): Add bits/poll2.h.
70137 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
70139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
70140         typo #include statement.
70142 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70144         * include/sys/cdefs.h: Define __attribute_alloc_size.
70145         * catgets/gencat.c: Add alloc_size attribute and apply consistently
70146         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
70147         * elf/pldd.c: Likewise.
70148         * iconv/iconv_charmap.c: Likewise.
70149         * iconv/iconvconfig.c: Likewise.
70150         * iconv/strtab.c: Likewise.
70151         * locale/programs/locale.c: Likewise.
70152         * locale/programs/localedef.h: Likewise.
70153         * locale/programs/simple-hash.c: Likewise.
70154         * nscd/nscd.h: Likewise.
70155         * nss/makedb.c: Likewise.
70156         * sysdeps/generic/ldconfig.h: Likewise.
70157         * locale/programs/localedef.c: Remove xmalloc prototype.
70158         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
70160 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70162         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
70163         appropriate.
70165 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70167         * math/Makefile (tests): Add tst-CMPLX.
70168         * math/tst-CMPLX.c: New file.
70170         * math/complex.h (CMPLXL): Fix typo.
70172         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
70173         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
70174         GLIBC_2.16.
70175         * debug/tst-chk1.c: Add poll and ppoll tests.
70176         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
70177         * include/sys/poll.h: Add hidden proto for ppoll.
70178         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70179         * sysdeps/mach/hurd/ppoll.c: Likewise.
70180         * io/ppoll.c: Likewise.
70181         * debug/poll_chk.c: New file.
70182         * debug/ppoll_chk.c: New file.
70183         * include/bits/poll2.h: New file.
70184         * io/bits/poll2.h: New file.
70186         [BZ #1350]
70187         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70189         * configure.in: static is always set to yes.  Remove.
70190         * config.make.in: Don't set build-static.
70191         * Makeconfig: Remove use of build-static.
70192         * dlfcn/Makefile: Likewise.
70193         * elf/Makefile: Likewise.
70194         * math/Makefile: Likewise.
70195         * misc/Makefile: Likewise.
70196         * nptl/Makefile: Likewise.
70197         * sysdeps/mach/hurd/Makefile: Likewise.
70199         * configure.in: PWD_P is not used anymore.
70200         * config.make.in: Remove PWD_P entry.
70202         * configure.in: Remove last remnants of RANLIB.
70203         No need to check for signed size_t anymore.
70204         Don't set libc_commonpagesize and libc_relro_required here for Alpha
70205         and IA-64.
70206         Remove __builtin_expect test because we require at least gcc 3.4.
70207         * aclocal.m4: Likewise.
70209         * wcsmbs/mbrtoc16.c: Implement using towc function.
70210         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70211         * wcsmbs/wcsmbsload.c: Likewise.
70212         * iconv/gconv_simple.c: Likewise.
70213         * iconv/gconv_int.h: Likewise.
70214         * iconv/gconv_builtin.h: Likewise.
70215         * iconv/iconv_prog.c: Remove CHAR16 handling.
70217         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
70219         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
70221         * configure.in: Remove --with-elf and --enable-bounded options.
70222         Dont set base_machine for ia64.  More non-ELF conditions removed.
70223         Remove testing and setting of leading underscore information.
70224         * config.make.in (build-bounded): Set to no.
70225         * config.h.in: Remove NO_UNDERSCORES entry.
70226         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
70227         them.
70228         * csu/start.c: Remove !NO_UNDERSCORE code.
70229         * locale/localeinfo.h: Likewise.
70230         * sysdeps/generic/machine-gmon.h: Likewise.
70231         * sysdeps/generic/sysdep.h: Likewise.
70232         * sysdeps/i386/sysdep.h: Likewise.
70233         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70234         * sysdeps/mach/sysdep.h: Likewise.
70235         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70236         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70237         * sysdeps/sh/sysdep.h: Likewise.
70238         * sysdeps/sparc/sparc32/alloca.S: Likewise.
70239         * sysdeps/unix/i386/sysdep.S: Likewise.
70240         * sysdeps/unix/sparc/start.c: Likewise.
70241         * sysdeps/unix/sparc/sysdep.S: Likewise.
70242         * sysdeps/unix/sparc/sysdep.h: Likewise.
70243         * sysdeps/unix/start.c: Likewise.
70244         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70245         * sysdeps/x86_64/sysdep.h: Likewise.
70247 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
70249         [BZ #13553]
70250         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
70251         for non-gcc.
70252         * argp/argp-fmtstream.h: Use const instead __const.
70253         * argp/argp.h: Likewise.
70254         * assert/assert.h: Likewise.
70255         * bits/fenv.h: Likewise.
70256         * bits/sched.h: Likewise.
70257         * bits/sigset.h: Likewise.
70258         * bits/sigthread.h: Likewise.
70259         * catgets/nl_types.h: Likewise.
70260         * conform/data/pthread.h-data: Likewise.
70261         * crypt/crypt-private.h: Likewise.
70262         * crypt/crypt.h: Likewise.
70263         * crypt/crypt_util.c: Likewise.
70264         * ctype/ctype.h: Likewise.
70265         * debug/execinfo.h: Likewise.
70266         * debug/mbsnrtowcs_chk.c: Likewise.
70267         * debug/mbsrtowcs_chk.c: Likewise.
70268         * debug/wcsnrtombs_chk.c: Likewise.
70269         * debug/wcsrtombs_chk.c: Likewise.
70270         * debug/wcstombs_chk.c: Likewise.
70271         * dirent/dirent.h: Likewise.
70272         * dlfcn/dlfcn.h: Likewise.
70273         * elf/neededtest4.c: Likewise.
70274         * grp/grp.h: Likewise.
70275         * gshadow/gshadow.h: Likewise.
70276         * iconv/gconv.h: Likewise.
70277         * iconv/gconv_int.h: Likewise.
70278         * iconv/gconv_simple.c: Likewise.
70279         * iconv/iconv.h: Likewise.
70280         * iconv/loop.c: Likewise.
70281         * iconv/skeleton.c: Likewise.
70282         * include/aio.h: Likewise.
70283         * include/aliases.h: Likewise.
70284         * include/argz.h: Likewise.
70285         * include/arpa/inet.h: Likewise.
70286         * include/assert.h: Likewise.
70287         * include/dirent.h: Likewise.
70288         * include/dlfcn.h: Likewise.
70289         * include/execinfo.h: Likewise.
70290         * include/fcntl.h: Likewise.
70291         * include/fenv.h: Likewise.
70292         * include/glob.h: Likewise.
70293         * include/grp.h: Likewise.
70294         * include/libintl.h: Likewise.
70295         * include/mntent.h: Likewise.
70296         * include/netdb.h: Likewise.
70297         * include/pwd.h: Likewise.
70298         * include/rpc/netdb.h: Likewise.
70299         * include/sched.h: Likewise.
70300         * include/search.h: Likewise.
70301         * include/shadow.h: Likewise.
70302         * include/signal.h: Likewise.
70303         * include/stdio.h: Likewise.
70304         * include/stdlib.h: Likewise.
70305         * include/string.h: Likewise.
70306         * include/sys/socket.h: Likewise.
70307         * include/sys/stat.h: Likewise.
70308         * include/sys/statfs.h: Likewise.
70309         * include/sys/statvfs.h: Likewise.
70310         * include/sys/syslog.h: Likewise.
70311         * include/sys/time.h: Likewise.
70312         * include/sys/uio.h: Likewise.
70313         * include/time.h: Likewise.
70314         * include/unistd.h: Likewise.
70315         * include/utmp.h: Likewise.
70316         * include/wchar.h: Likewise.
70317         * include/wctype.h: Likewise.
70318         * inet/aliases.h: Likewise.
70319         * inet/arpa/inet.h: Likewise.
70320         * inet/netinet/ether.h: Likewise.
70321         * inet/netinet/in.h: Likewise.
70322         * intl/libintl.h: Likewise.
70323         * io/bits/fcntl2.h: Likewise.
70324         * io/fcntl.h: Likewise.
70325         * io/ftw.h: Likewise.
70326         * io/sys/poll.h: Likewise.
70327         * io/sys/stat.h: Likewise.
70328         * io/sys/statfs.h: Likewise.
70329         * io/sys/statvfs.h: Likewise.
70330         * io/utime.h: Likewise.
70331         * libio/bits/stdio.h: Likewise.
70332         * libio/bits/stdio2.h: Likewise.
70333         * libio/libio.h: Likewise.
70334         * libio/libioP.h: Likewise.
70335         * libio/stdio.h: Likewise.
70336         * locale/lc-ctype.c: Likewise.
70337         * locale/locale.h: Likewise.
70338         * login/utmp.h: Likewise.
70339         * malloc/arena.c: Likewise.
70340         * malloc/malloc.c: Likewise.
70341         * malloc/malloc.h: Likewise.
70342         * malloc/mcheck.c: Likewise.
70343         * malloc/mtrace.c: Likewise.
70344         * math/bits/mathcalls.h: Likewise.
70345         * math/fenv.h: Likewise.
70346         * math/math_private.h: Likewise.
70347         * misc/bits/error.h: Likewise.
70348         * misc/bits/syslog.h: Likewise.
70349         * misc/err.h: Likewise.
70350         * misc/error.h: Likewise.
70351         * misc/fstab.h: Likewise.
70352         * misc/mntent.h: Likewise.
70353         * misc/regexp.h: Likewise.
70354         * misc/search.h: Likewise.
70355         * misc/sgtty.h: Likewise.
70356         * misc/sys/mman.h: Likewise.
70357         * misc/sys/syslog.h: Likewise.
70358         * misc/sys/uio.h: Likewise.
70359         * misc/sys/xattr.h: Likewise.
70360         * misc/ttyent.h: Likewise.
70361         * nis/rpcsvc/ypclnt.h: Likewise.
70362         * nss/nss.h: Likewise.
70363         * posix/bits/unistd.h: Likewise.
70364         * posix/fnmatch.h: Likewise.
70365         * posix/glob.h: Likewise.
70366         * posix/sched.h: Likewise.
70367         * posix/spawn.h: Likewise.
70368         * posix/sys/wait.h: Likewise.
70369         * posix/unistd.h: Likewise.
70370         * posix/wordexp.h: Likewise.
70371         * pwd/pwd.h: Likewise.
70372         * resolv/netdb.h: Likewise.
70373         * resource/sys/resource.h: Likewise.
70374         * rt/aio.h: Likewise.
70375         * rt/bits/mqueue2.h: Likewise.
70376         * rt/mqueue.h: Likewise.
70377         * shadow/shadow.h: Likewise.
70378         * signal/signal.h: Likewise.
70379         * socket/send.c: Likewise.
70380         * socket/sendto.c: Likewise.
70381         * socket/sys/socket.h: Likewise.
70382         * stdio-common/printf.h: Likewise.
70383         * stdlib/bits/stdlib.h: Likewise.
70384         * stdlib/fmtmsg.h: Likewise.
70385         * stdlib/monetary.h: Likewise.
70386         * stdlib/stdlib.h: Likewise.
70387         * stdlib/ucontext.h: Likewise.
70388         * streams/stropts.h: Likewise.
70389         * string/argz.h: Likewise.
70390         * string/bits/string2.h: Likewise.
70391         * string/string.h: Likewise.
70392         * string/strings.h: Likewise.
70393         * sunrpc/rpc/auth.h: Likewise.
70394         * sunrpc/rpc/auth_des.h: Likewise.
70395         * sunrpc/rpc/clnt.h: Likewise.
70396         * sunrpc/rpc/netdb.h: Likewise.
70397         * sunrpc/rpc/pmap_clnt.h: Likewise.
70398         * sunrpc/rpc/xdr.h: Likewise.
70399         * sysdeps/generic/inttypes.h: Likewise.
70400         * sysdeps/generic/net/if.h: Likewise.
70401         * sysdeps/generic/sys/swap.h: Likewise.
70402         * sysdeps/gnu/net/if.h: Likewise.
70403         * sysdeps/gnu/utmpx.h: Likewise.
70404         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
70405         * sysdeps/i386/i486/bits/string.h: Likewise.
70406         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
70407         * sysdeps/s390/bits/string.h: Likewise.
70408         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
70409         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
70410         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
70411         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
70412         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
70413         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
70414         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
70415         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
70416         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
70417         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
70418         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
70419         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
70420         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
70421         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
70422         * sysdeps/unix/sysv/linux/readv.c: Likewise.
70423         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
70424         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
70425         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70426         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
70427         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
70428         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70429         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
70430         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
70431         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
70432         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
70433         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
70434         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
70435         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70436         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
70437         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
70438         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
70439         * sysvipc/sys/ipc.h: Likewise.
70440         * sysvipc/sys/msg.h: Likewise.
70441         * sysvipc/sys/sem.h: Likewise.
70442         * sysvipc/sys/shm.h: Likewise.
70443         * termios/termios.h: Likewise.
70444         * time/sys/time.h: Likewise.
70445         * time/time.h: Likewise.
70446         * wcsmbs/bits/wchar2.h: Likewise.
70447         * wcsmbs/uchar.h: Likewise.
70448         * wcsmbs/wchar.h: Likewise.
70449         * wctype/wctype.h: Likewise.
70451         [BZ #13551]
70452         * Makeconfig: Remove all but ELF support including AIX support.
70453         * Makerules: Likewise.
70454         * config.h.in: Likewise.
70455         * config.make.in: Likewise.
70456         * configure: Likewise.
70457         * configure.in: Likewise.
70458         * csu/Makefile: Likewise.
70459         * csu/version.c: Likewise.
70460         * debug/Makefile: Likewise.
70461         * dlfcn/Makefile: Likewise.
70462         * elf/Makefile: Likewise.
70463         * extra-lib.mk: Likewise.
70464         * iconv/Makefile: Likewise.
70465         * include/libc-symbols.h: Likewise.
70466         * include/shlib-compat.h: Likewise.
70467         * resolv/Makefile: Likewise.
70468         * resolv/res_libc.c: Likewise.
70469         * rt/Makefile: Likewise.
70470         * sysdeps/i386/asm-syntax.h: Likewise.
70471         * sysdeps/i386/sysdep.h: Likewise.
70472         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70473         * sysdeps/mach/sysdep.h: Likewise.
70474         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
70475         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
70476         * sysdeps/s390/asm-syntax.h: Likewise.
70477         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70478         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70479         * sysdeps/sh/sysdep.h: Likewise.
70480         * sysdeps/unix/sparc/sysdep.h: Likewise.
70481         * sysdeps/wordsize-32/divdi3.c: Likewise.
70482         * sysdeps/x86_64/sysdep.h: Likewise.
70484         * argp/Versions: Remove _argp_unlock_xxx.
70486         [BZ #13559]
70487         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
70488         * abilist/libBrokenLocale.abilist: Likewise.
70489         * abilist/libanl.abilist: Likewise.
70490         * abilist/libc.abilist: Likewise.
70491         * abilist/libcrypt.abilist: Likewise.
70492         * abilist/libdl.abilist: Likewise.
70493         * abilist/libm.abilist: Likewise.
70494         * abilist/libnsl.abilist: Likewise.
70495         * abilist/libpthread.abilist: Likewise.
70496         * abilist/libresolv.abilist: Likewise.
70497         * abilist/librt.abilist: Likewise.
70498         * abilist/libthread_db.abilist: Likewise.
70499         * abilist/libutil.abilist: Likewise.
70500         * abilist/libnss_db.abilist: New file.
70502         * scripts/abilist.awk: Add support for indirect functions.
70504         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
70506         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
70508         * shlib-versions: Remove entries for ports architectures.
70510         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
70511         files in ports.
70512         * elf/stackguard-macros.h: Remove support for IA-64.
70513         * elf/tst-auditmod1.c: Likewise.
70514         * sysdeps/generic/ldsodefs.h: Likewise.
70516         * sysdeps/unix/sysv/linux/configure.in: Ports should define
70517         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
70518         configure files.
70520         [BZ #13552]
70521         * configure.in: Remove --enable-omitfp support.
70522         * FAQ.in: Adjust.
70523         * config.make.in: Likewise.
70524         * Makeconfig: Likewise.
70525         * manual/install.texi: Likewise.
70527         In case anyone cares, the IA-64 architecture could move to ports.
70528         * sysdeps/ia64/*: Removed.
70529         * sysdeps/unix/sysv/linux/ia64/*: Removed.
70530         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
70532         [BZ #13555]
70533         * configure.in: Remove entries for unsupported architectures.
70535         [BZ #13533]
70536         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
70537         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
70538         routines.
70539         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
70540         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
70541         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
70542         fall back to using wcrtomb.
70543         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
70544         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
70545         renaming.
70546         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
70547         * wcsmbs/tst-c16c32-1.c: New file.
70549         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
70550         local variable.
70552         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
70554         * elf/tst-unique3.cc: Add explicit declaration of gets.
70555         * elf/tst-unique3lib.cc: Likewise.
70556         * elf/tst-unique3lib2.cc: Likewise.
70557         * elf/tst-unique4.cc: Likewise.
70559         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
70561 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
70563         [BZ #13566]
70564         * assert/assert.h (static_assert): Don't define for C++.
70565         * libio/stdio.h (gets): Do declare for C++ <= C++11.
70566         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
70568 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
70570         * iconv/loop.c (single loop): Fix assertion in storing of
70571         remaining bytes.
70573         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
70575 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
70577         * posix/getconf.c: Update copyright year.
70578         * nss/getent.c: Likewise.
70579         * nss/makedb.c: Likewise.
70580         * iconv/iconvconfig.c: Likewise.
70581         * iconv/iconv_prog.c: Likewise.
70582         * elf/ldconfig.c: Likewise.
70583         * elf/pldd.c: Likewise.
70584         * elf/sotruss.ksh: Likewise.
70585         * catgets/gencat.c: Likewise.
70586         * csu/version.c: Likewise.
70587         * elf/ldd.bash.in: Likewise.
70588         * elf/sprof.c (print_version): Likewise.
70589         * locale/programs/locale.c: Likewise.
70590         * locale/programs/localedef.c: Likewise.
70591         * login/programs/pt_chown.c: Likewise.
70592         * nscd/nscd.c (print_version): Likewise.
70593         * debug/xtrace.sh: Likewise.
70594         * malloc/memusage.sh: Likewise.
70595         * malloc/mtrace.pl: Likewise.
70596         * debug/catchsegv.sh: Likewise.
70598 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
70600         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
70601         pure attribute.
70603 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
70605         [BZ #13533]
70606         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
70607         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
70608         transformations.
70609         * iconv/gconv_int.h: Likewise.
70610         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
70611         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
70612         from libc for GLIBC_2.16.
70613         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
70614         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
70615         * wcsmbs/uchar.h: Really define mbstate_t.
70616         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
70617         * wcsmbs/c16rtomb.c: New file.
70618         * wcsmbs/mbrtoc16.c: New file.
70619         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
70620         for C/POSIX locale.
70621         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
70622         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
70624         * wcsmbs/wchar.h: Add missing __restrict.
70626 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70628         [BZ #13532]
70629         * time/Makefile (routines): Add timespec_get.
70630         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
70631         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
70632         timespec for ISO C11.
70633         * time/timespec_get.c: New file.
70634         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
70635         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
70637         [BZ #13531]
70638         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
70639         * stdlib/stdlib.h: Declare aligned_alloc.
70640         * Versions.def: Add GLIBC_2.16 for libc.
70641         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
70643         [BZ 13527]
70644         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
70645         ISO C11.
70647         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
70648         code.
70650         [BZ #13528]
70651         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
70653         [BZ #13529]
70654         * assert/assert.h (static_assert): Define.
70656         * version.h: Update for 2.16 development version.
70658         [BZ #13526]
70659         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
70660         _ISOC11_SOURCE.
70662         * version.h (RELEASE): Bump for 2.15 release.
70663         * include/features.h (__GLIBC_MINOR__): Bump to 15.
70665         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
70666         Patch by Marek Polacek <mpolacek@redhat.com>.
70668         * bits/byteswap.h: Protect long long constants with __extension__.
70669         * sysdeps/i386/bits/byteswap.h: Likewise.
70670         * sysdeps/ia64/bits/byteswap.h: Likewise.
70671         * sysdeps/s390/bits/byteswap.h: Likewise.
70672         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70674 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70676         [BZ #13540]
70677         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
70678         destination buffer.
70679         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
70681 2011-12-23  Marek Polacek  <polacek@redhat.com>
70683         * elf/dl-addr.c (determine_info): Add inline keyword.
70684         * elf/tst-auditmod4b.c (check_avx): Likewise.
70685         * elf/tst-auditmod6b.c (check_avx): Likewise.
70686         * elf/tst-auditmod6c.c (check_avx): Likewise.
70687         * elf/tst-auditmod7b.c (check_avx): Likewise.
70689 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70691         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
70692         !__SSE_MATH__.
70694 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70696         [BZ #13540]
70697         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
70698         processing for last bytes.
70700 2011-08-06  Bruno Haible  <bruno@clisp.org>
70702         [BZ #13061]
70703         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
70704         U+0385, not to U+1FEE.
70706         [BZ #13062]
70707         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
70708         entry for U+00A5 U+0301.
70710 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70712         [BZ #13166]
70713         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
70714         buffer for the output is too small.
70716         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
70717         optimization.
70719         [BZ #13185]
70720         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
70721         SSE flags if possible.
70723 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70725         [BZ #13540]
70726         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
70727         processing for last bytes.
70729 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
70731         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
70732         (syscall-list-default-options, syscall-list-default-condition)
70733         (syscall-list-includes): Define.
70734         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
70735         list of ABIs and options and #if conditions for each ABI.  Do not
70736         handle common syscalls between ABIs specially.
70737         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
70738         Remove.
70739         (syscall-list-variants, syscall-list-32bit-options)
70740         (syscall-list-32bit-condition, syscall-list-64bit-options)
70741         (syscall-list-64bit-condition): Define.
70742         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
70743         (syscall-list-variants, syscall-list-32bit-options)
70744         (syscall-list-32bit-condition, syscall-list-64bit-options)
70745         (syscall-list-64bit-condition): Define.
70746         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
70747         Remove.
70748         (syscall-list-variants, syscall-list-32bit-options)
70749         (syscall-list-32bit-condition, syscall-list-64bit-options)
70750         (syscall-list-64bit-condition): Define.
70751         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
70752         Remove.
70753         (syscall-list-variants, syscall-list-32bit-options)
70754         (syscall-list-32bit-condition, syscall-list-64bit-options)
70755         (syscall-list-64bit-condition): Define.
70757 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70759         * locale/iso-639.def: Add brx entry.
70761         [BZ #13328]
70762         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
70763         Proposed by Mariusz_Cukr <marcukr@op.pl>.
70765         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
70766         __feraiseexcept_renamed.
70768 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70770         [BZ #13538]
70771         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
70772         EPOLLET with unsigned values.
70773         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70774         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70776         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
70777         to large cancellation.
70778         * math/s_cacoshf.c: Likewise.
70779         * math/s_cacoshl.c: Likewise.
70781 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
70783         [BZ #13305]
70784         [BZ #12786]
70785         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
70786         * math/s_cacoshf.c: Likewise.
70787         * math/s_cacoshl.c: Likewise.
70789 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70791         [BZ #13439]
70792         * iconv/gconv.h: Define __GCONV_SWAP.
70793         * iconvdata/unicode.c: The swap bit must be stored in __flags.
70794         * iconvdata/utf-16.c: Likewise.
70795         * iconvdata/utf-32.c: Likewise.
70797 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
70799         [BZ #13524]
70800         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
70801         numerator after shifting it by one limb.
70803 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
70805         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
70806         under [__USE_EXTERN_INLINES].
70808 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70810         [BZ #13446]
70811         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
70813 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70815         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
70816         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
70817         optimized code.
70818         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
70819         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
70820         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
70821         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
70822         for strncasecmp/strncasecmp_l compilation.
70823         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
70824         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
70826 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
70828         [BZ #13484]
70829         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
70830         of __asm__.
70832 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70834         [BZ #13506]
70835         * time/tzfile.c (__tzfile_read): Check values from file header.
70837 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70839         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
70840         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
70841         * powerpc/powerpc32/dl-start.S: Likewise.
70842         * powerpc/powerpc32/elf/start.S: Likewise.
70843         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
70844         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
70845         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
70846         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
70847         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
70848         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
70849         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
70850         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
70851         * powerpc/powerpc32/fpu/s_round.S: Likewise.
70852         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
70853         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
70854         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
70855         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
70856         * powerpc/powerpc32/memset.S: Likewise.
70857         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
70858         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70859         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70860         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70861         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70862         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
70863         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
70864         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
70865         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
70866         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
70867         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
70868         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70869         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70871 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70873         * math/libm-test.inc: Added more nearbyint tests.
70874         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
70875         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
70876         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
70877         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
70879 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
70881         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
70882         FD_CLOEXEC.
70884 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70886         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
70887         Add wcscpy-ssse3 wcscpy-c.
70888         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
70889         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
70890         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
70891         * sysdeps/x86_64/wcschr.S: New file.
70892         * sysdeps/x86_64/wcsrchr.S: New file.
70893         * string/test-strcmp.c: Remove checking of wcscmp function for
70894         wrong alignments.
70895         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
70896         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
70897         wcsrchr-sse2 wcsrchr-c.
70898         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
70899         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
70900         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
70901         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
70902         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
70903         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
70904         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
70905         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
70906         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
70907         * wcsmbc/wcschr.c (WCSCHR): New macro.
70909 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70911         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
70912         * wcsmbs/test-wcsrchr.c: New file.
70913         * string/test-strrchr.c: Add wcsrchr support.
70914         (WIDE): New macro.
70915         * wcsmbs/test-wcscpy.c: New file.
70916         * string/test-strcpy.c: Add wcscpy support.
70917         (WIDE): New macro.
70919 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
70921         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
70922         the inner loop.
70924 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
70926         [BZ #13472]
70927         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
70929 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
70931         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
70932         Minor optimizations.
70934         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
70935         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
70936         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
70938 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
70940         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
70941         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
70942         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
70943         for gcc to avoid warnings.
70944         * inet/Makefile (tests): Add tst-checks.
70945         * inet/tst-checks.c: New file.
70947         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
70948         warning.
70950         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
70951         __wmemcmp_sse2.
70953         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
70954         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
70956         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
70958 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
70960         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
70961         problem.
70963         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
70965 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
70967         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
70968         conditional on GCC version.
70969         (__arch_compare_and_exchange_val_8_acq)
70970         (__arch_compare_and_exchange_val_16_acq)
70971         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
70972         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
70973         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
70975 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
70977         * sysdeps/sh/backtrace.c: New file.
70979 2011-12-02  Andreas Schwab  <schwab@redhat.com>
70981         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
70982         parenthesis.
70984 2011-12-01  Andreas Schwab  <schwab@redhat.com>
70986         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
70987         falling back to utime.
70989 2011-11-30  Andreas Schwab  <schwab@redhat.com>
70991         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
70992         expectations for float.
70994 2011-11-29  Andreas Schwab  <schwab@redhat.com>
70996         * locale/weight.h (findidx): Add parameter len.
70997         * locale/weightwc.h (findidx): Likewise.
70998         * posix/fnmatch_loop.c (FCT): Adjust caller.
70999         * posix/regcomp.c (build_equiv_class): Likewise.
71000         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
71001         * posix/regexec.c (check_node_accept_bytes): Likewise.
71002         * string/strcoll_l.c (STRCOLL): Likewise.
71003         * string/strxfrm_l.c (STRXFRM): Likewise.
71005 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
71007         * Makefile.in: Remove CVSOPT handling.
71008         * configure.in: Remove use of AC_REVISION.
71009         * iconvdata/Makefile (distribute): No need to filter out CVS.
71010         * scripts/list-sources.sh: Remove CVS, subversion and monotone
71011         handling.
71013 2011-11-16  Andreas Schwab  <schwab@redhat.com>
71015         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
71016         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
71017         [USE_AS_STRNCASECMP_L]: Likewise.
71018         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
71019         NO_TLS_DIRECT_SEG_REFS.
71020         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
71021         Fix argument offsets for non-PIC.
71022         [USE_AS_STRNCASECMP_L]: Likewise.
71023         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
71024         NO_TLS_DIRECT_SEG_REFS.
71026 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71028         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
71029         O_CLOEXEC.
71030         * locale/loadlocale.c (_nl_load_locale): Likewise.
71032 2011-11-15  Andreas Schwab  <schwab@redhat.com>
71034         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
71035         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
71036         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
71037         (SYSCALL_GETTIME): Set errno on error.
71039         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
71040         count references to noai6ai_cached.
71042 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71044         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
71046         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
71047         FD_CLOEXEC for /proc/self/maps.
71049         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
71050         FD_CLOEXEC for /proc/meminfo.
71052         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
71053         gai.conf.
71055         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
71056         FD_CLOEXEC for given file.
71058         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
71060         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
71061         FD_CLOEXEC for /etc/hosts.
71062         (_gethtent): Likewise.
71064         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
71066         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
71067         cancellation and set FD_CLOEXEC for /etc/netgroup.
71069         * nss/nss_files/files-key.c (search): Don't allow cancellation when
71070         reading /etc/publickey.
71072         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
71073         allow cancellation when reading /etc/group.
71075         * nss/nss_files/files-alias.c (internal_setent): Don't allow
71076         cancellation.
71077         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
71079         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
71080         when using data file.
71082         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
71084         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
71085         (write_nis_obj): Use "c" and "e" in fopen.
71087         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
71089         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
71091         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
71093         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
71095         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
71096         locale.alias.
71098         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
71100         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
71102         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
71104         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
71105         file parsing and set FD_CLOEXEC.
71107 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71109         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
71111 2011-11-14  Andreas Schwab  <schwab@redhat.com>
71113         * malloc/arena.c (arena_get2): Don't call reused_arena when
71114         _int_new_arena failed.
71116 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71118         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
71119         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
71120         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
71121         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71122         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71123         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
71124         to compile strcasecmp and strncasecmp.
71125         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
71126         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
71128         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
71130 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
71132         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
71133         locale-defines.sym to gen-as-const-headers.
71134         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
71135         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
71136         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
71137         to compile strcasecmp and strncasecmp.
71138         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
71139         strcasecmp_l and strncasecmp_l.
71140         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
71141         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
71142         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
71143         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
71144         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
71145         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
71146         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
71147         * sysdeps/i386/i686/multiarch/strncase.S: New file.
71148         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
71149         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
71150         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
71152 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
71154         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
71155         result of SYSDEP_GETTIME_CPU to retval.
71156         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
71157         parameter list to macro.  Remove trailing semicolon.  Adjust users.
71159         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
71160         variable.
71162         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
71163         mantissa words.
71164         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
71166         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
71167         from unused variable.
71169         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
71170         DWARF definitions.
71171         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
71172         for assembling.
71174         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
71175         over namespaces.
71177         * sunrpc/rpc_prot.c (rejected): Fix case value.
71179         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71180         unsigned long long int to avoid warnings in shift.
71182         * posix/regex_internal.c (re_string_reconstruct): Actually use result
71183         of use of trans.
71184         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71185         variable tmp.
71187         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71188         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71189         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71191         * nis/nis_table.c (nis_list): Use variable of correct type for
71192         result of __follow_path call.
71194 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71196         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71197         of math functions ceil, trunc, floor, round, and sqrt, when
71198         avaliable on the platform.
71199         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71200         name clash.
71201         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71202         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71203         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71205 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
71207         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71208         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71210 2011-11-11  Roland McGrath  <roland@hack.frob.com>
71212         * include/unistd.h: Fix __readlink return type.
71213         Reported by Chris Metcalf <cmetcalf@tilera.com>.
71215 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
71217         * stdlib/ucontext.h: Undo last change for makecontext.
71219 2011-11-11  Andreas Schwab  <schwab@redhat.com>
71221         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
71223         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
71224         * setjmp/setjmp.h: Mark functions as non-leaf.
71225         * setjmp/bits/setjmp2.h: Likewise.
71226         * stdlib/ucontext.h: Likewise.
71228 2011-11-10  Andreas Schwab  <schwab@redhat.com>
71230         * malloc/arena.c (_int_new_arena): Don't increment narenas.
71231         (reused_arena): Don't check arena limit.
71232         (arena_get2): Atomically check arena limit.
71234 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
71236         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
71237         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
71239         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
71240         instructions.
71242 2011-11-07  Andreas Schwab  <schwab@redhat.com>
71244         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
71245         handler when locking.
71247         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71248         Fix size of allocated buffer.
71250 2011-11-04  Andreas Schwab  <schwab@redhat.com>
71252         [BZ #10103]
71253         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
71254         declarations for long double functions.
71255         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
71257         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
71259 2011-11-03  Andreas Schwab  <schwab@redhat.com>
71261         * nscd/nscd.c (main): Don't start AVC thread until credentials are
71262         installed.
71264         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
71265         is disabled.
71267 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71269         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
71271 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71273         * include/alloca.h (stackinfo_alloca_round): Define.
71274         (extend_alloca): Use it.
71275         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
71276         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
71277         here.
71279         * scripts/check-local-headers.sh: Ignore libaudit.h.
71281         * nscd/Makefile (extra-objs): Make recursively expanded.
71283 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
71285         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
71286         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
71288         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
71289         * posix/tst-rfc3484-2.c: Likewise.
71290         * posix/tst-rfc3484-3.c: Likewise.
71292         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71293         process_vm_writev.
71294         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71295         process_vm_writev.
71296         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71297         process_vm_writev from libc using GLIBC_2.15 version.
71299         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71301 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
71303         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71304         stack usage.
71306 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
71308         [BZ #13367]
71309         * nss/getent.c (initgroups_keys): Show error message in case no group
71310         names are given.
71312         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71313         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71314         __bump_nl_timestamp.
71315         * nscd/connections (nscd_init): When host database is served open
71316         netlink socket and request notification about configuration changes.
71317         (main_loop_poll): Track netlink file descriptor and bump timestamp
71318         in case data becomes available.
71319         (main_loop_epoll): Likewise.
71320         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71321         (database_pers_head): Add extra_data fileds.
71322         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71323         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71324         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71325         Adjust caller.
71326         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71327         in6ai data, call __free_in6ai.
71328         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71329         Add -DHAVE_NETLINK.
71330         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
71331         interface information.  Reuse previous data if netlink timestamp
71332         is not changed.
71333         (__bump_nl_timestamp): New function.
71334         (__free_in6ai): New function.
71336 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
71338         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71339         close_not_cancel_no_status here.
71340         (__check_pf): Reorganize code a bit to not call close twice if OOM.
71342 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71344         [BZ #13276]
71345         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71346         return value.
71348         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71349         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71350         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71352 2011-07-03  Andreas Jaeger  <aj@suse.de>
71354         [BZ #10709]
71355         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71356         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71357         * math/libm-test.inc (sin_test): Add test case.
71359 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71361         [BZ #13337]
71362         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71363         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71365         * elf/chroot_canon.c (chroot_canon): Cleanups.
71367         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71369         [BZ #13335]
71370         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
71371         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71373         * string/test-strchr.c: Make usable for strchrnul testing.
71374         * string/test-strchrnul.c: New file.
71375         * string/Makefile (strop-tests): Add strchrnul.
71377         * po/it.po: Update from translation team.
71378         * po/es.po: Likewise.
71380 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
71382         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
71383         the three constants needed as parameters.  Drop the others.
71384         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
71385         __m128i_strloadu_tolower.
71386         Create and initialize variable zero and use it in all the places
71387         where _mm_setzero_si128 was used.
71389         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
71390         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
71391         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
71392         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
71393         anymore.
71394         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
71395         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
71396         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
71397         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
71398         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
71399         __mpranred, __mptan.
71400         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
71401         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
71402         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
71403         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
71404         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
71405         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
71406         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
71407         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
71408         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
71410 2011-10-28  Andreas Schwab  <schwab@redhat.com>
71412         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
71413         redefine if SHARED.
71414         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
71416         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
71417         wide char related routines to wcsmbs subdir.
71419 2011-10-27  Andreas Schwab  <schwab@redhat.com>
71421         [BZ #13344]
71422         * misc/sys/cdefs.h (__THROWNL): Define.
71423         * posix/unistd.h: Use __THREADNL instead of __THREAD
71424         for memory synchronization functions.
71426 2011-10-26  Roland McGrath  <roland@hack.frob.com>
71428         [BZ #13349]
71429         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
71430         doesn't exist.
71431         * manual/stdio.texi (Obstack Streams): Node removed.
71433 2011-10-26  Andreas Schwab  <schwab@redhat.com>
71435         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
71436         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71437         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71439         * math/math_private.h (math_force_eval): Allow non-addressable
71440         arguments.
71441         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
71443 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71445         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
71446         file is not needed.
71448         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
71449         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
71450         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71451         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71452         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71453         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71454         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71455         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
71456         Add AVX variants.
71457         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
71458         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
71459         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
71460         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
71461         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
71462         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
71463         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
71464         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
71465         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
71466         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
71467         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
71468         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
71469         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
71470         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
71471         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
71472         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
71473         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
71474         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
71475         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
71477         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
71478         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
71480         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
71481         place.  Use VEX encoding when compiling for AVX.
71483 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71485         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
71486         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
71488         * string/test-strchr.c (do_test): Don't generate NUL bytes.
71490 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71492         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
71493         useless if() expression.
71494         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71495         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71496         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71497         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71498         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71499         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71500         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71501         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71502         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71503         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71504         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71505         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71506         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71507         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71508         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71509         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71510         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71511         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71512         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71514         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
71516 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71518         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
71519         condition.
71520         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71522 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71524         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
71525         .text section.  Avoid duplicate constants.
71526         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71527         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71528         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71529         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71530         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71531         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71532         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71533         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71534         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71535         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
71536         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71537         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71538         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71539         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71540         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71541         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71542         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71543         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71544         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71545         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71546         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71547         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71548         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71549         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
71550         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
71551         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
71552         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
71553         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
71554         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
71555         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
71556         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
71557         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
71558         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71559         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
71560         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
71561         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
71562         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
71563         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
71564         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
71565         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
71566         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
71567         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
71568         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
71569         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
71570         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
71572 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
71574         * sysdeps/x86_64/dla.h: Move to ...
71575         * sysdeps/x86_64/fpu/dla.h: ...here.
71576         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
71577         situations.  Use __builtin_fma only for gcc 4.6 and up.
71579         * config.make.in: Add have-mfma4 entry.
71580         * configure.in: Substitute libc_cv_cc_fma4.
71581         * math/Makefile (dbl-only-routines): Add sincostab.
71582         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
71583         Use __sincostab not sincos.
71584         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
71585         name is a macro.
71586         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71587         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71588         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71589         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
71590         using __copysign.
71591         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
71592         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
71593         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
71594         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
71595         and __inv.
71596         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
71597         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
71598         __copysign.
71599         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
71600         define aliases when function name is a macro.
71601         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
71602         sysdeps/ieee754/dbl-64/sincos.tbl.
71603         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
71604         fma4-enabled routines.
71605         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
71606         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
71607         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
71608         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
71609         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
71610         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
71611         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
71612         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
71613         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
71614         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
71615         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
71616         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
71617         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
71618         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
71619         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
71620         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
71621         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
71622         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
71623         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
71624         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
71625         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
71626         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
71627         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
71628         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
71629         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
71630         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
71631         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
71632         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
71633         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
71634         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
71636         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
71637         rename.
71638         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71639         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71640         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71641         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71642         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71643         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71644         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71645         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71647 2011-10-24  Andreas Schwab  <schwab@redhat.com>
71649         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
71651 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71653         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
71655         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
71656         prediction.
71657         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
71659         * string/strnlen.c: Don't define STRNLEN, reverse logic.
71660         Remove unused variable magic_bits.
71661         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
71663         * string/strnlen.c: Define and use STRNLEN macro.
71664         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
71665         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
71666         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
71667         * wcsmbs/wcslen.c: Define and use WCSLEN.
71668         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
71669         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
71670         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
71671         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
71672         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
71673         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
71674         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71676 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71678         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71679         strnlen-sse2-no-bsf.
71680         Rename strlen-no-bsf to strlen-sse2-no-bsf.
71681         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
71682         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
71683         Add strnlen support.
71684         (USE_AS_STRNLEN): New macro.
71685         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
71686         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
71687         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
71688         * sysdeps/x86_64/wcslen.S: New file.
71690 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
71692         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71693         XMM-moves are used for copying on small sizes.
71695 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71697         * wcsmbs/Makefile (strop-tests): Add wcschr.
71698         * wcsmbs/test-wcschr.c: New file.
71699         * string/test-strchr.c: Update.
71700         Add wcschr support.
71701         (WIDE): New macro.
71703 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71705         * wcsmbs/Makefile (strop-tests): Add wcslen.
71706         * wcsmbs/test-wcslen.c: New file.
71707         * string/test-strlen.c: Update.
71708         Add wcslen support.
71709         (WIDE): New macro.
71711 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71713         * po/it.po: Update from translation team.
71715 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71717         * sysdeps/x86_64/wcscmp.S: Update.
71718         Fix wrong comparison semantics.
71719         wcscmp shall use signed comparison not unsigned.
71720         Don't use substraction to avoid overflow bug.
71721         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
71722         * wcsmbc/wcscmp.c: Likewise.
71723         * string/test-strcmp.c: Likewise.
71724         Add new tests to check cases with negative values.
71726 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71728         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
71729         * sysdeps/x86_64/dla.h: ...here.  New file.
71730         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
71731         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71732         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71733         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71734         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71735         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71736         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71737         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71738         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71740 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
71742         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
71743         __ynl_finite aliases.
71745 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71747         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71749         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
71750         define DLA_FMA.
71751         [DLA_FMA] (EMULV): Use DLA_FMA.
71752         [DLA_FMA] (MUL12): Use EMULV.
71753         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
71754         that are not needed.
71755         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71756         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71757         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71758         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71759         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71760         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71761         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71763 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
71765         * math/s_nan.c: Undef __nan.
71766         * math/s_nanf.c: Undef __nanf.
71767         * math/s_nanl.c: Undef __nanl.
71768         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
71769         "math_private.h".
71771 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71773         * math/s_catan.c: Add branch predictions.
71774         * math/s_catanf.c: Likewise.
71775         * math/s_catanh.c: Likewise.
71776         * math/s_catanhf.c: Likewise.
71777         * math/s_catanhl.c: Likewise.
71778         * math/s_catanl.c: Likewise.
71779         * math/s_cexp.c: Likewise.
71780         * math/s_cexpf.c: Likewise.
71781         * math/s_cexpl.c: Likewise.
71782         * math/s_clog.c: Likewise.
71783         * math/s_clog10.c: Likewise.
71784         * math/s_clog10f.c: Likewise.
71785         * math/s_clog10l.c: Likewise.
71786         * math/s_clogf.c: Likewise.
71787         * math/s_clogl.c: Likewise.
71788         * math/s_csqrt.c: Likewise.
71789         * math/s_csqrtf.c: Likewise.
71790         * math/s_csqrtl.c: Likewise.
71791         * math/s_ctanf.c: Likewise.
71792         * math/s_ctanh.c: Likewise.
71793         * math/s_ctanhf.c: Likewise.
71794         * math/s_ctanhl.c: Likewise.
71795         * math/s_ctanl.c: Likewise.
71797         * math/math_private.h: Define __nan, __nanf, __nanl.
71798         * math/s_cacosh.c: Include <math_private.h>.
71799         * math/s_cacoshl.c: Likewise.
71800         * math/s_casinh.c: Likewise.
71801         * math/s_casinhf.c: Likewise.
71802         * math/s_casinhl.c: Likewise.
71803         * math/s_ccos.c: Rely entire on ccosh.
71804         * math/s_ccosf.c: Rely entire on ccoshf.
71805         * math/s_ccosl.c: Rely entirely on ccoshl.
71806         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
71807         Remove tests for FE_INVALID.
71808         * math/s_ccoshf.c: Likewise.
71809         * math/s_ccoshl.c: Likewise.
71810         * math/s_csin.c: Likewise.
71811         * math/s_csinf.c: Likewise.
71812         * math/s_csinh.c Likewise.
71813         * math/s_csinhf.c: Likewise.
71814         * math/s_csinhl.c: Likewise.
71815         * math/s_csinl.c: Likewise.
71816         * math/s_ctan.c: Likewise.
71817         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
71818         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
71819         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
71821 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
71823         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
71824         compilation problems.
71826         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
71827         __builtin_expect.
71829 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
71831         * sysdeps/i386/configure.in: Test for -mfma4 option.
71832         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
71833         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
71834         COMMON_CPUID_INDEX_80000001.
71835         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
71836         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
71837         use it if FMA3 is not supported.
71838         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
71840         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
71841         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71843 2011-10-20  Andreas Schwab  <schwab@redhat.com>
71845         [BZ #12892]
71846         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
71847         it would create a cycle with a link time dependency.
71849 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
71851         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
71852         instruction.
71853         * string/Makefile (strop-tests): Add rawmemchr.
71854         * string/test-rawmemchr.c: New file.
71856         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
71857         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
71858         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
71859         when compiling str{,n}casecmp and when AVX is available.  Hook up
71860         new optimized code in initializers.
71862 2011-10-19  Andreas Schwab  <schwab@redhat.com>
71864         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
71865         __feraiseexcept instead of feraiseexcept.
71867 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
71869         * math/math_private.h: Define defaults for libc_fetestexcept and
71870         libc_feupdateenv.
71871         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
71872         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
71873         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71874         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71875         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71876         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71877         libc_fetestexcept and libc_feupdateenv.
71879         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
71880         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
71881         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
71882         * sysdeps/x86_64/fpu/math_private.h: Define special version of
71883         libc_feholdexcept_setround.
71885         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
71886         Add s_nearbyint-c and s_nearbyintf-c.
71887         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
71888         nearbyintf inlines.
71889         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
71890         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
71891         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
71892         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
71894         * math/math_private.h: Define defaults for libc_fegetround,
71895         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
71896         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
71897         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
71898         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
71899         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
71900         standard functions.
71901         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71902         Remove comments and hacks for old compiler versions.
71903         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71904         libc_fegetround, libc_fesetround, libc_feholdexcept, and
71905         libc_feholdexceptl.
71907 2011-10-18  Andreas Schwab  <schwab@redhat.com>
71909         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
71910         (__feraiseexcept_renamed): Add __NTH.
71911         (feraiseexcept): Add __NTH.  Rename local variables to fix
71912         namespace violations.
71914 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
71916         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
71918         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
71920         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
71921         recently added interfaces.
71922         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
71924         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
71925         about macro parameter expansion.
71927         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
71928         __NO_MATH_INLINES is defined.  Cleanups.
71930         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
71931         and __floorf is target has SSE4.1.
71932         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
71933         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
71934         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
71935         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
71937         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
71938         name.
71939         (floorf): Likewise.
71941         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
71943 2011-10-17  Andreas Schwab  <schwab@redhat.com>
71945         * misc/sys/cdefs.h: Fix last change.
71947         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
71948         database lookup.
71950 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
71952         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
71954         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
71955         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71956         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71957         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71958         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71959         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71960         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71961         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71962         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71963         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
71964         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
71965         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
71966         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
71967         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
71968         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
71969         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
71970         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
71971         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
71972         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
71973         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
71974         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
71975         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
71977         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
71978         ceil, ceilf, floor, floorf.
71980         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
71981         Perform IRELATIVE relocations last.
71983         * elf/do-rel.h: Add another parameter nrelative, replacing the
71984         local variable with the same name.  Change name of the function
71985         to end in Rel or Rela (uppercase).
71986         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
71987         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
71988         elf_dynamic_do_##reloc function.
71990 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71992         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
71993         is sufficient, at least on modern CPUs.
71995         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
71997         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
71998         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
72000         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
72001         __expl_finite.
72002         * math/bits/math-finite.h: Add entries for exp.
72003         * math/e_expl.c: Add __*_finite alias.
72004         * sysdeps/i386/fpu/e_exp.S: Likewise.
72005         * sysdeps/i386/fpu/e_expf.S: Likewise.
72006         * sysdeps/i386/fpu/e_expl.c: Likewise.
72007         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72008         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72009         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
72010         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
72011         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
72012         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72013         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72015         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
72016         is sufficient, at least on modern CPUs.
72018         * ctype/ctype-info.c (__ctype_init): Define.
72019         * include/ctype.h (__ctype_init): Declare.
72020         (__ctype_b_loc): The variable is always initialized.
72021         (__ctype_toupper_loc): Likewise.
72022         (__ctype_tolower_loc): Likewise.
72023         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
72024         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
72026 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
72028         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
72030         * configure.in: Also look in $cxxmachine/include for C++ system
72031         headers.
72033 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72035         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
72036         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
72037         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
72038         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
72039         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
72040         (USE_AS_WMEMCMP): New macro.
72041         Fixing indents.
72042         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
72043         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
72044         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
72045         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
72046         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72047         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
72048         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
72049         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
72050         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
72051         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
72052         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
72053         (USE_AS_WMEMCMP): New macro.
72054         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
72055         * sysdeps/string/test-memcmp.c: Update.
72056         Fix simple_wmemcmp.
72057         Add new tests.
72058         * wcsmbs/wmemcmp.c: Update.
72059         (WMEMCMP): New macro.
72060         Fix overflow bug.
72062 2011-10-12  Andreas Jaeger  <aj@suse.de>
72064         [BZ #13268]
72065         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
72067 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72069         * libio/iofwide.c (do_length): Avoid warning.
72071         * ctype/ctype.h (__isctype_f): Add missing __THROW.
72073 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
72075         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
72077         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
72078         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
72079         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
72080         * sysdeps/i386/i686/fpu/e_log.S: New file.
72081         * sysdeps/i386/i686/fpu/e_logf.S: New file.
72082         * sysdeps/i386/i686/fpu/e_logl.S: New file.
72084         * ctype/ctype.h: Add support for inlined isXXX functions when
72085         compiling C++ code.
72087 2011-10-14  Andreas Schwab  <schwab@redhat.com>
72089         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72091         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
72093 2011-10-13  Roland McGrath  <roland@hack.frob.com>
72095         [BZ #13291]
72096         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
72098 2011-10-13  Andreas Schwab  <schwab@redhat.com>
72100         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
72101         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
72102         feraiseexcept.
72104         * sysdeps/x86_64/memrchr.S: Check for zero size.
72106         * string/stratcliff.c: Add memrchr tests.
72108 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72110         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72111         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
72112         rawmemchr-sse2 rawmemchr-sse2-bsf.
72113         * sysdeps/i386/i686/multiarch/memchr.S: New file.
72114         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
72115         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
72116         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
72117         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
72118         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
72119         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
72120         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
72121         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
72122         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
72123         * string/memrchr.c (MEMRCHR): New macro.
72125 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
72127         Add integration with gcc's -ffinite-math-only and optimize wrapper
72128         functions in libm.
72129         * Versions.def: Define GLIBC_2.15 version for libm.
72130         * math/Makefile (headers): Add bits/math-finite.h.
72131         * math/bits/math-finite.h: New file.
72132         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
72133         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
72134         * math/e_acoshl.c: Add __*_finite alias.
72135         * math/e_acosl.c: Likewise.
72136         * math/e_asinl.c: Likewise.
72137         * math/e_atan2l.c: Likewise.
72138         * math/e_atanhl.c: Likewise.
72139         * math/e_coshl.c: Likewise.
72140         * math/e_exp10.c: Likewise.
72141         * math/e_exp10f.c: Likewise.
72142         * math/e_exp10l.c: Likewise.
72143         * math/e_exp2l.c: Likewise.
72144         * math/e_fmodl.c: Likewise.
72145         * math/e_gammal_r.c: Likewise.
72146         * math/e_hypotl.c: Likewise.
72147         * math/e_j0l.c: Likewise.
72148         * math/e_j1l.c: Likewise.
72149         * math/e_jnl.c: Likewise.
72150         * math/e_lgammal_r.c: Likewise.
72151         * math/e_log10l.c: Likewise.
72152         * math/e_log2l.c: Likewise.
72153         * math/e_logl.c: Likewise.
72154         * math/e_powl.c: Likewise.
72155         * math/e_sinhl.c: Likewise.
72156         * math/e_sqrtl.c: Likewise.
72157         * math/e_scalb.c: Completely rewritten and optimized.
72158         * math/e_scalbf.c: Likewise.
72159         * math/e_scalbl.c: Likewise.
72160         * math/w_acos.c: Likewise.
72161         * math/w_acosf.c: Likewise.
72162         * math/w_acosl.c: Likewise.
72163         * math/w_acosh.c: Likewise.
72164         * math/w_acoshf.c: Likewise.
72165         * math/w_acoshl.c: Likewise.
72166         * math/w_asin.c: Likewise.
72167         * math/w_asinf.c: Likewise.
72168         * math/w_asinl.c: Likewise.
72169         * math/w_atan2.c: Likewise.
72170         * math/w_atan2f.c: Likewise.
72171         * math/w_atan2l.c: Likewise.
72172         * math/w_atanh.c: Likewise.
72173         * math/w_atanhf.c: Likewise.
72174         * math/w_atanhl.c: Likewise.
72175         * math/w_exp10.c: Likewise.
72176         * math/w_exp10f.c: Likewise.
72177         * math/w_exp10l.c: Likewise.
72178         * math/w_fmod.c: Likewise.
72179         * math/w_fmodf.c: Likewise.
72180         * math/w_fmodl.c: Likewise.
72181         * math/w_j0.c: Likewise.
72182         * math/w_j0f.c: Likewise.
72183         * math/w_j0l.c: Likewise.
72184         * math/w_j1.c: Likewise.
72185         * math/w_j1f.c: Likewise.
72186         * math/w_j1l.c: Likewise.
72187         * math/w_jn.c: Likewise.
72188         * math/w_jnf.c: Likewise.
72189         * math/w_log.c: Likewise.
72190         * math/w_logf.c: Likewise.
72191         * math/w_logl.c: Likewise.
72192         * math/w_log10.c: Likewise.
72193         * math/w_log10f.c: Likewise.
72194         * math/w_log10l.c: Likewise.
72195         * math/w_log2.c: Likewise.
72196         * math/w_log2f.c: Likewise.
72197         * math/w_log2l.c: Likewise.
72198         * math/w_pow.c: Likewise.
72199         * math/w_powf.c: Likewise.
72200         * math/w_powl.c: Likewise.
72201         * math/w_remainder.c: Likewise.
72202         * math/w_remainderf.c: Likewise.
72203         * math/w_remainderl.c: Likewise.
72204         * math/w_scalb.c: Likewise.
72205         * math/w_scalbf.c: Likewise.
72206         * math/w_scalbl.c: Likewise.
72207         * math/w_sqrt.c: Likewise.
72208         * math/w_sqrtf.c: Likewise.
72209         * math/w_sqrtl.c: Likewise.
72210         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72211         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
72212         used.
72213         * math/math_private.h: Declare __kernel_standard_f.
72214         * math/w_cosh.c: Remove cruft and optimize a bit.
72215         * math/w_coshf.c: Likewise.
72216         * math/w_coshl.c: Likewise.
72217         * math/w_exp2.c: Likewise.
72218         * math/w_exp2f.c: Likewise.
72219         * math/w_exp2l.c: Likewise.
72220         * math/w_hypot.c: Likewise.
72221         * math/w_hypotf.c: Likewise.
72222         * math/w_hypotl.c: Likewise.
72223         * math/w_lgamma.c: Likewise.
72224         * math/w_lgamma_r.c: Likewise.
72225         * math/w_lgammaf.c: Likewise.
72226         * math/w_lgammaf_r.c: Likewise.
72227         * math/w_lgammal.c: Likewise.
72228         * math/w_lgammal_r.c: Likewise.
72229         * math/w_sinh.c: Likewise.
72230         * math/w_sinhf.c: Likewise.
72231         * math/w_sinhl.c: Likewise.
72232         * math/w_tgamma.c: Likewise.
72233         * math/w_tgammaf.c: Likewise.
72234         * math/w_tgammal.c: Likewise.
72235         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72236         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72237         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
72238         Minor optimizations.  Pretty printing.  Remove cruft.
72239         * sysdeps/i386/fpu/e_acosf.S: Likewise.
72240         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72241         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72242         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72243         * sysdeps/i386/fpu/e_acosl.c: Likewise.
72244         * sysdeps/i386/fpu/e_asin.S: Likewise.
72245         * sysdeps/i386/fpu/e_asinf.S: Likewise.
72246         * sysdeps/i386/fpu/e_atan2.S: Likewise.
72247         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
72248         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
72249         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72250         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72251         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72252         * sysdeps/i386/fpu/e_exp10.S: Likewise.
72253         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
72254         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
72255         * sysdeps/i386/fpu/e_exp2.S: Likewise.
72256         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
72257         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
72258         * sysdeps/i386/fpu/e_fmod.S: Likewise.
72259         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
72260         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
72261         * sysdeps/i386/fpu/e_hypot.S: Likewise.
72262         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
72263         * sysdeps/i386/fpu/e_log.S: Likewise.
72264         * sysdeps/i386/fpu/e_log10.S: Likewise.
72265         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72266         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72267         * sysdeps/i386/fpu/e_log2.S: Likewise.
72268         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72269         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72270         * sysdeps/i386/fpu/e_logf.S: Likewise.
72271         * sysdeps/i386/fpu/e_logl.S: Likewise.
72272         * sysdeps/i386/fpu/e_pow.S: Likewise.
72273         * sysdeps/i386/fpu/e_powf.S: Likewise.
72274         * sysdeps/i386/fpu/e_powl.S: Likewise.
72275         * sysdeps/i386/fpu/e_remainder.S: Likewise.
72276         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
72277         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
72278         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72279         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72280         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72281         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
72282         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
72283         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
72284         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72285         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72286         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72287         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72288         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72289         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72290         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72291         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72292         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72293         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72294         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72295         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72296         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72297         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72298         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72299         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72300         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72301         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72302         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72303         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72304         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72305         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72306         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72307         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72308         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72309         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72310         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72311         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72312         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72313         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72314         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72315         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72316         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72317         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72318         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72319         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72320         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72321         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72322         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72323         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72324         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72325         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72326         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72327         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72328         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72329         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72330         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72331         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72332         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72333         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72334         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72335         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72336         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72337         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72338         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72339         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72340         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72341         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72342         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72343         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72344         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72345         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72346         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72347         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72348         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72349         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72350         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72351         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72352         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72353         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72354         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72355         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72356         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72357         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72358         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72359         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72360         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72361         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72362         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72363         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72364         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72365         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72366         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72367         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72368         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72369         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72370         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72371         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72372         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72373         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72374         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72375         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72376         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72377         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
72378         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72379         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72380         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72381         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
72382         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
72383         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
72384         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
72385         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
72386         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
72387         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
72388         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72389         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72390         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72391         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72392         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
72393         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72394         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
72395         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
72396         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
72397         (__isnanf): Likewise.
72398         (__isinf_ns): Likewise.
72399         (__isinf_nsf): Likewise.
72400         (__finite): Likewise.
72401         (__finitef): Likewise.
72402         (__ieee754_sqrt): Define as macro.
72403         (__ieee754_sqrtf): Define as macro.
72404         (__ieee754_sqrtl): Define as macro.
72405         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
72406         inlined copy.
72407         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
72408         __FINITE_MATH_ONLY__ consistent.
72409         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
72411 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
72413         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
72414         of rawmemchr.
72416         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
72418 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
72420         * po/ja.po: Update from translation team.
72422 2011-10-08  Roland McGrath  <roland@hack.frob.com>
72424         * locale/programs/locarchive.c (prepare_address_space): New function.
72425         (create_archive, enlarge_archive, open_archive): Use it.
72427         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
72428         inside [SHARED], where it is used.
72430         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
72432         * nss/getent.c (netgroup_keys): Remove unused variable.
72433         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72435 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
72437         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
72438         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
72439         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
72440         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
72441         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
72442         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
72443         * math/Makefile (libm-calls): Add s_isinf_ns.
72444         * math/divtc3.c: Use __isinf_nsl instead of isinf.
72445         * math/multc3.c: Likewise.
72446         * math/s_casin.c: Likewise.
72447         * math/s_casinf.c: Likewise.
72448         * math/s_casinl.c: Likewise.
72449         * math/s_ccos.c: Likewise.
72450         * math/s_ccosf.c: Likewise.
72451         * math/s_ccosl.c: Likewise.
72452         * math/s_ctan.c: Likewise.
72453         * math/s_ctanf.c: Likewise.
72454         * math/s_ctanh.c: Likewise.
72455         * math/s_ctanhf.c: Likewise.
72456         * math/s_ctanhl.c: Likewise.
72457         * math/s_ctanl.c: Likewise.
72458         * math/w_fmod.c: Likewise.
72459         * math/w_fmodf.c: Likewise.
72460         * math/w_fmodl.c: Likewise.
72461         * math/w_remainder.c: Likewise.
72462         * math/w_remainderf.c: Likewise.
72463         * math/w_remainderl.c: Likewise.
72464         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
72465         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
72466         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
72467         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
72468         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
72469         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
72470         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
72471         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
72473         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
72474         of the number.
72475         * stdio-common/printf_fphex.c: Likewise.
72476         * stdio-common/printf_size.c: Likewise.
72478         * math/e_exp10.c: Include math_private.h using <...> not "...".
72479         * math/e_exp10f.c: Likewise.
72480         * math/e_exp10l.c: Likewise.
72481         * math/e_exp2l.c: Likewise.
72482         * math/e_j0l.c: Likewise.
72483         * math/e_j1l.c: Likewise.
72484         * math/e_jnl.c: Likewise.
72485         * math/e_lgammal_r.c: Likewise.
72486         * math/e_rem_pio2l.c: Likewise.
72487         * math/e_scalb.c: Likewise.
72488         * math/e_scalbf.c: Likewise.
72489         * math/e_scalbl.c: Likewise.
72490         * math/k_cosl.c: Likewise.
72491         * math/k_sinl.c: Likewise.
72492         * math/k_tanl.c: Likewise.
72493         * math/s_cacoshf.c: Likewise.
72494         * math/s_catan.c: Likewise.
72495         * math/s_catanf.c: Likewise.
72496         * math/s_catanh.c: Likewise.
72497         * math/s_catanhf.c: Likewise.
72498         * math/s_catanhl.c: Likewise.
72499         * math/s_catanl.c: Likewise.
72500         * math/s_ccosh.c: Likewise.
72501         * math/s_ccoshf.c: Likewise.
72502         * math/s_ccoshl.c: Likewise.
72503         * math/s_cexp.c: Likewise.
72504         * math/s_cexpf.c: Likewise.
72505         * math/s_cexpl.c: Likewise.
72506         * math/s_clog.c: Likewise.
72507         * math/s_clog10.c: Likewise.
72508         * math/s_clog10f.c: Likewise.
72509         * math/s_clog10l.c: Likewise.
72510         * math/s_clogf.c: Likewise.
72511         * math/s_clogl.c: Likewise.
72512         * math/s_csin.c: Likewise.
72513         * math/s_csinf.c: Likewise.
72514         * math/s_csinh.c: Likewise.
72515         * math/s_csinhf.c: Likewise.
72516         * math/s_csinhl.c: Likewise.
72517         * math/s_csinl.c: Likewise.
72518         * math/s_csqrt.c: Likewise.
72519         * math/s_csqrtf.c: Likewise.
72520         * math/s_csqrtl.c: Likewise.
72521         * math/s_ctan.c: Likewise.
72522         * math/s_ctanf.c: Likewise.
72523         * math/s_ctanh.c: Likewise.
72524         * math/s_ctanhf.c: Likewise.
72525         * math/s_ctanhl.c: Likewise.
72526         * math/s_ctanl.c: Likewise.
72527         * math/s_ldexp.c: Likewise.
72528         * math/s_ldexpf.c: Likewise.
72529         * math/s_ldexpl.c: Likewise.
72530         * math/s_significand.c: Likewise.
72531         * math/s_significandf.c: Likewise.
72532         * math/s_significandl.c: Likewise.
72533         * math/w_acos.c: Likewise.
72534         * math/w_acosf.c: Likewise.
72535         * math/w_acosh.c: Likewise.
72536         * math/w_acoshf.c: Likewise.
72537         * math/w_acoshl.c: Likewise.
72538         * math/w_acosl.c: Likewise.
72539         * math/w_asin.c: Likewise.
72540         * math/w_asinf.c: Likewise.
72541         * math/w_asinl.c: Likewise.
72542         * math/w_atan2.c: Likewise.
72543         * math/w_atan2f.c: Likewise.
72544         * math/w_atan2l.c: Likewise.
72545         * math/w_atanh.c: Likewise.
72546         * math/w_atanhf.c: Likewise.
72547         * math/w_atanhl.c: Likewise.
72548         * math/w_cosh.c: Likewise.
72549         * math/w_coshf.c: Likewise.
72550         * math/w_coshl.c: Likewise.
72551         * math/w_dremf.c: Likewise.
72552         * math/w_exp10.c: Likewise.
72553         * math/w_exp10f.c: Likewise.
72554         * math/w_exp10l.c: Likewise.
72555         * math/w_exp2.c: Likewise.
72556         * math/w_exp2f.c: Likewise.
72557         * math/w_fmod.c: Likewise.
72558         * math/w_fmodf.c: Likewise.
72559         * math/w_fmodl.c: Likewise.
72560         * math/w_hypot.c: Likewise.
72561         * math/w_hypotf.c: Likewise.
72562         * math/w_hypotl.c: Likewise.
72563         * math/w_j0.c: Likewise.
72564         * math/w_j0f.c: Likewise.
72565         * math/w_j0l.c: Likewise.
72566         * math/w_j1.c: Likewise.
72567         * math/w_j1f.c: Likewise.
72568         * math/w_j1l.c: Likewise.
72569         * math/w_jn.c: Likewise.
72570         * math/w_jnf.c: Likewise.
72571         * math/w_jnl.c: Likewise.
72572         * math/w_lgamma.c: Likewise.
72573         * math/w_lgamma_r.c: Likewise.
72574         * math/w_lgammaf.c: Likewise.
72575         * math/w_lgammaf_r.c: Likewise.
72576         * math/w_lgammal.c: Likewise.
72577         * math/w_lgammal_r.c: Likewise.
72578         * math/w_log.c: Likewise.
72579         * math/w_log10.c: Likewise.
72580         * math/w_log10f.c: Likewise.
72581         * math/w_log10l.c: Likewise.
72582         * math/w_log2.c: Likewise.
72583         * math/w_log2f.c: Likewise.
72584         * math/w_log2l.c: Likewise.
72585         * math/w_logf.c: Likewise.
72586         * math/w_logl.c: Likewise.
72587         * math/w_pow.c: Likewise.
72588         * math/w_powf.c: Likewise.
72589         * math/w_powl.c: Likewise.
72590         * math/w_remainder.c: Likewise.
72591         * math/w_remainderf.c: Likewise.
72592         * math/w_remainderl.c: Likewise.
72593         * math/w_scalb.c: Likewise.
72594         * math/w_scalbf.c: Likewise.
72595         * math/w_scalbl.c: Likewise.
72596         * math/w_sinh.c: Likewise.
72597         * math/w_sinhf.c: Likewise.
72598         * math/w_sinhl.c: Likewise.
72599         * math/w_sqrt.c: Likewise.
72600         * math/w_sqrtf.c: Likewise.
72601         * math/w_sqrtl.c: Likewise.
72602         * math/w_tgamma.c: Likewise.
72603         * math/w_tgammaf.c: Likewise.
72604         * math/w_tgammal.c: Likewise.
72606         * po/ja.po: Update from translation team.
72608 2011-09-29  Andreas Jaeger  <aj@suse.de>
72610         [BZ #13179]
72611         * sunrpc/netname.c (netname2host): Fix logic.
72613         [BZ #6779]
72614         [BZ #6783]
72615         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
72616         correctly.
72617         * math/w_remainder.c (__remainder): Likewise.
72618         * math/w_remainderf.c (__remainderf): Likewise.
72619         * math/libm-test.inc (remainder_test): Add test cases.
72621 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72623         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
72624         sdiv_qrnnd.
72626 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72628         * string/test-memcmp.c: Avoid unncessary #defines.
72629         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72631 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72633         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
72634         Use new sse2 version for core i3 - i7 as it's faster
72635         than sse42 version.
72636         (bit_Prefer_PMINUB_for_stringop): New.
72637         * sysdeps/x86_64/rawmemchr.S: Update.
72638         Replace with faster SSE2 version.
72639         * sysdeps/x86_64/memrchr.S: New file.
72640         * sysdeps/x86_64/memchr.S: Update.
72641         Replace with faster SSE2 version.
72643 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
72645         * elf/dl-load.c (lose): Add cast to avoid warning.
72647 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72649         * po/ca.po: Update from translation team.
72651         * inet/getnetgrent_r.c: Hook up nscd.
72652         * nscd/Makefile (routines): Add nscd_netgroup.
72653         (nscd-modules): Add netgroupcache.
72654         (CFLAGS-netgroupcache.c): Define.
72655         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
72656         (cache_search): Add const to second parameter.
72657         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
72658         INNETGR.
72659         (dbs): Add netgrdb entry.
72660         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
72661         (verify_persistent_db): Handle netgrdb.
72662         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
72663         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
72664         GETFDNETGR.
72665         (netgroup_response_header): Define.
72666         (innetgroup_response_header): Define.
72667         (datahead): Add netgroup_response_header and innetgroup_response_header
72668         elements.
72669         * nscd/nscd.conf: Add entries for netgroup cache.
72670         * nscd/nscd.h (dbtype): Add netgrdb.
72671         (_PATH_NSCD_NETGROUP_DB): Define.
72672         (netgroup_iov_disabled): Declare.
72673         (xmalloc, xcalloc, xrealloc): Move declarations here.
72674         (cache_search): Adjust prototype.
72675         Add netgroup-related prototypes.
72676         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
72677         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
72678         (__nscd_innetgr): Declare.
72679         * nscd/selinux.c (perms): Use access_vector_t as element type and
72680         add netgroup-related initializers.
72681         * nscd/netgroupcache.c: New file.
72682         * nscd/nscd_netgroup.c: New file.
72683         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
72684         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
72685         For four parameters use innetgr.
72686         * nss/nss_files/files-init.c: Add definition and callback for netgr.
72687         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
72688         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
72689         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
72691         * nscd/connections.c (register_traced_file): Don't register file
72692         for disabled databases.
72694 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
72696         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
72698         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
72699         from tree and freeing node.
72701 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
72703         * nss/nsswitch.c (__nss_database_lookup): Handle
72704         nss_parse_service_list out of memory case.
72706 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
72708         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
72709         out of memory case.
72711 2011-10-04  Andreas Schwab  <schwab@redhat.com>
72713         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
72714         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
72715         pass it down.
72716         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
72717         elf_machine_rela, elf_machine_lazy_rel.
72718         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
72719         (ELF_DYNAMIC_DO_REL): Likewise.
72720         (ELF_DYNAMIC_DO_RELA): Likewise.
72721         (ELF_DYNAMIC_RELOCATE): Likewise.
72722         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
72723         to ELF_DYNAMIC_DO_REL.
72724         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
72725         (dl_main): In trace mode always set __RTLD_NOIFUNC.
72726         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
72727         elf_machine_rela.
72728         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
72729         skip_ifunc, don't call ifunc function if non-zero.
72730         (elf_machine_rela): Likewise.
72731         (elf_machine_lazy_rel): Likewise.
72732         (elf_machine_lazy_rela): Likewise.
72733         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
72734         (elf_machine_lazy_rel): Likewise.
72735         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
72736         Likewise.
72737         (elf_machine_lazy_rel): Likewise.
72738         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72739         Likewise.
72740         (elf_machine_lazy_rel): Likewise.
72741         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
72742         (elf_machine_lazy_rel): Likewise.
72743         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
72744         (elf_machine_lazy_rel): Likewise.
72745         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
72746         (elf_machine_lazy_rel): Likewise.
72747         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
72748         (elf_machine_lazy_rel): Likewise.
72749         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
72750         (elf_machine_lazy_rel): Likewise.
72751         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
72752         (elf_machine_lazy_rel): Likewise.
72754 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
72756         * nss/nss_files/files-init.c (_nss_files_init): Use static
72757         initialization for all the *_traced_file variables.
72759 2011-09-28  Andreas Schwab  <schwab@redhat.com>
72761         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72763 2011-09-27  Roland McGrath  <roland@hack.frob.com>
72765         [BZ #13226]
72766         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
72768 2011-09-27  Andreas Schwab  <schwab@redhat.com>
72770         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72771         Reread the line before reparsing it.
72773 2011-09-26  Andreas Schwab  <schwab@redhat.com>
72775         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
72777 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
72778             Maxim Kuvyrkov  <maxim@codesourcery.com>
72779             Joseph Myers  <joseph@codesourcery.com>
72781         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
72782         if needed for __stack_chk_guard.
72784 2011-09-19  Roland McGrath  <roland@hack.frob.com>
72786         * sysdeps/posix/spawni.c (script_execute): Always define it.
72787         It will be optimized away if unused.
72788         (maybe_script_execute): New function.
72789         (__spawni): Call it.
72791         * Makerules: Don't include tls.make.
72792         (config-tls): Always set to thread.
72793         * tls.make.c: File removed.
72795 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
72797         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
72798         * config.make.in (CPPFLAGS-config): New substituted variable.
72800 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72802         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
72804         [BZ #13192]
72805         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
72806         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
72808 2011-09-15  Roland McGrath  <roland@hack.frob.com>
72810         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
72811         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
72812         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72813         (CALL_FAIL): Likewise.
72814         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
72815         (CALL_FAIL): Macro removed.
72816         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
72818 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72820         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
72821         for __FINITE_MATH_ONLY__ == 1.
72823 2011-09-15  Andreas Schwab  <schwab@redhat.com>
72825         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
72826         __ieee754_sqrt instead of sqrt.
72827         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
72828         __ieee754_sqrtf instead of sqrtf.
72829         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
72830         __floorf instead of floorf.
72831         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
72832         __floorf, __truncf instead of floorf, truncf.
72834 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
72836         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
72838         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
72839         __extern_always_inline.
72840         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
72841         32-bit.
72843 2011-09-14  Andreas Schwab  <schwab@redhat.com>
72845         * elf/rtld.c (dl_main): Also relocate in dependency order when
72846         doing symbol dependency testing.
72848 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
72850         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72851         Always define `refsym'.
72853 2011-09-13  Andreas Schwab  <schwab@redhat.com>
72855         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
72856         (__FD_ELT): Renamed from __FDELT.
72857         * misc/bits/select2.h (__FD_ELT): Likewise.
72858         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
72859         __FD_MASK instead of __FDELT, __FDMASK.
72860         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72861         Likewise.
72862         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72863         Likewise.
72865         * elf/Makefile (gen-ldd): Fix pattern.
72867         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
72868         (init_tls): Likewise.
72870 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
72872         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
72874 2011-09-12  Andreas Schwab  <schwab@redhat.com>
72876         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
72877         `struct cmsghdr *' instead of `void *'.
72878         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
72879         Likewise.
72881 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
72883         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
72884         if non-absolute.
72885         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
72886         ldd_rewrite_script.
72888 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
72890         * configure.in: Remove --with-tls option.
72891         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
72892         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
72893         out in case it is missing.
72894         * sysdeps/ia64/elf/configure.in: Likewise.
72895         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
72896         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
72897         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
72898         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
72899         * sysdeps/sh/elf/configure.in: Likewise.
72900         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
72901         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72902         * sysdeps/x86_64/elf/configure.in: Likewise.
72903         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
72904         * sysdeps/mach/hurd/tls.h: Likewise.
72906         [BZ #13067]
72907         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
72909         [BZ #13090]
72910         * configure.in: Fix use of AC_INIT.
72912         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
72914 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
72916         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
72917         __set_errno.
72918         * malloc/hooks.c: Likewise.
72920         [BZ #11929]
72921         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
72922         variables statically.
72923         (narenas): Initialize.
72924         (list_lock): Initialize.
72925         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
72926         initializtion of main_arena and list_lock.  Small cleanups.
72927         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
72928         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
72929         Add initializers to main_arena and mp_.
72930         (malloc_state): Remove pagesize member.  Change all users to use
72931         GLRO(dl_pagesize).
72933         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
72934         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
72935         is always initialized.
72937         * malloc/malloc.c: Removed unused configurations and dead code.
72938         * malloc/arena.c: Likewise.
72939         * malloc/hooks.c: Likewise.
72940         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
72942         * include/tls.h: Removed.  USE___THREAD must always be defined.
72943         * bits/libc-tsd.h: Don't handle !USE___THREAD.
72944         * elf/dl-libc.c: Likewise.
72945         * elf/dl-tsd.c: Likewise.
72946         * include/errno.h: Likewise.
72947         * include/netdb.h: Likewise.
72948         * include/resolv.h: Likewise.
72949         * inet/herrno-loc.c: Likewise.
72950         * inet/herrno.c: Likewise.
72951         * malloc/arena.c: Likewise.
72952         * malloc/hooks.c: Likewise.
72953         * malloc/malloc.c: Likewise.
72954         * resolv/res-state.c: Likewise.
72955         * resolv/res_libc.c: Likewise.
72956         * sysdeps/i386/dl-machine.h: Likewise.
72957         * sysdeps/ia64/dl-machine.h: Likewise.
72958         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
72959         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72960         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
72961         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
72962         * sysdeps/sh/dl-machine.h: Likewise.
72963         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72964         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72965         * sysdeps/unix/i386/sysdep.S: Likewise.
72966         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
72967         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
72968         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
72969         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
72970         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
72971         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
72972         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
72973         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72974         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72975         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
72976         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72977         * sysdeps/x86_64/dl-machine.h: Likewise.
72978         * tls.make.c: Likewise.
72980         * configure.in: Remove --with-__thread option.  Make tests for
72981         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
72982         tls_model attribute fail if no support is available.  Remove
72983         USE_IN_LIBIO.
72984         * Makeconfig: Adjust for dropped configure option.  All features are
72985         now mandatory.
72986         * Makerules: Likewise.
72987         * Versions.def: Likewise.
72988         * argp/argp-fmtstream.c: Likewise.
72989         * argp/argp-fmtstream.h: Likewise.
72990         * argp/argp-help.c: Likewise.
72991         * assert/assert.c: Likewise.
72992         * config.h.in: Likewise.
72993         * config.make.in: Likewise.
72994         * configure: Likewise.
72995         * configure.in: Likewise.
72996         * csu/Versions: Likewise.
72997         * csu/init.c: Likewise.
72998         * elf/tst-audit2.c: Likewise.
72999         * elf/tst-tls10.c: Likewise.
73000         * elf/tst-tls10.h: Likewise.
73001         * elf/tst-tls11.c: Likewise.
73002         * elf/tst-tls12.c: Likewise.
73003         * elf/tst-tls14.c: Likewise.
73004         * elf/tst-tlsmod11.c: Likewise.
73005         * elf/tst-tlsmod12.c: Likewise.
73006         * elf/tst-tlsmod13.c: Likewise.
73007         * elf/tst-tlsmod13a.c: Likewise.
73008         * elf/tst-tlsmod14a.c: Likewise.
73009         * elf/tst-tlsmod15b.c: Likewise.
73010         * elf/tst-tlsmod16a.c: Likewise.
73011         * elf/tst-tlsmod16b.c: Likewise.
73012         * elf/tst-tlsmod7.c: Likewise.
73013         * elf/tst-tlsmod8.c: Likewise.
73014         * elf/tst-tlsmod9.c: Likewise.
73015         * gmon/gmon.c: Likewise.
73016         * grp/fgetgrent_r.c: Likewise.
73017         * grp/putgrent.c: Likewise.
73018         * hurd/fopenport.c: Likewise.
73019         * include/libc-symbols.h: Likewise.
73020         * include/tls.h: Likewise.
73021         * intl/gettextP.h: Likewise.
73022         * intl/loadinfo.h: Likewise.
73023         * locale/global-locale.c: Likewise.
73024         * locale/localeinfo.h: Likewise.
73025         * mach/devstream.c: Likewise.
73026         * malloc/arena.c: Likewise.
73027         * malloc/set-freeres.c: Likewise.
73028         * misc/err.c: Likewise.
73029         * misc/getttyent.c: Likewise.
73030         * misc/mntent_r.c: Likewise.
73031         * posix/getopt.c: Likewise.
73032         * posix/wordexp.c: Likewise.
73033         * pwd/fgetpwent_r.c: Likewise.
73034         * resolv/Versions: Likewise.
73035         * resolv/res_hconf.c: Likewise.
73036         * shadow/fgetspent_r.c: Likewise.
73037         * shadow/putspent.c: Likewise.
73038         * stdio-common/printf_fphex.c: Likewise.
73039         * stdio-common/tmpfile.c: Likewise.
73040         * stdlib/abort.c: Likewise.
73041         * stdlib/fmtmsg.c: Likewise.
73042         * sunrpc/auth_unix.c: Likewise.
73043         * sunrpc/clnt_perr.c: Likewise.
73044         * sunrpc/clnt_tcp.c: Likewise.
73045         * sunrpc/clnt_udp.c: Likewise.
73046         * sunrpc/clnt_unix.c: Likewise.
73047         * sunrpc/openchild.c: Likewise.
73048         * sunrpc/svc_simple.c: Likewise.
73049         * sunrpc/svc_tcp.c: Likewise.
73050         * sunrpc/svc_udp.c: Likewise.
73051         * sunrpc/svc_unix.c: Likewise.
73052         * sunrpc/xdr.c: Likewise.
73053         * sunrpc/xdr_array.c: Likewise.
73054         * sunrpc/xdr_rec.c: Likewise.
73055         * sunrpc/xdr_ref.c: Likewise.
73056         * sunrpc/xdr_stdio.c: Likewise.
73058 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73060         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73062 2011-07-03  Andreas Jaeger  <aj@suse.de>
73064         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
73065         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
73066         regenerate with gen-libm-tests.pl.
73068 2010-05-12  Petr Baudis  <pasky@suse.cz>
73070         [BZ #11589]
73071         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
73072         around j0() zero points by switching to j1().
73073         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73074         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73075         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73076         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73078 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73080         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
73081         instead of 0.
73082         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
73083         instead of 0.
73084         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73085         Patch in part by Pavel Roskin <proski@gnu.org>.
73087         [BZ #13138]
73088         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
73089         realloc.
73090         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
73091         Free memory block if necessary.
73093         [BZ #12847]
73094         * libio/genops.c (INTDEF): For string streams the _lock pointer can
73095         be NULL.  Don't lock in this case.
73097 2011-09-09  Roland McGrath  <roland@hack.frob.com>
73099         * elf/elf.h (ELFOSABI_GNU): New macro.
73100         (ELFOSABI_LINUX): Define to that.
73102 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
73104         * string/strncat.c (strncat): Undef the symbol in case it has been
73105         defined in bits/string.h.
73107 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73109         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
73111         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
73112         link map.
73114 2011-08-17  Andreas Jaeger  <aj@suse.de>
73116         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
73118 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
73119             Ian Lance Taylor  <iant@google.com>
73121         * math/libm-test.inc (lround_test): New testcase.
73122         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
73124 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
73126         * Makefile: Remove support for automatic cvs check-ins.
73127         * Makerules: Likewise.
73128         * config.make.in: Likewise.
73129         * configure.in: Likewise.
73130         * intl/Makefile: Likewise.
73131         * locale/Makefile: Likewise.
73132         * po/Makefile: Likewise.
73133         * posix/Makefile: Likewise.
73134         * sysdeps/gnu/Makefile: Likewise.
73135         * sysdeps/mach/hurd/Makefile: Likewise.
73136         * sysdeps/sparc/sparc32/Makefile: Likewise.
73138         [BZ #13118]
73139         * posix/Makefile (bug-regex32-ENV): Define.
73140         Patch by John Stanley <jpsinthemix@verizon.net>.
73142         * misc/Makefile (headers): Add bits/select2.h.
73143         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
73144         * misc/bits/select2.h: New file.
73145         * include/bits/select2.h: New file.
73146         * debug/Makefile (routines): Add fdelt_chk.
73147         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
73148         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
73149         FD_ISSET.
73150         * debug/fdelt_chk.c: New file.
73152         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
73153         * wcsmbs/test-wmemcmp.c: Likewise.
73154         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
73155         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
73157 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73159         * string/Makefile (strop-tests): Add memcmp.
73160         * string/test-wmemcmp.c: New file.
73161         * string/test-memcmp.c: Add wmemcmp support.
73163 2011-09-08  Roland McGrath  <roland@hack.frob.com>
73165         [BZ #13153]
73166         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
73167         2011-07-19 change.
73169         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
73170         garbage value in a __mach_port_mod_refs call in the cases of the
73171         task-self and thread-self ports.
73173 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73175         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
73177 2011-09-08  Andreas Schwab  <schwab@redhat.com>
73179         * elf/dl-load.c (lose): Check for non-null L.
73181 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73183         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73185         * elf/dl-libc.c (dlerror_run): Pass back error code from
73186         dl_catch_error.
73188         [BZ #13123]
73189         * elf/dl-load.c (lose): Free l_origin if it is valid.
73191         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73192         names.
73193         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73194         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73195         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73196         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73197         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73198         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73200 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73202         * sysdeps/powerpc/fpu/e_hypot.c: New file.
73203         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73204         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73205         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73206         * sysdeps/powerpc/fpu/k_cosf.c: New file.
73207         * sysdeps/powerpc/fpu/k_sinf.c: New file.
73208         * sysdeps/powerpc/fpu/s_cosf.c: New file.
73209         * sysdeps/powerpc/fpu/s_sinf.c: New file.
73210         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73211         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73213 2011-08-15  Alan Modra  <amodra@gmail.com>
73215         [BZ #13092]
73216         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
73217         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
73218         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
73219         ppc_mcount to static-only-routines.
73220         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
73221         __mcount_internal.
73222         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
73223         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
73225 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
73227         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
73228         for finite and infinity parameters.
73230 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73232         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
73233         and add nop instructions for throughput optimization.
73234         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73236 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
73238         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73239         aligned copy for power7 with vector-scalar instructions.
73240         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
73242 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
73244         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
73245         AVX check.
73247 2011-09-07  Andreas Schwab  <schwab@redhat.com>
73249         [BZ #13144]
73250         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
73251         last change.
73253 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73255         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73256         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
73257         syscall wrapper around clock_gettime in __vdso_clock_gettime.
73258         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
73259         clock_gettime.
73261 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73263         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
73264         Forgot to demangle the pointer.
73266         * sysdeps/i386/sysdep.h: Define atom_text_section.
73267         * sysdeps/x86_64/sysdep.h: Likewise.
73268         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
73269         section with atom_text_section.
73270         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73271         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73272         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
73273         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73274         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
73276         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
73277         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
73278         already be defined.  Change to take two parameters and don't assign
73279         result to variable.  Adjust all users.
73280         Define INTERNAL_GETTIME if not already defined.
73281         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
73282         call.
73283         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
73284         HAVE_CLOCK_GETTIME_VSYSCALL.
73285         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
73287         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
73288         gettimeofday vsyscall, just use time.
73290 2011-09-06  Andreas Schwab  <schwab@redhat.com>
73292         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73293         <errno.h>.
73295 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73297         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73298         syscall on x86-64.
73299         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73300         syscall.
73301         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73302         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73303         syscall if possible.
73305 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73307         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73308         e_ident.  Don't pass to find_mapsXX.
73309         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73311 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73313         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73314         strchr-sse2-no-bsf strrchr-sse2-no-bsf
73315         * sysdeps/x86_64/multiarch/strchr.S: Update.
73316         Check bit_slow_BSF bit.
73317         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73318         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73319         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73321 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73323         [BZ #13134]
73324         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73325         before glibc 2.15.
73326         (tryshell): Define.
73327         (__spawni): Change last parameter to be flag.  Test
73328         SPAWN_XFLAGS_USE_PATH flag to use path or not.
73329         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73330         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73331         * posix/spawni.c: Likewise.
73332         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73333         * posix/spawnp.c: Likewise.  Change normal version to use
73334         SPAWN_XFLAGS_USE_PATH.
73335         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73336         SPAWN_XFLAGS_TRY_SHELL.
73338         [BZ #13150]
73339         * posix/glob.h: Remove gcc 1.x support.
73341         [BZ #13068]
73342         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73344 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73346         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73347         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73348         strrchr-sse2-bsf
73349         * sysdeps/i386/i686/multiarch/strchr.S: New file.
73350         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73351         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73352         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73353         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73354         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73356 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73358         * sysdeps/x86_64/wcscmp.S: New file.
73360         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73361         wcscmp-c wcscmp-sse2
73362         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73363         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73364         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73365         * wcsmbs/wcscmp.c: Allow renaming.
73367 2011-09-05  David S. Miller  <davem@davemloft.net>
73369         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
73370         stack slot, rather than the struct return pointer slot.
73371         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
73372         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
73373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
73374         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
73376 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73378         * po/ja.po: Update from translation team.
73380         [BZ #13144]
73381         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
73382         kernel in 64-bit binaries.
73384 2011-09-01  David S. Miller  <davem@davemloft.net>
73386         * elf/elf.h (HWCAP_SPARC_*): Move to..
73387         * sysdeps/sparc/sysdep.h: this new file and add new values.
73388         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
73389         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
73390         _DL_HWCAP_COUNT to 24.
73391         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73392         entries.
73393         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
73394         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
73395         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
73396         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
73397         instead of magic constants.
73398         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73400 2011-08-31  David S. Miller  <davem@davemloft.net>
73402         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
73403         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
73404         Reimplement to do errno handling inline.
73405         (SYSCALL_ERROR_HANDLER): New macro.
73406         (__SYSCALL_STRING): Do not do errno handling in asm.
73407         (__CLONE_SYSCALL_STRING): Delete.
73408         (__INTERNAL_SYSCALL_STRING): Delete.
73409         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
73410         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
73411         (PSEUDO): Reimplement to do errno handling inline.
73412         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
73413         (SYSCALL_ERROR_HANDLER): New macro.
73414         (__SYSCALL_STRING): Do not do errno handling in asm.
73415         (__CLONE_SYSCALL_STRING): Delete.
73416         (__INTERNAL_SYSCALL_STRING): Delete.
73417         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
73418         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
73419         i386.
73420         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
73421         (inline_syscall*): Add 'err' argument.
73422         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
73423         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
73424         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
73425         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
73427         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
73428         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73430 2011-08-30  Andreas Schwab  <schwab@redhat.com>
73432         * elf/rtld.c (dl_main): Relocate objects in dependency order.
73434 2011-08-29  Jiri Olsa <jolsa@redhat.com>
73436         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
73437         directive.
73439 2011-08-24  David S. Miller  <davem@davemloft.net>
73441         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
73443 2011-08-24  Andreas Schwab  <schwab@redhat.com>
73445         * elf/Makefile: Add rules to build and run unload8 test.
73446         * elf/unload8.c: New file.
73447         * elf/unload8mod1.c: New file.
73448         * elf/unload8mod1x.c: New file.
73449         * elf/unload8mod2.c: New file.
73450         * elf/unload8mod3.c: New file.
73452         * elf/dl-close.c (_dl_close_worker): Reset private search list if
73453         it wasn't used.
73455 2011-08-23  David S. Miller  <davem@davemloft.net>
73457         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
73458         subtract stack bias.
73459         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
73460         %sp not %fp in calculations.
73461         (_JMPBUF_UNWINDS_ADJ): Likewise.
73463         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
73464         (aio_suspend): Call it to force an exception region around the
73465         AIO_MISC_WAIT() invocation.
73467 2011-08-23  Andreas Schwab  <schwab@redhat.com>
73469         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
73470         backslash.
73472 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
73474         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
73475         protection macro.
73476         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
73477         and <dl-machine.h>.
73478         (Elf64_FuncDesc): Remove.
73480 2011-08-22  David S. Miller  <davem@davemloft.net>
73482         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
73483         sigaltstack check, add missing cfi directives.
73484         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
73485         missing cfi directives, and sigaltstack handling.
73487 2011-08-16  Andreas Schwab  <schwab@redhat.com>
73489         [BZ #11724]
73490         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
73491         object is seen twice.
73492         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73494         * elf/Makefile (distribute): Add tst-initorder2.c.
73495         (tests): Add tst-initorder2.
73496         (modules-names): Add tst-initorder2a tst-initorder2b
73497         tst-initorder2c tst-initorder2d.  Add rules to build them.
73498         ($(objpfx)tst-initorder2.out): New rule.
73499         * elf/tst-initorder2.c: New file.
73500         * elf/tst-initorder2.exp: New file.
73502 2011-08-22  Andreas Schwab  <schwab@redhat.com>
73504         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
73506         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
73507         dependencies back to end of function.
73509         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73510         $(elfobjdir)/ld.so.
73512 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
73514         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
73515         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
73516         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
73517         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
73518         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
73519         of __vdso_gettimeofday.
73520         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
73521         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
73522         attribute_hidden.
73523         (_libc_vdso_platform_setup): Remove initialization of
73524         __vdso_gettimeofday and __vdso_time.
73526 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73528         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
73529         and fgetc_unlocked.
73530         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
73531         getc_unlocked.
73533         * elf/dl-open.c (add_to_global): Report additions to the global scope
73534         for LD_DEBUG=scopes.
73535         (dl_open_worker): Also print scope of newly loaded dependencies.
73536         (_dl_show_scope): Indicate if there is no scope.
73538         [BZ #13114]
73539         * stdio-common/Makefile (tests): Add bug24.
73540         * stdio-common/bug24.c: New file.
73542 2011-08-19  Andreas Jaeger  <aj@suse.de>
73544         [BZ #13114]
73545         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
73546         non-existant file when using close-on-exec mode.
73548 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73550         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
73551         the very first instruction.
73553         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
73554         the CFI state in the end.
73555         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
73556         inclusion of dl-trampoline.h.
73557         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
73559 2011-08-19  Andreas Schwab  <schwab@redhat.com>
73561         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
73562         expectations for long double.
73564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
73565         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
73567 2011-08-14  David S. Miller  <davem@davemloft.net>
73569         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
73570         artificual limit depends upon the system page size.
73572 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73574         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
73575         * resolv/Makefile: Define CFLAGS-libresolv.
73577 2011-08-17  Andreas Schwab  <schwab@redhat.com>
73579         * nss/makedb.c (compute_tables): Make variables used in nested
73580         function static.
73582 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73584         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
73585         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
73586         if buffer was too small.
73588         * elf/pldd.c (main): Attach to all threads in the process.
73589         Rewrite /proc handling to use *at functions.
73591 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
73593         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
73594         specifies first scope to show.
73595         (dl_open_worker): Update callers.  Move printing scope of new
73596         object to before the relocation.
73597         * elf/rtld.c (dl_main): Update _dl_show_scope call.
73598         * sysdeps/generic/ldsodefs.h: Update declaration.
73600         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
73601         string for the scope number.
73603 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
73605         * nscd/servicescache.c (cache_addserv): Make sure written is always
73606         initialized.
73608 2011-08-14  Roland McGrath  <roland@hack.frob.com>
73610         * sysdeps/i386/i486/bits/atomic.h
73611         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
73612         statement expression, so as to suppress "set but not used" warning.
73613         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
73615         * string/strncat.c (STRNCAT): Use prototype definition.
73617         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
73618         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
73619         -Iprograms here.
73620         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
73621         (localedef-modules): Add localedef.
73622         (locale-modules): Add locale.
73624         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
73625         * elf/rtld.c (dl_main): Invert order of assignment in last change,
73626         to avoid a warning.
73628 2011-08-14  David S. Miller  <davem@davemloft.net>
73630         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
73631         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
73633 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
73635         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73636         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
73637         * elf/rtld.c (dl_main): Set l_name of vDSO.
73638         Call _dl_show_scope when DL_DEBUG_SCOPES.
73639         (process_dl_debug): Recognize scopes flag and also set it for all.
73640         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
73641         Declare _dl_show_scope.
73643         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
73644         (do_dlopen): Pass caller_dlopen to dl_open.
73645         (__libc_dlopen_mode): Initialize caller_dlopen.
73647         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
73648         of libc.  Make tolower call locale-independent.  Optimize a bit by
73649         using isdigit instead of isalnum.
73650         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
73652 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
73654         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
73655         was a dependency or dynamically loaded.
73657 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
73659         * intl/l10nflist.c: Allow architecture-specific pop function.
73660         * sysdeps/x86_64/l10nflist.c: New file.
73662         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
73663         classification.
73665 2011-08-10  Andreas Schwab  <schwab@redhat.com>
73667         * include/dirent.h: Add libc_hidden_proto for scandirat and
73668         scandirat64.  Don't declare __scandirat64.
73669         * dirent/scandirat.c: Add libc_hidden_def.
73670         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
73671         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
73673 2011-08-10  David S. Miller  <davem@davemloft.net>
73675         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
73676         enum.
73677         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73678         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73679         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73681 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
73683         * Versions.def [libc]: Add GLIBC_2.15.
73684         * dirent/Makefile (routines): Add scandirat and scandirat64.
73685         * dirent/Versions [libc]: Export scandirat and scandirat64 for
73686         GLIBC_2.15.
73687         * dirent/dirent.h: Declare scandirat and scandirat64.
73688         * dirent/scandirat.c: New file.
73689         * dirent/scandirat64.c: New file.
73690         * sysdeps/wordsize-64/scandirat.c: New file.
73691         * sysdeps/wordsize-64/scandirat64.c: New file.
73692         * dirent/opendir.c: Define opendirat.
73693         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
73694         using scandirat.
73695         * dirent/scandir64.c: Adjust for scandir.c change.
73696         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
73697         __scandirat64, and __scandir_cancel_handler.
73698         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
73699         additional parameter and use openat instead of open (outside of ld.so).
73700         Add new __opendir as wrapper around __opendirat.
73701         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
73702         here without requiring old scandirat implementation.
73704 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
73706         * dirent/scandir.c (cancel_handler): Renamed to
73707         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
73708         defined.  Adjust users.
73709         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
73710         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
73712 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
73714         * string/test-string.h (IMPL): Use __STRING to expand name and then
73715         stringify it.
73717         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
73718         of cleanups.
73720 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73722         * string/Makefile: Update.
73723         (strop-tests): Append strncat.
73724         * string/test-wcscmp.c: New file.
73725         New comprehensive test for wcscmp.
73726         * string/test-strcmp.c: Update.
73727         (WIDE): New define.
73729 2011-07-22  Andreas Schwab  <schwab@redhat.com>
73731         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
73732         line.
73734 2011-07-26  Andreas Schwab  <schwab@redhat.com>
73736         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73737         encoding to ACE if AI_IDN.
73739 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
73741         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
73742         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
73744 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73746         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
73747         Fix overflow bug in strncat.
73748         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
73750         * string/test-strncat.c: Update.
73751         Add new tests for checking overflow bugs.
73753 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73755         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73756         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
73757         * sysdeps/i386/i686/multiarch/strcat.S: New file.
73758         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
73759         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
73760         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
73761         * sysdeps/i386/i686/multiarch/strncat.S: New file.
73762         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
73763         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
73765         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
73766         (USE_AS_STRCAT): Define.
73767         Add strcat and strncat support.
73768         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73770 2011-07-25  Andreas Schwab  <schwab@redhat.com>
73772         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
73773         __n bigger than INT_MAX+1.
73774         (__strncmp_g): Likewise.
73776 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
73778         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
73779         * libio/stido.h: Likewise.
73781         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
73782         (AF_NFC): Define.
73783         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
73784         (AF_NFC): Define.
73786         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
73787         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73788         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73789         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
73790         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73792         [BZ #13021]
73793         * scripts/test-installation.pl: Don't expect libnss_test1 to be
73794         installed.
73796         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
73797         typo.
73798         (_dl_x86_64_save_sse): Likewise.
73800 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
73802         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
73803         OSXSAVE.
73804         (_dl_x86_64_save_sse): Likewise.
73806         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
73808         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
73810 2011-07-21  Andreas Schwab  <schwab@redhat.com>
73812         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
73813         change.
73814         (_dl_x86_64_save_sse): Use correct AVX check.
73816 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73818         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
73819         bug in strncpy/strncat.
73820         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
73822 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
73824         * string/tester.c (test_strcat): Add tests for different alignments
73825         of source and destination.
73826         (test_strncat): Likewise.
73828 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73830         [BZ #12852]
73831         * posix/glob.c (glob): Check passed in values before using them in
73832         expressions to avoid some overflows.
73833         (glob_in_dir): Likewise.
73835         [BZ #13007]
73836         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
73837         check for AVX enablement so that we don't crash with old kernels and
73838         new hardware.
73839         * elf/tst-audit4.c: Add same checks here.
73840         * elf/tst-audit6.c: Likewise.
73842         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
73844 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
73846         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
73848 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73850         * po/cs.po: Update from translation team.
73851         * po/bg.po: Likewise.
73853 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
73855         * misc/sys/cdefs.h: Add support for const attribute.
73856         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
73857         to gnu_dev_{major,minor,makedev} functions.
73859 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
73861         * intl/dcigettext.c (get_output_charset): Add missing bracket.
73863 2011-07-20  Andreas Schwab  <schwab@redhat.com>
73865         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
73866         strlen results.
73868 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73870         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
73871         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
73872         register in order to avoid conflicts with the soft frame pointer
73873         being held in r11 when necessary.
73874         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
73875         (INTERNAL_VSYSCALL_NCS): Likewise.
73877 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
73879         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
73880         * elf/dl-fini.c (_dl_fini): Adjust caller.
73881         * elf/dl-close.c (_dl_close_worker): Likewise.
73882         * sysdeps/generic/ldsodefs.h: Adjust declaration.
73884 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73886         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
73887         "aux_cache->nlibs < 0".
73889         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
73890         in the reload-count case.
73892 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73894         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73895         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
73896         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
73897         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
73898         * sysdeps/x86_64/multiarch/strcat.S: New file.
73899         * sysdeps/x86_64/multiarch/strncat.S: New file.
73900         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
73901         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
73902         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
73903         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
73904         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
73905         (USE_AS_STRCAT): Define.
73906         Add strcat and strncat support.
73907         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73908         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
73909         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
73910         * string/strncat.c: Update.
73911         (USE_AS_STRNCAT): Define.
73912         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73913         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
73914         and i7.
73915         * sysdeps/x86_64/multiarch/init-arch.h
73916         (bit_Prefer_PMINUB_for_stringop): New.
73917         (index_Prefer_PMINUB_for_stringop): Likewise.
73918         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
73919         bit_Prefer_PMINUB_for_stringop.
73921 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73923         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
73924         buffer64.
73925         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
73926         of casting of buffer.
73927         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
73928         buffer32 and buffer64.
73929         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
73930         writes instead of casting of buffer.
73931         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
73932         buffer32.
73933         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
73934         casting of buffer.
73936 2011-07-19  Andreas Schwab  <schwab@redhat.com>
73938         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
73940 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73942         * nscd/nscd.c (termination_handler): Don't do anything for a database
73943         if it has not yet been initialized.
73945 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73947         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73949 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73951         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73953 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73955         * po/nl.po: Update from translation team.
73956         * po/sv.po: Likewise.
73958 2011-07-16  Roland McGrath  <roland@hack.frob.com>
73960         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
73961         now disallowed by GCC.
73963         * configure.in (use-default-link): Default to yes if a test -shared
73964         link meets our qualifications.
73965         * configure: Regenerated.
73967         * config.make.in (output-format): New variable.
73968         * configure.in: Check for ld --print-output-format support.
73969         * configure: Regenerated.
73970         * Makerules ($(common-objpfx)format.lds)
73971         [$(output-format) != unknown]: Just use $(output-format),
73972         instead of the linker-script munging.
73974 2011-07-14  Roland McGrath  <roland@hack.frob.com>
73976         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
73977         of $(common-objpfx)shlib.lds.
73978         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
73980         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
73981         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
73983         * configure.in (-z relro check): Adjust test code to add a large
73984         writable data section after it.
73985         * configure: Regenerated.
73987 2011-07-11  Roland McGrath  <roland@hack.frob.com>
73989         * configure.in (-z relro check): Fix test code to make the variable
73990         truly const.
73991         * configure: Regenerated.
73993 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
73995         * nscd/nscd.h (struct traced_file): Define.
73996         (struct database_dyn): Remove inotify_descr, reset_res, and filename
73997         elements.  Add traced_files.
73998         (inotify_fd): Declare.
73999         (register_traced_file): Declare.
74000         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
74001         (inotify_fd): Export.
74002         (resolv_conf_descr): Remove.
74003         (nscd_init): Move inotify descriptor creation to main.
74004         Don't register files for notification here.
74005         (register_traced_file): New function.
74006         (invalidate_cache): Don't use reset_res to determine whether to call
74007         res_init, go through the list of registered files.
74008         (main_loop_poll): The inotify descriptors are now stored in the
74009         structures for the traced files.
74010         (main_loop_epoll): Likewise.
74011         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
74012         to __nss_disable_nscd.
74013         * nscd/cache.c (prune_cache): There is no single inotify descriptor
74014         for a database anymore.  Check the records for all the registered
74015         files instead.
74016         * nss/Makefile (libnss_files-routines): Add files-init.
74017         (libnss_db-routines): Add db-init.
74018         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
74019         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
74020         * nss/nss_db/db-init.c: New file.
74021         * nss/nss_files/files-init.c: New file.
74022         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
74023         __nss_lookup_function.
74024         (__nss_lookup_function): Call nss_load_library.
74025         (nss_load_all_libraries): New function.
74026         (__nss_disable_nscd): Take parameter with callback function for files
74027         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
74028         used for the cached services.
74029         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
74030         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
74031         options for features to all the files in nscd.
74033         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
74035 2011-07-10  Roland McGrath  <roland@hack.frob.com>
74037         * csu/elf-init.c (__libc_csu_init): Comment typo.
74039 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
74041         * po/pl.po: Update from translation team.
74042         * po/ja.po: Likewise.
74043         * po/ru.po: Likewise.
74044         * po/ko.po: Likewise.
74045         * po/fr.po: Likewise.
74047 2011-07-09  Roland McGrath  <roland@hack.frob.com>
74049         * configure.in (.ctors/.dtors header and trailer check):
74050         Use an empirical test on a built program.
74051         * configure: Regenerated.
74053         * configure.in (-z relro check): Use an empirical test on a built DSO.
74054         Detect, but do not require, on ia64.
74055         * configure: Regenerated.
74057         * configure.in (READELF): Find it with AC_CHECK_TOOL.
74058         Update tests that use readelf to use $READELF instead.
74059         * configure: Regenerated.
74061 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
74063         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
74064         if the result is not used.
74066 2011-07-05  Andreas Jaeger  <aj@suse.de>
74068         [BZ#9696]
74069         * stdlib/tst-strtod.c: Add testcase.
74071 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
74073         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
74074         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
74075         The latter has a higher limit.  Take additional parameter to pass to
74076         the new function.
74077         (__pathconf): Pass file to __statfs_link_max.
74078         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
74079         __statfs_link_max.
74080         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
74081         __statfs_link_max.
74083         [BZ #12868]
74084         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
74085         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74086         Handle Lustre.
74087         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
74088         (__statfs_filesize_max): Likewise.
74089         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
74091 2011-07-05  Andreas Jaeger  <aj@suse.de>
74093         * resolv/res_comp.c (dn_skipname): Remove unused variable.
74095 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
74097         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
74098         `status' variable.
74099         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
74100         Likewise.
74102 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
74104         * Makefile (strop-tests): Add strncat.
74105         * string/test-strncat.c: New file.
74107 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
74109         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
74111 2011-06-21  Andreas Jaeger  <aj@suse.de>
74113         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
74114         Copy rule from iconvdata/Makefile.
74116 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74118         [BZ #12922]
74119         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
74120         but no long options are defined, just return 'W'.
74122 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
74124         [BZ #9696]
74125         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
74127 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74129         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
74130         netgroups to read.
74131         (innetgr): Likewise.
74133 2011-07-05  Roland McGrath  <roland@hack.frob.com>
74135         * config.make.in (install_root): Default to $(DESTDIR).
74137 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
74139         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
74141 2011-07-02  Roland McGrath  <roland@hack.frob.com>
74143         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
74145         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
74146         containing directory rather than embedding absolute directory names.
74148         * scripts/check-local-headers.sh: Rewritten using awk.
74149         Match by word, not by line.  Print error messages for matches.
74150         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
74152         * Makerules [shlib-lds-flags empty]:
74153         ($(common-objpfx)libc_pic.opts): New target.
74154         ($(common-objpfx)libc_pic.os.clean): New target.
74155         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
74157         * config.make.in (OBJCOPY): New variable.
74158         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
74159         * configure: Regenerated.
74161         * config.make.in (use-default-link): New variable.
74162         * configure.in (use_default_link): Grok --with-default-link to set it.
74163         * configure: Regenerated.
74164         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
74165         (shlib-lds, shlib-lds-flags): Define to empty.
74167         * Makerules (shlib-lds): New variable.
74168         (shlib-lds-flags): New variable.
74169         (build-shlib, build-moduile, build-module-asneeded): Use it.
74170         ($(common-objpfx)libc.so): Use $(shlib-lds).
74171         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
74172         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
74174         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
74175         DT_FLAGS/DT_FLAGS_1 with zero flags.
74177         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74178         linker script munging.
74180 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
74182         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74183         as 128-bit value.
74184         * crypt/sha512.c (sha512_process_block): Perform total addition using
74185         128-bit if possible.
74186         (__sha512_finish_ctx): Likewise.
74187         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74188         as 64-bit value.
74189         * crypt/sha256.c (SWAP64): Define.
74190         (sha256_process_block): Perform total addition using 64-bit if
74191         possible.
74192         (__sha256_finish_ctx): Likewise.
74194 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
74196         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
74197         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74198         * nscd/hstcache.c (cache_addhst): Likewise.
74199         * nscd/grpcache.c (cache_addgr): Likewise.
74200         * nscd/aicache.c (addhstaiX): Likewise.
74201         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74203 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
74205         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74206         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74207         * nscd/hstcache.c (cache_addhst): Likewise.
74208         * nscd/grpcache.c (cache_addgr): Likewise.
74209         * nscd/aicache.c (addhstaiX): Likewise.
74211 2011-07-01  Andreas Schwab  <schwab@redhat.com>
74213         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
74214         domain only when needed.
74216 2011-06-30  Andreas Schwab  <schwab@redhat.com>
74218         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
74219         is always restored.
74221 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
74223         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
74224         are re-adding the entry.
74225         * nscd/servicescache.c (cache_addserv): Likewise.
74227 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
74229         * sysdeps/generic/dl-irel.h: fix protection against multiple
74230         inclusions.
74231         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
74233 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
74235         [BZ #12935]
74236         * malloc/memusage.sh: Fix quoting in message.
74237         * debug/xtrace.sh: Likewise.
74239         * configure.in: Remove support for --experimental-malloc option, make
74240         it the default.
74241         * config.make.in: Likewise.
74242         * malloc/Makefile: Likewise.
74244 2011-06-27  Andreas Schwab  <schwab@redhat.com>
74246         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
74247         two-byte characters.
74249 2011-06-27  Roland McGrath  <roland@hack.frob.com>
74251         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
74252         AC_CACHE_CHECK invocation.
74253         * configure: Regenerated.
74255         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
74257 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
74259         [BZ #12350]
74260         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
74261         bit from old_res_options.
74263         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
74265         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
74266         value type for setfct.
74268 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
74270         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74271         __gettimeofday instead of gettimeofday.
74273 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
74275         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
74277 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
74279         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
74281         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
74282         info.
74284 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74286         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74287         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74288         strcpy-sse2-unaligned strncpy-sse2-unaligned
74289         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
74290         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74291         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74292         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74293         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74294         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74295         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74296         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74297         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74298         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74299         (STRCPY): Support SSE2 and SSSE3 versions.
74301 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
74303         [BZ #12874]
74304         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74305         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74306         kernels which artificially limit size of requests.
74308 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74310         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74311         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74312         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74313         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74314         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74315         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74316         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74317         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74318         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74319         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74320         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74321         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74322         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74323         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74324         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74325         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74326         Enable unaligned load optimization for Intel Core i3, i5 and i7
74327         processors.
74328         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74329         Define.
74330         (index_Fast_Unaligned_Load): Define.
74331         (HAS_FAST_UNALIGNED_LOAD): Define.
74333 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
74335         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74337 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74339         [BZ #12907]
74340         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74341         until it is clear that the information is realy needed.
74342         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74344 2011-06-22  Andreas Schwab  <schwab@redhat.com>
74346         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74348 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74350         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74351         /sys/devices/system/cpu/online if it is usable.
74353         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74354         reading the information from the /proc filesystem to once a second.
74356 2011-06-21  Andreas Jaeger  <aj@suse.de>
74358         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74359         NULL after inclusion of kernel headers.
74361 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
74363         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74364         calls to internal_setent.
74366         [BZ #12885]
74367         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74368         addresses using gethostbyname4_r ignore IPv4 addresses.
74370         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
74371         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
74373         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
74375 2011-06-20  David S. Miller  <davem@davemloft.net>
74377         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
74378         inclusions.
74379         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
74381         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
74382         (elf_irel): Use it.
74383         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
74384         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
74385         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
74386         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
74387         * sysdeps/x86_64/dl-irel.h: Likewise.
74389         * elf/dl-runtime.c: Use elf_ifunc_invoke.
74390         * elf/dl-sym.c: Likewise.
74392 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74394         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
74395         need to dereference resplen2.
74397 2011-06-14  Andreas Schwab  <schwab@redhat.com>
74399         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
74401 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74403         * Makeconfig: Define vardbdir and inst_vardbdir.
74404         * nss/Makefile: Add rules to install db-Makefile.
74406         * nss/nss_db/db-XXX.c: Cleanup.
74408         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
74409         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
74410         GLIBC_PRIVATE.
74411         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
74412         * nss/makedb.c: Implement -g option to specify that value strings
74413         are generated and should not be added to table iterated over for
74414         get*ent calls.
74415         * nss/nss_db/db-initgroups.c: New file.
74417         * nss/getent.c: Add support for initgroups lookups through getgrouplist
74418         interface.
74420         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
74421         (internal_getgrouplist): Adjust to name change.
74422         Update use_initgroups_entry if this is not the first call.
74423         * nss/databases.def: Add initgroups entry.
74425         * nss/makedb.c (compute_tables): Check result of multiple hash table
74426         sizes to minimize maximum chain length.
74428 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
74430         * Versions.def: Add entry for libnss_db.
74431         * shlib-versions: Likewise.
74432         * nss/Makefile: Add rules to build libnss_db.
74433         * nss/Versions: Add libnss_db information.  Organize libnss_files
74434         entries better.
74435         * nss/db-Makefile: Add gshadow support.  Change rules for the new
74436         makedb progra.  Some minor improvements to generate smaller files.
74437         * nss/nss_db/nss_db.h: Move NSS database header data structures to
74438         here from...
74439         * nss/makedb.c: ...here.
74440         Improve database format to be smaller and require less memory at
74441         runtime.
74442         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
74443         db anymore.
74444         * nss/nss_db/db-netgrp.c: Likewise.
74445         * nss/nss_db/db-open.c: Likewise.
74446         * nss/nss_files/flies-XXX.x: Adjust comments.
74447         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
74448         * nss/nss_files/files-grp.c: Likewise.
74449         * nss/nss_files/files-hosts.c: Likewise.
74450         * nss/nss_files/files-network.c: Likewise.
74451         * nss/nss_files/files-proto.c: Likewise.
74452         * nss/nss_files/files-pwd.c: Likewise.
74453         * nss/nss_files/files-rpc.c: Likewise.
74454         * nss/nss_files/files-service.c: Likewise.
74455         * nss/nss_files/files-sgrp.c: Likewise.
74456         * nss/nss_files/files-spwd.c: Likewise.
74457         * nss/nss_db/db-alias.c: Removed.
74458         * nss/nss_db/dummy-db.h: Removed.
74460 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
74462         * nss/makedb.c: Rewritten to not use database library.
74463         * nss/Makefile: Update to build new makedb program.
74465 2011-06-14  Andreas Jaeger  <aj@suse.de>
74467         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
74468         memset declaration.
74470 2011-06-10  Andreas Schwab  <schwab@redhat.com>
74472         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
74473         tmpbuf.
74475 2011-06-10  Roland McGrath  <roland@hack.frob.com>
74477         * Makerules (shlib.lds): Fail if the linker script comes out empty.
74478         * elf/Makefile ($(objpfx)ld.so): Likewise.
74480         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
74481         Don't list ld.so twice in dependencies.
74483         * posix/bug-regex31.c: Include <stdlib.h>.
74485         * nscd/hstcache.c (cache_addhst): Remove unused variable.
74487         * nis/nss_compat/compat-spwd.c
74488         (getspent_next_nss_netgr): Remove unused variable.
74489         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
74491         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
74492         nonmembers" output to use the right array.
74494         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
74496         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
74498         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
74499         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
74500         * catgets/gencat.c (read_input_file): Likewise.
74501         * locale/programs/locarchive.c (enlarge_archive): Likewise.
74503         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
74504         variable definition inside #if's controlling its use.
74506         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
74508         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
74510         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
74512         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
74513         unreachable code.
74515         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
74517         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
74518         * configure: Regenerated.
74520         * Makerules: Revert last change.
74521         * elf/Makefile: Likewise.
74523 2011-06-09  Roland McGrath  <roland@hack.frob.com>
74525         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
74526         * elf/Makefile ($(objpfx)librtld.os): Likewise.
74527         (reloc-link): Likewise.
74529 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
74531         * elf/Makefile: Add rules to build pldd.
74532         * elf/pldd.c: New file.
74533         * elf/pldd-xx.c: New file.
74535 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
74537         * version.h: Update for 2.15 development version.
74539 2011-06-07  David S. Miller  <davem@davemloft.net>
74541         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
74542         ifuncs.
74543         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
74544         elf_machine_lazy_rel): Likewise.
74545         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
74546         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
74547         elf_machine_lazy_rel): Likewise.
74548         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
74549         dl_hwcap via passed in argument.
74550         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
74551         Likewise.
74553 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74555         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
74557 2011-06-06  Roland McGrath  <roland@hack.frob.com>
74559         [BZ #12849]
74560         * manual/fdl-1.1.texi: New file, verbatim from:
74561         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
74562         * manual/lgpl-2.1.texi: New file, verbatim from:
74563         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
74564         * manual/Makefile (licenses): New variable, list those new file names.
74565         (texis): Use it.
74566         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
74568         * manual/fdl.texi: File removed.
74569         * manual/lesser.texi: File removed.
74570         * manual/libc.texinfo (Copying, Documentation License):
74571         Use new @include file names, put @appendix directive before @include.
74573 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
74575         [BZ #12841]
74576         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
74577         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
74578         (mq_open): Add __NTH.
74580 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
74582         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74583         Assume Intel Core i3/i5/i7 processor if AVX is available.
74585 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74587         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74588         typo.
74590 2011-05-31  Andreas Schwab  <schwab@redhat.com>
74592         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
74593         memory.  Use alloca_account.  Fix memory leak when retrying.
74595 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74597         * version.h (RELEASE): Bump for 2.14 release.
74598         * include/features.h (__GLIBC_MINOR__): Bump to 14.
74600         * config.make.in (RANLIB): Remove entry.
74602 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
74604         * po/Makefile (po-sed-cmd): Add ksh to extensions.
74605         (libc.pot): Work around missing support for .ksh extension in xgettext.
74607         [BZ #12684]
74608         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
74609         if both request failed.
74610         (send_dg): In case of server errors clear resplen or *resplen2.
74612         [BZ #12454]
74613         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
74614         when there are multiple maps.
74615         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
74616         (_dl_fini): Remove test here.
74618         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
74620 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
74622         [BZ #12350]
74623         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
74624         bit from old_res_options.
74625         (gaih_inet): Likewise.
74627         [BZ #11099]
74628         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
74629         as signed.
74631         * resolv/res_init.c (res_setoptions): Make the code more compact.
74633         [BZ #11558]
74634         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
74635         set RES_USEVC.
74637         [BZ #11634]
74638         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
74640         * malloc/malloc.h: Mark malloc hook variables as deprecated.
74642         [BZ #11781]
74643         * malloc/malloc.h: Declare malloc hook variables as volatile.
74645         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
74646         in last patch.
74648         [BZ #11799]
74649         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
74650         raise in the comment.
74651         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74652         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74653         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
74655 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
74657         [BZ #12811]
74658         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
74659         grow the buffers more if it already has to be sufficient.
74660         (build_wcs_upper_buffer): Likewise.
74661         * posix/regexec.c (check_matching): Likewise.
74662         (clean_state_log_if_needed): Likewise.
74663         (extend_buffers): Don't enlarge buffers beyond size of the input
74664         buffer.
74665         Patches mostly by Emil Wojak <emil@wojak.eu>.
74666         * posix/bug-regex32.c: New file.
74667         * posix/Makefile (tests): Add bug-regex32.
74669         * locale/findlocale.c (_nl_find_locale): Return right away if
74670         _nl_explode_name failed.
74671         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
74673         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
74675         * debug/xtrace.sh: Unify messages.
74676         * malloc/memusage.sh: Likewise.
74678         [BZ #12813]
74679         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
74680         time symbol from vDSO.  Substitute with vsyscall if not available.
74681         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
74682         __vdso_time.
74684         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
74685         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
74686         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
74687         Add sendmmsg and internal_sendmmsg.
74688         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
74689         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
74690         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
74692         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
74693         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
74694         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
74696 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
74698         [BZ #12813]
74699         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
74700         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
74701         available.
74702         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
74703         __vdso_getcpu.
74705         [BZ #12814]
74706         * iconvdata/Makefile (tests): Add bug-iconv9.
74707         * iconvdata/bug-iconv9.c: New file.
74709 2011-05-27  Andreas Schwab  <schwab@redhat.com>
74711         [BZ #12814]
74712         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
74714 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
74716         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74717         (struct user_regs_struct): Change intcs field back to cs.
74719 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
74721         * po/ja.po: Update from translation team.
74723 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
74725         [BZ #12795]
74726         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
74727         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
74729 2011-05-20  Andreas Schwab  <schwab@redhat.com>
74731         * stdlib/longlong.h: Update from GCC.
74733 2011-05-23  Andreas Schwab  <schwab@redhat.com>
74735         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
74736         parameter name.
74737         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
74738         Add parameter name.
74739         (__sysconf): Pass it down.
74741 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
74743         [BZ #12671]
74744         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
74745         some situations.
74746         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
74747         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
74748         add in in __libc_use_alloca calls.  Adjust callers.
74749         (glob): Use malloc in some situations.
74751         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
74752         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
74753         pltexit.
74755 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
74757         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
74758         and CLOCK_BOOTTIME_ALARM.
74760         [BZ #12782]
74761         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
74762         is returned.
74764         * string/_strerror.c (__strerror_r): Print negative errors as signed
74765         numbers.
74767         [BZ #12777]
74768         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
74769         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
74770         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
74772         * configure.in: Fix typo in redirection and correct removal of test
74773         files in two cases.
74775         [BZ #12788]
74776         * locale/setlocale.c (new_composite_name): Fix test to check for
74777         identical name of all categories.
74779         [BZ #12792]
74780         * libio/filedoalloc.c (local_isatty): New function.
74781         (_IO_file_doallocate): Use local_isatty.
74782         * stdio-common/perror.c (perror): In case a new stream is used
74783         forward the stream error.
74784         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
74785         error flag.
74787 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
74789         [BZ #11884]
74790         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
74791         alloca.
74792         * include/alloca.h (extend_alloca_account): Define.
74794         [BZ #11857]
74795         * posix/regex.h: Fix comments with documentation of user-accessible
74796         fields after compilation and describe correct free'ing of pattern
74797         after re_compile_pattern.
74798         Patch by Reuben Thomas <rrt@sc3d.org>.
74800 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
74802         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
74803         and -mno-altivec to prevent the compiler from using Altivec and/or
74804         VSX instructions when the corresponding registers are not available.
74806 2011-05-19  Andreas Schwab  <schwab@redhat.com>
74808         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
74810 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
74812         * libio/freopen.c (freopen): Use __dup2, not dup2.
74813         * libio/freopen64.c (freopen64): Likewise.
74815 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74817         [BZ #12775]
74818         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
74819         * math/Makefile (tests): Add test-powl.
74820         (CFLAGS-test-powl.c): Define.
74821         * math/test-powl.c: New file.
74823 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74825         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
74827 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
74829         [BZ #11837]
74830         * iconvdata/gb18030.c: Update to GB18020-2005.
74832 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
74834         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
74835         RE_SYNTAX_POSIX_AWK): Update to match recent development.
74836         Patch by Aharon Robbins <arnold@skeeve.com>.
74838         [BZ #11892]
74839         * stdlib/putenv.c (putenv): Don't always create copy of the variable
74840         on the stack.
74842         [BZ #11895]
74843         * misc/pselect.c (__pselect): Handle timeout value errors hidden
74844         through underflows.
74846         [BZ #12766]
74847         * misc/error.c (error_at_line): Ensure file_name and old_file_name
74848         point to strings before performing equality test for error_one_per_line
74849         mode.
74851         [BZ #11697]
74852         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
74854         [BZ #11820]
74855         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74856         (struct user_fpregs_struct): Avoid __uint*_t types.
74858         [BZ #6420]
74859         * malloc/mtrace.c (tr_where): Add additional parameter to point to
74860         symbol info.  Use it instead of calling _dl_addr locally.
74861         (lock_and_info): New function.
74862         (tr_freehook): Call lock_and_info and pass symbol info as additional
74863         parameter to tr_where.
74864         (tr_mallochook): Likewise.
74865         (tr_reallochook): Likewise.
74866         (tr_memalignhook): Likewise.
74868         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
74869         used and couldn't be at all thread-safe.
74871 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
74873         * libio/freopen.c (freopen): Don't close old file descriptor
74874         before the new one is opened.  Instead dup the new file descriptor
74875         to the old one after the new stream is created.
74876         * libio/freopen64.c (freopen64): Likewise.
74877         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
74878         * libio/fileops.c (_IO_new_file_close_it): Handle new
74879         _IO_FLAGS2_NOCLOSE flag.
74880         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
74881         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
74882         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
74883         _IO_FLAGS2_NOCLOSE flag.
74884         * include/unistd.h: Add hidden_proto for dup3.
74885         Define __have_dup3.
74886         * io/dup3.c: Define hidden symbol.
74887         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
74889         [BZ #7101]
74890         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
74891         when an incomplete long option is used.
74892         * posix/tst-getopt_long1.c: New file.
74893         * posix/Makefile (tests): Add tst-getopt_long1.
74895         [BZ #10138]
74896         * scripts/config.guess: Update from autoconf-2.68.
74897         * scripts/config.sub: Likewise.
74899         [BZ #10157]
74900         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
74901         tests into ...
74902         (has_cpuclock): ...this.  New function.
74903         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
74904         macro here based on has_cpuclock code.
74906         [BZ #10149]
74907         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74908         First byte (not low byte) is now always NUL.
74909         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
74911         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74912         Use non-cancelable interfaces.
74914         [BZ #9809]
74915         * locale/iso-639.def: Add entry for Sorani.
74917         [BZ #11901]
74918         * include/stdlib.h: Move include protection to the right place.
74919         Define abort_msg_s.  Declare __abort_msg with it.
74920         * stdlib/abort.c (__abort_msg): Adjust type.
74921         * assert/assert.c (__assert_fail_base): New function.  Majority
74922         of code from __assert_fail.  Allocate memory for __abort_msg with
74923         mmap.
74924         (__assert_fail): Now call __assert_fail_base.
74925         * assert/assert-perr.c: Remove bulk of implementation.  Use
74926         __assert_fail_base.
74927         * include/assert.hL Declare __assert_fail_base.
74928         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
74929         mmap.
74930         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
74932 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
74934         [BZ #11952]
74935         [BZ #12453]
74936         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
74937         until all modules are registered in the DTV.
74938         * elf/Makefile: Add rules to build and run tst-tls19.
74939         * elf/tst-tls19.c: New file.
74940         * elf/tst-tls19mod1.c: New file.
74941         * elf/tst-tls19mod2.c: New file.
74942         * elf/tst-tls19mod3.c: New file.
74943         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
74945         [BZ #12083]
74946         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
74947         correctly.
74949         [BZ #12601]
74950         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
74951         two-byte sequence errors.
74952         * iconvdata/Makefile (tests): Add bug-iconv8.
74953         * iconvdata/bug-iconv8.c: New file.
74955         [BZ #12626]
74956         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
74957         buf2 definition.
74959         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
74961         [BZ #12432]
74962         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
74963         (dummy_getcfa): New function.
74964         (init): Get _Unwind_GetCFA address, use dummy if not found.
74965         (backtrace_helper): In recursion check, also check whether CFA changes.
74966         (__backtrace): Completely initialize arg.
74968         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
74969         storing incomplete byte sequence in state object.  Avoid testing for
74970         guaranteed too small input if we know there is enough data available.
74972 2011-05-11  Andreas Schwab  <schwab@redhat.com>
74974         * Makeconfig (+link-pie): Indent.
74975         * Rules (binaries-pie): Define if $(have-fpie) and
74976         $(build-shared).
74977         (binaries-shared): Also filter out $(binaries-pie).
74978         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
74979         * nscd/Makefile (others-pie): Add nscd.
74980         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
74981         ($(objpfx)nscd): Remove command override.
74982         * login/Makefile (others-pie): Add pt_chown.
74983         ($(objpfx)pt_chown): Remove command override.
74984         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
74985         remove command overrides.
74987 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
74989         * libio/tst_putwc.c: Fix error messages.
74991         [BZ #12724]
74992         * libio/fileops.c (_IO_new_file_close_it): Always flush when
74993         currently writing and seek to current position when not.
74994         * libio/Makefile (tests): Add bug-fclose1.
74995         * libio/bug-fclose1.c: New file.
74997 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
74999         [BZ #12511]
75000         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
75001         don't set DF_1_NODELETE here.
75002         (do_lookup_x): When entering new entry test for copy relocation
75003         and if necessary set DF_1_NODELETE flag.
75004         * elf/tst-unique4.cc: New file.
75005         * elf/tst-unique4.h: New file.
75006         * elf/tst-unique4lib.cc: New file.
75007         * elf/Makefile: Add rules to build and run tst-unique4.
75008         Patch by Piotr Bury <pbury@goahead.com>.
75010 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
75012         [BZ #12052]
75013         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
75015         [BZ #12625]
75016         * misc/mntent_r.c (addmntent): Flush the stream after the output
75018         [BZ #12393]
75019         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
75020         (is_trusted_path_normalize): Skip initial colon.  Append slash
75021         to empty buffer.  Duplicate is_trusted_path code but allow
75022         constructed patch to be prefix.
75023         (is_dst): Allow $ORIGIN followed by /.
75024         (_dl_dst_substitute): Correct clearing of check_for_trusted.
75025         Correct testing of result of is_trusted_path_normalize
75026         (decompose_rpath): Fix warning.
75028 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
75030         [BZ #11257]
75031         * grp/initgroups.c (internal_getgrouplist): When we found the service
75032         list through the initgroups entry in nsswitch.conf do not always
75033         continue on a successful lookup.  Don't always use the
75034         __nss_group_database value if it is set.
75035         * nss/nsswitch.conf (initgroups): Change action for successful db
75036         lookup to continue for compatibility.
75038 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
75040         [BZ #11532]
75041         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
75042         and CP774 modules.
75043         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
75044         and CP774 modules.
75045         * iconvdata/tst-tables.sh: Likewise.
75046         * iconvdata/cp770.c: New file.
75047         * iconvdata/cp771.c: New file.
75048         * iconvdata/cp772.c: New file.
75049         * iconvdata/cp773.c: New file.
75050         * iconvdata/cp774.c: New file.
75051         * iconvdata/testdata/CP770: New file.
75052         * iconvdata/testdata/CP770..UTF8: New file.
75053         * iconvdata/testdata/CP771: New file.
75054         * iconvdata/testdata/CP771..UTF8: New file.
75055         * iconvdata/testdata/CP772: New file.
75056         * iconvdata/testdata/CP772..UTF8: New file.
75057         * iconvdata/testdata/CP773: New file.
75058         * iconvdata/testdata/CP773..UTF8: New file.
75059         * iconvdata/testdata/CP774: New file.
75060         * iconvdata/testdata/CP774..UTF8: New file.
75062         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
75063         END CHARMAP line.
75064         * iconvdata/gen-8bit-gap.sh: Likewise.
75065         * iconvdata/gen-8bit.sh: Likewise.
75067         * locale/iso-639.def: Add ary entry.
75069         [BZ #11258]
75070         * locale/C-translit.h.in: Add U20A1 transliteration.
75072         [BZ #12178]
75073         * locale/iso-639.def: Add wae entry.
75074         Patch by Kevin Bortis <bortis@translate-wae.ch>.
75076         [BZ #12545]
75077         * locale/programs/localedef.c (construct_output_path): Use ssize_t
75078         for n.
75080         [BZ #12711]
75081         * locale/C-translit.h.in: Add entry for U20B9.
75082         Patch by pravin.d.s@gmail.com.
75084 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
75086         [BZ #12713]
75087         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
75088         ENAMETOOLONG use generic getcwd.
75089         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
75090         in rtld.  Use *stat64.
75091         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
75092         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
75093         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
75094         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
75095         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
75096         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
75097         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
75098         __fstatat64 macros.
75099         * include/dirent.h: Add libc_hidden_proto for rewinddir.
75100         * dirent/rewinddir.c: Add libc_hidden_def.
75101         * sysdeps/mach/hurd/rewinddir.c: Likewise.
75102         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
75104         * include/dirent.h (__alloc_dir): Add flags parameter.
75105         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
75106         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
75107         __alloc_dir.
75108         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
75109         from fdopendir if O_CLOEXEC is already set.
75111 2011-03-15  Alan Modra  <amodra@gmail.com>
75113         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
75114         l_tls_firstbyte_offset non-zero.  Save padding offset in
75115         l_tls_firstbyte_offset for later use.
75116         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
75117         freeing static tls block.
75119 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
75121         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
75122         where #ifdef was intended.  The intent is to prevent ARG_MAX from
75123         being defined by the kernel headers.
75125 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
75127         [BZ #12734]
75128         * resolv/resolv.h: Define RES_NOTLDQUERY.
75129         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
75130         no-tld-query and set RES_NOTLDQUERY.
75131         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
75132         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
75133         modern BIND to search name as TLD unless forbidden.
75135 2011-05-07  Petr Baudis  <pasky@suse.cz>
75136             Ulrich Drepper  <drepper@gmail.com>
75138         [BZ #12393]
75139         * elf/dl-load.c (fillin_rpath): Move trusted path check...
75140         (is_trusted_path): ...to here.
75141         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
75142         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
75143         using is_trusted_path_normalize() in setuid scripts.
75145 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
75147         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
75148         __BEGIN/__END_DECLS.
75150 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
75152         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
75153         NSS_STATUS_NOTFOUND if no record was found.
75155 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75157         * sunrpc/Makefile (headers): Add rpc/netdb.h.
75158         (headers-not-in-tirpc): Remove rpc/netdb.h
75159         * resolv/netdb.h: Revert last change.
75161 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75163         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
75164         circular dependency between libgcc.a and libc.a.
75166 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75168         * resolv/netdb.h: Don't include <rpc/netdb.h>.
75169         * nis/Makefile: Don't install rpcsvc/*.
75170         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
75171         instead of <rpc/types.h>.
75172         (MAXHOSTNAMELEN): Define.
75174 2011-05-03  Andreas Schwab  <schwab@redhat.com>
75176         * elf/ldconfig.c (add_dir): Don't crash on empty path.
75178 2011-04-28  Maciej Babinski  <mbabinski@google.com>
75180         [BZ #12714]
75181         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75182         gethostbyname4_r when IPv6 results are possible.
75184 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
75186         [BZ #12723]
75187         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75188         _PC_PIPE_BUF handling.
75190 2011-04-30  Bruno Haible  <bruno@clisp.org>
75192         [BZ #12717]
75193         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75194         * resolv/netdb.h (getnameinfo): Change type of flags parameter
75195         to 'int'.
75196         * inet/getnameinfo.c (getnameinfo): Likewise.
75198 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
75200         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75201         to groups setting in database lookup.
75202         * nss/nsswitch.conf: Add initgroups entry.
75204 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
75206         [BZ #12685]
75207         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75208         mode string.
75209         Patch by Eric Blake <eblake@redhat.com>.
75211 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
75213         * sunrpc/Makefile (need-export-routines): Add svc_run.
75214         (routines): Remove svc_run.
75215         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
75216         * sunrpc/clnt_perr.c (clnt_perrno): Export.
75217         * sunrpc/svc_run.c (svc_run): Likewise.
75218         * sunrpc/svc_udp.c (svcudp_create): Likewise.
75220 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
75222         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
75223         problem in reallocation in last patch.
75225 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
75227         * sunrpc/Makefile: Move inclusion of Rules.
75229 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75231         * nss/nss_files/files-initgroups.c: New file.
75232         * nss/Makefile (libnss_files-routines): Add files-initgroups.
75233         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
75234         _nss_files_initgroups_dyn.
75236 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
75238         * elf/elf.h (R_ARM_IRELATIVE): Define.
75240 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75242         * po/ru.po: Update from translation team.
75244 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75246         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
75247         dependencies.
75249 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
75251         [BZ #12653]
75252         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
75253         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
75254         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75255         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
75256         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
75258 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
75260         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
75261         differing bytes.
75262         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
75263         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
75264         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75266 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75268         [BZ #12420]
75269         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
75270         storing it.
75271         * stdlib/bug-getcontext.c: New file.
75272         * stdlib/Makefile: Add rules to build and run bug-getcontext.
75274 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75276         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
75277         instructions into .machine "z9-109".
75278         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
75279         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
75281 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75283         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
75284         between environment variables and auxiliary vector.
75286 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
75288         * Makefile: Add rules to build linkobj/libc.so.
75289         * include/libc-symbols.h: Define libc_hidden_nolink.
75290         * include/rpc/auth.h: Mark functions which are to be hidden.
75291         * include/rpc/auth_des.h: Likewise.
75292         * include/rpc/auth_unix.h: Likewise.
75293         * include/rpc/clnt.h: Likewise.
75294         * include/rpc/des_crypt.h: Likewise.
75295         * include/rpc/key_prot.h: Likewise.
75296         * include/rpc/pmap_clnt.h: Likewise.
75297         * include/rpc/pmap_prot.h: Likewise.
75298         * include/rpc/pmap_rmt.h: Likewise.
75299         * include/rpc/rpc_msg.h: Likewise.
75300         * include/rpc/svc.h: Likewise.
75301         * include/rpc/svc_auth.h: Likewise.
75302         * include/rpc/xdr.h: Likewise.
75303         * nis/Makefile: Link all DSOs against linkobj/libc.so.
75304         * nss/Makefile: Likewise.
75305         * sunrpc/Makefile: Don't install headers.  Build library with normal
75306         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
75307         * sunrpc/auth_des.c: Hide exported symbols by default, export some
75308         for the compat linking library.  Remove use of INTDEF/INTUSE.
75309         * sunrpc/auth_none.c: Likewise.
75310         * sunrpc/auth_unix.c: Likewise.
75311         * sunrpc/authdes_prot.c: Likewise.
75312         * sunrpc/authuxprot.c: Likewise.
75313         * sunrpc/clnt_gen.c: Likewise.
75314         * sunrpc/clnt_perr.c: Likewise.
75315         * sunrpc/clnt_raw.c: Likewise.
75316         * sunrpc/clnt_simp.c: Likewise.
75317         * sunrpc/clnt_tcp.c: Likewise.
75318         * sunrpc/clnt_udp.c: Likewise.
75319         * sunrpc/clnt_unix.c: Likewise.
75320         * sunrpc/des_crypt.c: Likewise.
75321         * sunrpc/des_soft.c: Likewise.
75322         * sunrpc/get_myaddr.c: Likewise.
75323         * sunrpc/key_call.c: Likewise.
75324         * sunrpc/key_prot.c: Likewise.
75325         * sunrpc/netname.c: Likewise.
75326         * sunrpc/pm_getmaps.c: Likewise.
75327         * sunrpc/pm_getport.c: Likewise.
75328         * sunrpc/pmap_clnt.c: Likewise.
75329         * sunrpc/pmap_prot.c: Likewise.
75330         * sunrpc/pmap_prot2.c: Likewise.
75331         * sunrpc/pmap_rmt.c: Likewise.
75332         * sunrpc/publickey.c: Likewise.
75333         * sunrpc/rpc_cmsg.c: Likewise.
75334         * sunrpc/rpc_common.c: Likewise.
75335         * sunrpc/rpc_dtable.c: Likewise.
75336         * sunrpc/rpc_prot.c: Likewise.
75337         * sunrpc/rpc_thread.c: Likewise.
75338         * sunrpc/rtime.c: Likewise.
75339         * sunrpc/svc.c: Likewise.
75340         * sunrpc/svc_auth.c: Likewise.
75341         * sunrpc/svc_authux.c: Likewise.
75342         * sunrpc/svc_raw.c: Likewise.
75343         * sunrpc/svc_run.c: Likewise.
75344         * sunrpc/svc_simple.c: Likewise.
75345         * sunrpc/svc_tcp.c: Likewise.
75346         * sunrpc/svc_udp.c: Likewise.
75347         * sunrpc/svc_unix.c: Likewise.
75348         * sunrpc/svcauth_des.c: Likewise.
75349         * sunrpc/xcrypt.c: Likewise.
75350         * sunrpc/xdr.c: Likewise.
75351         * sunrpc/xdr_array.c: Likewise.
75352         * sunrpc/xdr_float.c: Likewise.
75353         * sunrpc/xdr_intXX_t.c: Likewise.
75354         * sunrpc/xdr_mem.c: Likewise.
75355         * sunrpc/xdr_rec.c: Likewise.
75356         * sunrpc/xdr_ref.c: Likewise.
75357         * sunrpc/xdr_sizeof.c: Likewise.
75358         * sunrpc/xdr_stdio.c: Likewise.
75360 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
75362         [BZ #12650]
75363         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75364         * sysdeps/ia64/dl-tls.h: Likewise.
75365         * sysdeps/powerpc/dl-tls.h: Likewise.
75366         * sysdeps/s390/dl-tls.h: Likewise.
75367         * sysdeps/sh/dl-tls.h: Likewise.
75368         * sysdeps/sparc/dl-tls.h: Likewise.
75369         * sysdeps/x86_64/dl-tls.h: Likewise.
75370         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
75372 2011-03-14  Andreas Schwab  <schwab@redhat.com>
75374         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
75375         rpath element also skip the following colon.
75376         (expand_dynamic_string_token): Add is_path parameter and pass
75377         down to DL_DST_REQUIRED and _dl_dst_substitute.
75378         (decompose_rpath): Call expand_dynamic_string_token with
75379         non-zero is_path.  Ignore empty rpaths.
75380         (_dl_map_object_from_fd): Call expand_dynamic_string_token
75381         with zero is_path.
75383 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
75385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75386         Make cancelable.
75388 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
75390         [BZ #12655]
75391         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
75392         Patch by Filipe David Manana <fdmanana@apache.org>.
75394 2011-04-07  Andreas Schwab  <schwab@redhat.com>
75396         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
75397         Maintain aligned stack.
75398         (CHECK_RSP): Remove unused macro.
75400 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
75402         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
75403         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
75405 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
75407         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
75409         * include/features.h: Mention __USE_XOPEN2K8 in comment.
75411 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
75413         [BZ #12518]
75414         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
75415         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
75416         * sysdeps/x86_64/memmove.c: New file.
75417         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
75418         (memcpy): Renamed to ...
75419         (__new_memcpy): This.
75420         (memcpy): Provide GLIBC_2_14 memcpy.
75421         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
75422         (memcpy): Provide GLIBC_2_2_5 memcpy.
75424 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75426         [BZ #12631]
75427         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
75429 2011-03-30  Andreas Schwab  <schwab@redhat.com>
75431         * misc/syncfs.c: New file.
75432         * misc/Makefile (routines): Add syncfs.
75433         * posix/unistd.h: Declare syncfs.
75434         * sysdeps/unix/syscalls.list: Add syncfs.
75436 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75438         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
75439         open_by_handle_at.
75440         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75441         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75442         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75443         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75444         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75445         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
75446         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75448 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75450         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
75451         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75452         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
75453         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75454         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75455         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75456         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75458         * io/Makefile: Compile fallocate.c, fallocate64.c, and
75459         sync_file_range.c with -fexceptions.
75460         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
75461         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
75462         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
75463         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
75464         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
75465         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75466         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
75467         sync_file_range as cancellation point
75468         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
75469         now a wrapper around __call_sync_file_range with cancellation handling.
75470         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
75471         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
75472         function name to __call_sync_file_range.
75473         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
75474         Add call_sync_file_range.
75476 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75478         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75479         bits/timex.h.
75481 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75483         * iconv/iconv.h: Fix typo in comment.
75484         * io/fcntl.h: Likewise.
75485         * libio/stdio.h: Likewise.
75486         * posix/spawn.h: Likewise.
75487         * posix/unistd.h: Likewise.
75488         * stdlib/stdlib.h: Likewise.
75489         * time/time.h: Likewise.
75490         * wcsmbs/wchar.h: Likewise.
75492         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
75493         open_by_handle): Add.
75494         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
75495         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
75496         Augment a few comments.
75497         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75498         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75499         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75500         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75501         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75502         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
75503         open_by_handle.
75505         * io/fcntl.h (AT_EMPTY_PATH): Define.
75507 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
75509         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
75510         * sysdeps/unix/sysv/linux/bits/time.h: New file.
75511         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
75512         to...
75513         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
75514         * Versions.def: Add GLIBC_2.14.
75515         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
75516         Export.
75518 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
75520         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
75521         round counter.
75522         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75524 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75526         [BZ #12597]
75527         * string/test-strncmp.c (do_page_test): New function.
75528         (check2): Likewise.
75529         (test_main): Call check2.
75530         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
75532 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
75534         [BZ #12587]
75535         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
75536         Handle cache information in CPU leaf 4.
75537         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75539 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
75541         [BZ #12583]
75542         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
75543         character representation.
75544         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
75546 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
75548         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
75549         END(__isnan) to END(__isnanf) to match function entry point/label
75550         EALIGN(__isnanf,...).
75552 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
75554         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
75556 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
75558         [BZ #12510]
75559         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
75560         copy from the symbol referenced in the relocation to initialize the
75561         used variable.
75562         Patch by Piotr Bury <pbury@goahead.com>.
75563         * elf/Makefile: Add rules to build and tst-unique3.
75564         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
75565         * elf/tst-unique3.cc: New file.
75566         * elf/tst-unique3.h: New file.
75567         * elf/tst-unique3lib.cc: New file.
75568         * elf/tst-unique3lib2.cc: New file.
75570         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
75572 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
75574         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
75575         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
75576         to _start.
75578 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
75580         * elf/dl-load.c (_dl_map_object): If we are looking for the first
75581         to-be-loaded object along a path to loader is ld.so.
75583 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75584             Ulrich Drepper  <drepper@gmail.com>
75586         * sysdeps/x86_64/memset.S: After aligning destination, code
75587         branches to different locations depending on the value of
75588         misalignment, when multiarch is enabled. Fix this.
75590 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75592         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
75593         Set _x86_64_preferred_memory_instruction for AMD processsors.
75594         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75595         Set bit_Prefer_SSE_for_memop for AMD processors.
75597 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
75599         * libio/fmemopen.c (fmemopen): Optimize a bit.
75601 2011-03-03  Andreas Schwab  <schwab@redhat.com>
75603         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
75605 2011-03-03  Roland McGrath  <roland@redhat.com>
75607         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
75609 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
75611         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
75612         __bzero_ultra1 instead of __memset_ultra1.
75614 2011-02-23  Andreas Schwab  <schwab@redhat.com>
75615             Ulrich Drepper  <drepper@gmail.com>
75617         [BZ #12509]
75618         * include/link.h (struct link_map): Add l_orig_initfini.
75619         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
75620         returning unsuccessfully.
75621         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
75622         close of a file loaded at startup, restore the original l_initfini
75623         list.
75624         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
75625         list, store the pointer.
75626         * elf/Makefile ($(objpfx)noload-mem): New rule.
75627         (noload-ENV): Define.
75628         (tests): Add $(objpfx)noload-mem.
75629         * elf/noload.c: Include <memcheck.h>.
75630         (main): Call mtrace.  Close all opened handles.
75632 2011-02-17  Andreas Schwab  <schwab@redhat.com>
75634         [BZ #12454]
75635         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
75636         dependencies are missing.
75638 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75640         Fix __if_freereq crash: Unlike the generic version which uses free,
75641         Hurd needs munmap.
75642         * sysdeps/mach/hurd/ifreq.h: New file.
75644 2011-01-27  Petr Baudis  <pasky@suse.cz>
75645             Ulrich Drepper  <drepper@gmail.com>
75647         [BZ 12445]#
75648         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
75649         to extend_alloca().
75650         * stdio-common/bug23.c: New file.
75651         * stdio-common/Makefile (tests): Add bug23.
75653 2010-09-28  Andreas Schwab  <schwab@redhat.com>
75654             Ulrich Drepper  <drepper@gmail.com>
75656         [BZ #12489]
75657         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
75658         before performing relro protection.  At old place add assertion
75659         to make sure nothing changed.
75661 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
75662             Glauber de Oliveira Costa  <glommer@gmail.com>
75664         * elf/elf.h: Add new ARM TLS relocs.
75666 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
75668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75669         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
75670         cast from r3.
75671         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
75672         'tests' variable.
75673         * sysdeps/wordsize-64/tst-writev.c: New file.
75675 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
75677         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
75678         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
75679         insns in _dl_start to prevent a TOC reference before relocs are
75680         resolved.
75682 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
75684         [BZ #12469]
75685         * Makeconfig: Remove RANLIB definition.
75686         * Makerules: Don't use RANLIB.
75687         * aclocal.m4: Remove ranlib test.
75688         * configure.in: No need to check for ranlib.
75689         * elf/rtld-Rules: Don't use RANLIB.
75691 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75693         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
75694         protection macro.
75695         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
75696         inclusion protection macro.
75698         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
75699         SIGRTMIN and SIGRTMAX and print information in that case only when
75700         SIGRTMIN is defined.
75702 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
75704         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
75705         arginfo fn returning -1.
75707         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
75708         and thousands string is zero terminated.
75710 2011-02-03  Andreas Schwab  <schwab@redhat.com>
75712         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
75713         sysdeps/unix/sysv/linux/bits/socket.h.
75715 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75717         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
75718         (__CPU_COUNT): Remove old macros.
75719         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
75720         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
75721         (__CPU_ALLOC, __CPU_FREE): Add macros.
75722         (__sched_cpualloc, __sched_cpufree): Add declarations.
75724 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
75726         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
75727         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
75728         * nscd/aicache.c (addhstaiX): Return timeout of added value.
75729         (readdhstai): Return value of addhstaiX call.
75730         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
75731         (addgrbyX): Return value returned by cache_addgr.
75732         (readdgrbyname): Return value returned by addgrbyX.
75733         (readdgrbygid): Likewise.
75734         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
75735         (addpwbyX): Return value returned by cache_addpw.
75736         (readdpwbyname): Return value returned by addhstbyX.
75737         (readdpwbyuid): Likewise.
75738         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
75739         (addservbyX): Return value returned by cache_addserv.
75740         (readdservbyname): Return value returned by addservbyX:
75741         (readdservbyport): Likewise.
75742         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
75743         (addhstbyX): Return value returned by cache_addhst.
75744         (readdhstbyname): Return value returned by addhstbyX.
75745         (readdhstbyaddr): Likewise.
75746         (readdhstbynamev6): Likewise.
75747         (readdhstbyaddrv6): Likewise.
75748         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
75749         (readdinitgroups): Return value returned by addinitgroupsX.
75750         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
75751         (prune_cache): Keep track of timeout value of re-added entries.
75752         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
75753         * nscd/nscd.h: Adjust prototypes of readd* functions.
75755 2011-02-04  Roland McGrath  <roland@redhat.com>
75757         * nis/nis_server.c (nis_servstate): Use the right name for 0.
75758         (nis_stats): Likewise.
75759         * nis/nis_modify.c (nis_modify): Likewise.
75760         * nis/nis_remove.c (nis_remove): Likewise.
75761         * nis/nis_add.c (nis_add): Likewise.
75763         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
75765         * posix/fnmatch_loop.c: Add some consts.
75767         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
75769 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
75771         [BZ #12460]
75772         * config.make.in (config-cflags-novzeroupper): Define.
75773         * configure.in: Substitute libc_cv_cc_novzeroupper.
75774         * elf/Makefile (AVX-CFLAGS): Define.
75775         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
75776         (CFLAGS-tst-auditmod4a.c): Likewise.
75777         (CFLAGS-tst-auditmod4b.c): Likewise.
75778         (CFLAGS-tst-auditmod6b.c): Likewise.
75779         (CFLAGS-tst-auditmod6c.c): Likewise.
75780         (CFLAGS-tst-auditmod7b.c): Likewise.
75781         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
75783 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
75785         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
75786         function to the callback.
75787         Patch partly by Jiri Olsa <jolsa@redhat.com>.
75789 2011-02-02  Andreas Schwab  <schwab@redhat.com>
75791         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
75792         of errno.
75794 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
75796         [BZ #11724]
75797         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
75798         of constructors.
75799         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
75800         of destructors.
75801         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
75803         [BZ #11724]
75804         * elf/Makefile: Add rules to build and run new test.
75805         * elf/tst-initorder.c: New file.
75806         * elf/tst-initorder.exp: New file.
75807         * elf/tst-initordera1.c: New file.
75808         * elf/tst-initordera2.c: New file.
75809         * elf/tst-initordera3.c: New file.
75810         * elf/tst-initordera4.c: New file.
75811         * elf/tst-initorderb1.c: New file.
75812         * elf/tst-initorderb2.c: New file.
75813         * elf/tst-order-a1.c: New file.
75814         * elf/tst-order-a2.c: New file.
75815         * elf/tst-order-a3.c: New file.
75816         * elf/tst-order-a4.c: New file.
75817         * elf/tst-order-b1.c: New file.
75818         * elf/tst-order-b2.c: New file.
75819         * elf/tst-order-main.c: New file.
75820         New test case by George Gensure <werkt0@gmail.com>.
75822 2010-10-01  Andreas Schwab  <schwab@redhat.com>
75824         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75825         decoding ACE if AI_CANONIDN.
75827 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
75829         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
75831 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
75833         * version.h (RELEASE): Bump for 2.13 release.
75834         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
75836         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
75838         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
75839         MADV_NOHUGEPAGE.
75840         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
75841         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
75842         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75843         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75844         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75845         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75847         * posix/getconf.c: Update copyright year.
75848         * catgets/gencat.c: Likewise.
75849         * csu/version.c: Likewise.
75850         * debug/catchsegv.sh: Likewise.
75851         * debug/xtrace.sh: Likewise.
75852         * elf/ldconfig.c: Likewise.
75853         * elf/ldd.bash.in: Likewise.
75854         * elf/sprof.c (print_version): Likewise.
75855         * iconv/iconv_prog.c: Likewise.
75856         * iconv/iconvconfig.c: Likewise.
75857         * locale/programs/locale.c: Likewise.
75858         * locale/programs/localedef.c: Likewise.
75859         * malloc/memusage.sh: Likewise.
75860         * malloc/mtrace.pl: Likewise.
75861         * nscd/nscd.c (print_version): Likewise.
75862         * nss/getent.c: Likewise.
75864         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
75865         PF_CAIF, and PF_ALG.
75866         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75868 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
75870         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
75871         (modules-names): Use them.
75872         (ifunc-test-modules, ifunc-pie-tests): Define.
75873         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
75874         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
75875         (test-extras): Likewise.
75876         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
75877         $(compile-command.c).
75878         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
75879         (all-built-dso): Define.
75880         (check-textrel.out, check-execstack.out): Depend on it.
75882         * configure.in: Don't override --enable-multi-arch.
75884 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
75886         [BZ #6812]
75887         * nscd/hstcache.c (tryagain): Define.
75888         (cache_addhst): Return tryagain not notfound for temporary errors.
75889         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
75890         failed.
75892 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
75894         [BZ #10563]
75895         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
75896         to make the syscall.
75897         * sysdeps/unix/sysv/linux/setgroups.c: New file.
75899         [BZ #12378]
75900         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
75901         and fall back to matching as normal character if the string ends before
75902         the matching ']' is found.  This is what POSIX requires.
75903         * posix/testfnm.c: Adjust test result.
75904         * posix/globtest.sh: Adjust test result.  Add new test.
75905         * posix/tst-fnmatch.input: Likewise.
75906         * posix/tst-fnmatch2.c: Add new test.
75908 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
75910         * elf/Makefile (check-execstack): Revert last change.  Depend on
75911         check-execstack.h.
75912         (check-execstack.h): New target.
75913         (generated): Add check-execstack.h.
75914         * elf/check-execstack.c: Include "check-execstack.h".
75915         (main): Revert last change.
75916         (handle_file): Return zero if GNU_STACK is absent and
75917         DEFAULT_STACK_PERMS doesn't include PF_X.
75919 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
75921         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
75922         in child fails because the descriptor is already closed.
75923         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
75924         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
75925         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
75927         [BZ #12397]
75928         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
75929         syscall.
75931         [BZ #10484]
75932         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
75933         temporary buffer used to handle multi lookups locally.
75934         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
75936 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75938         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
75939         loader is ld.so.
75941 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
75943         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
75944         alignment for SSE2.
75946 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75948         [BZ #12394]
75949         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
75950         characters.  When rounding increased number of integer digits recompute
75951         number of groups.
75952         * stdio-common/tst-grouping.c: New file.
75953         * stdio-common/Makefile: Add rules to build and run tst-grouping.
75955 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
75957         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
75958         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
75960         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
75961         void.
75962         * bits/select.h: Likewise.
75964 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
75966         * po/ja.po: Update from translation team.
75968 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
75970         [BZ #11155]
75971         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
75972         implementation just like for lxstat, fxstatat, et al.
75974 2010-12-27  Jim Meyering  <meyering@redhat.com>
75976         [BZ #12348]
75977         * posix/regexec.c (build_trtable): Return failure indication upon
75978         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
75980 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
75982         [BZ #12201]
75983         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
75984         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
75985         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
75986         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
75988         [BZ #12207]
75989         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
75991         [BZ #12204]
75992         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
75993         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
75995 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
75997         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
75998         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
75999         script has SORT_BY_INIT_PRIORITY.
76000         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
76001         NO_CTORS_DTORS_SECTIONS is defined.
76002         * elf/soinit.c: Likewise.
76003         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
76004         NO_CTORS_DTORS_SECTIONS is defined.
76005         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
76006         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
76007         * sysdeps/sh/init-first.c: Likewise.
76008         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
76010 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
76012         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
76013         always use the slow path.
76015 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
76017         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
76018         similar rule which adds the sysdep directories to the header search in
76019         order to pick up the correct platform stackinfo.h.
76020         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
76021         perform test if it is, otherwise return successfully without testing.
76022         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
76023         DEFAULT_STACK_PERMS define in stackinfo.h.
76024         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
76025         defined in stackinfo.h.
76026         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
76027         DEFAULT_STACK_PERMS defined in stackinfo.h.
76028         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
76029         * sysdeps/ia64/stackinfo.h: Likewise.
76030         * sysdeps/s390/stackinfo.h: Likewise.
76031         * sysdeps/sh/stackinfo.h: Likewise.
76032         * sysdeps/sparc/stackinfo.h: Likewise.
76033         * sysdeps/x86_64/stackinfo.h: Likewise.
76034         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
76035         PF_X for powerpc64.  Retain PF_X for powerpc32.
76037 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
76039         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
76040         accurately.
76041         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
76042         GETDENTS_64BIT_ALIGNED.
76044 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
76046         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
76048 2010-12-10  Andreas Schwab  <schwab@redhat.com>
76050         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
76051         _GNU_SOURCE.
76053         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
76054         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
76055         Remove __restrict.
76056         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
76057         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
76059 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
76061         [BZ #11655]
76062         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
76063         are initialized.
76065 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
76067         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
76069 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
76071         * po/it.po: Update from translation team.
76073 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
76075         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
76076         unused codes.
76078 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
76080         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
76082 2010-11-24  Andreas Schwab  <schwab@redhat.com>
76084         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
76085         specially.
76086         (gaih_getanswer_slice): Likewise.
76088 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
76090         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
76092 2010-05-31  Petr Baudis  <pasky@suse.cz>
76094         [BZ #11149]
76095         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
76096         silently even in the chroot mode.
76098 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
76100         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
76101         last patch a bit.  Pretty printing
76103 2010-05-31  Petr Baudis <pasky@suse.cz>
76105         [BZ #10085]
76106         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
76107         initialization of skip_initgroups_dyn.
76109 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
76111         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
76112         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76114 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
76116         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
76118 2010-11-11  Andreas Schwab  <schwab@redhat.com>
76120         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
76121         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
76122         (tst-fnmatch-ENV): Set MALLOC_TRACE.
76123         ($(objpfx)tst-fnmatch-mem): New rule.
76124         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
76125         * posix/tst-fnmatch.c (main): Call mtrace.
76127 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
76129         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76130         Support Intel processor model 6 and model 0x2c.
76132 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
76134         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
76135           signed comparison.
76137 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
76139         [BZ #12205]
76140         * string/test-strncasecmp.c (check_result): New function.
76141         (do_one_test): Use it.
76142         (check1): New function.
76143         (test_main): Use it.
76144         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
76145         Support strcasecmp and strncasecmp.
76147 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
76149         [BZ #12194]
76150         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
76151         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76153 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
76155         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
76156         IFUNC support.
76157         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76158         memset-x86-64.
76159         * sysdeps/x86_64/multiarch/bzero.S: New file.
76160         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
76161         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
76162         * sysdeps/x86_64/multiarch/memset.S: New file.
76163         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
76164         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76165         Set bit_Prefer_SSE_for_memop for Intel processors.
76166         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
76167         Define.
76168         (index_Prefer_SSE_for_memop): Define.
76169         (HAS_PREFER_SSE_FOR_MEMOP): Define.
76171 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
76173         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
76174         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
76176 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
76178         [BZ #12191]
76179         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76180         (__x86_64_raw_data_cache_size_half): Likewise.
76181         (__x86_64_raw_shared_cache_size): Likewise.
76182         (__x86_64_raw_shared_cache_size_half): Likewise.
76184         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76185         (__x86_64_raw_data_cache_size_half): Likewise.
76186         (__x86_64_raw_shared_cache_size): Likewise.
76187         (__x86_64_raw_shared_cache_size_half): Likewise.
76188         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76189         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76190         and __x86_64_raw_shared_cache_size_half.  Round
76191         __x86_64_data_cache_size_half, __x86_64_data_cache_size
76192         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76193         to multiple of 256 bytes.
76195 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
76197         [BZ #12167]
76198         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76199         of inacessible symlinks.  Verify result of symlink before returning it.
76200         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76201         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76203 2010-10-28  Erich Ritz  <erichritz@gmail.com>
76205         * math/math.h (isinf): Fix typo in comment.
76207 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
76209         * po/da.po: Update from translation team.
76211 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
76213         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
76214         is added to the list.
76216 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76217             Ulrich Drepper  <drepper@gmail.com>
76219         * elf/dl-object.c (_dl_new_object): Don't append the new object to
76220         the global list here.  Move code to...
76221         (_dl_add_to_namespace_list): ...here.  New function.
76222         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
76223         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
76224         * elf/dl-load.c (lose): Don't remove the element from the list.
76225         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
76226         (_dl_map_object): Likewise.
76228 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
76230         [BZ #12159]
76231         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
76232         into all bytes of SSE register.
76233         Patch by Richard Li <richardpku@gmail.com>.
76235 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
76237         [BZ #12140]
76238         * malloc/malloc.c (_int_free): Fill correct number of bytes when
76239         perturbing.
76241 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
76243         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
76244         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
76245         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
76246         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
76248         submachine.
76249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
76251 2010-10-22  Andreas Schwab  <schwab@redhat.com>
76253         * include/dlfcn.h (__RTLD_SECURE): Define.
76254         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
76255         mode & __RTLD_SECURE instead.
76256         (open_path): Rename preloaded parameter to secure.
76257         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
76258         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
76259         * elf/dl-deps.c (openaux): Likewise.
76260         * elf/rtld.c (struct map_args): Remove is_preloaded.
76261         (map_doit): Don't use it.
76262         (dl_main): Likewise.
76263         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
76264         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
76266 2010-09-09  Andreas Schwab  <schwab@redhat.com>
76268         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
76269         (sysd-rules-targets): Remove duplicates.
76270         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
76271         rtld-%.$o dependency.
76273 2010-10-18  Andreas Schwab  <schwab@redhat.com>
76275         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
76276         _dl_map_object do it.
76278 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
76280         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
76281         fast fma builtins, define the macros in the C99 standard.
76282         (FP_FAST_FMAF): Likewise.
76283         (FP_FAST_FMAL): Likewise.
76284         * sysdeps/x86_64/bits/mathdef.h: Likewise.
76286         * bits/mathdef.h: Update copyright year.
76287         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76289 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
76291         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76292         builtins, define the macros in the C99 standard.
76293         (FP_FAST_FMAF): Likewise.
76294         (FP_FAST_FMAL): Likewise.
76295         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76296         multiply/add.
76297         (FP_FAST_FMAF): Likewise.
76299 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
76301         [BZ #3268]
76302         * math/libm-test.inc (fma_test): Some new testcases.
76303         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76304         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76305         y and infinite z.  Do multiplication by C already in long double.
76306         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76307         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76308         y and infinite z.  Do bitwise or of inexact bit into u.d.
76309         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76310         * sysdeps/i386/fpu/s_fmaf.S: Removed.
76311         * sysdeps/i386/fpu/s_fma.S: Removed.
76312         * sysdeps/i386/fpu/s_fmal.S: Removed.
76314 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
76316         [BZ #3268]
76317         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76318         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76319         computation is not scheduled after fetestexcept.  Fix value
76320         of minimum denormal long double.
76322 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
76324         [BZ #3268]
76325         * math/libm-test.inc (fma_test): Add some more tests.
76326         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76327         correctly.
76329 2010-10-15  Andreas Schwab  <schwab@redhat.com>
76331         * scripts/data/localplt-s390-linux-gnu.data: New file.
76332         * scripts/data/localplt-s390x-linux-gnu.data: New file.
76334 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
76336         [BZ #3268]
76337         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76338         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76339         instead of dbl-64.
76340         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76341         inlines.
76342         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76343         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76344         if one of x and y is very large and the other is subnormal.
76345         * sysdeps/s390/fpu/s_fmaf.c: New file.
76346         * sysdeps/s390/fpu/s_fma.c: New file.
76347         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76348         * sysdeps/powerpc/fpu/s_fma.S: New file.
76349         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76350         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76351         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76353 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
76355         [BZ #3268]
76356         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76357         fma tests.
76358         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76359         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76360         * sysdeps/i386/i686/multiarch/s_fma.c: Include
76361         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76362         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76363         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76364         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76366 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
76368         [BZ #12078]
76369         * posix/regcomp.c (parse_branch): One more memory leak plugged.
76370         * posix/bug-regex31.input: Add test case.
76372 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76374         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
76375         * posix/bug-regex31.input: New file.
76377         [BZ #12078]
76378         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
76379         (parse_sub_exp): Fix last change, use postorder.
76381         * posix/bug-regex31.c: New file.
76382         * posix/Makefile: Add rules to build and run bug-regex31.
76384         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
76386         [BZ #12078]
76387         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
76389         [BZ #12108]
76390         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
76391         to have entries in sys_siglist.
76393         [BZ #12093]
76394         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
76395         be NULL.
76397 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
76399         [BZ #3268]
76400         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
76401         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
76402         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
76403         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
76404         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76405         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
76406         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
76407         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
76408         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
76409         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
76410         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
76411         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
76412         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
76413         * math/ftestexcept.c (fetestexcept): Likewise.
76414         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
76415         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
76416         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
76417         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
76418         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
76419         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
76420         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76422 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76424         [BZ #12107]
76425         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
76426         newline.
76428 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
76430         * string/bug-strstr1.c: New file.
76431         * string/Makefile: Add rules to build and run bug-strstr1.
76433 2010-10-05  Eric Blake  <eblake@redhat.com>
76435         [BZ #12092]
76436         * string/str-two-way.h (two_way_long_needle): Always clear memory
76437         when skipping input due to the shift table.
76439 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
76441         [BZ #12005]
76442         * malloc/mcheck.c: Handle large requests.
76444         [BZ #12077]
76445         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
76446         for strncmp and strncasecmp.
76447         * string/stratcliff.c: Add tests for strcmp and strncmp.
76448         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
76450 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76452         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
76453         __set_fpscr.
76455 2010-09-30  Andreas Jaeger  <aj@suse.de>
76457         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
76458         (CGROUP_SUPER_MAGIC): Define.
76459         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76460         Handle btrfs and cgroup file systems.
76461         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
76462         Likewise.
76464 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
76466         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
76467         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
76469 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76471         [BZ #12067]
76472         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
76473         trying to locate the ELF header.
76475 2010-09-27  Andreas Schwab  <schwab@redhat.com>
76477         [BZ #11611]
76478         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
76479         Mask out sign-bit copies when constructing f_fsid.
76481 2010-09-24  Petr Baudis <pasky@suse.cz>
76483         * debug/stack_chk_fail_local.c: Add missing licence exception.
76484         * debug/warning-nop.c: Likewise.
76486 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
76488         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
76489         implementing getdents64 using getdents syscall, set d_type if
76490         __ASSUME_GETDENTS32_D_TYPE.
76492 2010-09-16  Andreas Schwab  <schwab@redhat.com>
76494         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
76495         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
76497 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
76499         [BZ #12037]
76500         * posix/unistd.h: Undo change of feature selection for ftruncate from
76501         2010-01-11.
76503 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
76505         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
76506         detection.
76508 2010-09-20  Andreas Schwab  <schwab@redhat.com>
76510         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
76511         fanotify_mark.
76512         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76514 2010-09-14  Andreas Schwab  <schwab@redhat.com>
76516         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
76517         variables after CHECK_SP call.
76518         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
76520 2010-09-13  Andreas Schwab  <schwab@redhat.com>
76521             Ulrich Drepper  <drepper@redhat.com>
76523         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
76524         re-relocationg ld.so.
76525         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
76526         _dl_init_paths call.
76527         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
76528         here anymore.
76530 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
76532         * resolv/res_init.c (__res_vinit): Count the default server we added.
76534 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
76535             Ulrich Drepper  <drepper@redhat.com>
76537         [BZ #11968]
76538         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76539         (____longjmp_chk): Use %ebx for saving value across system call.
76540         Add unwind info.
76542 2010-09-06  Andreas Schwab  <schwab@redhat.com>
76544         * manual/Makefile: Don't mix pattern rules with normal rules.
76546 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76548         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
76549         operation.
76550         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
76551         * libio/iofopncook.c (_IO_cookie_init): Likewise.
76552         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
76553         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
76554         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76555         Likewise.
76557 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
76559         [BZ #11979]
76560         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
76561         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
76563 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
76565         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
76566         * sysdeps/x86_64/addmul_1.S: Likewise.
76567         * sysdeps/x86_64/lshift.S: Likewise.
76568         * sysdeps/x86_64/mul_1.S: Likewise.
76569         * sysdeps/x86_64/rshift.S: Likewise.
76570         * sysdeps/x86_64/sub_n.S: Likewise.
76571         * sysdeps/x86_64/submul_1.S: Likewise.
76573 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76575         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
76576         Define __sched_param instead of SCHED_* and sched_param when
76577         <bits/sched.h> is included with __need_schedparam defined.
76578         * bits/sched.h [__need_schedparam]
76579         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
76580         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
76581         (__defined_schedparam): Define to 1.
76582         (__sched_param): New structure, identical to sched_param.
76583         (__need_schedparam): Undefine.
76585 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
76587         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
76588         (epoll_create1): Declare.
76590         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
76592 2010-08-31  Andreas Schwab  <schwab@redhat.com>
76594         [BZ #7066]
76595         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
76596         shifting retval into place.
76598 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
76600         * nis/rpcsvc/nis.h: Update copyright notice.
76601         * nis/rpcsvc/nis.x: Likewise.
76602         * nis/rpcsvc/nis_callback.h: Likewise.
76603         * nis/rpcsvc/nis_callback.x: Likewise.
76604         * nis/rpcsvc/nis_object.x: Likewise.
76605         * nis/rpcsvc/nis_tags.h: Likewise.
76606         * nis/rpcsvc/yp.h: Likewise.
76607         * nis/rpcsvc/yp.x: Likewise.
76608         * nis/rpcsvc/ypupd.h: Likewise.
76609         * nis/yp_xdr.c: Likewise.
76610         * nis/ypupdate_xdr.c: Likewise.
76612         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
76613         mainly the body of pmap_getport.  Add parameters to specify timeouts.
76614         (pmap_getport): Use __libc_rpc_getport.
76615         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
76616         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
76617         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
76619 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
76621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
76622         fanotify_mark.
76624 2010-08-27  Roland McGrath  <roland@redhat.com>
76626         * sysdeps/i386/i686/multiarch/Makefile
76627         (CFLAGS-varshift.c): New variable.
76629 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
76631         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
76632         * sysdeps/i386/i686/multiarch/varshift.c: New file.
76634         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
76636         * sysdeps/x86_64/strlen.S: Minimal code improvement.
76638 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
76640         * sysdeps/x86_64/strlen.S: Unroll the loop.
76641         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76642         strlen-sse2 strlen-sse2-bsf.
76643         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
76644         __strlen_no_bsf if bit_Slow_BSF is set.
76645         (__strlen_sse42): Removed.
76646         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
76647         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
76649 2010-08-25  Roland McGrath  <roland@redhat.com>
76651         * sysdeps/x86_64/multiarch/varshift.S: File removed.
76652         * sysdeps/x86_64/multiarch/varshift.c: New file.
76653         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
76654         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
76655         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
76656         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76658 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
76660         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76661         strlen-sse2 strlen-sse2-bsf.
76662         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
76663         __strlen_sse2_bsf if bit_Slow_BSF is unset.
76664         (__strlen_sse2): Removed.
76665         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
76666         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
76667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
76668         bit_Slow_BSF for Atom.
76669         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
76670         (index_Slow_BSF): Define.
76671         (HAS_SLOW_BSF): Define.
76673 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
76675         [BZ #10851]
76676         * resolv/res_init.c (__res_vinit): When no server address at all
76677         is given default to loopback.
76679 2010-08-24  Roland McGrath  <roland@redhat.com>
76681         * configure.in: Remove config-name.h generation.
76682         * configure: Regenerated.
76683         * config-name.in: File removed.
76684         * scripts/config-uname.sh: New file.
76685         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
76686         ($(objdir)config-name.h): New target.
76688         * sunrpc/rpc_parse.h: Avoid nested comment.
76690 2010-08-24  Richard Henderson  <rth@redhat.com>
76691             Ulrich Drepper  <drepper@redhat.com>
76692             H.J. Lu  <hongjiu.lu@intel.com>
76694         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
76695         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
76696         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
76697         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
76698         _mm_alignr_epi8 with _mm_loadu_si128.
76699         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
76700         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
76701         (__m128i_shift_right): Removed.
76702         * sysdeps/i386/i686/multiarch/varshift.h: New file.
76703         * sysdeps/i386/i686/multiarch/varshift.S: New file.
76704         * sysdeps/x86_64/multiarch/varshift.h: New file.
76705         * sysdeps/x86_64/multiarch/varshift.S: New file.
76707 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
76709         * configure.in: Move assembler checks to before sysdep dir checking.
76711 2010-08-20  Petr Baudis  <pasky@suse.cz>
76713         * LICENSES: Sync the sunrpc license.
76715 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
76717         * sunrpc/auth_des.c: Update copyright notice once again.
76718         * sunrpc/auth_none.c: Likewise.
76719         * sunrpc/auth_unix.c: Likewise.
76720         * sunrpc/authdes_prot.c: Likewise.
76721         * sunrpc/authuxprot.c: Likewise.
76722         * sunrpc/bindrsvprt.c: Likewise.
76723         * sunrpc/clnt_gen.c: Likewise.
76724         * sunrpc/clnt_perr.c: Likewise.
76725         * sunrpc/clnt_raw.c: Likewise.
76726         * sunrpc/clnt_simp.c: Likewise.
76727         * sunrpc/clnt_tcp.c: Likewise.
76728         * sunrpc/clnt_udp.c: Likewise.
76729         * sunrpc/clnt_unix.c: Likewise.
76730         * sunrpc/des_crypt.c: Likewise.
76731         * sunrpc/des_soft.c: Likewise.
76732         * sunrpc/get_myaddr.c: Likewise.
76733         * sunrpc/getrpcport.c: Likewise.
76734         * sunrpc/key_call.c: Likewise.
76735         * sunrpc/key_prot.c: Likewise.
76736         * sunrpc/openchild.c: Likewise.
76737         * sunrpc/pm_getmaps.c: Likewise.
76738         * sunrpc/pm_getport.c: Likewise.
76739         * sunrpc/pmap_clnt.c: Likewise.
76740         * sunrpc/pmap_prot.c: Likewise.
76741         * sunrpc/pmap_prot2.c: Likewise.
76742         * sunrpc/pmap_rmt.c: Likewise.
76743         * sunrpc/rpc/auth.h: Likewise.
76744         * sunrpc/rpc/auth_unix.h: Likewise.
76745         * sunrpc/rpc/clnt.h: Likewise.
76746         * sunrpc/rpc/des_crypt.h: Likewise.
76747         * sunrpc/rpc/key_prot.h: Likewise.
76748         * sunrpc/rpc/netdb.h: Likewise.
76749         * sunrpc/rpc/pmap_clnt.h: Likewise.
76750         * sunrpc/rpc/pmap_prot.h: Likewise.
76751         * sunrpc/rpc/pmap_rmt.h: Likewise.
76752         * sunrpc/rpc/rpc.h: Likewise.
76753         * sunrpc/rpc/rpc_des.h: Likewise.
76754         * sunrpc/rpc/rpc_msg.h: Likewise.
76755         * sunrpc/rpc/svc.h: Likewise.
76756         * sunrpc/rpc/svc_auth.h: Likewise.
76757         * sunrpc/rpc/types.h: Likewise.
76758         * sunrpc/rpc/xdr.h: Likewise.
76759         * sunrpc/rpc_clntout.c: Likewise.
76760         * sunrpc/rpc_cmsg.c: Likewise.
76761         * sunrpc/rpc_common.c: Likewise.
76762         * sunrpc/rpc_cout.c: Likewise.
76763         * sunrpc/rpc_dtable.c: Likewise.
76764         * sunrpc/rpc_hout.c: Likewise.
76765         * sunrpc/rpc_main.c: Likewise.
76766         * sunrpc/rpc_parse.c: Likewise.
76767         * sunrpc/rpc_parse.h: Likewise.
76768         * sunrpc/rpc_prot.c: Likewise.
76769         * sunrpc/rpc_sample.c: Likewise.
76770         * sunrpc/rpc_scan.c: Likewise.
76771         * sunrpc/rpc_scan.h: Likewise.
76772         * sunrpc/rpc_svcout.c: Likewise.
76773         * sunrpc/rpc_tblout.c: Likewise.
76774         * sunrpc/rpc_util.c: Likewise.
76775         * sunrpc/rpc_util.h: Likewise.
76776         * sunrpc/rpcinfo.c: Likewise.
76777         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
76778         * sunrpc/rpcsvc/key_prot.x: Likewise.
76779         * sunrpc/rpcsvc/klm_prot.x: Likewise.
76780         * sunrpc/rpcsvc/mount.x: Likewise.
76781         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
76782         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
76783         * sunrpc/rpcsvc/rex.x: Likewise.
76784         * sunrpc/rpcsvc/rstat.x: Likewise.
76785         * sunrpc/rpcsvc/rusers.x: Likewise.
76786         * sunrpc/rpcsvc/sm_inter.x: Likewise.
76787         * sunrpc/rpcsvc/spray.x: Likewise.
76788         * sunrpc/rpcsvc/yppasswd.x: Likewise.
76789         * sunrpc/rtime.c: Likewise.
76790         * sunrpc/svc.c: Likewise.
76791         * sunrpc/svc_auth.c: Likewise.
76792         * sunrpc/svc_authux.c: Likewise.
76793         * sunrpc/svc_raw.c: Likewise.
76794         * sunrpc/svc_run.c: Likewise.
76795         * sunrpc/svc_simple.c: Likewise.
76796         * sunrpc/svc_tcp.c: Likewise.
76797         * sunrpc/svc_udp.c: Likewise.
76798         * sunrpc/svc_unix.c: Likewise.
76799         * sunrpc/svcauth_des.c: Likewise.
76800         * sunrpc/xcrypt.c: Likewise.
76801         * sunrpc/xdr.c: Likewise.
76802         * sunrpc/xdr_array.c: Likewise.
76803         * sunrpc/xdr_float.c: Likewise.
76804         * sunrpc/xdr_mem.c: Likewise.
76805         * sunrpc/xdr_rec.c: Likewise.
76806         * sunrpc/xdr_ref.c: Likewise.
76807         * sunrpc/xdr_sizeof.c: Likewise.
76808         * sunrpc/xdr_stdio.c: Likewise.
76810         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
76811         handling.
76813 2010-08-19  Andreas Schwab  <schwab@redhat.com>
76815         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
76817 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
76819         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
76820         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
76821         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
76822         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
76823         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
76824         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
76825         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
76826         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
76827         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
76828         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
76829         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
76830         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
76831         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
76832         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
76834 2010-07-26  Anton Blanchard  <anton@samba.org>
76836         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
76837         * malloc/arena.c (heap_trim): Likewise.
76839 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
76841         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
76842         here.  Not...
76843         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
76844         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
76846 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
76848         * sysdeps/i386/elf/Makefile: New file.
76850 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76852         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
76853         from fanotify_init.
76854         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
76855         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76857 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
76859         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
76860         of strncasecmp_l.
76861         * sysdeps/multiarch/strcmp.S: Likewise.
76863 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
76865         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76866         strncase_l-nonascii.
76867         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76868         Add strncase_l-ssse3.
76869         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
76870         * sysdeps/x86_64/strcmp.S: Likewise.
76871         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
76872         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
76873         * sysdeps/x86_64/strncase.S: New file.
76874         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
76875         * sysdeps/x86_64/strncase_l.S: New file.
76876         * string/Makefile (strop-tests): Add strncasecmp.
76877         * string/test-strncasecmp.c: New file.
76879         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
76880         warning.
76882         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
76883         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
76885 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76887         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
76889 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
76891         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
76892         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
76893         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
76895 2010-05-01  Alan Modra  <amodra@gmail.com>
76897         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
76898         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
76899         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
76900         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
76901         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
76902         tidying.  Don't tail-call __sigjmp_save for static lib.
76903         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
76904         save location.
76905         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
76906         (CALL_MCOUNT): Add eh info, and nop after bl.
76907         (TAIL_CALL_SYSCALL_ERROR): New macro.
76908         (PSEUDO_RET): Use it.
76909         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
76910         Correct save location of integer regs and cr.
76911         (_dl_profile_resolve): Correct cr save location.  Delete nops
76912         after bl when SHARED.  Reduce cfi size a little by better
76913         placement of cfi directives.
76914         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
76915         make a stack frame.  Instead use parm save area as a temp.
76916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
76917         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
76918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
76919         Don't make a stack frame for parent, use parm save area.
76920         Increase child stack frame to 112 bytes.  Don't save unused reg,
76921         and adjust reg usage.  Set up cfi on error recovery and
76922         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
76923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76924         (__makecontext): Add dummy nop after jump to exit.
76925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
76926         Use correct parm save area and cr save, reduce stack frame.
76927         Correct cfi for possible PSEUDO_RET frame setup.
76928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
76929         Branch to local label emitted by PSEUDO_RET rather than
76930         __syscall_error.
76932 2010-08-12  Andreas Schwab  <schwab@redhat.com>
76934         [BZ #11904]
76935         * locale/programs/locale.c (print_assignment): New function.
76936         (show_locale_vars): Use it.
76938 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
76940         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
76941         field.
76942         (struct statfs64): Likewise.
76943         (_STATFS_F_FLAGS): Define.
76944         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
76945         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76946         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
76947         (ST_VALID): Define locally.
76948         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
76949         __statvfs_getflags, use the provided value.
76950         * sysdeps/unix/sysv/linux/kernel-features.h: Define
76951         __ASSUME_STATFS_F_FLAGS.
76953         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
76955         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
76956         Add sys/fanotify.h.
76957         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
76958         fanotify_mask for GLIBC_2.13.
76959         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
76960         fanotify_init and fanotify_mark.
76961         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76962         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
76964         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
76965         Add prlimit.
76966         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
76967         prlimit64 for GLIBC_2.13.
76968         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
76969         prlimit64.
76970         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
76971         syscall.
76972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
76973         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76974         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
76975         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
76976         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
76977         add prlimit alias.
76978         * sysdeps/unix/sysv/linux/prlimit.c: New file.
76980         [BZ #11903]
76981         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
76982         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
76984         * nss/Makefile: Add rules to build and run tst-nss-test1.
76985         * shlib-versions: Add entry for libnss_test1.
76986         * nss/nss_test1.c: New file.
76987         * nss/tst-nss-test1.c: New file.
76989         * nss/nsswitch.c (__nss_database_custom): Define new variable.
76990         (__nss_configure_lookup): Set appropriate entry in
76991         __nss_configure_lookup to true.
76992         * nss/nsswitch.h: Define enum with indeces of databases in
76993         databases and __nss_database_custom arrays.  Declare
76994         __nss_database_custom.
76995         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
76996         to avoid using nscd when custom rules are installed.
76997         * nss/getXXbyYY_r.c: Likewise.
76998         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
77000         * nss/nss_files/files-parse.c: Whitespace fixes.
77002 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
77004         [BZ #11883]
77005         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
77006         * posix/fnmatch_loop.c: Likewise.
77008 2010-07-17  Andi Kleen  <ak@linux.intel.com>
77010         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
77011         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
77012         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
77013         * Versions.def [GLIBC_2.13]: Add.
77015 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
77017         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77018         Also fail if tpwd after pwuid call is NULL.
77020 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77022         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
77023         when converting to ms.
77025 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77027         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
77028         EOPNOTSUPP errors with ENOTTY.
77029         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
77030         EOPNOTSUPP errors with ENOTTY.
77032 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
77034         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77035         Add strcasecmp_l-ssse3.
77036         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
77037         strcasecmp.
77038         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
77039         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
77040         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
77042 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
77044         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
77046         * string/Makefile (strop-tests): Add strcasecmp.
77047         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77048         strcasecmp_l-nonascii.
77049         (gen-as-const-headers): Add locale-defines.sym.
77050         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
77051         * sysdeps/x86_64/strcasecmp.S: New file.
77052         * sysdeps/x86_64/strcasecmp_l.S: New file.
77053         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
77054         * sysdeps/x86_64/locale-defines.sym: New file.
77055         * string/test-strcasecmp.c: New file.
77057         * string/test-strcasestr.c: Test both ends of the range of characters.
77058         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
77060 2010-07-29  Roland McGrath  <roland@redhat.com>
77062         [BZ #11856]
77063         * manual/locale.texi (Yes-or-No Questions): Fix example code.
77065 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
77067         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
77068         for ld.so.
77070 2010-07-27  Andreas Schwab  <schwab@redhat.com>
77072         * manual/memory.texi (Malloc Tunable Parameters): Document
77073         M_PERTURB.
77075 2010-07-26  Roland McGrath  <roland@redhat.com>
77077         [BZ #11840]
77078         * configure.in (-fgnu89-inline check): Set and substitute
77079         gnu89_inline, not libc_cv_gnu89_inline.
77080         * configure: Regenerated.
77081         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
77083 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
77085         * string/test-strnlen.c: New file.
77086         * string/Makefile (strop-tests): Add strnlen.
77087         * string/tester.c (test_strnlen): Add a few more test cases.
77088         * string/tst-strlen.c: Better error reporting.
77090         * sysdeps/x86_64/strnlen.S: New file.
77092 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
77094         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
77095         lower-latency instructions.
77097 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
77099         * string/test-strcasestr.c: New file.
77100         * string/test-strstr.c: New file.
77101         * string/Makefile (strop-tests): Add strstr and strcasestr.
77102         * string/str-two-way.h: Don't undefine MAX.
77103         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
77105 2010-07-21  Andreas Schwab  <schwab@redhat.com>
77107         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77108         strcasestr-nonascii.
77109         (CFLAGS-strcasestr-nonascii.c): Define.
77110         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
77111         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
77112         Remove unused attribute.
77114 2010-07-20  Roland McGrath  <roland@redhat.com>
77116         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
77117         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
77118         ld.so.cache was broken.  With it, there is no way to disable dsocaps
77119         like LD_HWCAP_MASK can disable hwcaps.
77121 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77123         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
77125 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
77127         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
77128         call in strcasestr.
77129         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
77130         __strcasestr_sse42_nonascii.
77131         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
77132         strcasestr-nonascii.c.
77133         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
77135 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
77137         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
77138         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
77139         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
77140         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
77142 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
77144         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
77145         fcntl.
77147 2010-07-06  Andreas Schwab  <schwab@redhat.com>
77149         [BZ #11577]
77150         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
77151         dl_signal_cerror.
77153 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
77155         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
77156         _PC_PIPE_BUF using F_GETPIPE_SZ.
77158 2010-07-05  Roland McGrath  <roland@redhat.com>
77160         * manual/arith.texi (Rounding Functions): Fix rint description
77161         implicit in round description.
77163 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
77165         * elf/Makefile: Fix linking for a few tests to make recent linker
77166         happy.
77168 2010-06-30  Andreas Schwab  <schwab@redhat.com>
77170         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77171         $(common-objpfx)libc_nonshared.a.
77173 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
77175         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
77176         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
77177         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77178         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77179         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77180         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77181         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77182         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77197         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77198         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77199         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77200         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77201         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77202         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77203         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77204         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77205         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77206         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77207         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77208         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
77214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
77215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
77216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
77217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
77218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
77219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
77220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
77221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
77222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
77224 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
77226         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
77227         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
77228         * string/memmove.c (memmove): Renamed to ...
77229         (MEMMOVE): ...this.  Default to memmove.
77230         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
77231         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
77232         (END_CHK): Define.
77233         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77234         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
77235         mempcpy-ssse3-back memmove-ssse3-back.
77236         * sysdeps/x86_64/multiarch/bcopy.S: New file .
77237         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
77238         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
77239         * sysdeps/x86_64/multiarch/memcpy.S: New file.
77240         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
77241         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
77242         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
77243         * sysdeps/x86_64/multiarch/memmove.c: New file.
77244         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
77245         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
77246         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
77247         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
77248         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
77249         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
77250         Define.
77251         (index_Fast_Copy_Backward): Define.
77252         (HAS_ARCH_FEATURE): Define.
77253         (HAS_FAST_REP_STRING): Define.
77254         (HAS_FAST_COPY_BACKWARD): Define.
77256 2010-06-21  Andreas Schwab  <schwab@redhat.com>
77258         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77259         Restore proper fallback handling.
77261 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
77263         [BZ #11701]
77264         * posix/group_member.c (__group_member): Correct checking loop.
77266         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
77267         OOM in getpwuid_r correctly.  Return error number when the caller
77268         should return, otherwise -1.
77269         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
77270         call returning > 0 value.
77271         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
77273 2010-06-07  Andreas Schwab  <schwab@redhat.com>
77275         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
77276         libc_nonshared.a from targets in modules-names.
77278 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
77280         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
77281         requires it.
77283 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
77285         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
77286         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
77287         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
77288         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
77290 2010-06-02  Andreas Schwab  <schwab@redhat.com>
77292         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77294 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
77296         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77297         and F_GETPIPE_SZ.
77298         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77299         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77300         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77301         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77302         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77303         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77305 2010-06-14  Roland McGrath  <roland@redhat.com>
77307         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77309 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
77311         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77312         __REDIRECT followed by __THROW.
77313         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77314         * posix/getopt.h (getopt): Likewise.
77316 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77318         * hurd/lookup-at.c (__file_name_lookup_at): Accept
77319         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
77320         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77321         in AT_FLAGS.
77322         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77323         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77325 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
77327         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77329 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
77331         [BZ #11640]
77332         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77333         Properly check family and model.
77335 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
77337         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77339 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
77341         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77343 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
77345         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77346         symbol reference.
77348 2010-05-19  Andreas Schwab  <schwab@redhat.com>
77350         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77351         symbol reference.
77353 2010-05-21  Andreas Schwab  <schwab@redhat.com>
77355         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77356         and internal_recvmmsg.
77357         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77358         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77359         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77360         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77362         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77363         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77364         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77366 2010-05-20  Andreas Schwab  <schwab@redhat.com>
77368         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
77370 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
77372         POWER7 optimizations.
77373         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
77374         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
77376 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
77378         * version.h: Update for 2.13 development version.
77380 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
77382         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
77383         exceptions.  Return 0.
77385 2010-05-07  Roland McGrath  <roland@redhat.com>
77387         * elf/ldconfig.c (main): Add a const.
77389 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
77391         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
77392         (args_options): Add no-idn option.
77393         (ahosts_keys_int): Add idn_flags to ai_flags.
77394         (parse_option): Handle 'i' option to clear idn_flags.
77396         * malloc/malloc.c (_int_free): Possible race in the most recently
77397         added check.  Only act on the data if no current modification
77398         happened.
77400 See ChangeLog.17 for earlier changes.